-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat: use custom tx in custom-node #16054
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
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 is great progress, what is still missing is custom
.pool(OpPoolBuilder::default())
.consensus(OpConsensusBuilder::default())
https://github.com/paradigmxyz/reth/blob/main/examples/custom-node/src/lib.rs#L57-L58
what we need here is similar to the Op related builder types that are currently used here but adapted for the custom types.
we can likely make this work if we can reuse:
https://github.com/paradigmxyz/reth/blob/main/crates/optimism/txpool/src/transaction.rs#L29-L32
and implement the mising traits for the extended pooled type
so I think next step here would be ensure that we can ad our CustomPoolBuilder and CustomConsensusBuilder
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.
cool, that's quite some progress
task 2 and eventually closes #16018