Commit 09a7277
authored
Extend proxy E2E test suite with call filtering tests (#231)
* Add `ts-pattern` dependency
* Draft proxy call filtering test
* Draft proxy filtering mechanism for `NonTransfer/Governance`
* Add draft of proxy filtering tests for Governance proxies
* Test bounty pallet in proxy call filtering test
* Refactor proxy call filtering test structure
* Regenerate proxy snapshots
* Rework proxy filtering snapshot names
* Reduce amount of blocks required in proxy filtering tests
* Test Staking and NominationPools proxy call filtering
* Test `CancelProxy` proxy call filtering
* Test `Auction` proxy type filtering
* Correct proxy call event snapshot names
* Test `Spokesperson` proxy type filtering
* Add and test `ParaRegistration` proxy type filtering
Also, enable `Spokesperson` test, mistakenly omitted in previous commit.
* Test call filtering for asset proxy types
* Test call filtering for collator proxy type
* Test alliance proxy type call filtering
* Create Fellowship proxy type call filtering test
* Complete Fellowship proxy type call filtering test
* Update proxy test snapshots
* Test ambassador proxy type call filtering
* Swap extrinsics from balances pallet in call filtering tests
* Test `Broker` proxy type call filtering
* Exclude some unstable events from `balances` pallet
* Test `CoretimeRenewer` proxy type call filtering
* Disable credit purchase call in coretime filtering tests
* Extend `Collator` proxy type call filtering test
* Display logging information in proxy call filtering test
In case such a test fails, a message will now be displayed showing
which call caused the failure.
* Update block numbers
* Update `Broker` proxy type filtering test snapshots
* Improve stability of `Broker` proxy filtering test
* Test call fltering for identity proxy types
* Update missing `CoretimeRenewer` proxy test snapshots
* Add missing utility/system actions to some proxy types
* Disable some call filtering tests pending fixes
1. Kusama `ParaRegistration` proxy type cannot call `remove_proxy`
2. `CancelProxy` types outside of relay chains cannot call utility/system
actions
* Update snapshots
* Remove duplicate TODO note
* Update snapshot1 parent 6ad39c7 commit 09a7277
File tree
14 files changed
+8360
-14
lines changed- packages
- kusama/src/__snapshots__
- polkadot/src/__snapshots__
14 files changed
+8360
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments