Conversation
|
I think this is fixed already by #1862 (fix for waitMigration) |
If that's the intended assertion for the test, then we can close this PR. I was under the assumption that we wanted to fix the wait behavior so it is not out-of-sync with rpc & storage. Do we know why we need to wait 1 block after the rpc signals that the RT upgrade is done? |
|
I'm not sure I understand your question, but the runtime upgrade always happens in 2 steps:
The waitMigration allows to wait until the block doing the runtime migration is executed |
|
We can add the RPC check in the test, but I want to make sure we keep the on-chain test as it is more important to have this one correct |
Does this mean that:
|
I don't know when it reports it, but yes it is likely to be before the on-chain.
The storage gets updated in the block doing the migration (1 after the runtime is applied) |
|
Cool thanks, think it's fine to close this one then, if the behavior is well understood. |
What does it do?
fixes para-tests to use rpc endpoint to detect RT upgrade, similar to the subscription.
What important points reviewers should know?
Is there something left for follow-up PRs?
What alternative implementations were considered?
Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?
What value does it bring to the blockchain users?