Conflux v2.0.0-testnet Hardfork Upgrade Announcement

The Conflux testnet (Conflux V2.0.0-Testnet) is expected to be upgraded starting from 10:00 Dec.9th to 15:00 Dec.13th, 2021 (GMT+8). This upgrade will simulate most of the main-net network upgrades. Ecosystem applications are suggested to test upon upgrade.

Download the new full node program “Conflux v2.0.0-testnet” at: https://github.com/Conflux-Chain/conflux-rust/releases (around 18:00 Dec.6th, 2021 (GMT+8))

Upgrade Details:

Incompatible Changes

RPC Improvements

PoS RPC

Added a new group of PoS-related methods with a prefix of pos. Current information about the PoS chain can be acquired using these methods.

PoW RPC

Hardfork PoW RPC Changes

block

Added a new field in the block structure:

  • posBlockHash: the hash of the PoS latest block at the time when the PoW block is mined

New Tag

Added a new epochNumber tag:

  • latestFinalized:the latest finalized block

New RPC

Added a new RPC method to view the current overall economics information of PoS:

  • cfx_posEconomics

txpool-related RPC

Added a new group of txpool-related RPC methods with a prefix of txpool which can be used to view various kinds of information regarding the current transaction pool.

Bug Fixes

  • Fixed a bug that may slow down the syncing process for archive nodes.

To node operators and miners:

If you upgrade your node before Epoch Number reaches 55095000 or Block Number reaches 68845000 (around 10:00 Dec.9th, 2021(GMT+8))

  1. Replace conflux.exe with the new one in Conflux v2.0.0-testnet, then restart the fullnode. Download link: https://github.com/Conflux-Chain/conflux-rust/releases
  2. The PoS registration will start at Block Number 68845000 (around Dec.9th at 10:00). Reference: PoS Registration Tutorial (PoS Registration Tutorial (Conflux v2.0.0-testnet))
  3. The PoS registration will close at Block Number 69245000 (around Dec.11 at 18:00). After registration closes, you can start adding pos_config. Reference: PoS Transition Tutorial (PoS Transition Test (Conflux v2.0.0-testnet))
  4. The deadline for adding pos_config is before Epoch Number reaches 55665000 (around Dec.13th 15:00). Hardfork upgrade will be completed at this time.

If you upgrade your node after Epoch Number reaches 55095000 or Block Number reaches 68845000 (around 10:00 Dec.9th, 2021(GMT+8)), you need to delete all data and restart the node. Reference:Conflux v2.0.0-testnet Test Tutorial: Conflux v2.0.0-testnet Test tutorial

If you start a new node after Epoch Number reaches 55095000 or Block Number reaches 68845000 (around 10:00 Dec.9th, 2021(GMT+8)), you can download the latest version of Conflux v2.0.0-testnet and run it. Reference:Conflux v2.0.0-testnet Test Tutorial: Conflux v2.0.0-testnet Test tutorial

To ecosystem projects:

According to CIP-71(https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-71.md), after Hardfork, Conflux Network will fully disable the anti-reentrancy (just like Etherum). Deployed contracts need to be aware that whether they are subject to reentrant attacks.

According to CIP-43 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-43.md), after Hardfork, only CFX staked on the PoS chain are able to generate interest. Assets staked in Governance would not be lost; however, no more revenues will be generated.

Relative to other nodes, there will be an additional performance burden when running a PoS node. Besides, the RPC of other parts of the PoS node might be changed frequently. Therefore, it is recommended that the PoS node in the ecosystem should be only used for PoS voting services.

What will happen if I do not upgrade the nodes or refuse to upgrade?

If the Conflux node is not upgraded to the latest version, the node will be incompatible with the upgraded Conflux protocol and cannot interact with the latest Conflux testnet as expected (functions like synchronizing blocks, mining, etc might be disabled).

To users

The upgrade will not affect the normal use of the Conflux testnet. However, we advise you to avoid using testnet network due to instability and operational delay during the upgrade. There is a possibility that your asset on testnet will be lost.

According to CIP-43 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-43.md), after Hardfork, only CFX staked on the PoS chain are able to generate interest. Assets staked in Governance would not be lost; however, no more revenues will be generated.

Thanks for your support!

A sincere thank you to the Conflux community and all the developers in the Conflux ecosystem. Thank you for your hard work, thoughts, and contributions. To a better future!