design icon indicating copy to clipboard operation
design copied to clipboard

handling code validation

Open wanderer opened this issue 9 years ago • 3 comments

On account creation the if the code is invalid should it OOG?

wanderer avatar Nov 06 '16 01:11 wanderer

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.

axic avatar Jul 30 '18 18:07 axic

Looked for the EIP and couldn't find it, I'd be curious to see it.

lrettig avatar Jul 31 '18 15:07 lrettig

Agreed to codify what is currently implemented: contract verification failure results in OOG. Need to document this.

axic avatar Jul 31 '18 16:07 axic