bluealloy/revm

Check performance of gas with i64

Opened this issue · 0 comments

https://ethereum-magicians.org/t/eip-4803-limit-transaction-gas-to-a-maximum-of-2-63-1/8296/7

Now we do:

        let (remaining, overflow) = self.remaining.overflowing_sub(cost);
        let success = !overflow;
        if success {
            self.remaining = remaining;
        }
        success

check assembly for diffs.