You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor E2E suites to allow AHM integration (#384)
* Rename test account module
Also, create new `testAccounts` object.
* Update test accounts and scheduling in tests
To run these tests in post-migration Asset Hubs, the scheduling technique
used to coerce execution of extrinsics with origins other than signed
must change to allow use of non-local block providers.
Also, when running these tests in testnets, some of the default dev
accounts have dirty states, so this commit begins the move to fresh
accounts in E2E.
Lastly, in some locations `scheduleInlineCallWithOrigin` was used without
an `await` before it, which led to occasionally wrong behavior.
* Use minimal validator bond if unset in network
* Fix first slashing test
* Add missing `applySlash` call to test
* Fix staking tests to pass on both relay and AH
* Refactor governance E2E tests to work post-AHM
* Swap test accounts used in nom. pools test
* Apply lint fixes
* Fix nomination pool tests to be runnable in AH
* Update scheduler tests to use new block provider refactor
Some tests still need a second pass, but the idea is that they can now
run on relay chains, parachains with or without AB, with local or
non-local block providers.
* Perform final fixes to scheduler E2E tests
* Update proxy E2E tests
* they now use the new `testAccounts` (snapshots (partially) updated,
* pass new `TestConfig` parameter to E2E test trees
* update proxy E2E tests to use new block provider (80% done)
* Rename `TestConfig` param `relayOrPara` to `blockProvider`
* Fix staking test snapshots
* Update proxy test snapshots
* Branch `incompleteSince` test fixes for Kusama
* Add mistakenly removed era-change storage clean-up
Without it, the unapplied slashing test times out, because building
the era-change block takes some time to complete will all of the era's
stakers.
0 commit comments