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): pending block helper trait #8640

Merged
merged 44 commits into from
Jun 8, 2024

Conversation

emhane
Copy link
Member

@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 requested a review from DaniPopes June 6, 2024 13:13
@emhane emhane added the S-blocked This cannot more forward until something else changes label 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
Member 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

crates/rpc/rpc/Cargo.toml Show resolved Hide resolved
@@ -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
Member 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
Member 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
18 of 25 checks passed
@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