Assert (Ethereum)
In Solidity, +assert(false)+ compiles to 0xfe, an invalid opcode, which uses up all remaining gas and reverts all changes. When an +assert()+ statement fails, something very wrong and unexpected is […]
In Solidity, +assert(false)+ compiles to 0xfe, an invalid opcode, which uses up all remaining gas and reverts all changes. When an +assert()+ statement fails, something very wrong and unexpected is […]
Copyright © 2021 by Andreas M. Antonopoulos / Terms of Service / Privacy Policy