[Pools] Remote Externalities test for DelegateStake strategy #4629
Labels
C1-mentor
A task where a mentor is available. Please indicate in the issue who the mentor could be.
T2-pallets
This PR/Issue is related to a particular pallet.
T8-polkadot
This PR/Issue is related to/affects the Polkadot network.
T10-tests
This PR/Issue is related to tests.
Add remote-externalities test (can be added to
pallet-nomination-pools-test-delegate-stake
) that tests the following with the runtime state ofpolkadot
andkusama
. The pools::StakeAdapter in all cases should beDelegateStake
(refer #3905). We can use westend-runtime but load state from kusama or polkadot for the following pallets: system, balances, staking, voterlist, nomination-pools.Calls::migrate_pool_to_delegate_stake
.Calls::migrate_delegation
.Every test should run a
<AllPalletsWithSystem as TryState<_>>::try_state()
at the end.The text was updated successfully, but these errors were encountered: