Skip to content

Conversation

@cassc
Copy link
Collaborator

@cassc cassc commented Jul 25, 2025

No description provided.

cassc added 4 commits July 24, 2025 10:39
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant