Companion for bounded contracts storage (#1261)

* Companion for bounded contracts storage

* Add missing import

* update lockfile for {"substrate"}

* bump polkadot

Co-authored-by: parity-processbot <>
This commit is contained in:
Alexander Theißen
2022-05-18 10:48:31 +02:00
committed by GitHub
parent 15ce82c7cc
commit 41900039fc
2 changed files with 278 additions and 343 deletions
+275 -342
View File
File diff suppressed because it is too large Load Diff
@@ -4,7 +4,7 @@ use crate::{
};
use frame_support::{
parameter_types,
traits::{Nothing, OnRuntimeUpgrade},
traits::{ConstU32, Nothing, OnRuntimeUpgrade},
weights::Weight,
};
use pallet_contracts::{
@@ -57,6 +57,8 @@ impl Config for Runtime {
type CallStack = [Frame<Self>; 31];
type AddressGenerator = DefaultAddressGenerator;
type ContractAccessWeight = DefaultContractAccessWeight<RuntimeBlockWeights>;
type MaxCodeLen = ConstU32<{ 128 * 1024 }>;
type RelaxedMaxCodeLen = ConstU32<{ 256 * 1024 }>;
}
pub struct Migrations;