Skip to content

Commit

Permalink
fix: mistake after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Daanvdplas committed Dec 19, 2024
1 parent 3fe17a2 commit 5a52b05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/testnet/src/config/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ impl pallet_contracts::Config for Runtime {
type MaxCodeLen = ConstU32<{ 256 * 1024 }>;
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
type MaxDelegateDependencies = ConstU32<32>;
type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>;
type MaxStorageKeyLen = ConstU32<128>;
type MaxTransientStorageSize = ConstU32<{ 1024 * 1024 }>;
type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>;

Check warning on line 70 in runtime/testnet/src/config/contracts.rs

View workflow job for this annotation

GitHub Actions / clippy

this operation has no effect

warning: this operation has no effect --> runtime/testnet/src/config/contracts.rs:70:44 | 70 | type MaxTransientStorageSize = ConstU32<{ 1 * 1024 * 1024 }>; | ^^^^^^^^ help: consider reducing it to: `1024` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op = note: `#[warn(clippy::identity_op)]` on by default
type Migrations = (pallet_contracts::migration::v16::Migration<Runtime>,);
type Randomness = DummyRandomness<Self>;
type RuntimeCall = RuntimeCall;
Expand Down

0 comments on commit 5a52b05

Please sign in to comment.