Skip to content

Commit d7b8260

Browse files
committed
fix: missing mock config
1 parent a9a6be5 commit d7b8260

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

extension/src/mock.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ impl pallet_contracts::Config for Test {
101101
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
102102
type MaxDelegateDependencies = MaxDelegateDependencies;
103103
type MaxStorageKeyLen = ConstU32<128>;
104+
type MaxTransientStorageSize = ConstU32<{ 1024 * 1024 }>;
104105
type Migrations = ();
105106
// crate::migration::codegen::BenchMigrations;
106107
type Randomness = Test;

runtime/devnet/src/config/contracts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ 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<{ 1024 * 1024 }>;
6969
type Migrations = ();
7070
type Randomness = DummyRandomness<Self>;
7171
type RuntimeCall = RuntimeCall;

runtime/testnet/src/config/contracts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl pallet_contracts::Config for Runtime {
6464
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
6565
type MaxDelegateDependencies = ConstU32<32>;
6666
type MaxStorageKeyLen = ConstU32<128>;
67-
type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>;
67+
type MaxTransientStorageSize = ConstU32<{ 1024 * 1024 }>;
6868
type Migrations = (pallet_contracts::migration::v16::Migration<Runtime>,);
6969
type Randomness = DummyRandomness<Self>;
7070
type RuntimeCall = RuntimeCall;

0 commit comments

Comments
 (0)