referrerpolicy=no-referrer-when-downgrade

Trait SetWeightLimit

Source
pub trait SetWeightLimit {
    // Required method
    fn set_weight_limit(&mut self, weight_limit: Weight) -> Weight;
}
Expand description

Used to set the weight limit argument of a eth_call or eth_instantiate_with_code call.

Required Methods§

Source

fn set_weight_limit(&mut self, weight_limit: Weight) -> Weight

Set the weight limit of this call.

Returns the replaced weight.

Implementors§