Skip to content

Commit d97924d

Browse files
committed
fix: double config items
1 parent bace556 commit d97924d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

runtime/devnet/src/config/contracts.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ impl pallet_contracts::Config for Runtime {
6565
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
6666
type MaxDelegateDependencies = ConstU32<32>;
6767
type MaxStorageKeyLen = ConstU32<128>;
68-
type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>;
68+
type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>;
69+
type Migrations = ();
6970
type Randomness = DummyRandomness<Self>;
7071
type RuntimeCall = RuntimeCall;
7172
type RuntimeEvent = RuntimeEvent;

runtime/testnet/src/config/contracts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ impl pallet_contracts::Config for Runtime {
6464
type MaxCodeLen = ConstU32<{ 256 * 1024 }>;
6565
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
6666
type MaxDelegateDependencies = ConstU32<32>;
67-
type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>;
6867
type MaxStorageKeyLen = ConstU32<128>;
69-
type Migrations = ();
68+
type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>;
69+
type Migrations = (pallet_contracts::migration::v16::Migration<Runtime>,);
7070
type Randomness = DummyRandomness<Self>;
7171
type RuntimeCall = RuntimeCall;
7272
type RuntimeEvent = RuntimeEvent;

0 commit comments

Comments
 (0)