diff --git a/spec/eof.md b/spec/eof.md index 2ee37b2..df5b09e 100644 --- a/spec/eof.md +++ b/spec/eof.md @@ -276,10 +276,10 @@ Code executing within an EOF environment will behave differently than legacy cod - if `offset + 32 > len(returndata buffer)`, execution results in an exceptional halt - push 1 item onto the stack, the 32-byte word read from the returndata buffer starting at `offset` - `CALL2 (0xf8)`, `DELEGATECALL2 (0xf9)`, `STATICCALL2 (0xfb)` - - Replacement of `CALL`, `DELEGATECALL` and `STATICCALL` instructions, as specced out in [EIP-7069](https://eips.ethereum.org/EIPS/eip-7069), except the runtime stack check. In particular: + - Replacement of `CALL`, `DELEGATECALL` and `STATICCALL` instructions, as specced out in [EIP-7069](https://eips.ethereum.org/EIPS/eip-7069), except the runtime operand stack check. In particular: - The `gas_limit` input is removed. - The `output_offset` and `output_size` is removed. - - The `gas_limit` will be set to `(gas_left / 64) * 63` (aka as if the caller used `gas()` in place of `gas_limit`). + - The `gas_limit` will be set to `(gas_left / 64) * 63` (as if the caller used `gas()` in place of `gas_limit`). **NOTE**: Despite EOF not being strictly required by EIP-7069 and contrary to the wording of EIP-7069, the replacement instructions continue being treated as **undefined** in legacy code.