Skip to content

Commit

Permalink
fix: missing mock config
Browse files Browse the repository at this point in the history
  • Loading branch information
Daanvdplas committed Sep 18, 2024
1 parent a9a6be5 commit d7b8260
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions extension/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ impl pallet_contracts::Config for Test {
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
type MaxDelegateDependencies = MaxDelegateDependencies;
type MaxStorageKeyLen = ConstU32<128>;
type MaxTransientStorageSize = ConstU32<{ 1024 * 1024 }>;
type Migrations = ();
// crate::migration::codegen::BenchMigrations;
type Randomness = Test;
Expand Down
2 changes: 1 addition & 1 deletion runtime/devnet/src/config/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl pallet_contracts::Config for Runtime {
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
type MaxDelegateDependencies = ConstU32<32>;
type MaxStorageKeyLen = ConstU32<128>;
type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>;
type MaxTransientStorageSize = ConstU32<{ 1024 * 1024 }>;
type Migrations = ();
type Randomness = DummyRandomness<Self>;
type RuntimeCall = RuntimeCall;
Expand Down
2 changes: 1 addition & 1 deletion runtime/testnet/src/config/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl pallet_contracts::Config for Runtime {
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
type MaxDelegateDependencies = ConstU32<32>;
type MaxStorageKeyLen = ConstU32<128>;
type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>;
type MaxTransientStorageSize = ConstU32<{ 1024 * 1024 }>;
type Migrations = (pallet_contracts::migration::v16::Migration<Runtime>,);
type Randomness = DummyRandomness<Self>;
type RuntimeCall = RuntimeCall;
Expand Down

0 comments on commit d7b8260

Please sign in to comment.