Unverified Commit b6231c79 authored by PG Herveou's avatar PG Herveou Committed by GitHub
Browse files

Contracts: Refactor API to use WeightMeter (#2943)



Update the Contracts API to use `WeightMeter`, as it simplifies the code
and makes it easier to reason about, rather than taking a mutable weight
or returning a tuple with the weight consumed

---------

Co-authored-by: default avatarAlexander Theißen <[email protected]>
parent 10ed7643
Pipeline #463799 canceled with stages
in 38 minutes and 38 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment