-
Notifications
You must be signed in to change notification settings - Fork 11
chore: upgrade [email protected] (fusaka devnet 5) #80
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
Conversation
…pdate GnosisEngineValidatorBuilder comment
…te related constants and logic. Adjusted chain value parser to recognize "devnet" as an alias for "fusaka-devnet-5".
| // 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, |
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.
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; |
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.
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
dapplion
left a comment
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.
LGTM! Thanks for addressing the comments
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
rethand related crates, modifications to blob parameter handling, and workflow improvements for CI/CD.Dependency Upgrades and Compatibility
reth-related dependencies inCargo.tomlfrom versionv1.5.1tov1.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 likereth-engine-local,alloy-network, andalloy-rpc-types-ethwere added.src/block.rsandsrc/build.rsto match new APIs, including changes to transaction execution, block assembly, and timestamp handling (e.g., usingsaturating_to()instead ofto()). [1] [2]Blob Parameter Refactoring
blob_base_cost: 0to bothCANCUN_BLOB_PARAMSandPRAGUE_BLOB_PARAMSinsrc/blobs.rsto match updated blob parameter structures. (F64d0f70L6R6, src/blobs.rsR19)src/blobs.rs, relying instead on updated logic from dependencies.Workflow and CI/CD Improvements
.github/workflows/test.ymlto trigger workflows onprerelease-*branches and tag Docker images for these branches, improving prerelease automation. [1] [2] [3]Block Assembly and Execution Refactoring
Block<F::Transaction>toGnosisBlockand updated extra data string to reflect the new version ([email protected]). [1] [2]src/block.rsto 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.