This is an old revision of the document!
: Note: The following is an excerpt from the official Ethereum site. It is provided here as a connivence and is not authoritative. Refer to the original document as the authoritative reference.
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.