design icon indicating copy to clipboard operation
design copied to clipboard

Update to Constantinople/Petersburg

Open axic opened this issue 6 years ago • 1 comments

axic avatar Mar 15 '19 00:03 axic

The EEI-related Constantinople changes are CREATE2 and EXTCODEHASH if I'm not mistaken.

  • CREATE2: add a new method just like create with the additional parameter saltOffset: 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.

s1na avatar Apr 08 '19 19:04 s1na