Skip to content

Releases: Conflux-Chain/conflux-rust

Conflux v2.2.3

03 Apr 06:17
644caaf
Compare
Choose a tag to compare

Bug Fixes

  • Fix an issue that makes peers disconnected periodically.

RPC Changes

  • Add debug RPCs cfx_getTransactionsByEpoch and cfx_getTransactionsByBlock to get the original transactions in both spaces atomically. This is only available in the local RPC port and phantom transactions will not be returned.

Improvement

  • Upgrade the Rust toolchain version to 1.68.0 and fix issues.

Conflux v2.2.3-testnet

22 Mar 05:50
Compare
Choose a tag to compare
Pre-release

Bug Fixes

  • Fix an issue that makes peers disconnected periodically.

RPC Changes

  • Add debug RPCs cfx_getTransactionsByEpoch and cfx_getTransactionsByBlock to get the original transactions in both spaces atomically. This is only available in the local RPC port and phantom transactions will not be returned.

Improvement

  • Upgrade the Rust toolchain version to 1.68.0 and fix issues.

Conflux v2.2.2

14 Mar 06:10
c30c359
Compare
Choose a tag to compare

Configuration Changes

  • The original tx_pool_min_tx_gas_price is separated to two configurations tx_pool_min_native_tx_gas_price and tx_pool_min_eth_tx_gas_price for two spaces.
  • The default tx_pool_size is changed to 50000 to avoid possible OOM because of large transactions.

RPC Changes

  • Support EIP-1898 style epoch parameters in some core space RPCs (including cfx_getBalance, cfx_getStorageAt, cfx_call, cfx_getNextNonce, cfx_getCode, and cfx_epochReceipts). Check #2615 for details.
  • Add filter RPCs for cfx core space (including cfx_newFilter, cfx_newBlockFilter, cfx_newPendingTransactionFilter, cfx_getFilterChanges, cfx_getFilterLogs, and cfx_uninstallFilter).
  • Add pos_getAccountByPowAddress to query the PoS account information in one RPC call.
  • Add two more pending reasons (oldEpochHeight and outdatedStatus) for firstTxStatus returned in cfx_getAccountPendingTransactions. Check #2624 for defails.

Improvements

  • Allow the node database snapshot from Linux to be used by a Windows executable.

Bug Fixes

  • Limit the chunk size when loading from db in syncing snapshot to avoid OOM.
  • Fix an issue that a light client might be deadlocked.
  • Allow nodes to disconnect not-responding light nodes.

Conflux v2.2.2-testnet

28 Feb 06:08
Compare
Choose a tag to compare
Pre-release

Configuration Changes

  • The original tx_pool_min_tx_gas_price is separated to two configurations tx_pool_min_native_tx_gas_price and tx_pool_min_eth_tx_gas_price for two spaces.
  • The default tx_pool_size is changed to 50000 to avoid possible OOM because of large transactions.

RPC Changes

  • Support EIP-1898 style epoch parameters in some core space RPCs (including cfx_getBalance, cfx_getStorageAt, cfx_call, cfx_getNextNonce, cfx_getCode, and cfx_epochReceipts). Check #2615 for details.
  • Add filter RPCs for cfx core space (including cfx_newFilter, cfx_newBlockFilter, cfx_newPendingTransactionFilter, cfx_getFilterChanges, cfx_getFilterLogs, and cfx_uninstallFilter).
  • Add pos_getAccountByPowAddress to query the PoS account information in one RPC call.
  • Add two more pending reasons (oldEpochHeight and outdatedStatus) for firstTxStatus returned in cfx_getAccountPendingTransactions. Check #2624 for defails.

Improvements

  • Allow the node database snapshot from Linux to be used by a Windows executable.

Bug Fixes

  • Limit the chunk size when loading from db in syncing snapshot to avoid OOM.
  • Fix an issue that a light client might be deadlocked.
  • Allow nodes to disconnect not-responding light nodes.

Conflux v2.2.1-fixpos

03 Jan 10:16
2689ae0
Compare
Choose a tag to compare

Fix an issue that prevents the PoS voter nodes from restarting election.

Conflux v2.2.1

29 Dec 09:20
1f31a48
Compare
Choose a tag to compare

RPC Changes

  • Fix cfx_getDepositList and cfx_getVoteList RPC return value format to use hex strings.

Improvements

  • Retry the PoS election transaction if it's not included.
  • Avoid duplicate PoS peer broadcast.

Bug Fixes

  • Fix issues in eSpace filter and pubsub RPCs that may return incorrect or duplicate log entries.
  • Fix an issue in eSpace filter and pubsub RPCs that may get stuck for a long time.
  • Fix an issue that may make valid transactions unable to be accepted by the transaction pool.
  • Disable PoS state pruning by default.

Conflux v2.2.1-testnet

15 Dec 09:29
Compare
Choose a tag to compare
Pre-release

Note that pos_config/pos_config.yaml is updated by adding consensus: hardcoded_epoch_committee. Please replace this file or apply this change manually before restarting the node.

Incompatible Changes

  • Hardcode a PoS committee at the PoS epoch 7760 to fix the empty committee issue for Testnet.

RPC Changes

  • Fix cfx_getDepositList and cfx_getVoteList RPC return value format to use hex strings.

Improvements

  • Retry the PoS election transaction if it's not included.
  • Save the PoS CPU usage by limit the max pos voting power in Testnet.
  • Avoid duplicate PoS peer broadcast.

Bug Fixes

  • Fix issues in eSpace filter and pubsub RPCs that may return incorrect or duplicate log entries.
  • Fix an issue in eSpace filter and pubsub RPCs that may get stuck for a long time.
  • Fix an issue that may make valid transactions unable to be accepted by the transaction pool.
  • Disable PoS state pruning by default to avoid OutOfMemory issues.

Conflux v2.2.0-fix-testnet

05 Dec 09:47
Compare
Choose a tag to compare
Pre-release
  • Introduce a hard fork at height 101760000 to discard a long fork and fix the Testnet issue.

Conflux v2.2.0

03 Nov 05:43
fc7d65d
Compare
Choose a tag to compare

This release introduces incompatible changes and must be upgraded before the block number 137740000 and PoS block number 360900.

RPC Improvements

  • Add filter RPCs in eSpace including eth_newFilter, eth_newBlockFilter, eth_newPendingTransactionFilter, eth_getFilterChanges, eth_getFilterLogs, eth_uninstallFilter. Note that you need to set poll_lifetime_in_seconds in the configuration to enable these RPCs.
  • Support finalized block tag and compatibility support for safe tag in eSpace RPCs.
  • Use a random 16 byte value for eth_filter id instead of an increasing integer.

Bug Fix

  • Fix the state availability check in RPCs when the full history states are available.
  • Fix a possible panic in PoS peer connection.
  • Fix an issue in the sigma protocol.
  • Fix a rare unexpected push delay in pubsub RPCs.
  • Fix the wrong unlock time setting for CIP99.
  • Fix the epoch_height error when cfx_call is called on an old history state.

Conflux v2.2.0-testnet

28 Oct 05:35
Compare
Choose a tag to compare
Pre-release

This release includes an incompatible fix. All nodes should be upgraded before the epoch number reaches 125360000.

Bug Fixes

  • Fix a rare unexpected push delay in pubsub RPCs.
  • Fix a possible panic in PoS peer connecting.
  • Fix the state availability check in RPCs when the full history states are available.