design
design copied to clipboard
handling code validation
On account creation the if the code is invalid should it OOG?
I think we should check the latest decision on the EVM (there's an EIP from Yoichi regarding this).
Proposal is to codify what Hera is doing (I think that matches Yoichi's proposal): it fails with EVMC_CONTRACT_VALIDATION_FAILURE which all the clients map into OOG.
Looked for the EIP and couldn't find it, I'd be curious to see it.
Agreed to codify what is currently implemented: contract verification failure results in OOG. Need to document this.