Skip to content

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

Merged
merged 13 commits into from
May 8, 2025
Merged

Conversation

Soubhik-10
Copy link
Contributor

task 2 and eventually closes #16018

@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker May 3, 2025
@Soubhik-10 Soubhik-10 marked this pull request as draft May 3, 2025 13:15
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.

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

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker May 6, 2025
@Soubhik-10 Soubhik-10 requested a review from mattsse May 7, 2025 15:44
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.

cool, that's quite some progress

@mattsse mattsse marked this pull request as ready for review May 8, 2025 06:35
@mattsse mattsse added C-enhancement New feature or request A-sdk Related to reth's use as a library labels May 8, 2025
@mattsse mattsse added this pull request to the merge queue May 8, 2025
Merged via the queue into paradigmxyz:main with commit da95e57 May 8, 2025
45 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker May 8, 2025
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 C-enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Use custom tx in custom node example
2 participants