Closed evilrobot-01 closed 1 year ago
All dispatchables with a weight function which have a complexity parameter should include the actual weight consumed with any error returned (via the .with_weight(..) function). If not, the worst case weight is charged even if not actually consumed.
.with_weight(..)
All dispatchables with a weight function which have a complexity parameter should include the actual weight consumed with any error returned (via the
.with_weight(..)
function). If not, the worst case weight is charged even if not actually consumed.