Skip to content

Conversation

@debjit-bw
Copy link
Member

This pull request updates dependencies and refactors logic to ensure compatibility with newer versions of core libraries, while also improving workflow automation for prerelease branches and Docker image tagging. The most significant changes are the upgrade of the reth and related crates, modifications to blob parameter handling, and workflow improvements for CI/CD.

Dependency Upgrades and Compatibility

  • Updated all reth-related dependencies in Cargo.toml from version v1.5.1 to v1.7.0, and upgraded several other core crates (revm, alloy-*, serde_json, etc.) to their latest versions for improved stability and feature support. New dependencies like reth-engine-local, alloy-network, and alloy-rpc-types-eth were added.
  • Updated usage of types and methods in src/block.rs and src/build.rs to match new APIs, including changes to transaction execution, block assembly, and timestamp handling (e.g., using saturating_to() instead of to()). [1] [2]

Blob Parameter Refactoring

  • Added blob_base_cost: 0 to both CANCUN_BLOB_PARAMS and PRAGUE_BLOB_PARAMS in src/blobs.rs to match updated blob parameter structures. (F64d0f70L6R6, src/blobs.rsR19)
  • Removed custom blob gas calculation and scheduling functions from src/blobs.rs, relying instead on updated logic from dependencies.

Workflow and CI/CD Improvements

  • Modified .github/workflows/test.yml to trigger workflows on prerelease-* branches and tag Docker images for these branches, improving prerelease automation. [1] [2] [3]

Block Assembly and Execution Refactoring

  • Changed block type in the Gnosis block assembler from generic Block<F::Transaction> to GnosisBlock and updated extra data string to reflect the new version ([email protected]). [1] [2]
  • Refactored post-block system calls and reward logic in src/block.rs to simplify and clarify Gnosis-specific handling. [1] [2]

These changes collectively modernize the codebase, improve maintainability, and ensure smoother CI/CD for both main and prerelease branches.

…te related constants and logic. Adjusted chain value parser to recognize "devnet" as an alias for "fusaka-devnet-5".
@debjit-bw debjit-bw marked this pull request as ready for review September 27, 2025 18:40
@debjit-bw debjit-bw requested a review from dapplion September 27, 2025 18:40
@debjit-bw debjit-bw changed the title [email protected] with fusaka chore: upgrade [email protected] (fusaka devnet 5) Sep 29, 2025
// Explicitly set nonce to 0 so revm does not do any nonce checks
nonce: 0,
gas_limit: 30_000_000,
gas_limit: TX_GAS_LIMIT,
Copy link
Member

Choose a reason for hiding this comment

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

Double-check the actual gas limit with other clients

use revm_state::{Account, AccountInfo, AccountStatus};

// https://eips.ethereum.org/EIPS/eip-7825
const TX_GAS_LIMIT: u64 = 30_000_000;
Copy link
Member

Choose a reason for hiding this comment

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

Remove this comment and link the gnosis spec. The EIP doesn't mean anything here. You can fix in a future PR if you want

Copy link
Member

@dapplion dapplion left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for addressing the comments

@debjit-bw debjit-bw merged commit b16a95f into master Oct 5, 2025
7 checks passed
@debjit-bw debjit-bw deleted the prerelease-1.7.0 branch October 5, 2025 17:32
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.

3 participants