1. May 03, 2023
  2. Mar 16, 2023
    • Gonçalo Pestana's avatar
      Integration tests for staking + election-provider-multi-phase (#12972) · ce08e135
      Gonçalo Pestana authored
      
      
      * 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: default avatarAnkan <[email protected]>
      
      * Update frame/election-provider-multi-phase/test-staking-e2e/src/lib.rs
      
      Co-authored-by: default avatarAnkan <[email protected]>
      
      * Update frame/election-provider-multi-phase/test-staking-e2e/src/lib.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Update frame/election-provider-multi-phase/test-staking-e2e/src/mock.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Update frame/election-provider-multi-phase/test-staking-e2e/src/mock.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Update frame/election-provider-multi-phase/test-staking-e2e/src/mock.rs
      
      Co-authored-by: default avatarKian 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: default avatarAnkan <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      ce08e135