pub trait WeightInfo {
// Required methods
fn submit_signed_proposals(n: u32) -> Weight;
fn force_submit_unsigned_proposal() -> Weight;
fn force_remove_unsigned_proposal() -> Weight;
}
Expand description
Weight functions needed for pallet_dkg_proposal_handler.
Required Methods§
fn submit_signed_proposals(n: u32) -> Weight
fn force_submit_unsigned_proposal() -> Weight
fn force_remove_unsigned_proposal() -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn submit_signed_proposals(n: u32) -> Weight
fn submit_signed_proposals(n: u32) -> Weight
Storage: DKG DKGPublicKey (r:1 w:0)
Proof: DKG DKGPublicKey (max_values: Some(1), max_size: Some(522), added: 1017, mode: MaxEncodedLen)
Storage: DKGProposalHandler UnsignedProposalQueue (r:100 w:100)
Proof: DKGProposalHandler UnsignedProposalQueue (max_values: None, max_size: Some(20052), added: 22527, mode: MaxEncodedLen)
Storage: DKGProposalHandler SignedProposals (r:0 w:100)
Proof: DKGProposalHandler SignedProposals (max_values: None, max_size: Some(20048), added: 22523, mode: MaxEncodedLen)
Storage: DKGProposalHandler NextUnsignedAt (r:0 w:1)
Proof: DKGProposalHandler NextUnsignedAt (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
The range of component n
is [0, 100]
.
source§fn force_submit_unsigned_proposal() -> Weight
fn force_submit_unsigned_proposal() -> Weight
Storage: DKGProposalHandler UnsignedProposalQueue (r:0 w:1) Proof: DKGProposalHandler UnsignedProposalQueue (max_values: None, max_size: Some(20052), added: 22527, mode: MaxEncodedLen)
source§fn force_remove_unsigned_proposal() -> Weight
fn force_remove_unsigned_proposal() -> Weight
Storage: DKGProposalHandler UnsignedProposalQueue (r:0 w:1) Proof: DKGProposalHandler UnsignedProposalQueue (max_values: None, max_size: Some(20052), added: 22527, mode: MaxEncodedLen)