pub trait WeightInfo {
    // Required methods
    fn note_preimage(s: u32) -> Weight;
    fn note_requested_preimage(s: u32) -> Weight;
    fn note_no_deposit_preimage(s: u32) -> Weight;
    fn unnote_preimage() -> Weight;
    fn unnote_no_deposit_preimage() -> Weight;
    fn request_preimage() -> Weight;
    fn request_no_deposit_preimage() -> Weight;
    fn request_unnoted_preimage() -> Weight;
    fn request_requested_preimage() -> Weight;
    fn unrequest_preimage() -> Weight;
    fn unrequest_unnoted_preimage() -> Weight;
    fn unrequest_multi_referenced_preimage() -> Weight;
}
Expand description

Weight functions needed for pallet_preimage.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn note_preimage(s: u32) -> Weight

Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) Storage: Preimage PreimageFor (r:0 w:1) Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) The range of component s is [0, 4194304].

source§

fn note_requested_preimage(s: u32) -> Weight

Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) Storage: Preimage PreimageFor (r:0 w:1) Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) The range of component s is [0, 4194304].

source§

fn note_no_deposit_preimage(s: u32) -> Weight

Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) Storage: Preimage PreimageFor (r:0 w:1) Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen) The range of component s is [0, 4194304].

source§

fn unnote_preimage() -> Weight

Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) Storage: Preimage PreimageFor (r:0 w:1) Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)

source§

fn unnote_no_deposit_preimage() -> Weight

Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) Storage: Preimage PreimageFor (r:0 w:1) Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)

source§

fn request_preimage() -> Weight

Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)

source§

fn request_no_deposit_preimage() -> Weight

Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)

source§

fn request_unnoted_preimage() -> Weight

Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)

source§

fn request_requested_preimage() -> Weight

Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)

source§

fn unrequest_preimage() -> Weight

Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) Storage: Preimage PreimageFor (r:0 w:1) Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)

source§

fn unrequest_unnoted_preimage() -> Weight

Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)

source§

fn unrequest_multi_referenced_preimage() -> Weight

Storage: Preimage StatusFor (r:1 w:1) Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)

Implementors§