Conflux v2.0.2-testnet-fix Testnet Upgrade Announcement

This upgrade is mainly to solve the problems below:

Bug Fix

  • Fix some issues that cause cfx_estimateGasAndCollateral and cfx_call to hang.
  • Fix incorrect estimations from cfx_estimateGasAndCollateral.
  • Fix the issues that the node enters NormalPhase too soon and gets stuck on snapshot state download.
  • PoS nodes will not elect before entering the normal phase to avoid being force_retired.

Improvement

  • If cfx_call, cfx_estimateGasAndCollateral raise error, and the error.data is string, it will directly return instead of being hex encoded.
  • cfx_sendRawTransaction will reject transaction if sender’s balance is not enough.
    • The failure message with insufficient balance is displayed as follows: Transaction {?} is discarded due to out of balance, needs {?} but account balance is {?}.
  • More snapshot copy-on-write merging performance optimization on XFS file systems.

RPC Adjustment After v2.0.3

  • Starting from v2.0.3, cfx_getLogs and eth_getLogs will no longer support the parameters limit and offset. They are not efficient and can be replaced by setting the block/epoch range instead.
  • Starting from v2.0.3, cfx_clientVersion will have include more information like web3_clientVersion in eSpace.
  • Starting from v2.0.3, fromEpoch will default to “latest_state” in cfx_getLogs.
  • Starting from v2.0.3, fromBlock will default to “latest” in eth_getLogs.

Download

Download “Conflux v2.0.2-testnet-fix” here: https://github.com/Conflux-Chain/conflux-rust/releases/tag/v2.0.2-testnet-fix

I am a node operator/miner, what do I need to do?

If you have a running node, you need to

  • Suspend the running operation of the node
  • Replace the executable file named “conflux” in the run directory of the original node program with the Conflux executable file of the Conflux v2.0.2-testnet-fix node program.
  • Restart the operation of the node

If you start a new node, you can download the latest version of Conflux v2.0.2-testnet-fix and run it.

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

It is strongly recommended to upgrade your node, this upgrade aims to improve node stability.

Thanks to our community 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!

1 Like