-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(levm): gas cost in return and revert (#1571)
**Motivation** The gas costs are calculated inside the opcode function, we should extract it to the `gas_costs` modules to keep consistency. **Description** - Create `gas_cost::exit_opcode()` function, to calculate the gas cost of `op_return` and `op_revert`. Closes #1431
- Loading branch information
1 parent
bc8152f
commit b6aeef1
Showing
2 changed files
with
15 additions
and
8 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
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