Developers Forum for XinFin XDC Network

Liam
Liam

Posted on • Updated on

[Informative]Things to test when you apply hard fork upgrade

Things to check when you are applying hard fork upgrade.

There are few jobs and check points to increase the confidence of your code change.
Test Your change on devnet:

Step 0:

Merge your change into dev-upgrade branch. And update your hard fork block number. Code will auto deploy to devnet.

Step 1:

Apply your hard fork block ahead of current block and witness before and after. Blockchain grows as usual.

Step 2:

Create one node from your end, synchronize from the scratch to new change state.

Step 3:

Check Miner log whether there is error pumping out.

  • Ask protocol team to check devnet's log.
  • Check your local node logs

Step 4:

Check related API returning new data.

Discussion (0)