Closed manasbir closed 1 year ago
using iszero twice before jumpi is unnecessary as jumpi is compares between non-zero and zero (if !0 -> true), and not between 1 and 0 (if 1 -> true, else -> false).
iszero
jumpi
https://www.evm.codes/#57?fork=shanghai
Forget to mention, this (hopefully) resolves #117
using
iszero
twice beforejumpi
is unnecessary asjumpi
is compares between non-zero and zero (if !0 -> true), and not between 1 and 0 (if 1 -> true, else -> false).https://www.evm.codes/#57?fork=shanghai