Joystream / joystream

Joystream Monorepo
http://www.joystream.org
GNU General Public License v3.0
1.42k stars 115 forks source link

Final Ephesus->Nara upgrade testnet #5009

Closed kdembler closed 6 months ago

kdembler commented 9 months ago

The goal is to test upgrade from Ephesus to Nara, with some validators running Ephesus nodes and some running Nara nodes. We can also use this occasion to confirm our expectations of exact timing of the upgrade and also impact on ongoing election.

Proposed setup Ephesus network with:

Test

  1. Create a runtime upgrade proposal and approve (Confirm we have instructions for verification of wasm). Have someone verify manually.
  2. In next term, approve the proposal at the right time. Grace period for runtime upgrade proposal is 72,000 blocks. Let's aim for the upgrade to happen around middle of the voting stage. So the final approval for the proposal should be made roughly 72,000-43,200/2=50,400 blocks before voting starts, or 129,600-50,400=79,200 blocks into announcing.
  3. In voting stage, but before upgrade happens, write down runtime storage value of council.stage().
  4. Confirm the upgrade happens at the right time and both validators are operating fine.
  5. Confirm that council.stage() has the same value (maybe apart changedAt key?)
  6. Once voting stage ends, confirm with council.stage() that Nara revealing stage length of 57,600 blocks was applied.

┆Issue is synchronized with this Asana task by Unito

kdembler commented 8 months ago

After more discussions we have decided to extend the scope of this test to check compatibility of different nodes and their version before/after the upgrade. This will inform the release plan.

Setup

Before upgrade

  1. Check Pioneer:
    1. See what happens when you point Ephesus Pioneer at Nara RPC
    2. See what happens when you point Nara Pioneer at Ephesus RPC
    3. Confirm Pioneer works fine with Nara QN
  2. Check QN:
    1. Check if Nara QN works without issues indexing Ephesus chain
    2. Check if Ephesus QN works without issues indexing Ephesus chain from Nara RPC

After upgrade

  1. Confirm that Ephesus QN continues working after upgrade. From what Mokhtar said, we can expect the indexer to crash, but it should restart and keep working.
  2. Confirm Argus&Colossus work fine - they can accept and serve new uploads3.
  3. Confirm that membership faucet is working properly
  4. Confirm storage-squid is unaffected and keeps indexing new blocks
kdembler commented 6 months ago

Done, see #5064