forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Fix some panic cuased by nil block, statedb, header #578
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gzliudan
requested review from
wjrjerome,
liam-lai,
wgr523,
AnilChinchawale and
wanwiset25
July 12, 2024 07:51
wgr523
reviewed
Jul 12, 2024
wgr523
reviewed
Jul 12, 2024
wgr523
reviewed
Jul 12, 2024
wgr523
reviewed
Jul 12, 2024
wgr523
reviewed
Jul 12, 2024
gzliudan
force-pushed
the
fix-nil-block
branch
3 times, most recently
from
July 12, 2024 23:20
ed09504
to
b31ed88
Compare
wgr523
approved these changes
Jul 13, 2024
gzliudan
force-pushed
the
fix-nil-block
branch
4 times, most recently
from
July 13, 2024 04:29
7b94b92
to
01c6e75
Compare
gzliudan
changed the title
Fix nil block and statedb
Fix some panic cuased by nil block, statedb, header
Jul 13, 2024
wgr523
approved these changes
Jul 13, 2024
liam-lai
reviewed
Jul 14, 2024
gzliudan
force-pushed
the
fix-nil-block
branch
2 times, most recently
from
July 14, 2024 07:49
80564bb
to
e1a76de
Compare
wjrjerome
approved these changes
Jul 15, 2024
gzliudan
force-pushed
the
fix-nil-block
branch
2 times, most recently
from
July 15, 2024 04:14
9711d57
to
c03b1cd
Compare
liam-lai
approved these changes
Jul 22, 2024
liam-lai
approved these changes
Aug 3, 2024
wanwiset25
pushed a commit
that referenced
this pull request
Aug 23, 2024
* fix panic during rollback * eth/hooks: check nil stateDB to fix issue #271 * internal/ethapi: fix eth_call crash * all: check nil statedb * eth: check nil block for tracer api * internal/ethapi: check nil header and block
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes
This PR fixes some panic caused by nil block, header, statedb, such as #271.
Types of changes
What types of changes does your code introduce to XDC network?
Put an
✅
in the boxes that applyImpacted Components
Which part of the codebase this PR will touch base on,
Put an
✅
in the boxes that applyChecklist
Put an
✅
in the boxes once you have confirmed below actions (or provide reasons on not doing so) that