Skip to content

Conversation

@RomanHodulak
Copy link
Collaborator

No description provided.

…ample

So that the `ComponentBuilder` with components from `custom-node` satisfies `NodeComponentBuilder`
…ll the trait impls

Extract inner header for `BlockAssembler` expecting Optimism block header
…tion<CustomTxEnv>`

Even when `CustomTxEnv` implements `FromRecoveredTx` and `FromEncodedTx`, the `OpTransaction<CustomTxEnv>` does not.
Copy link
Collaborator

Choose a reason for hiding this comment

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

since we intend this to be a blueprint, we should cleanup deps here, let's try to pull in as much as possible from reth-ethereum L20 and add missing re-exports

so ideally none of these imports are necessary

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we could possible even reuse the existing texenv entire for the payment tx type, but let's do the full example like this

Comment on lines +13 to +16
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we even need this @klkvr ?

Copy link
Member

Choose a reason for hiding this comment

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

yeah I think we can reuse the OpPayloadTransactions here for now

Comment on lines +26 to +28
Copy link
Collaborator

Choose a reason for hiding this comment

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

we could just make this From impls in the reth-primitives-traits?

because the expectation is that these are always used as the BuiltIn variants?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@mattsse mattsse added the A-sdk Related to reth's use as a library label May 20, 2025
@@ -1,15 +1,24 @@
use crate::chainspec::CustomChainSpec;
use alloy_consensus::{Block, Header};
use crate::{
Copy link
Member

Choose a reason for hiding this comment

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

we're defining 2 custom txenvs here — CustomTxEnv and CustomEvmTransaction, do we need both?

@RomanHodulak
Copy link
Collaborator Author

RomanHodulak commented May 23, 2025

@github-project-automation github-project-automation bot moved this from Backlog to Done in Reth Tracker May 23, 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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants