mirror of
https://github.com/status-im/EIPs.git
synced 2025-01-13 16:24:46 +00:00
Update eip-140.md
This commit is contained in:
parent
bccf7d1a3f
commit
75121e281a
@ -22,7 +22,7 @@ Currently this is not possible. There are two practical ways to revert a transac
|
||||
|
||||
## Specification
|
||||
|
||||
The `REVERT` instruction is introduced at `0xfd`. It expects two stack items, the top item is the `memory_offset` followed by `memory_length`. It does not produce any stack elements because it stops execution.
|
||||
On blocks with `block.number >= BYZANTIUM_FORK_BLKNUM`, the `REVERT` instruction is introduced at `0xfd`. It expects two stack items, the top item is the `memory_offset` followed by `memory_length`. It does not produce any stack elements because it stops execution.
|
||||
|
||||
The semantics of `REVERT` with respect to memory and memory cost are identical to those of `RETURN`. The sequence of bytes given by `memory_offset` and `memory_length` is called "error message" in the following.
|
||||
|
||||
@ -55,4 +55,4 @@ should:
|
||||
|
||||
## Copyright
|
||||
|
||||
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/).
|
||||
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/).
|
||||
|
Loading…
x
Reference in New Issue
Block a user