Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(levm): fix execution of eftests #1169

Draft
wants to merge 51 commits into
base: main
Choose a base branch
from

Conversation

JereSalo
Copy link
Contributor

@JereSalo JereSalo commented Nov 14, 2024

Motivation

  • When trying to execute some eftests we have some unexpected errors. That shouldn't happen on the execution. At least it should execute without errors and after that we will be able to check if the POST state is correct or not.

Description

Warning

  • This PR is going to be divided into multiple PRs, I will close and delete this branch when all the changes that it brings are not useful anymore

Closes #issue_number

@JereSalo JereSalo added the levm Lambda EVM implementation label Nov 14, 2024
@JereSalo JereSalo self-assigned this Nov 14, 2024
maximopalopoli and others added 23 commits November 20, 2024 16:18
**Motivation**

Currently in EF tests we don't verify that the error returned by levm
matches with the expected, the goal is to verify it, and print an error
if it does not match.

**Description**

This PR includes:
- The logic of verifying the exception is the expected, in
`exception_is_expected()`
- The print of the error (or errors) that the EVM may throw in case the
error does not match or in case it does not return an error and one is
expected.
**Motivation**

<!-- Why does this pull request exist? What are its goals? -->

**Description**

<!-- A clear and concise general description of the changes this PR
introduces -->
- Organize transact
- Fix errors
- Improve reversion behavior
<!-- Link to issues: Resolves #111, Resolves #222 -->

Closes #issue_number
@JereSalo JereSalo marked this pull request as ready for review November 25, 2024 14:10
@JereSalo JereSalo requested a review from a team as a code owner November 25, 2024 14:11
@JereSalo JereSalo marked this pull request as draft November 28, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
levm Lambda EVM implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants