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ßenandparity-processbot authored and GitHub committed 2022-05-18 08:48:31 +00:00
1 parent b98a9a0032
commit a5bfd11b5f
2 files changed
+278 -343

No files matched your search

Generated
+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;