4 ms·
> With a 30M gas limit one could think this is still nothing to worry about, but the more precisely the simulation logic is implemented (including edge case han
by kgin 5y ago
> With a 30M gas limit one could think this is still nothing to worry about, but the more precisely the simulation logic is implemented (including edge case handling, etc), the more operations like those listed above are needed, making it very likely that with a long game, the limit is breached.
I’m not sure how much efficiency was gained rewriting with bitwise operators, but the 30M gwei game would be very expensive: $125 USD for a single game of snake at current gas prices.