-
Notifications
You must be signed in to change notification settings - Fork 11
upstream upgrade to v1.4.8 #73
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
| continue; | ||
| } | ||
|
|
||
| let blob_sidecar_result = 'sidecar: { |
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.
gonna make this easier to use.
but does gnosis even have 4844 transactions?
if not we can just set the bundle to empty?
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.
actually GC does have 4844! since we're an L1, we preferred to keep blob txs. the tx count is very low till now tho i must say
## Summary This PR migrates Odyssey from Reth 1.3.12 to 1.4.8, updating all related dependencies to match Reth's workspace versions. ### Dependency Updates - **Reth**: 1.3.12 → 1.4.8 - **Alloy**: 0.15 → 1.0.9 - **Op-alloy**: 0.15 → 0.17.2 - **Revm**: Updated to match Reth's versions - revm: 24.0.1 - revm-primitives: 19.0.0 - revm-interpreter: 20.0.0 - revm-precompile: 20 - revm-inspectors: 0.23.0 - op-revm: 5.0.0 - **Jsonrpsee**: 0.24 → 0.25.1 - **Tower**: 0.4 → 0.5 ### Breaking Changes Fixed 1. **NetworkBuilder trait update**: Changed `type Primitives` to `type Network` to match Reth 1.4.x API 2. **OpAddOns generic parameters**: Updated to include all 4 required type parameters (NodeAdapter, OpEthApiBuilder, OpEngineValidatorBuilder, OpEngineApiBuilder) 3. **Jsonrpsee API changes**: Removed deprecated `http_only()` method from Server builder 4. **Tower version compatibility**: Updated to 0.5 to match jsonrpsee requirements ### Test Results - ✅ All tests pass - ✅ No clippy warnings - ✅ Binary builds successfully --- > **Migration approach**: Referenced the reth-gnosis migration commits for guidance on updating dependencies and fixing breaking changes. The migration was straightforward with most changes being dependency version bumps and minor API adjustments. > > **Key references used**: > - Reth 1.4.8 workspace dependencies > - reth-gnosis migration PR: gnosischain/reth_gnosis#73 > - reth-gnosis migration commit: gnosischain/reth_gnosis@e76f50f > > **Prompts used to arrive at this result**: > - "Migrate this codebase from reth version 1.3.12 to version 1.4.8. This bump includes several breaking changes that we need to fix, dependency updates (see reth workspace dependencies that we need to mirror for alloy, op-alloy etc. https://github.com/paradigmxyz/reth/blob/main/Cargo.toml) for release notes that includes guides how to migrate certain breaking changes please look through the recent releases especially 1.4.0 https://github.com/paradigmxyz/reth/releases. A good reference is also this commit on reth-gnoses that did a similar migration gnosischain/reth_gnosis@e76f50f and can serve as a reference for how to migrate changes" > - "Theres an additional migration pr on reth-gnosis to reth 1.4.8 from 1.4.3 on reth gnosis that can be helpful https://github.com/gnosischain/reth_gnosis/pull/73/files" > - "we also need to mirror reth 1.4.8 alloy-evm and revm dependencies here" > - "make sure there are no clippy warnings in the workspace, then open a pr and summarize the migration and include the prompts used to arrive at this result as > comments at the end"
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
## Summary This PR migrates Odyssey from Reth 1.3.12 to 1.4.8, updating all related dependencies to match Reth's workspace versions. ### Dependency Updates - **Reth**: 1.3.12 → 1.4.8 - **Alloy**: 0.15 → 1.0.9 - **Op-alloy**: 0.15 → 0.17.2 - **Revm**: Updated to match Reth's versions - revm: 24.0.1 - revm-primitives: 19.0.0 - revm-interpreter: 20.0.0 - revm-precompile: 20 - revm-inspectors: 0.23.0 - op-revm: 5.0.0 - **Jsonrpsee**: 0.24 → 0.25.1 - **Tower**: 0.4 → 0.5 ### Breaking Changes Fixed 1. **NetworkBuilder trait update**: Changed `type Primitives` to `type Network` to match Reth 1.4.x API 2. **OpAddOns generic parameters**: Updated to include all 4 required type parameters (NodeAdapter, OpEthApiBuilder, OpEngineValidatorBuilder, OpEngineApiBuilder) 3. **Jsonrpsee API changes**: Removed deprecated `http_only()` method from Server builder 4. **Tower version compatibility**: Updated to 0.5 to match jsonrpsee requirements ### Test Results - ✅ All tests pass - ✅ No clippy warnings - ✅ Binary builds successfully --- > **Migration approach**: Referenced the reth-gnosis migration commits for guidance on updating dependencies and fixing breaking changes. The migration was straightforward with most changes being dependency version bumps and minor API adjustments. > > **Key references used**: > - Reth 1.4.8 workspace dependencies > - reth-gnosis migration PR: gnosischain/reth_gnosis#73 > - reth-gnosis migration commit: gnosischain/reth_gnosis@e76f50f > > **Prompts used to arrive at this result**: > - "Migrate this codebase from reth version 1.3.12 to version 1.4.8. This bump includes several breaking changes that we need to fix, dependency updates (see reth workspace dependencies that we need to mirror for alloy, op-alloy etc. https://github.com/paradigmxyz/reth/blob/main/Cargo.toml) for release notes that includes guides how to migrate certain breaking changes please look through the recent releases especially 1.4.0 https://github.com/paradigmxyz/reth/releases. A good reference is also this commit on reth-gnoses that did a similar migration gnosischain/reth_gnosis@e76f50f and can serve as a reference for how to migrate changes" > - "Theres an additional migration pr on reth-gnosis to reth 1.4.8 from 1.4.3 on reth gnosis that can be helpful https://github.com/gnosischain/reth_gnosis/pull/73/files" > - "we also need to mirror reth 1.4.8 alloy-evm and revm dependencies here" > - "make sure there are no clippy warnings in the workspace, then open a pr and summarize the migration and include the prompts used to arrive at this result as > comments at the end"
Routine minor upgrade. Mainly done for this PR which relaxes header requirements (needed for custom header).