design
design copied to clipboard
Drop EEI methods for accessing to contracts' code
Drop:
codeCopy()https://github.com/ewasm/design/blob/master/eth_interface.md#codecopygetCodeSize()https://github.com/ewasm/design/blob/master/eth_interface.md#getcodesizeexternalCodeCopy()https://github.com/ewasm/design/blob/master/eth_interface.md#externalcodecopygetExternalCodeSize()https://github.com/ewasm/design/blob/master/eth_interface.md#getexternalcodesize
The externalCodeCopy() and getExternalCodeSize() might still be available in EVM1 compatibility mode.
Access to external code hash might be useful.
Hypothesis: (Not all) nodes would have to keep the original code, they can keep the compiled / optimized code and the hash of the original code.