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§
Sourcefn set_weight_limit(&mut self, weight_limit: Weight) -> Weight
fn set_weight_limit(&mut self, weight_limit: Weight) -> Weight
Set the weight limit of this call.
Returns the replaced weight.