-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat: add support for debug_getBadBlock #20177
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
Merged
+247
−89
Merged
Changes from 14 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
49b3f4c
resolve issues
0xKarl98 e106620
Fix debug api imports after rebase
0xKarl98 1eb823f
rebase main
0xKarl98 91ccdca
resolve errors
0xKarl98 a80f588
clean up
0xKarl98 12571c4
lint
0xKarl98 558e771
Use RPC block type for debug_getBadBlocks
0xKarl98 b0f5d40
Use EthApiTypes instead of specific type
0xKarl98 539d2b2
skip the duplicated bad block hash
0xKarl98 ff75393
reoder BadBlockStore func location
0xKarl98 028be7c
only enable blockstore collection when debug installed
0xKarl98 561df78
spawn regular task
0xKarl98 a78fee7
complete mattse changes
0xKarl98 947b00e
clippy
0xKarl98 8f3586d
move specific logic to inside debugApi
0xKarl98 6720a48
clean up unnessary trait changes
0xKarl98 09a99f3
clippy
0xKarl98 0db71a9
simplify
klkvr 8dfee06
simplify
klkvr 69e8720
serde_json::Value
klkvr abb470d
rm clone
klkvr 8c927dd
fix error
klkvr 24ee1ba
chore: use 1 channel size
mattsse 81bdbdd
chore: fix more
mattsse File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
hmm can we not have this being handled by
DebugApiitself?Uh oh!
There was an error while loading. Please reload this page.
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.
Have moved this part of logic to inside DebugApi