-
Notifications
You must be signed in to change notification settings - Fork 20.3k
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
cmd/geth: change to non-fatal error message when legacy receipt storage is not implemented #24603
Conversation
I'm not entirely sure what the purpose of this PR is? Dev mode is just like all the other modes, it should not have db checks disabled. If someone has an old db, it should be treated just like an old db of mainnet, it needs to be upgraded somehow. Otherwise it won't be accessible any more. Wasn't there a db command to update the legacy format to new? |
The reason is: for legacy receipt format checking, it will invoke some ancient store API, but memorydb doesn't implement it(dev mode), so an error is occurred. |
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.
LGTM
--dev
mode is enabledThere 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.
Still lgtm
…ge is not implemented (ethereum#24603) * cmd/geth: only check for presence of legacy receipts if developer mode is not enabled * cmd/geth: degrade log level * cmd/geth: fix format Co-authored-by: Gary Rong <garyrong0905@gmail.com>
…ge is not implemented (ethereum#24603) * cmd/geth: only check for presence of legacy receipts if developer mode is not enabled * cmd/geth: degrade log level * cmd/geth: fix format Co-authored-by: Gary Rong <garyrong0905@gmail.com>
fixes #24602