Updated on December 14, 2020
Upgrading your protocol in a private network
To upgrade the protocol (also known as a hard fork) in a private network:
- Review included EIPs for breaking changes. A meta EIP for each protocol upgrade lists included EIPs. For example, Istanbul.
- Network participants agree on the block number at which to upgrade.
For each node in the network:
a. Add the milestone block number to the genesis file. b. Restart the node before reaching milestone block.
To avoid a forked network, all network participants must update their genesis file to include the agreed on milestone block and restart their node before reaching the milestone block.