I'm trying to figure out how much gas was spent during a function call that reverts in one of my truffle test. Wondering if that's possible in any way

Oct 13, 2020, 2:21 PM
when a call reverts I obviously don't get any receipt
I am trying to ensure that ETH balances of the different addresses are as expected ... minus gas spent on the call
I know how to get gas spent on successful function call ... but can't seem to figure it out for a reverted call
thanks for any help :)
Oct 13, 2020, 2:25 PM

© 2024 Draquery.com All rights reserved.