mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
* Adding `MaxKeys` `MaxPeerInHeartbeats` and `MaxPeerDataEncodingSize` to paller `im_online` after substrate changes * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -483,6 +483,9 @@ impl pallet_authority_discovery::Config for Runtime {
|
||||
parameter_types! {
|
||||
pub const NposSolutionPriority: TransactionPriority = TransactionPriority::max_value() / 2;
|
||||
pub const ImOnlineUnsignedPriority: TransactionPriority = TransactionPriority::max_value();
|
||||
pub const MaxKeys: u32 = 10_000;
|
||||
pub const MaxPeerInHeartbeats: u32 = 10_000;
|
||||
pub const MaxPeerDataEncodingSize: u32 = 1_000;
|
||||
}
|
||||
|
||||
impl pallet_im_online::Config for Runtime {
|
||||
@@ -493,6 +496,9 @@ impl pallet_im_online::Config for Runtime {
|
||||
type ReportUnresponsiveness = Offences;
|
||||
type UnsignedPriority = ImOnlineUnsignedPriority;
|
||||
type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>;
|
||||
type MaxKeys = MaxKeys;
|
||||
type MaxPeerInHeartbeats = MaxPeerInHeartbeats;
|
||||
type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize;
|
||||
}
|
||||
|
||||
impl pallet_grandpa::Config for Runtime {
|
||||
|
||||
Reference in New Issue
Block a user