Open eskimor opened 4 months ago
Hi @eskimor, related to this one
Spawn Polkadot network (including coretime) on Zombienet and test basic functionality
Which basic functionalities you want to test, currently we have an smoke test for coretime but using rococo-local
.
Thanks!
@eskimor follow up our conversation, I will set this test scenarios:
Each one with a suite of test for the basic functionality.
I've tested the migration with chopsticks and verified the following points:
Test code is here: https://github.com/tdimitrov/polkadot-coretime-launch-test
What's not tested yet:
Spawn Polkadot network (including coretime) on Zombienet and test basic functionality
For this one I suggest to rely on the test in https://github.com/paritytech/polkadot-sdk/pull/4883
Generally speaking doing zombienet tests with polkadot chainspec is not viable because of the lack of sudo. I think it will be easier to have functional tests with rococo-local
and migrations with try-runtime or chopsticks (using the state from the actual network).
[x] Fully test cross chain migrations with Chopsticks
[ ] Spawn Polkadot network (including coretime) on Zombienet and test basic functionality
[x] Migrations ran successfully with no warnings or errors
[x] Cancel auction actually worked (schedule got updated, key no longer present)
[x] All leases correctly present on Coretime chain, including those that have not yet started. (they exist, they end at the right time?)
[x] In general all assignments exist on the coretime chain: System chains + Leases
[x] Relay chain state matches coretime state
[ ] We have one on-demand core