Skip to content

Commit

Permalink
Storage Version Migration (#3220)
Browse files Browse the repository at this point in the history
* feat: add paseo migration

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix clippy

* chore: fix

* chore: fix

* feat: add all migrations

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: clippy

* chore: add preimage clean

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix clippy

* chore: fix

* chore: fix

---------

Co-authored-by: BillyWooo <[email protected]>
  • Loading branch information
wangminqi and BillyWooo authored Jan 7, 2025
1 parent acfebc7 commit 2df2053
Show file tree
Hide file tree
Showing 11 changed files with 525 additions and 3 deletions.
1 change: 1 addition & 0 deletions parachain/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions parachain/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ xcm = { workspace = true }
frame-benchmarking = { workspace = true }
frame-benchmarking-cli = { workspace = true }
frame-system-rpc-runtime-api = { workspace = true }
frame-try-runtime = { workspace = true, optional = true }

core-primitives = { workspace = true, features = ["std"] }
litentry-parachain-runtime = { workspace = true, features = ["std"] }
Expand Down Expand Up @@ -148,5 +149,6 @@ try-runtime = [
"polkadot-service/try-runtime",
"runtime-common/try-runtime",
"sp-runtime/try-runtime",
"frame-try-runtime",
]
std = []
1 change: 0 additions & 1 deletion parachain/runtime/litentry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"frame-try-runtime",
"frame-try-runtime?/try-runtime",
"hex",
"pallet-account-fix/try-runtime",
"pallet-asset-manager/try-runtime",
Expand Down
2 changes: 2 additions & 0 deletions parachain/runtime/litentry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ pub mod asset_config;
pub mod constants;
pub mod precompiles;

pub mod migration;
pub mod weights;
pub mod xcm_config;

Expand Down Expand Up @@ -156,6 +157,7 @@ pub type Executive = frame_executive::Executive<
// It was reverse order before.
// See the comment before collation related pallets too.
AllPalletsWithSystem,
migration::Migrations<Runtime>,
>;

impl fp_self_contained::SelfContainedCall for RuntimeCall {
Expand Down
Loading

0 comments on commit 2df2053

Please sign in to comment.