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

migrate zombie past slashing test #7147

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
6abfeae
add zombienet-sdk past-session slashing test
ordian Jan 14, 2025
338b3cd
custom wait_for_metric workaround
ordian Jan 14, 2025
c88dfa1
remove old v1 test
ordian Jan 14, 2025
6f9dc66
some minor adjustments to the test
ordian Jan 16, 2025
87e7391
push some changes that are supposed to make it more robust
ordian Jan 16, 2025
62f2581
use best blocks instead of finalized
ordian Jan 16, 2025
75fe402
Merge branch 'master' into ao-migrate-zombie-past-slashing-test
ordian Jan 16, 2025
3dd7784
revert to using built-in zombienet assertion
ordian Jan 20, 2025
18f6580
REVERTME: debug the InvalidProof issue
ordian Jan 20, 2025
74b9e30
fix pre-dispatch pov underweight for ParasInherent
ordian Jan 28, 2025
74195b7
wait for longer to avoid a debug panic
ordian Jan 28, 2025
d296885
Revert "REVERTME: debug the InvalidProof issue"
ordian Jan 29, 2025
722a770
Merge branch 'master' into ao-migrate-zombie-past-slashing-test
ordian Jan 30, 2025
a18e8c5
update to zombienet-sdk to 0.2.23
ordian Feb 3, 2025
83a2992
Merge branch 'master' into ao-migrate-zombie-past-slashing-test
ordian Feb 3, 2025
c9ad223
add the test to CI
ordian Feb 3, 2025
83c0c87
try specifying malus image
ordian Feb 3, 2025
e12dbde
cargo update -p zombienet-sdk
ordian Feb 3, 2025
dbc9f5a
Merge branch 'master' into ao-migrate-zombie-past-slashing-test
ordian Feb 4, 2025
393a0bd
Merge branch 'master' into ao-migrate-zombie-past-slashing-test
ordian Feb 6, 2025
d656b4e
litep2p: Increase keep-alive to 10 seconds to mirror libp2p (#7488)
lexnv Feb 6, 2025
41b23e6
address review comments
ordian Feb 6, 2025
88bd366
Revert "litep2p: Increase keep-alive to 10 seconds to mirror libp2p (…
ordian Feb 6, 2025
5135e2b
Merge branch 'master' into ao-migrate-zombie-past-slashing-test
ordian Feb 6, 2025
0ec474d
remove a no longer needed workaround
ordian Feb 7, 2025
773a6a5
lower the upper range of produced blocks
ordian Feb 7, 2025
97f68c5
fmt
ordian Feb 7, 2025
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
Prev Previous commit
Next Next commit
add the test to CI
  • Loading branch information
ordian committed Feb 3, 2025
commit c9ad223c19b280909f357f401eeaa2cecbaedb0a
20 changes: 18 additions & 2 deletions .gitlab/pipeline/zombienet/polkadot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ zombienet-polkadot-elastic-scaling-slot-based-12cores:
- job: build-polkadot-zombienet-tests
artifacts: true
before_script:
- !reference [ ".zombienet-polkadot-common", "before_script" ]
- !reference [".zombienet-polkadot-common", "before_script"]
- export POLKADOT_IMAGE="${ZOMBIENET_INTEGRATION_TEST_IMAGE}"
- export CUMULUS_IMAGE="docker.io/paritypr/test-parachain:${PIPELINE_IMAGE_TAG}"
- export X_INFRA_INSTANCE=spot # use spot by default
Expand Down Expand Up @@ -464,11 +464,27 @@ zombienet-polkadot-functional-duplicate-collations:
- job: build-polkadot-zombienet-tests
artifacts: true
before_script:
- !reference [ ".zombienet-polkadot-common", "before_script" ]
- !reference [".zombienet-polkadot-common", "before_script"]
- export POLKADOT_IMAGE="${ZOMBIENET_INTEGRATION_TEST_IMAGE}"
- export X_INFRA_INSTANCE=spot # use spot by default
script:
# we want to use `--no-capture` in zombienet tests.
- unset NEXTEST_FAILURE_OUTPUT
- unset NEXTEST_SUCCESS_OUTPUT
- cargo nextest run --archive-file ./artifacts/polkadot-zombienet-tests.tar.zst --no-capture -- functional::duplicate_collations::duplicate_collations_test

zombienet-polkadot-disputes-slashing:
extends:
- .zombienet-polkadot-common
needs:
- job: build-polkadot-zombienet-tests
artifacts: true
before_script:
- !reference [".zombienet-polkadot-common", "before_script"]
- export POLKADOT_IMAGE="${ZOMBIENET_INTEGRATION_TEST_IMAGE}"
- export X_INFRA_INSTANCE=spot # use spot by default
script:
# we want to use `--no-capture` in zombienet tests.
- unset NEXTEST_FAILURE_OUTPUT
- unset NEXTEST_SUCCESS_OUTPUT
- cargo nextest run --archive-file ./artifacts/polkadot-zombienet-tests.tar.zst --no-capture -- disabling::slashing
Loading