Trait pallet_bridge_parachains::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn submit_parachain_heads_with_n_parachains(p: u32) -> Weight;
fn submit_parachain_heads_with_1kb_proof() -> Weight;
fn submit_parachain_heads_with_16kb_proof() -> Weight;
}
Expand description
Weight functions needed for pallet_bridge_parachains.
Required Methods§
fn submit_parachain_heads_with_n_parachains(p: u32) -> Weight
fn submit_parachain_heads_with_1kb_proof() -> Weight
fn submit_parachain_heads_with_16kb_proof() -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn submit_parachain_heads_with_n_parachains(_p: u32) -> Weight
fn submit_parachain_heads_with_n_parachains(_p: u32) -> Weight
Storage: BridgeUnknownParachains PalletOperatingMode (r:1 w:0)
Proof: BridgeUnknownParachains PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
Storage: BridgeUnknownGrandpa ImportedHeaders (r:1 w:0)
Proof: BridgeUnknownGrandpa ImportedHeaders (max_values: Some(14400), max_size: Some(68), added: 2048, mode: MaxEncodedLen)
Storage: BridgeUnknownParachains ParasInfo (r:1 w:1)
Proof: BridgeUnknownParachains ParasInfo (max_values: Some(1), max_size: Some(60), added: 555, mode: MaxEncodedLen)
Storage: BridgeUnknownParachains ImportedParaHashes (r:1 w:1)
Proof: BridgeUnknownParachains ImportedParaHashes (max_values: Some(1024), max_size: Some(64), added: 1549, mode: MaxEncodedLen)
Storage: BridgeUnknownParachains ImportedParaHeads (r:0 w:1)
Proof: BridgeUnknownParachains ImportedParaHeads (max_values: Some(1024), max_size: Some(196), added: 1681, mode: MaxEncodedLen)
The range of component p
is [1, 2]
.
source§fn submit_parachain_heads_with_1kb_proof() -> Weight
fn submit_parachain_heads_with_1kb_proof() -> Weight
Storage: BridgeUnknownParachains PalletOperatingMode (r:1 w:0)
Proof: BridgeUnknownParachains PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
Storage: BridgeUnknownGrandpa ImportedHeaders (r:1 w:0)
Proof: BridgeUnknownGrandpa ImportedHeaders (max_values: Some(14400), max_size: Some(68), added: 2048, mode: MaxEncodedLen)
Storage: BridgeUnknownParachains ParasInfo (r:1 w:1)
Proof: BridgeUnknownParachains ParasInfo (max_values: Some(1), max_size: Some(60), added: 555, mode: MaxEncodedLen)
Storage: BridgeUnknownParachains ImportedParaHashes (r:1 w:1)
Proof: BridgeUnknownParachains ImportedParaHashes (max_values: Some(1024), max_size: Some(64), added: 1549, mode: MaxEncodedLen)
Storage: BridgeUnknownParachains ImportedParaHeads (r:0 w:1)
Proof: BridgeUnknownParachains ImportedParaHeads (max_values: Some(1024), max_size: Some(196), added: 1681, mode: MaxEncodedLen)
source§fn submit_parachain_heads_with_16kb_proof() -> Weight
fn submit_parachain_heads_with_16kb_proof() -> Weight
Storage: BridgeUnknownParachains PalletOperatingMode (r:1 w:0)
Proof: BridgeUnknownParachains PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
Storage: BridgeUnknownGrandpa ImportedHeaders (r:1 w:0)
Proof: BridgeUnknownGrandpa ImportedHeaders (max_values: Some(14400), max_size: Some(68), added: 2048, mode: MaxEncodedLen)
Storage: BridgeUnknownParachains ParasInfo (r:1 w:1)
Proof: BridgeUnknownParachains ParasInfo (max_values: Some(1), max_size: Some(60), added: 555, mode: MaxEncodedLen)
Storage: BridgeUnknownParachains ImportedParaHashes (r:1 w:1)
Proof: BridgeUnknownParachains ImportedParaHashes (max_values: Some(1024), max_size: Some(64), added: 1549, mode: MaxEncodedLen)
Storage: BridgeUnknownParachains ImportedParaHeads (r:0 w:1)
Proof: BridgeUnknownParachains ImportedParaHeads (max_values: Some(1024), max_size: Some(196), added: 1681, mode: MaxEncodedLen)