Skip to content
Snippets Groups Projects
Commit 41900039 authored by Alexander Theißen's avatar Alexander Theißen Committed by GitHub
Browse files

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 <>
parent 15ce82c7
Branches
No related merge requests found
This diff is collapsed.
......@@ -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;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment