govern
govern copied to clipboard
Create: Fix proxies consuming all gas on failure
Probably executing invalid
instead of revert
on failure. Will require editing the bytecode for the proxies
Related to #239
From EIP1167, the bytecode contained in the proxies don't include any invalid opcodes so I don't think that's the case.
However, the proxies previous to #252 were computing the proxy creation bytecode incorrectly, potentially leading to this behaviour.
Makes sense, will test later
I couldn't reproduce the INVALID
opcode execution. Tried the proxy bytecode creation before #252 and after #252. Still, nothing.
Would be good if you could write the steps how to reproduce it.