Skip to content

cache state check - #5844

Merged
AlexeyAkhunov merged 1 commit into
erigontech:develfrom
hexoscott:cache-check-rpc
Nov 7, 2022
Merged

AlexeyAkhunov merged 1 commit into
erigontech:develfrom
hexoscott:cache-check-rpc

Conversation

@hexoscott

Copy link
Copy Markdown
Contributor

draft for now to get some early feedback on approach

@hexoscott
hexoscott force-pushed the cache-check-rpc branch 4 times, most recently from fa4e176 to ca9acfd Compare October 31, 2022 09:37
@hexoscott
hexoscott force-pushed the cache-check-rpc branch 3 times, most recently from 948641c to a760d49 Compare November 1, 2022 15:02
@hexoscott
hexoscott marked this pull request as ready for review November 1, 2022 15:10
Comment thread core/state/plain_state_reader.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This does not need to be wrapped into PlainStateReader, instead it can go to the core/rawdb package perhaps? Looking at the user of ReadVersion, it creates PlainStateReader just to call this function

Comment thread core/state/plain_state_writer.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As with the reader function, this does not need to be wrapped into PlainStateWriter, it can be moved to core/rawdb package

@AlexeyAkhunov

Copy link
Copy Markdown
Contributor

I have taken some of these changes to this PR, to update to the latest Erigon-lib: #5973

@hexoscott

Copy link
Copy Markdown
Contributor Author

Good shout on moving the state version calls into the rawdb, package. Made the changes and re-pushed.

@hexoscott

Copy link
Copy Markdown
Contributor Author

This also updates to the latest erigon-lib in the PR, no longer my forked version

@AlexeyAkhunov
AlexeyAkhunov merged commit 636586c into erigontech:devel Nov 7, 2022
@hexoscott
hexoscott deleted the cache-check-rpc branch November 21, 2022 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants