tellor-io / tellor-pallet

GNU General Public License v3.0
7 stars 3 forks source link

fix: all dispatchables returning DispatchResultWithPostInfo should include actual weight with errors #127

Closed evilrobot-01 closed 1 year ago

evilrobot-01 commented 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.