-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix: drop support for total difficulty table #16660
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
Changes from 5 commits
19d91e1
f391dc2
7d41def
217500d
7515390
4fdc2ce
060c14e
7937a69
502262d
de85440
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mattsse Could you clarify how this approach would work if we attempt to backfill post-merge ranges from the live DB? Wouldn’t we encounter missing HTD values, given we don’t store them anymore post-merge? |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -80,7 +80,8 @@ struct DatabaseProviderMetrics { | |||||
| insert_headers: Histogram, | ||||||
| /// Duration of insert header numbers | ||||||
| insert_header_numbers: Histogram, | ||||||
| /// Duration of insert header TD | ||||||
| /// Duration of insert header TD (deprecated after Paris/Merge) | ||||||
| #[deprecated(note = "No longer used after Paris/Merge")] | ||||||
| insert_header_td: Histogram, | ||||||
| /// Duration of insert block body indices | ||||||
| insert_block_body_indices: Histogram, | ||||||
|
|
@@ -107,6 +108,7 @@ impl DatabaseProviderMetrics { | |||||
| Action::InsertCanonicalHeaders => self.insert_canonical_headers.record(duration), | ||||||
| Action::InsertHeaders => self.insert_headers.record(duration), | ||||||
| Action::InsertHeaderNumbers => self.insert_header_numbers.record(duration), | ||||||
| #[expect(deprecated)] | ||||||
|
||||||
| #[expect(deprecated)] | |
| #[allow(deprecated)] |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for future prs,
these docs are totally meaningless because the code doesnt have any references to HeaderTerminalDifficulties so after this is merged this note will just be confusing.