mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
* companion for https://github.com/paritytech/substrate/pull/13237 * test-runtime: add MaxSetIdSessionEntries * update lockfile for {"substrate"} --------- Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+181
-181
File diff suppressed because it is too large
Load Diff
@@ -722,6 +722,10 @@ impl pallet_im_online::Config for Runtime {
|
||||
type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub MaxSetIdSessionEntries: u32 = BondingDuration::get() * SessionsPerEra::get();
|
||||
}
|
||||
|
||||
impl pallet_grandpa::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
|
||||
@@ -743,6 +747,7 @@ impl pallet_grandpa::Config for Runtime {
|
||||
|
||||
type WeightInfo = ();
|
||||
type MaxAuthorities = MaxAuthorities;
|
||||
type MaxSetIdSessionEntries = MaxSetIdSessionEntries;
|
||||
}
|
||||
|
||||
/// Submits transaction with the node's public and signature type. Adheres to the signed extension
|
||||
@@ -1484,6 +1489,10 @@ pub type Migrations = (
|
||||
// "Use 2D weights in XCM v3" <https://github.com/paritytech/polkadot/pull/6134>
|
||||
pallet_xcm::migration::v1::MigrateToV1<Runtime>,
|
||||
parachains_ump::migration::v1::MigrateToV1<Runtime>,
|
||||
// Remove stale entries in the set id -> session index storage map (after
|
||||
// this release they will be properly pruned after the bonding duration has
|
||||
// elapsed)
|
||||
pallet_grandpa::migrations::CleanupSetIdSessionMap<Runtime>,
|
||||
);
|
||||
|
||||
/// Unchecked extrinsic type as expected by this runtime.
|
||||
|
||||
@@ -934,6 +934,10 @@ impl pallet_im_online::Config for Runtime {
|
||||
type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub MaxSetIdSessionEntries: u32 = BondingDuration::get() * SessionsPerEra::get();
|
||||
}
|
||||
|
||||
impl pallet_grandpa::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
|
||||
@@ -955,6 +959,7 @@ impl pallet_grandpa::Config for Runtime {
|
||||
|
||||
type WeightInfo = ();
|
||||
type MaxAuthorities = MaxAuthorities;
|
||||
type MaxSetIdSessionEntries = MaxSetIdSessionEntries;
|
||||
}
|
||||
|
||||
/// Submits a transaction with the node's public and signature type. Adheres to the signed extension
|
||||
@@ -1600,6 +1605,10 @@ pub type Migrations = (
|
||||
// "Use 2D weights in XCM v3" <https://github.com/paritytech/polkadot/pull/6134>
|
||||
pallet_xcm::migration::v1::MigrateToV1<Runtime>,
|
||||
parachains_ump::migration::v1::MigrateToV1<Runtime>,
|
||||
// Remove stale entries in the set id -> session index storage map (after
|
||||
// this release they will be properly pruned after the bonding duration has
|
||||
// elapsed)
|
||||
pallet_grandpa::migrations::CleanupSetIdSessionMap<Runtime>,
|
||||
);
|
||||
|
||||
/// Unchecked extrinsic type as expected by this runtime.
|
||||
|
||||
@@ -654,6 +654,10 @@ impl pallet_im_online::Config for Runtime {
|
||||
type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub const MaxSetIdSessionEntries: u32 = BondingDuration::get() * SessionsPerEra::get();
|
||||
}
|
||||
|
||||
impl pallet_grandpa::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
|
||||
@@ -675,6 +679,7 @@ impl pallet_grandpa::Config for Runtime {
|
||||
|
||||
type WeightInfo = ();
|
||||
type MaxAuthorities = MaxAuthorities;
|
||||
type MaxSetIdSessionEntries = MaxSetIdSessionEntries;
|
||||
}
|
||||
|
||||
/// Submits a transaction with the node's public and signature type. Adheres to the signed extension
|
||||
@@ -1481,6 +1486,10 @@ pub type Migrations = (
|
||||
// "Use 2D weights in XCM v3" <https://github.com/paritytech/polkadot/pull/6134>
|
||||
pallet_xcm::migration::v1::MigrateToV1<Runtime>,
|
||||
parachains_ump::migration::v1::MigrateToV1<Runtime>,
|
||||
// Remove stale entries in the set id -> session index storage map (after
|
||||
// this release they will be properly pruned after the bonding duration has
|
||||
// elapsed)
|
||||
pallet_grandpa::migrations::CleanupSetIdSessionMap<Runtime>,
|
||||
);
|
||||
|
||||
/// Executive: handles dispatch to the various modules.
|
||||
|
||||
@@ -361,6 +361,10 @@ impl pallet_staking::Config for Runtime {
|
||||
type WeightInfo = ();
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub MaxSetIdSessionEntries: u32 = BondingDuration::get() * SessionsPerEra::get();
|
||||
}
|
||||
|
||||
impl pallet_grandpa::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
|
||||
@@ -378,6 +382,7 @@ impl pallet_grandpa::Config for Runtime {
|
||||
|
||||
type WeightInfo = ();
|
||||
type MaxAuthorities = MaxAuthorities;
|
||||
type MaxSetIdSessionEntries = MaxSetIdSessionEntries;
|
||||
}
|
||||
|
||||
impl<LocalCall> frame_system::offchain::CreateSignedTransaction<LocalCall> for Runtime
|
||||
|
||||
@@ -568,6 +568,10 @@ impl pallet_im_online::Config for Runtime {
|
||||
type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub const MaxSetIdSessionEntries: u32 = BondingDuration::get() * SessionsPerEra::get();
|
||||
}
|
||||
|
||||
impl pallet_grandpa::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
|
||||
@@ -589,6 +593,7 @@ impl pallet_grandpa::Config for Runtime {
|
||||
|
||||
type WeightInfo = ();
|
||||
type MaxAuthorities = MaxAuthorities;
|
||||
type MaxSetIdSessionEntries = MaxSetIdSessionEntries;
|
||||
}
|
||||
|
||||
/// Submits a transaction with the node's public and signature type. Adheres to the signed extension
|
||||
@@ -1238,6 +1243,10 @@ pub type Migrations = (
|
||||
// "Use 2D weights in XCM v3" <https://github.com/paritytech/polkadot/pull/6134>
|
||||
pallet_xcm::migration::v1::MigrateToV1<Runtime>,
|
||||
parachains_ump::migration::v1::MigrateToV1<Runtime>,
|
||||
// Remove stale entries in the set id -> session index storage map (after
|
||||
// this release they will be properly pruned after the bonding duration has
|
||||
// elapsed)
|
||||
pallet_grandpa::migrations::CleanupSetIdSessionMap<Runtime>,
|
||||
);
|
||||
|
||||
/// Unchecked extrinsic type as expected by this runtime.
|
||||
|
||||
Reference in New Issue
Block a user