mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
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:
committed by
GitHub
parent
15ce82c7cc
commit
41900039fc
Generated
+275
-342
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;
|
||||
|
||||
Reference in New Issue
Block a user