Skip to content

Commit

Permalink
pallet contract migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Aideepakchaudhary committed Oct 10, 2024
1 parent 6f78aa6 commit a880418
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion runtime/cere-dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ impl pallet_contracts::Config for Runtime {
type InstantiateOrigin = EnsureSigned<Self::AccountId>;
type Debug = ();
type Environment = ();
type Migrations = ();
type Migrations = (pallet_contracts::migration::v16::Migration<Runtime>,);
type ApiVersion = ();
type Xcm = ();
}
Expand Down Expand Up @@ -1397,6 +1397,8 @@ type Migrations = (
pallet_nomination_pools::migration::versioned::V7ToV8<Runtime>,
pallet_staking::migrations::v14::MigrateToV14<Runtime>,
pallet_grandpa::migrations::MigrateV4ToV5<Runtime>,
pallet_staking::migrations::v15::MigrateV14ToV15<Runtime>,
pallet_contracts::Migration<Runtime>,
pallet_identity::migration::versioned::V0ToV1<Runtime, IDENTITY_MIGRATION_KEY_LIMIT>,
);

Expand Down
4 changes: 3 additions & 1 deletion runtime/cere/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ impl pallet_contracts::Config for Runtime {
type InstantiateOrigin = EnsureSigned<Self::AccountId>;
type Debug = ();
type Environment = ();
type Migrations = ();
type Migrations = (pallet_contracts::migration::v16::Migration<Runtime>,);
type ApiVersion = ();
type Xcm = ();
}
Expand Down Expand Up @@ -1400,6 +1400,8 @@ type Migrations = (
pallet_nomination_pools::migration::versioned::V7ToV8<Runtime>,
pallet_staking::migrations::v14::MigrateToV14<Runtime>,
pallet_grandpa::migrations::MigrateV4ToV5<Runtime>,
pallet_staking::migrations::v15::MigrateV14ToV15<Runtime>,
pallet_contracts::Migration<Runtime>,
pallet_identity::migration::versioned::V0ToV1<Runtime, IDENTITY_MIGRATION_KEY_LIMIT>,
);

Expand Down

0 comments on commit a880418

Please sign in to comment.