Skip to content

chore: bump all Rust dependencies to latest#497

Open
hai-rise wants to merge 2 commits intomainfrom
bump-deps
Open

chore: bump all Rust dependencies to latest#497
hai-rise wants to merge 2 commits intomainfrom
bump-deps

Conversation

@hai-rise
Copy link
Copy Markdown
Contributor

Major version bumps:

  • revm 36 → 38, op-revm 17 → 19
  • revm-statetest-types 16 → 17.0.1, revme 13 → 15
  • alloy-consensus/provider/rpc-types-eth/transport 1.7.3 → 2.0.1 (pin removed)
  • op-alloy-consensus/network/rpc-types 0.24 → 2.0.0

Minor/patch bumps: bitflags, clap, hashbrown, rand, rayon, tokio, plus ~40 transitive lock-file updates.

Source fixes for breaking changes:

  • chain.rs: add block_timestamp field to Transaction initialiser (alloy 2.0)
  • rise.rs: handle new OpTxType::PostExec variant (op-alloy 2.0)
  • vm.rs: gas_used() → tx_gas_used() (deprecated after EIP-8037 gas split)

Major version bumps:
- revm 36 → 38, op-revm 17 → 19
- revm-statetest-types 16 → 17.0.1, revme 13 → 15
- alloy-consensus/provider/rpc-types-eth/transport 1.7.3 → 2.0.1 (pin removed)
- op-alloy-consensus/network/rpc-types 0.24 → 2.0.0

Minor/patch bumps: bitflags, clap, hashbrown, rand, rayon, tokio, plus ~40
transitive lock-file updates.

Source fixes for breaking changes:
- chain.rs: add block_timestamp field to Transaction initialiser (alloy 2.0)
- rise.rs: handle new OpTxType::PostExec variant (op-alloy 2.0)
- vm.rs: gas_used() → tx_gas_used() (deprecated after EIP-8037 gas split)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request primarily focuses on upgrading core dependencies, including moving to Alloy v2, REVM v38, and OP-Alloy v2. It also introduces support for the PostExec transaction type within the Rise chain implementation and adds a block_timestamp field to transaction recovery. Additionally, gas usage tracking is updated to use tx_gas_used() instead of gas_used(). I have no feedback to provide.

revm now validates nonce < u64::MAX at the transaction validation stage,
returning NonceOverflowInTransaction instead of letting PEVM detect
inconsistency as NonceMismatch after execution.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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