Skip to content

chore(rpc): pending block helper trait#8640

Merged
emhane merged 44 commits intomatt/scaffold-ethapifrom
emhane/ethapi-pending-block
Jun 8, 2024
Merged

chore(rpc): pending block helper trait#8640
emhane merged 44 commits intomatt/scaffold-ethapifrom
emhane/ethapi-pending-block

Conversation

@emhane
Copy link
Collaborator

@emhane emhane commented Jun 6, 2024

Moves EthApi methods for loading pending block to default trait methods of new trait LoadPendingBlock. Needed to impl default trait methods for EthBlocks and EthTransactions.

@emhane emhane added the S-blocked This cannot more forward until something else changes label Jun 6, 2024
@emhane emhane mentioned this pull request Jun 6, 2024
@emhane emhane changed the title Emhane/ethapi pending block chore(rpc): pending block rpc helper trait Jun 6, 2024
@emhane emhane changed the title chore(rpc): pending block rpc helper trait chore(rpc): pending block helper trait Jun 6, 2024
@emhane
Copy link
Collaborator Author

emhane commented Jun 6, 2024

blocked by #8639

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.

thanks for clarifying,

lgtm

@@ -18,6 +18,8 @@ use reth_transaction_pool::TransactionPool;

use crate::eth::api::EthBlocks;

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@@ -15,8 +15,11 @@ use reth_rpc_types::FeeHistory;
use reth_transaction_pool::TransactionPool;
use tracing::debug;

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Base automatically changed from emhane/ethapi-txns to matt/scaffold-ethapi June 8, 2024 15:24
@emhane emhane merged commit cea088d into matt/scaffold-ethapi Jun 8, 2024
@emhane emhane deleted the emhane/ethapi-pending-block branch June 8, 2024 15:55
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 S-blocked This cannot more forward until something else changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments