-
Notifications
You must be signed in to change notification settings - Fork 41
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
feat(levm): trait EVM #1897
Closed
Closed
feat(levm): trait EVM #1897
Conversation
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
|
fd6c9ee
to
56cf958
Compare
f6da1ae
to
18a8a21
Compare
|
Benchmark Results ComparisonPR ResultsBenchmark Results: Factorial
Benchmark Results: Factorial - Recursive
Benchmark Results: Fibonacci
Benchmark Results: ManyHashes
Benchmark Results: BubbleSort
Benchmark Results: ERC20 - Transfer
Benchmark Results: ERC20 - Mint
Benchmark Results: ERC20 - Approval
Main ResultsBenchmark Results: Factorial
Benchmark Results: Factorial - Recursive
Benchmark Results: Fibonacci
Benchmark Results: ManyHashes
Benchmark Results: BubbleSort
Benchmark Results: ERC20 - Transfer
Benchmark Results: ERC20 - Mint
Benchmark Results: ERC20 - Approval
|
mpaulucci
reviewed
Feb 12, 2025
mpaulucci
reviewed
Feb 12, 2025
EF Tests Comparison
|
2bb28d0
to
6cafb28
Compare
Oppen
reviewed
Feb 13, 2025
Oppen
reviewed
Feb 13, 2025
Oppen
reviewed
Feb 13, 2025
Oppen
reviewed
Feb 13, 2025
Oppen
reviewed
Feb 13, 2025
Oppen
reviewed
Feb 13, 2025
crates/l2/prover/zkvm/interface/sp1/elf/riscv32im-succinct-zkvm-elf
Outdated
Show resolved
Hide resolved
Oppen
reviewed
Feb 13, 2025
mpaulucci
approved these changes
Feb 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as a first iteration
github-merge-queue bot
pushed a commit
that referenced
this pull request
Feb 13, 2025
- The latest `rzup` binary removed the `extension` argument. - Now it uses `install` and `default` to set the desired version. - I've also removed the sp1's elf file, discussed [here](#1897 (comment)).
Closed in favor of #1949 |
github-merge-queue bot
pushed a commit
that referenced
this pull request
Feb 20, 2025
Alternative to #1897 **Motivation** When doing the `EVM` trait in #1897, i've ended up needing an enum to wrap the structs that implement such trait. This approach ended up being quite complex, and the raw use of an enum was discussed. **Description** - Implement an `enum` as unique entrypoint for the crate `ethrex-vm`. Closes #1661
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
We had repeated code and multiple entry-points for some functions. Isolating revm and levm with a trait would make the code cleaner. At least it should be easier to define boundaries inside the code.
Description
IEVM
specified by LEVM, L1: DesignEVM
trait to standardize thevm
's crate interface #1661EVM
that wraps 2 empty structsLEVM
yREVM
that implement the traitIEVM
.OnceLock
variable calledEVM_BACKEND
, it keeps track of the desired evm via a CLI argument.Closes #1661