Skip to content
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

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Conversation

estensen
Copy link
Contributor

Progress on #10749

Changed all where direct drop-in-replacement was possible

Copy link
Member

@Rjected Rjected left a 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};
Copy link
Member

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

Copy link
Collaborator

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

Copy link
Collaborator

@mattsse mattsse left a 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};
Copy link
Collaborator

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

@mattsse mattsse dismissed Rjected’s stale review September 11, 2024 00:28

unblocking, because this changes a lot of files and smol followup makes sense

@mattsse mattsse added this pull request to the merge queue Sep 11, 2024
Merged via the queue into paradigmxyz:main with commit 60dcea8 Sep 11, 2024
36 checks passed
@estensen estensen deleted the prim-rpc branch September 11, 2024 11:19
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