-
Notifications
You must be signed in to change notification settings - Fork 38
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
refactor(l1,l2,levm): add evm cli arg instead of flag #1861
Merged
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
|
levm and revm modules
b48e272
to
c236a95
Compare
… into levm/cli_arg_not_flag
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 6, 2025
Oppen
reviewed
Feb 6, 2025
Oppen
reviewed
Feb 6, 2025
Oppen
reviewed
Feb 6, 2025
github-merge-queue bot
pushed a commit
that referenced
this pull request
Feb 6, 2025
**Motivation** We are adding some changes related to features flags in PR #1861 . The `ci_levm.yaml` performs a comparison between the PR's commit and main. To fully test this JOB and based on this [comment](#1861 (comment)), we should add the cli argument and do nothing for now, just to run the tests with the latest commit from Hive. **Description** - Add the `evm` cli argument to avoid errors. - Bump up Hive's commit. Linked to: #1861
5c6bdd7
to
fc40f66
Compare
fc40f66
to
e21ddab
Compare
mpaulucci
reviewed
Feb 7, 2025
tomip01
reviewed
Feb 7, 2025
lima-limon-inc
approved these changes
Feb 7, 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.
Very nice! ( ゚▽゚)/
Co-authored-by: Tomas Fabrizio Orsi <tomas.orsi@lambdaclass.com>
… into levm/cli_arg_not_flag
|
fkrause98
approved these changes
Feb 7, 2025
github-merge-queue bot
pushed a commit
that referenced
this pull request
Feb 10, 2025
**Motivation** <!-- Why does this pull request exist? What are its goals? --> zkVM programs fail to compile after #1861 was merged to main. This PR fixes the problem and bumps provers' versions. L2 breaking changes keep being merged because the prover compilation job isn't run in pushes that don't modify the L2 code, but the L2 is strongly dependent on L1 code. This PR enables the job for all pushes. The job takes ~13 minutes to complete, which is comparable to other jobs which run on all pushes. <!-- A clear and concise general description of the changes this PR introduces --> - fixes `ethrex-levm` adding c-kzg into the zkVMs programs dependency tree - bumps SP1 and Risc0 versions - enables prover CI job for all pushes
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.
Starts from scratch PR #1706
Motivation
The feature flag is somewhat cumbersome, it's easier to build a single binary and then choose the
EVM
implementation via the CLI.Description
Add the CLI arg → Removes the
levm
/revm
feature flag.EVM
enum to handle the evms.Blockchain
struct in order to keep track of theEVM
selected and make use of it throughout the code.The next step consists of abstracting the logic with a
trait
as LEVM, L1: DesignEVM
trait to standardize thevm
's crate interface #1661 describes