Skip to content

Commit 836a78a

Browse files
committed
fix: missing mock config
1 parent d97924d commit 836a78a

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
@@ -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 = (pallet_contracts::migration::v16::Migration<Runtime>,);
7070
type Randomness = DummyRandomness<Self>;
7171
type RuntimeCall = RuntimeCall;

0 commit comments

Comments
 (0)