-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
rpc: replace reth-primitive imports #10812
Conversation
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.
just have one suggestion for moving BlockId
and BlockNumberOrTag
, since we just re-export them in primitives
use jsonrpsee::{core::RpcResult, proc_macros::rpc}; | ||
use reth_engine_primitives::EngineTypes; | ||
use reth_primitives::{Address, BlockHash, BlockId, BlockNumberOrTag, Bytes, B256, U256, U64}; | ||
use reth_primitives::{BlockId, BlockNumberOrTag}; |
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.
This could be an alloy_eips
import
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.
yeah, but we can do this separately
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.
followup for alloy_eips imports
use jsonrpsee::{core::RpcResult, proc_macros::rpc}; | ||
use reth_engine_primitives::EngineTypes; | ||
use reth_primitives::{Address, BlockHash, BlockId, BlockNumberOrTag, Bytes, B256, U256, U64}; | ||
use reth_primitives::{BlockId, BlockNumberOrTag}; |
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.
yeah, but we can do this separately
unblocking, because this changes a lot of files and smol followup makes sense
Progress on #10749
Changed all where direct drop-in-replacement was possible