Skip to content

refactor(storage): historical state lookup (better comments)#3867

Merged
mattsse merged 4 commits intoparadigmxyz:mainfrom
petertdavies:historical-state-refactor
Jul 27, 2023
Merged

refactor(storage): historical state lookup (better comments)#3867
mattsse merged 4 commits intoparadigmxyz:mainfrom
petertdavies:historical-state-refactor

Conversation

@petertdavies
Copy link
Contributor

This is version of #3806 with improved comments. I have also renamed the NotWritten enum variant to NotYetWritten which is slightly clearer.

@onbjerg onbjerg added C-debt A clean up/refactor of existing code A-db Related to the database labels Jul 24, 2023
Copy link
Member

@shekhirin shekhirin left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for improving the comments!

@shekhirin shekhirin requested a review from mattsse July 24, 2023 11:51
@shekhirin
Copy link
Member

@mattsse PTAL 👀

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.

I like this, tysm.

sorry for the delay

@mattsse mattsse enabled auto-merge July 27, 2023 12:16
@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Merging #3867 (f82731a) into main (4ab924c) will decrease coverage by 0.01%.
The diff coverage is 96.00%.

Impacted file tree graph

Files Changed Coverage Δ
...storage/provider/src/providers/state/historical.rs 88.31% <96.00%> (+0.32%) ⬆️

... and 8 files with indirect coverage changes

Flag Coverage Δ
integration-tests 15.54% <0.00%> (-0.01%) ⬇️
unit-tests 64.56% <96.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
reth binary 27.18% <ø> (ø)
blockchain tree 83.04% <ø> (ø)
pipeline 89.82% <ø> (ø)
storage (db) 74.30% <96.00%> (+0.01%) ⬆️
trie 94.70% <ø> (ø)
txpool 46.56% <ø> (-0.03%) ⬇️
networking 77.66% <ø> (-0.02%) ⬇️
rpc 58.75% <ø> (ø)
consensus 64.46% <ø> (ø)
revm 33.68% <ø> (ø)
payload builder 6.61% <ø> (ø)
primitives 87.82% <ø> (ø)

@mattsse mattsse added this pull request to the merge queue Jul 27, 2023
Merged via the queue into paradigmxyz:main with commit f577e14 Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-db Related to the database C-debt A clean up/refactor of existing code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants