mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 10:57:56 +00:00
Companion for contracts WeightV2 (#1726)
* Remove `ContractAccessWeight`
* update lockfile for {"polkadot", "substrate"}
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
89095f9345
commit
0a92a71aa5
Generated
+351
-271
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@ use frame_support::{
|
||||
};
|
||||
use pallet_contracts::{
|
||||
weights::{SubstrateWeight, WeightInfo},
|
||||
Config, DefaultAddressGenerator, DefaultContractAccessWeight, Frame, Schedule,
|
||||
Config, DefaultAddressGenerator, Frame, Schedule,
|
||||
};
|
||||
pub use parachains_common::AVERAGE_ON_INITIALIZE_RATIO;
|
||||
|
||||
@@ -55,7 +55,6 @@ impl Config for Runtime {
|
||||
type Schedule = MySchedule;
|
||||
type CallStack = [Frame<Self>; 31];
|
||||
type AddressGenerator = DefaultAddressGenerator;
|
||||
type ContractAccessWeight = DefaultContractAccessWeight<RuntimeBlockWeights>;
|
||||
type MaxCodeLen = ConstU32<{ 128 * 1024 }>;
|
||||
type MaxStorageKeyLen = ConstU32<128>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user