-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Ignore trie nodes while recording a proof #8172
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
Merged
Changes from all commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
c71487f
Support multiple blocks in `ParachainBlockData`
bkchr 0cdb13d
Comments
bkchr 4415530
Add a test
bkchr 109b3f2
Only set the head on the last block
bkchr 6f7667d
Handle versioning in collation generation
bkchr a8a64bc
Write tests for pov-recovery
bkchr 3c0f51a
Use enum to be future proof
bkchr 9dd1704
Merge branch 'master'
bkchr f7b2bbf
Merge remote-tracking branch 'origin/master' into bkchr-parachain-blo…
bkchr e8caeb9
Merge remote-tracking branch 'origin/master' into bkchr-parachain-blo…
bkchr fbf15b9
Merge remote-tracking branch 'refs/remotes/origin/master'
bkchr acb64ae
Use scale
bkchr 70e7d50
Handle UMPSignals
bkchr 91767c1
Merge remote-tracking branch 'origin/master' into bkchr-parachain-blo…
bkchr aae2d2b
Merge remote-tracking branch 'origin/master' into bkchr-parachain-blo…
bkchr e5277ff
Ensure the blocks match
bkchr 8779f5f
Merge remote-tracking branch 'origin/master' into bkchr-parachain-blo…
bkchr 7f20108
Only one proof
bkchr ce343a6
Fix warnings
bkchr 44ab288
Fix compilation errors
bkchr 8e46176
More fixes
bkchr b0b041d
FMT..
bkchr b6cfcda
More
bkchr 05096af
MIGHTY CLIPPY ACCEPT MY SACRIFICE
bkchr 4c1557b
Merge branch 'master'
bkchr fa08898
Update from github-actions[bot] running command 'prdoc --bump major -…
github-actions[bot] 4f5ffb3
Fix doc issue
bkchr 99f814c
Update from github-actions[bot] running command 'fmt'
github-actions[bot] 146f29d
Fix some issues
bkchr 96791f5
Merge branch 'bkchr-parachain-block-data-multiple-blocks' of github.c…
bkchr 06dba39
Fix bug
bkchr cedb8e2
Fix more zombienet tests
bkchr d79ebcf
Let's sleep longer
bkchr aae6db9
Use debug for logging
bkchr a178766
Merge branch 'master' into bkchr-parachain-block-data-multiple-blocks
bkchr 93365e1
Merge branch 'master' into bkchr-parachain-block-data-multiple-blocks
bkchr f10615b
Initial support for ignoring trie nodes
bkchr c64ac05
Introduce `IgnoredNodes` type to hold the ignored nodes
bkchr 9f70dac
Update cumulus/primitives/core/Cargo.toml
bkchr 55753f4
Try to get the tests working
bkchr c8ec8e2
Work on the test
bkchr 80e8b3d
Fix the test properly
bkchr d375bde
Extend the test
bkchr 1d74d6b
Fix test
bkchr c2f867f
Merge remote-tracking branch 'origin/master' into bkchr-parachain-blo…
bkchr d4904ec
Review comments
bkchr 58ddac0
Merge branch 'master' into bkchr-parachain-block-data-multiple-blocks
bkchr 583efc2
Make it backwards and forwards compatible
bkchr 16d95c9
Update pr_6137.prdoc
bkchr 80e2a82
Merge remote-tracking branch 'origin/master' into bkchr-parachain-blo…
bkchr a6e621d
Merge branch 'bkchr-parachain-block-data-multiple-blocks' into bkchr-…
bkchr a303b8c
Update cumulus/primitives/core/src/parachain_block_data.rs
bkchr 0d78e54
Merge remote-tracking branch 'origin/bkchr-parachain-block-data-multi…
bkchr 8becf8c
Fix compile errors
bkchr 085944c
Merge remote-tracking branch 'origin/master' into bkchr-ignore-trie-n…
bkchr 0ac06c5
Ensure no nodes are shared
bkchr e4c66ee
Take by value
bkchr da1cc2a
Merge remote-tracking branch 'origin/master' into bkchr-ignore-trie-n…
bkchr a1402c8
Add some test and fix the code
bkchr 131f65e
Fix the test
bkchr d7daabc
Merge remote-tracking branch 'origin/master' into bkchr-ignore-trie-n…
bkchr f886c4c
Merge remote-tracking branch 'origin/master' into bkchr-ignore-trie-n…
bkchr e3d8c0a
Fix docs
bkchr bbd4814
Merge branch 'master' into bkchr-ignore-trie-nodes
bkchr 0431e22
Fix tests
bkchr 97dc073
Merge branch 'master' into bkchr-ignore-trie-nodes
bkchr 05082c3
Merge remote-tracking branch 'origin/master' into bkchr-ignore-trie-n…
bkchr 74b1a86
Review feedback
bkchr 9419194
Update substrate/client/basic-authorship/src/basic_authorship.rs
bkchr eb49746
Review feedback
bkchr 8d97b43
Merge remote-tracking branch 'refs/remotes/origin/bkchr-ignore-trie-n…
bkchr 43621c0
Update from github-actions[bot] running command 'prdoc --audience nod…
github-actions[bot] 5e26182
Update pr_8172.prdoc
bkchr b8ad463
Merge branch 'master' into bkchr-ignore-trie-nodes
bkchr e10ce1b
Merge remote-tracking branch 'origin/master' into bkchr-ignore-trie-n…
bkchr f9b15f7
Fix zombienet tests
bkchr 0eeec28
This time
bkchr d5a1588
Update pr_8172.prdoc
bkchr 5ecc80c
Update from github-actions[bot] running command 'fmt'
github-actions[bot] 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
What is up with this
EMPTY_PREFIXhere? I see that internally, the value is hashed for the key. Makes sense, but when would we need the prefix here?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.
We are using a
HashKey, that ignores theprefix. The prefix would be important if we use aPrefixKey(this is used bychanges.transaction).In the end what is happening here is that we use the hash of
valueaskeyandEMPTY_PREFIXis ignored.