Releases: Conflux-Chain/conflux-rust
Releases · Conflux-Chain/conflux-rust
Conflux v2.2.3
Bug Fixes
- Fix an issue that makes peers disconnected periodically.
RPC Changes
- Add debug RPCs
cfx_getTransactionsByEpoch
andcfx_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
Bug Fixes
- Fix an issue that makes peers disconnected periodically.
RPC Changes
- Add debug RPCs
cfx_getTransactionsByEpoch
andcfx_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
Configuration Changes
- The original
tx_pool_min_tx_gas_price
is separated to two configurationstx_pool_min_native_tx_gas_price
andtx_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
, andcfx_epochReceipts
). Check #2615 for details. - Add
filter
RPCs forcfx
core space (includingcfx_newFilter
,cfx_newBlockFilter
,cfx_newPendingTransactionFilter
,cfx_getFilterChanges
,cfx_getFilterLogs
, andcfx_uninstallFilter
). - Add
pos_getAccountByPowAddress
to query the PoS account information in one RPC call. - Add two more pending reasons (
oldEpochHeight
andoutdatedStatus
) forfirstTxStatus
returned incfx_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
Configuration Changes
- The original
tx_pool_min_tx_gas_price
is separated to two configurationstx_pool_min_native_tx_gas_price
andtx_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
, andcfx_epochReceipts
). Check #2615 for details. - Add
filter
RPCs forcfx
core space (includingcfx_newFilter
,cfx_newBlockFilter
,cfx_newPendingTransactionFilter
,cfx_getFilterChanges
,cfx_getFilterLogs
, andcfx_uninstallFilter
). - Add
pos_getAccountByPowAddress
to query the PoS account information in one RPC call. - Add two more pending reasons (
oldEpochHeight
andoutdatedStatus
) forfirstTxStatus
returned incfx_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
Fix an issue that prevents the PoS voter nodes from restarting election.
Conflux v2.2.1
RPC Changes
- Fix
cfx_getDepositList
andcfx_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
andpubsub
RPCs that may return incorrect or duplicate log entries. - Fix an issue in eSpace
filter
andpubsub
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
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
andcfx_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
andpubsub
RPCs that may return incorrect or duplicate log entries. - Fix an issue in eSpace
filter
andpubsub
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
- Introduce a hard fork at height 101760000 to discard a long fork and fix the Testnet issue.
Conflux v2.2.0
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 setpoll_lifetime_in_seconds
in the configuration to enable these RPCs. - Support
finalized
block tag and compatibility support forsafe
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 whencfx_call
is called on an old history state.
Conflux v2.2.0-testnet
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.