Update alloy and revm to latest#17
Open
cassc wants to merge 4 commits into
Open
Conversation
- Update alloy from 0.12 to 1.0.23 - Update revm from 19.0.0 to 27.1.0 - Migrate to new revm API: - Replace Database-based Inspector trait with context-generic version - Update interpreter field access from methods to direct fields - Fix CallInput enum usage and add bytes() method calls - Replace Env struct with separate BlockEnv, TxEnv, CfgEnv - Use MainBuilder trait for EVM construction - Update Inspector method signatures for mutable outcomes - Add ForkDBError wrapper implementing DBErrorMarker trait - Fix state access using JournalExt trait - Update alloy provider method from on_http() to connect_http() - Fix type conversions for gas_price (U256 to u128)
- Switch from transact_commit to inspect_one_tx for state inspection without commits - Add proper nonce handling by reading current nonce from journaled state - Fix compilation errors related to ExecutionResult type changes - Remove unused ExecuteEvm import
- Switch from inspect_one_tx to inspect_tx_commit to properly commit state changes - Fix nonce retrieval by reading from database instead of journaled state - This ensures correct nonce values for sequential transactions - Fixes test_deploy_with_args_and_value and other tests with multiple transactions
This file contains hidden or 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
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.
No description provided.