Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(template): enable insecure_zero_ed feature of pallet-balances #1270

Merged
merged 1 commit into from
Jan 8, 2024
Merged

feat(template): enable insecure_zero_ed feature of pallet-balances #1270

merged 1 commit into from
Jan 8, 2024

Conversation

koushiro
Copy link
Collaborator

@koushiro koushiro commented Jan 5, 2024

  • enable insecure_zero_ed feature of pallet-balances by default and set ExistentialDeposit = 0
  • enable rpc-binary-search-estimate feature by default
  • update integration tests

Close #1108

 - enable insecure_zero_ed feature of pallet-balances by default
 - enable rpc-binary-search-estimate feature by default
 - update integration tests
@koushiro koushiro requested a review from sorpaas as a code owner January 5, 2024 08:48
@@ -35,7 +35,7 @@ hex = { workspace = true }
libsecp256k1 = { workspace = true, features = ["static-context", "hmac"] }
rlp = { workspace = true }
# Substrate
pallet-balances = { workspace = true, features = ["default"] }
pallet-balances = { workspace = true, features = ["default", "insecure_zero_ed"] }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem with this is that it makes it not possible to disable the insecure_zero_ed feature any more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pallet-balances dependency here is only used for tests.
I only enable the insecure_zero_ed feature in tests and template

@sorpaas sorpaas merged commit d4aa56a into polkadot-evm:master Jan 8, 2024
4 checks passed
@koushiro koushiro deleted the enable-insecure-zero-ed-feat branch January 8, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Frontier template not using insecure_zero_ed
2 participants