-
Notifications
You must be signed in to change notification settings - Fork 130
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
feat(dot/rpc/modules) implement state_queryStorage
rpc method
#1707
Merged
EclesioMeloJunior
merged 30 commits into
development
from
eclesio/rpc-state-query-storage
Aug 6, 2021
Merged
Changes from 16 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
dae9318
wip: state query storage rpc
EclesioMeloJunior 1fa9a96
chore: query keys from block stateRoot
EclesioMeloJunior 49a92d5
chore: implemented rpc method and format response correctly
EclesioMeloJunior 8d02937
chore: resolve conflicts, check value is nil
EclesioMeloJunior 5062c5d
chore: check starting block hash is nil
EclesioMeloJunior 729fb22
chore: use GetStorage instead of TrieState
EclesioMeloJunior 86b1d6f
chore: remove logs
EclesioMeloJunior 3ba79fe
chore: resolve lint issues
EclesioMeloJunior 50a8fba
chore: preallocate slice, use varidic param
EclesioMeloJunior 59189ea
chore: update variable name
EclesioMeloJunior 6cb2465
Merge branch 'development' into eclesio/rpc-state-query-storage
EclesioMeloJunior 91b371c
chore: resolve conflicts
EclesioMeloJunior 08bfddc
Merge branch 'eclesio/rpc-state-query-storage' of github.com:ChainSaf…
EclesioMeloJunior 6e7d83b
chore: made from not nulable
EclesioMeloJunior ade00e4
chore: get best block hash if to is nil
EclesioMeloJunior 0845fd0
chore: resolve conflicts between development
EclesioMeloJunior 04fdfbe
Merge branch 'development' into eclesio/rpc-state-query-storage
EclesioMeloJunior ea91284
Merge branch 'development' into eclesio/rpc-state-query-storage
EclesioMeloJunior 5f3f69a
chore: remove pointer and compare with EmptyHash
EclesioMeloJunior a709595
Merge branch 'development' into eclesio/rpc-state-query-storage
EclesioMeloJunior 0364347
chore: fix tests, remove write to nil reference
EclesioMeloJunior 5002961
Merge branch 'eclesio/rpc-state-query-storage' of github.com:ChainSaf…
EclesioMeloJunior 65d034c
chore: fix deepsource rule
EclesioMeloJunior 0754903
chore: fix rpc test
EclesioMeloJunior 59cbcc2
chore: uncomment conditional test
EclesioMeloJunior d8047ba
chore: improve testing
EclesioMeloJunior d46afba
Merge branch 'development' into eclesio/rpc-state-query-storage
EclesioMeloJunior 4f0ac85
chore: change from null to a empty array
EclesioMeloJunior 27b96d3
chore: skip state_queryStorage RPC method test
EclesioMeloJunior d4264b4
chore: remove unconsitent test check
EclesioMeloJunior 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 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 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 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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.
since this is required, can you change it to
common.Hash
?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.
Done!