design
design copied to clipboard
Update to Constantinople/Petersburg
The EEI-related Constantinople changes are CREATE2 and EXTCODEHASH if I'm not mistaken.
CREATE2: add a new method just likecreatewith the additional parametersaltOffset: i32ptr(salt has fixed length of 32 bytes).EXTCODEHASH: two options:- add a new method
getExternalCodeHash(addressOffset, resultOffset) - add
isAccountEmpty(addressOffset)(also see #138) and handle the rest on the wasm side.
- add a new method