Commit 1afeb5b
Integration tests for staking + election-provider-multi-phase (paritytech#12972)
* EPM and staking pallets: Adds new crate for integration tests
a
* Adds ExtBuilder and helpers with initial conditions assertions
* removes account helpers; adds staking, session, etc genesis
* Adds kusama incident test case
* Prepare for slashing test
* Adds solution submission
* slash_through_offending_threshold
* Renames e2e integration tests dir and crate
* consistently slash 10% of validator set
* finishes continous_slashes_below_offending_threshold test
* Update frame/election-provider-multi-phase/test-staking-e2e/src/lib.rs
Co-authored-by: Ankan <[email protected]>
* Update frame/election-provider-multi-phase/test-staking-e2e/src/lib.rs
Co-authored-by: Ankan <[email protected]>
* Update frame/election-provider-multi-phase/test-staking-e2e/src/lib.rs
Co-authored-by: Kian Paimani <[email protected]>
* Update frame/election-provider-multi-phase/test-staking-e2e/src/mock.rs
Co-authored-by: Kian Paimani <[email protected]>
* Update frame/election-provider-multi-phase/test-staking-e2e/src/mock.rs
Co-authored-by: Kian Paimani <[email protected]>
* Update frame/election-provider-multi-phase/test-staking-e2e/src/mock.rs
Co-authored-by: Kian Paimani <[email protected]>
* mock fixes
* Additional checks to delayed solution eras and mock fixes
* nits and addresses review comments; splits ext_builder into one per pallet
* helper to set balances ext builder
* bring up mock.rs to master
* integration test fixes and additions
---------
Co-authored-by: Ankan <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>1 parent c1a9ab9 commit 1afeb5b
File tree
4 files changed
+4634
-0
lines changed- frame/election-provider-multi-phase/test-staking-e2e
- src
4 files changed
+4634
-0
lines changed
0 commit comments