Skip to content
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

Prepare PVFs if node is a validator in the next session #4791

Merged
merged 35 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
404847f
Check new session
AndreiEres Jun 13, 2024
0698cb7
Check if our node is a validator
AndreiEres Jun 14, 2024
c21f1bf
Add preparation
AndreiEres Jun 17, 2024
e6cb488
Fix clippy
AndreiEres Jun 17, 2024
089874b
Fix clippy
AndreiEres Jun 17, 2024
b79be57
Extract
AndreiEres Jun 17, 2024
0d68af6
Optimize
AndreiEres Jun 17, 2024
eeeaf85
Rename
AndreiEres Jun 17, 2024
f17099e
Clippy
AndreiEres Jun 17, 2024
0581f58
Remove unnecessary clone()
AndreiEres Jun 21, 2024
498945d
Rename
AndreiEres Jun 21, 2024
096c44a
Use the prepare timeout
AndreiEres Jun 21, 2024
1d56fc3
Exclude present authorities from the condition
AndreiEres Jun 21, 2024
27ef03d
Don't send a message with empty pvfs
AndreiEres Jun 21, 2024
9a947d9
Extract
AndreiEres Jun 25, 2024
120162c
Merge branch 'master' into AndreiEres/prepare-pvf
AndreiEres Jun 26, 2024
f55e296
Rename
AndreiEres Jul 3, 2024
484de24
Limit preparation
AndreiEres Jul 3, 2024
35a4fcf
Rename
AndreiEres Jul 5, 2024
71e645f
Add golden path test
AndreiEres Jul 5, 2024
fb74a0c
Add additional tests about validator state
AndreiEres Jul 5, 2024
bf6f52e
Add tests about limitation
AndreiEres Jul 5, 2024
5542729
Add tests
AndreiEres Jul 5, 2024
1d695d2
Add pr doc
AndreiEres Jul 5, 2024
640e051
Update semver
AndreiEres Jul 5, 2024
45d4c3f
Update pr doc
AndreiEres Jul 5, 2024
d68438a
Add logging
AndreiEres Jul 5, 2024
8a230d9
Fix toml
AndreiEres Jul 5, 2024
5d2ee26
Add draft for a zombienet test
AndreiEres Jul 11, 2024
2c69d80
Add the test to ci
AndreiEres Jul 12, 2024
2f39ea6
Update pr doc
AndreiEres Jul 12, 2024
a09e824
Add a zombie test for PVF preparation
AndreiEres Jul 16, 2024
e233fe2
Update test
AndreiEres Jul 16, 2024
7a280ae
Remove todo
AndreiEres Jul 19, 2024
515b92f
Merge branch 'master' into AndreiEres/prepare-pvf
AndreiEres Jul 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitlab/pipeline/zombienet/polkadot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,14 @@ zombienet-polkadot-smoke-0004-coretime-smoke-test:
--local-dir="${LOCAL_DIR}/smoke"
--test="0004-coretime-smoke-test.zndsl"

zombienet-polkadot-smoke-0005-precompile-pvf-smoke:
extends:
- .zombienet-polkadot-common
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
--local-dir="${LOCAL_DIR}/smoke"
--test="0005-precompile-pvf-smoke.zndsl"

zombienet-polkadot-misc-0001-parachains-paritydb:
extends:
- .zombienet-polkadot-common
Expand Down
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions polkadot/node/core/candidate-validation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ futures = { workspace = true }
futures-timer = { workspace = true }
gum = { workspace = true, default-features = true }

sp-keystore = { workspace = true }
sp-application-crypto = { workspace = true }
sp-maybe-compressed-blob = { workspace = true, default-features = true }
codec = { features = ["bit-vec", "derive"], workspace = true }

Expand Down
Loading
Loading