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

feat: add AnyNode type #9056

Merged
merged 5 commits into from
Jun 24, 2024
Merged

feat: add AnyNode type #9056

merged 5 commits into from
Jun 24, 2024

Conversation

romanroibu
Copy link
Contributor

Closes #9049

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.

nice, almost there

Comment on lines +33 to +34
pub struct AnyNode<N = (), C = ()>(PhantomData<N>, C);

Copy link
Collaborator

Choose a reason for hiding this comment

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

we also need two functions

  1. set N
  2. set C

@mattsse mattsse added the A-sdk Related to reth's use as a library label Jun 24, 2024
@romanroibu
Copy link
Contributor Author

hey @mattsse, thanks for your review! please LMK if my latest change is what you had in mind. not completely sure about the naming, so if you have better suggestions - happy to update.

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.

lgtm, ty

crates/node/builder/src/node.rs Outdated Show resolved Hide resolved
crates/node/builder/src/node.rs Outdated Show resolved Hide resolved
@mattsse mattsse enabled auto-merge June 24, 2024 17:48
@mattsse mattsse added this pull request to the merge queue Jun 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 24, 2024
@mattsse mattsse added this pull request to the merge queue Jun 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 24, 2024
@mattsse mattsse added this pull request to the merge queue Jun 24, 2024
@mattsse mattsse removed this pull request from the merge queue due to a manual request Jun 24, 2024
@mattsse mattsse merged commit 4cb84a4 into paradigmxyz:main Jun 24, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sdk Related to reth's use as a library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add AnyNode type
2 participants