contracts: Use WeakBoundedVec for instrumented code (#12186)

* Use WeakBoundedVec for instrumented code

* Remove `RelaxedMaxCodeLen` from kitchensink
This commit is contained in:
Alexander Theißen
2022-09-19 12:56:46 +02:00
committed by GitHub
parent f7ac2cd20f
commit 0d2adf1fa1
5 changed files with 13 additions and 28 deletions
-1
View File
@@ -1167,7 +1167,6 @@ impl pallet_contracts::Config for Runtime {
type AddressGenerator = pallet_contracts::DefaultAddressGenerator;
type ContractAccessWeight = pallet_contracts::DefaultContractAccessWeight<RuntimeBlockWeights>;
type MaxCodeLen = ConstU32<{ 128 * 1024 }>;
type RelaxedMaxCodeLen = ConstU32<{ 256 * 1024 }>;
type MaxStorageKeyLen = ConstU32<128>;
}