mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
[companion] Get rid of Peerset compatibility layer (#2739)
* Init `PeerStore` in `build_collator_network` * kick CI * Update Cargo.lock for substrate * Companion for substrate 14373 * Companion for paritytech/substrate#14020 * update lockfile for {"substrate", "polkadot"} --------- Co-authored-by: Davide Galassi <davxy@datawok.net> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
use crate::{
|
||||
constants::currency::deposit, Balance, Balances, RandomnessCollectiveFlip, Runtime,
|
||||
RuntimeCall, RuntimeEvent, Timestamp,
|
||||
RuntimeCall, RuntimeEvent, RuntimeHoldReason, Timestamp,
|
||||
};
|
||||
use frame_support::{
|
||||
parameter_types,
|
||||
traits::{ConstBool, ConstU32, Nothing},
|
||||
};
|
||||
use pallet_contracts::{
|
||||
migration::v12, weights::SubstrateWeight, Config, DebugInfo, DefaultAddressGenerator, Frame,
|
||||
Schedule,
|
||||
migration::{v12, v13, v14},
|
||||
weights::SubstrateWeight,
|
||||
Config, DebugInfo, DefaultAddressGenerator, Frame, Schedule,
|
||||
};
|
||||
use sp_runtime::Perbill;
|
||||
|
||||
@@ -54,5 +55,10 @@ impl Config for Runtime {
|
||||
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
|
||||
type MaxDelegateDependencies = ConstU32<32>;
|
||||
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent;
|
||||
type Migrations = (v12::Migration<Runtime>,);
|
||||
type Migrations = (
|
||||
v12::Migration<Runtime, Balances>,
|
||||
v13::Migration<Runtime>,
|
||||
v14::Migration<Runtime, Balances>,
|
||||
);
|
||||
type RuntimeHoldReason = RuntimeHoldReason;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user