[frame/im-online] remove network state from heartbeats (#7309)

* [frame/im-online] remove external_addresses from heartbeat

* new benchmarks

* format code

* Revert "format code"

This reverts commit 586ddaa6f588b4aef92a0169cfd6a9610d1337b8.

* remove MaxPeerDataEncodingSize

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Anton
2023-06-15 14:25:57 +04:00
committed by GitHub
parent ed227b9bbe
commit d3d9d4ae66
9 changed files with 292 additions and 308 deletions
-2
View File
@@ -619,7 +619,6 @@ parameter_types! {
pub const MaxAuthorities: u32 = 100_000;
pub const MaxKeys: u32 = 10_000;
pub const MaxPeerInHeartbeats: u32 = 10_000;
pub const MaxPeerDataEncodingSize: u32 = 1_000;
}
impl pallet_treasury::Config for Runtime {
@@ -703,7 +702,6 @@ impl pallet_im_online::Config for Runtime {
type WeightInfo = weights::pallet_im_online::WeightInfo<Runtime>;
type MaxKeys = MaxKeys;
type MaxPeerInHeartbeats = MaxPeerInHeartbeats;
type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize;
}
parameter_types! {