-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(levm): error handling ef_tests (Part 1) (#1319)
**Motivation** <!-- Why does this pull request exist? What are its goals? --> **Description** <!-- A clear and concise general description of the changes this PR introduces --> - Add some other fields to levm's environment: Max priority fee per gas, max fee per gas, block gas limit, max fee per blob gas. - Refactors `tx_blob_hashes` and `op_blobhash`. I realized this opcode wasn't pushing 0 to the stack if no blobhash was found. - Make `execute()` propagate interal errors - Partially implements validation errors. Partially because for them to be fully implemented I have to make changes like gas consumption logic and that would be too much for this PR. - The amount of tests that passed is pretty similar to the ones that are passing in `main`, only a few more are passing. This PR only doesn't fix all execution errors, for this to be fixed I have to make a lot more changes and it would transform itself into a very big PR. <!-- Link to issues: Resolves #111, Resolves #222 --> Closes #issue_number
- Loading branch information
Showing
10 changed files
with
462 additions
and
325 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
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
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
Oops, something went wrong.