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

chore(rpc): EthTransactions default trait methods using pending block #8659

Merged
merged 37 commits into from
Jun 8, 2024

Conversation

emhane
Copy link
Member

@emhane emhane commented Jun 6, 2024

Moves EthTransactions impl on EthApi, that uses pending block, to default trait methods

@emhane emhane added A-rpc Related to the RPC implementation A-op-reth Related to Optimism and op-reth labels Jun 6, 2024
@emhane emhane requested review from mattsse and Rjected as code owners June 6, 2024 22:06
@emhane emhane requested a review from DaniPopes June 6, 2024 22:07
@emhane emhane added the S-blocked This cannot more forward until something else changes label Jun 6, 2024
@emhane
Copy link
Member Author

emhane commented Jun 6, 2024

blocked by #8640

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.

ah, I should have looked at this first.

makes sense!
lgtm

@@ -41,7 +41,7 @@ impl<Eth> EthBundle<Eth> {

impl<Eth> EthBundle<Eth>
where
Eth: EthTransactions + LoadState + SpawnBlocking + 'static,
Eth: EthTransactions + LoadState + SpawnBlocking + LoadPendingBlock + 'static,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I could see the value in stacking them via utility traits, but we can do that later

Copy link
Member Author

Choose a reason for hiding this comment

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

agreed, like for the provider interface. the provider interface is awesome, using it is good devx.

Base automatically changed from emhane/ethapi-pending-block to matt/scaffold-ethapi June 8, 2024 15:55
@emhane emhane removed the S-blocked This cannot more forward until something else changes label Jun 8, 2024
@emhane emhane merged commit bc24e8e into matt/scaffold-ethapi Jun 8, 2024
19 of 25 checks passed
@emhane emhane deleted the emhane/ethapi-txns-pending-block branch June 8, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-op-reth Related to Optimism and op-reth A-rpc Related to the RPC implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants