-
Notifications
You must be signed in to change notification settings - Fork 700
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
collator protocol: validate descriptor version on the validator side #6011
Merged
Merged
Changes from all commits
Commits
Show all changes
142 commits
Select commit
Hold shift + click to select a range
793142e
WIP primitives
sandreim 3a29fdf
WIP
sandreim 4a53577
Working version.
sandreim 8285ae7
Better version
sandreim 2831c5e
Add missing primitives and fix things
sandreim c767d60
Implement v2 receipts in polkadot-runtime-parachains
sandreim 96999e3
add missing stuff
sandreim c5f2dc3
Switch parachains runtime to use new primitives
sandreim dbb0160
use vstaging primitives
sandreim 5efab68
update rococo and westend
sandreim c2232e4
client keeps using the old primitives
sandreim 87b079f
no unsafe pls
sandreim 00e8c13
move async backing primtiives to own file
sandreim cd4d02f
fix
sandreim 5509e33
fix test build
sandreim f8b86d2
fix test-runtime
sandreim fe2fbfb
self review feedback
sandreim 975e13b
review feedback
sandreim 1c7ac55
feedback
sandreim 653873b
feedback
sandreim dc98149
clippy
sandreim 0a6bce3
chores
sandreim 5e4dac2
Filter v2 candidate descriptors
sandreim f12ca7a
fix
sandreim 13734de
fix prospective parachains tests
sandreim effb1cc
fix fix
sandreim 3f75cba
fmt
sandreim 75a47bb
fix comment
sandreim 12ed853
another one
sandreim f2c0882
fix build
sandreim 768e034
.
sandreim 4bf0706
improve test and add comment
sandreim 0c83201
add log
sandreim 4296942
simplify check()
sandreim e1a7509
Merge branch 'sandreim/rfc103-primitives' of github.com:paritytech/po…
sandreim 6fb7790
impl<H>
sandreim e6add9c
Merge branch 'sandreim/rfc103-primitives' of github.com:paritytech/po…
sandreim d0b3961
comment
sandreim 66f7a96
add some tests
sandreim 5c0c919
update
sandreim 38ce589
prdoc
sandreim 9f1d611
can't be happy if CI is sad
sandreim a6a7329
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 663817d
remove newlines
sandreim a1dacc1
match rfc 103 reserved field naming
sandreim 33b80ea
remove default cq offset
sandreim d5b165f
Merge branch 'sandreim/rfc103-primitives' of github.com:paritytech/po…
sandreim 29e4b47
Ignore UMP signals when checking and processing UMP queue
sandreim ab85fe3
wip
sandreim 7d5636b
refactor a bit
sandreim 2954bba
use descriptor core_index in `map_candidates_to_cores`
sandreim e7abe8b
nits
sandreim 1db5eb0
Para Inherent: filter v2 candidate descriptors (#5362)
sandreim cdb49a6
increase test coverage
sandreim f6f714a
Merge branch 'sandreim/rfc103-primitives' of github.com:paritytech/po…
sandreim aa925cd
Improve usability of primitives
sandreim 00d7c71
use committed core index if available in v1 receipts
sandreim af9f561
typo
sandreim fb2cefb
fix check
sandreim b53787d
typo
sandreim e2ef46e
add test for mixed v1 v2 scenario
sandreim 2dfc542
comment
sandreim a38a243
add ump test
sandreim da381da
avoid one storage read
sandreim ca5c618
store claim queue snapshot in allowed relay parent info
sandreim 4266665
check v2 receipts using claim queue snapshots
sandreim e93b983
typo
sandreim e01bf53
it was a bad idea to process commitments of v1 receipts
sandreim fb9fbe6
fmt
sandreim c507488
remove unused
sandreim 178e201
Validate session index
sandreim 984e8e1
add unknown version
sandreim fab215d
add check for unknown version and test
sandreim 7300552
Merge branch 'sandreim/rfc103-primitives' of github.com:paritytech/po…
sandreim 9bbe2cc
typo
sandreim 4dda9df
adjust comments
sandreim cd3eb5f
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim f8ef4ce
fix merge damage
sandreim 04e31a1
unused
sandreim 5fd1279
fix
sandreim 19d6f32
fix benchmark build
sandreim 552078a
Merge branch 'sandreim/rfc103-primitives' of github.com:paritytech/po…
sandreim 4ec3fc8
typos
sandreim 2ba0a27
fmt
sandreim e468d62
fix comment
sandreim 3fe368f
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 18a0496
mixed v1, v2, v2 without select core tests,
sandreim d320269
Add allowed relay parents storage migration
sandreim 8490488
fix migration
sandreim db67486
fix
sandreim 03cf8c1
clippy
sandreim 43f6de7
feedback
sandreim 70e48d2
sir, make it faster
sandreim 1e26c73
fix
sandreim f4e3fb5
one last fix
sandreim 2e87ad3
fixes
sandreim 54432be
remove println
sandreim cfbecb0
add prdoc
sandreim 3a518f2
fix comment
sandreim 54106e2
refactor map_candidates_to_cores
sandreim b44a604
doc updates
sandreim 4c5c707
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 0cc2e6c
switch nodes to vstaging primitives
sandreim f9ddb15
test fixes
sandreim add4592
fmt
sandreim ef51144
extract test helpers in MutateDescriptorV2
sandreim 3981425
fix tests
sandreim 32af174
more fixes
sandreim 9eba1ef
more wip
sandreim caff543
feedback
sandreim 218f530
refactor
sandreim 216937a
fix try-runtime
sandreim e169d0d
Finally all tests compile
sandreim ceac8b2
:facepalm:
sandreim c0aee8c
check ump signal count and test
sandreim 1ef7952
remove unused
sandreim 5790b8e
fix prdoc
sandreim ba9d3ff
more tests cases
sandreim 888880f
Merge branch 'sandreim/runtime_v2_descriptor_support' into sandreim/n…
sandreim 0dcf739
workaround #64
sandreim 604273b
stricter UMP signal checks and tests
sandreim 9c4e2ae
stricter UMP signal checks and tests
sandreim 43bbb9d
type alias
sandreim 64febf4
Merge branch 'sandreim/runtime_v2_descriptor_support' of github.com:p…
sandreim a493225
remove unused
sandreim d7e57fd
Merge branch 'master' into sandreim/runtime_v2_descriptor_support
sandreim 7e3a943
Merge branch 'sandreim/runtime_v2_descriptor_support' of github.com:p…
sandreim 7352577
add prdoc
sandreim c9e44d1
fix merge damage
sandreim bf948a7
fix
sandreim fd9dfee
fix some builds
sandreim 5bd465b
fix the fix
sandreim 53bb5b8
toml fixes
sandreim 6a2641a
collator protocol: validate descriptor version on the validator side
alindima c3aa77d
Merge remote-tracking branch 'origin/master' into alindima/collator-p…
alindima a6eb4d8
oops
alindima d52a30c
Merge remote-tracking branch 'origin/master' into alindima/collator-p…
alindima 2625a0a
fix existing tests
alindima c1418a2
add prdoc
alindima 5e9dfbd
feedback
alindima dcc3544
add more tests
alindima 6fc8bd0
clippy
alindima 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
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.
This should be
scheduled_paras
or something implying 'paras that are about to be scheduled on this core' but don't bother fixing it now. I'll handle it when merging your work in #6011