You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
While gasProvided is a hex string, receipt.gasUsed is a number, making the condition always fail -and therefore failing to do any check-. Proper comparison would be:
gasProvided!==utils.numberToHex(receipt.gasUsed)
It looks like after the refactor in version beta.38 and up, the condition is the same: