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

LEVM: Refactor the main method flow #1633

Open
4 tasks
ilitteri opened this issue Jan 6, 2025 · 2 comments · May be fixed by #1807
Open
4 tasks

LEVM: Refactor the main method flow #1633

ilitteri opened this issue Jan 6, 2025 · 2 comments · May be fixed by #1807
Assignees
Labels
levm Lambda EVM implementation refactor

Comments

@ilitteri
Copy link
Contributor

ilitteri commented Jan 6, 2025

  • The new transact method should: prepare the VM for execution -> execute -> resolve the execution result -> perform the post-execution logic -> return the transaction execution report.
  • execute should return an ExecutionResult.
  • There should be a resolve_execution_result function that takes the ExecutionResult and returns the TransactionExecutionReport.
  • The TransactionExecutionReport should be altered by the post-execution logic as needed.
@lima-limon-inc
Copy link
Contributor

On it! See: #1807

@lima-limon-inc lima-limon-inc linked a pull request Jan 27, 2025 that will close this issue
@lima-limon-inc
Copy link
Contributor

The new transact method should: prepare the VM for execution -> execute -> resolve the execution result -> perform the post-execution logic -> return the transaction execution report.

I think this is basically the case now. There is an if statement I'd like to remove (see here), although it has proven to be harder than expected. I'll tackle it later on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
levm Lambda EVM implementation refactor
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants