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

MESH-2152/add-state-trie-migration #1660

Merged
merged 5 commits into from
May 7, 2024
Merged

Conversation

HenriqueNogara
Copy link
Contributor

@HenriqueNogara HenriqueNogara commented Apr 29, 2024

changelog

other

  • Adds pallet_state_trie_migration to the runtime;
  • Allows running the trie migration.

@HenriqueNogara HenriqueNogara marked this pull request as ready for review April 30, 2024 12:18
@HenriqueNogara HenriqueNogara changed the title Add state-trie-migration MESH-2152/add-state-trie-migration Apr 30, 2024
Copy link
Contributor

@Neopallium Neopallium left a comment

Choose a reason for hiding this comment

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

Looks good.

Comment on lines +145 to +146
pub const MigrationSignedDepositPerItem: Balance = 1_000;
pub const MigrationSignedDepositBase: Balance = 1_000_000;
Copy link
Contributor

Choose a reason for hiding this comment

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

These are zero for testnet and mainnet. Why are they different?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can use zeros for these.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed, this won't matter for us. I only changed these values because I wanted to run the benchmarks and it fails if they are zero

pallets/runtime/develop/src/runtime.rs Outdated Show resolved Hide resolved
@adamdossa adamdossa merged commit 16a5e85 into develop May 7, 2024
13 checks passed
@adamdossa adamdossa deleted the MESH-2152/migrate-trie branch May 7, 2024 12:55
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.

None yet

3 participants