-
Notifications
You must be signed in to change notification settings - Fork 110
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
[dot/state] implement state_subscribeStorage #1290
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
22934b8
added system accounts to gensis configs
edwardmack 88c7ca1
Merge branch 'development' into ed/init_account_balances
edwardmack c36950e
Merge branch 'development' into ed/init_account_balances
edwardmack 9404640
add to full account object to raw genesis
edwardmack 2c43c02
fix tests
edwardmack 4fa6310
Merge branch 'development' into ed/init_account_balances
edwardmack 5b32bb1
enable rpc module by defualt
edwardmack 0dc28a5
update gssmr genesis to use palletBalances key
edwardmack 941a4e3
update genesis-raw
edwardmack 31d6db8
use subscribe for db listener
edwardmack 6b5c6c6
testing db storage subscribe
edwardmack bf67ee3
Merge branch 'development' into ed/db_subscribe
edwardmack f78719e
Merge branch 'development' into ed/db_subscribe
edwardmack a431c3e
lint
edwardmack 560f923
add test for db subscribe
edwardmack 8248dae
Merge branch 'development' into ed/db_subscribe
edwardmack 38d311d
add Example db.Subscribe code
edwardmack c856d32
update go.mod to use updated chaindb
edwardmack 104e5c3
Merge branch 'development' into ed/db_subscribe
edwardmack 8f937e1
implement subscribe storage, move filters
edwardmack 342848e
Merge branch 'development' into ed/db_subscribe
edwardmack 2d284c1
remove unused code
edwardmack b1171de
lint
edwardmack 76b535b
remove redundant test
edwardmack ccf26cc
Merge branch 'development' into ed/db_subscribe
edwardmack 57def3f
modify tests to increase coverage
edwardmack 5d3135d
Merge branch 'development' into ed/db_subscribe
edwardmack 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
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
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.
this seems to send all the entries in the trie, not just the ones that are changed? am I mistaken?
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.
Right, I wasn't sure about this, however when I was testing with Substrate node, using key 0x26aa394eea5630e07c48ae0c9558cef70a98fdbe9ce6c55837576c60c7af3850 (System EventCount) I saw that it was responding with a value every block, even though the value remained the same (1). So I figured that I should replicate the same behavior.