update weights for the ghost-networks based on the latest update

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2025-07-29 13:28:46 +03:00
parent 28e8389bfc
commit 63979e34a7
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
3 changed files with 135 additions and 131 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "ghost-networks" name = "ghost-networks"
version = "0.1.12" version = "0.1.13"
license.workspace = true license.workspace = true
authors.workspace = true authors.workspace = true
edition.workspace = true edition.workspace = true

View File

@ -292,7 +292,9 @@ pub mod module {
network.default_endpoints network.default_endpoints
.iter() .iter()
.map(|endpoint| endpoint.len()) .map(|endpoint| endpoint.len())
.sum::<usize>() as u32, .max()
.unwrap_or_default() as u32,
network.default_endpoints.len() as u32,
))] ))]
pub fn register_network( pub fn register_network(
origin: OriginFor<T>, origin: OriginFor<T>,

View File

@ -49,7 +49,7 @@ use sp_std::marker::PhantomData;
/// Weight functions needed for ghost_networks /// Weight functions needed for ghost_networks
pub trait WeightInfo { pub trait WeightInfo {
fn register_network(n: u32, m: u32, ) -> Weight; fn register_network(i: u32, j: u32, k: u32, ) -> Weight;
fn update_network_name(n: u32, ) -> Weight; fn update_network_name(n: u32, ) -> Weight;
fn update_network_endpoint(n: u32, ) -> Weight; fn update_network_endpoint(n: u32, ) -> Weight;
fn update_network_finality_delay() -> Weight; fn update_network_finality_delay() -> Weight;
@ -70,15 +70,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `i` is `[1, 20]`. /// The range of component `i` is `[1, 20]`.
/// The range of component `j` is `[1, 150]`. /// The range of component `j` is `[1, 150]`.
fn register_network(_i: u32, j: u32, ) -> Weight { /// The range of component `k` is `[1, 20]`.
fn register_network(_i: u32, _j: u32, k: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `109` // Measured: `109`
// Estimated: `3574` // Estimated: `3574`
// Minimum execution time: 43_753_000 picoseconds. // Minimum execution time: 46_023_000 picoseconds.
Weight::from_parts(45_805_520, 0) Weight::from_parts(97_871_287, 0)
.saturating_add(Weight::from_parts(0, 3574)) .saturating_add(Weight::from_parts(0, 3574))
// Standard Error: 412 // Standard Error: 94_524
.saturating_add(Weight::from_parts(1_586, 0).saturating_mul(j.into())) .saturating_add(Weight::from_parts(940_486, 0).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -87,13 +88,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `n` is `[1, 20]`. /// The range of component `n` is `[1, 20]`.
fn update_network_name(n: u32, ) -> Weight { fn update_network_name(n: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 49_412_000 picoseconds. // Minimum execution time: 49_906_000 picoseconds.
Weight::from_parts(50_617_210, 0) Weight::from_parts(55_537_587, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
// Standard Error: 3_074 // Standard Error: 87_704
.saturating_add(Weight::from_parts(6_017, 0).saturating_mul(n.into())) .saturating_add(Weight::from_parts(92_366, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -102,13 +103,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// The range of component `n` is `[1, 150]`. /// The range of component `n` is `[1, 150]`.
fn update_network_endpoint(n: u32, ) -> Weight { fn update_network_endpoint(n: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 49_485_000 picoseconds. // Minimum execution time: 50_556_000 picoseconds.
Weight::from_parts(50_716_057, 0) Weight::from_parts(57_726_674, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
// Standard Error: 453 // Standard Error: 12_261
.saturating_add(Weight::from_parts(4_916, 0).saturating_mul(n.into())) .saturating_add(Weight::from_parts(274, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -116,11 +117,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_finality_delay() -> Weight { fn update_network_finality_delay() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 48_061_000 picoseconds. // Minimum execution time: 49_406_000 picoseconds.
Weight::from_parts(49_072_000, 0) Weight::from_parts(51_256_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -128,11 +129,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_rate_limit_delay() -> Weight { fn update_network_rate_limit_delay() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 49_066_000 picoseconds. // Minimum execution time: 49_572_000 picoseconds.
Weight::from_parts(52_137_000, 0) Weight::from_parts(52_584_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -140,11 +141,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_block_distance() -> Weight { fn update_network_block_distance() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 48_085_000 picoseconds. // Minimum execution time: 48_880_000 picoseconds.
Weight::from_parts(48_838_000, 0) Weight::from_parts(50_596_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -152,11 +153,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_type() -> Weight { fn update_network_type() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 47_872_000 picoseconds. // Minimum execution time: 48_282_000 picoseconds.
Weight::from_parts(48_972_000, 0) Weight::from_parts(49_137_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -164,11 +165,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_gatekeeper() -> Weight { fn update_network_gatekeeper() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 50_029_000 picoseconds. // Minimum execution time: 50_853_000 picoseconds.
Weight::from_parts(50_768_000, 0) Weight::from_parts(51_982_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -176,11 +177,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_topic_name() -> Weight { fn update_network_topic_name() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 50_151_000 picoseconds. // Minimum execution time: 50_343_000 picoseconds.
Weight::from_parts(51_573_000, 0) Weight::from_parts(52_380_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -188,11 +189,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_incoming_network_fee() -> Weight { fn update_incoming_network_fee() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 48_017_000 picoseconds. // Minimum execution time: 49_393_000 picoseconds.
Weight::from_parts(49_513_000, 0) Weight::from_parts(80_966_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -200,11 +201,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_outgoing_network_fee() -> Weight { fn update_outgoing_network_fee() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 48_714_000 picoseconds. // Minimum execution time: 49_579_000 picoseconds.
Weight::from_parts(49_777_000, 0) Weight::from_parts(51_126_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -212,11 +213,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn remove_network() -> Weight { fn remove_network() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 44_583_000 picoseconds. // Minimum execution time: 44_634_000 picoseconds.
Weight::from_parts(45_681_000, 0) Weight::from_parts(45_815_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes(1))
} }
@ -227,15 +228,16 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `i` is `[1, 20]`. /// The range of component `i` is `[1, 20]`.
/// The range of component `j` is `[1, 150]`. /// The range of component `j` is `[1, 150]`.
fn register_network(_i: u32, j: u32, ) -> Weight { /// The range of component `k` is `[1, 20]`.
fn register_network(_i: u32, _j: u32, k: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `109` // Measured: `109`
// Estimated: `3574` // Estimated: `3574`
// Minimum execution time: 43_753_000 picoseconds. // Minimum execution time: 46_023_000 picoseconds.
Weight::from_parts(45_805_520, 0) Weight::from_parts(97_871_287, 0)
.saturating_add(Weight::from_parts(0, 3574)) .saturating_add(Weight::from_parts(0, 3574))
// Standard Error: 412 // Standard Error: 94_524
.saturating_add(Weight::from_parts(1_586, 0).saturating_mul(j.into())) .saturating_add(Weight::from_parts(940_486, 0).saturating_mul(k.into()))
.saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(RocksDbWeight::get().writes(1))
} }
@ -244,13 +246,13 @@ impl WeightInfo for () {
/// The range of component `n` is `[1, 20]`. /// The range of component `n` is `[1, 20]`.
fn update_network_name(n: u32, ) -> Weight { fn update_network_name(n: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 49_412_000 picoseconds. // Minimum execution time: 49_906_000 picoseconds.
Weight::from_parts(50_617_210, 0) Weight::from_parts(55_537_587, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
// Standard Error: 3_074 // Standard Error: 87_704
.saturating_add(Weight::from_parts(6_017, 0).saturating_mul(n.into())) .saturating_add(Weight::from_parts(92_366, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(RocksDbWeight::get().writes(1))
} }
@ -259,13 +261,13 @@ impl WeightInfo for () {
/// The range of component `n` is `[1, 150]`. /// The range of component `n` is `[1, 150]`.
fn update_network_endpoint(n: u32, ) -> Weight { fn update_network_endpoint(n: u32, ) -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 49_485_000 picoseconds. // Minimum execution time: 50_556_000 picoseconds.
Weight::from_parts(50_716_057, 0) Weight::from_parts(57_726_674, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
// Standard Error: 453 // Standard Error: 12_261
.saturating_add(Weight::from_parts(4_916, 0).saturating_mul(n.into())) .saturating_add(Weight::from_parts(274, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(RocksDbWeight::get().writes(1))
} }
@ -273,11 +275,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_finality_delay() -> Weight { fn update_network_finality_delay() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 48_061_000 picoseconds. // Minimum execution time: 49_406_000 picoseconds.
Weight::from_parts(49_072_000, 0) Weight::from_parts(51_256_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(RocksDbWeight::get().writes(1))
} }
@ -285,11 +287,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_rate_limit_delay() -> Weight { fn update_network_rate_limit_delay() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 49_066_000 picoseconds. // Minimum execution time: 49_572_000 picoseconds.
Weight::from_parts(52_137_000, 0) Weight::from_parts(52_584_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(RocksDbWeight::get().writes(1))
} }
@ -297,11 +299,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_block_distance() -> Weight { fn update_network_block_distance() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 48_085_000 picoseconds. // Minimum execution time: 48_880_000 picoseconds.
Weight::from_parts(48_838_000, 0) Weight::from_parts(50_596_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(RocksDbWeight::get().writes(1))
} }
@ -309,11 +311,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_type() -> Weight { fn update_network_type() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 47_872_000 picoseconds. // Minimum execution time: 48_282_000 picoseconds.
Weight::from_parts(48_972_000, 0) Weight::from_parts(49_137_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(RocksDbWeight::get().writes(1))
} }
@ -321,11 +323,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_gatekeeper() -> Weight { fn update_network_gatekeeper() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 50_029_000 picoseconds. // Minimum execution time: 50_853_000 picoseconds.
Weight::from_parts(50_768_000, 0) Weight::from_parts(51_982_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(RocksDbWeight::get().writes(1))
} }
@ -333,11 +335,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_network_topic_name() -> Weight { fn update_network_topic_name() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 50_151_000 picoseconds. // Minimum execution time: 50_343_000 picoseconds.
Weight::from_parts(51_573_000, 0) Weight::from_parts(52_380_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(RocksDbWeight::get().writes(1))
} }
@ -345,11 +347,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_incoming_network_fee() -> Weight { fn update_incoming_network_fee() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 48_017_000 picoseconds. // Minimum execution time: 49_393_000 picoseconds.
Weight::from_parts(49_513_000, 0) Weight::from_parts(80_966_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(RocksDbWeight::get().writes(1))
} }
@ -357,11 +359,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn update_outgoing_network_fee() -> Weight { fn update_outgoing_network_fee() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 48_714_000 picoseconds. // Minimum execution time: 49_579_000 picoseconds.
Weight::from_parts(49_777_000, 0) Weight::from_parts(51_126_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(RocksDbWeight::get().writes(1))
} }
@ -369,11 +371,11 @@ impl WeightInfo for () {
/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn remove_network() -> Weight { fn remove_network() -> Weight {
// Proof Size summary in bytes: // Proof Size summary in bytes:
// Measured: `301` // Measured: `302`
// Estimated: `3766` // Estimated: `3767`
// Minimum execution time: 44_583_000 picoseconds. // Minimum execution time: 44_634_000 picoseconds.
Weight::from_parts(45_681_000, 0) Weight::from_parts(45_815_000, 0)
.saturating_add(Weight::from_parts(0, 3766)) .saturating_add(Weight::from_parts(0, 3767))
.saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().reads(1))
.saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(RocksDbWeight::get().writes(1))
} }