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

rpcdaemon: call ethbackend.canonical_body_for_storage if key empty in MaxTxNum #2441

Merged
merged 12 commits into from
Oct 24, 2024

Conversation

lupin012
Copy link
Contributor

No description provided.

@lupin012 lupin012 added the erigon3 Erigon3 feature label Oct 23, 2024
@canepat canepat mentioned this pull request Oct 23, 2024
37 tasks
@lupin012 lupin012 marked this pull request as ready for review October 23, 2024 20:39
@lupin012 lupin012 requested a review from canepat October 23, 2024 20:39
@lupin012 lupin012 force-pushed the use_ethBackend_canonical_body_for_storage branch from f537bdc to eef2839 Compare October 24, 2024 05:39
@canepat canepat changed the title rpcdaemon: call ethbackend.canonical_body_for_storage if MaxTxn is empty rpcdaemon: call ethbackend.canonical_body_for_storage if key empty in MaxTxNum Oct 24, 2024
@@ -33,10 +34,10 @@ namespace silkworm::db::txn {
using TxNum = TxnId;

//! Return the maximum TxNum in specified \code block_number
Task<TxNum> max_tx_num(kv::api::Transaction& tx, BlockNum block_number);
Task<TxNum> max_tx_num(kv::api::Transaction& tx, BlockNum block_number, chain::CanonicalBodyForStorageProvider canonical_body_for_storage_provider);
Copy link
Member

Choose a reason for hiding this comment

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

canonical_body_for_storage_provider -> provider


//! Return the minimum TxNum in specified \code block_number
Task<TxNum> min_tx_num(kv::api::Transaction& tx, BlockNum block_number);
Task<TxNum> min_tx_num(kv::api::Transaction& tx, BlockNum block_number, chain::CanonicalBodyForStorageProvider canonical_body_for_storage_provider);
Copy link
Member

Choose a reason for hiding this comment

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

canonical_body_for_storage_provider -> provider

@canepat canepat merged commit e6778cd into master Oct 24, 2024
5 checks passed
@canepat canepat deleted the use_ethBackend_canonical_body_for_storage branch October 24, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
erigon3 Erigon3 feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants