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
The current check is:
x = (g-g/64)
y = gasLImit
x > y else revert
but it should be x >= y
// if g - g//64 <= gasAmount, revert. We subtract g//64 because of EIP-150ifiszero(gt(sub(g, div(g, 64)), gasLimit)) {
mstore(0x0, NOT_ENOUGH_GAS_FOR_CALL_SIG)
revert(0x0, 0x4)
}
The text was updated successfully, but these errors were encountered:
The current check is:
x = (g-g/64)
y = gasLImit
x > y else revert
but it should be x >= y
The text was updated successfully, but these errors were encountered: