pub trait WeightInfo {
// Required method
fn upsert_metadata() -> Weight;
}
Expand description
Weight functions needed for pallet_block_producer_metadata.
Required Methods§
fn upsert_metadata() -> Weight
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl WeightInfo for ()
impl WeightInfo for ()
Source§fn upsert_metadata() -> Weight
fn upsert_metadata() -> Weight
Storage: Sidechain::GenesisUtxo
(r:1 w:0)
Proof: Sidechain::GenesisUtxo
(max_values
: Some(1), max_size
: Some(34), added: 529, mode: MaxEncodedLen
)
Storage: BlockProducerMetadata::BlockProducerMetadataStorage
(r:0 w:1)
Proof: BlockProducerMetadata::BlockProducerMetadataStorage
(max_values
: None, max_size
: Some(590), added: 3065, mode: MaxEncodedLen
)