Title | New opcodes: RETURNDATASIZE and RETURNDATACOPY |
Author | Christian Reitwiessner |
Status | Final |
Created | 2017-02-13 |
Description | http://eips.ethereum.org/EIPS/eip-211 |
Specification | http://eips.ethereum.org/EIPS/eip-211#Specification |
Category | Core |
Replaces | EIP 5 |
calldata
is handled already; after a call, return data is kept inside a virtual buffer from which the caller can copy it (or parts thereof) into memory. At the next call, the buffer is overwritten. This mechanism is 100% backwards compatible.
RETURNDATACOPY
in conjunction with RETURNDATASIZE
to actually retrieve the data.