-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eof: Add trait since when an instruction is in EOF (#989)
Add `std::optional<evmc_revision> eof_since` to the `instr::traits` with the information in which EVM revision an instruction has become valid in EOF. Using `std::optional` has some inconvenience: the `std::nullopt` is less-than any concrete value (think "Frontier-1") while for undefined instructions we rather want to assign +infinity.
- Loading branch information
Showing
3 changed files
with
185 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.