Skip to content

Releases: Conflux-Chain/conflux-rust

Conflux v2.4.1

25 Nov 08:33
Compare
Choose a tag to compare

RPC Improvements

  • Implement debug_trace* RPCs for espace like geth.
  • Implement eth_getBlockReceipts.
  • Optimize core space debug and test namespace RPC methods.
  • Optimize eSpace main RPC method error message.
  • Make cfx_sendTransaction and cfx_signTransaction support 2930&1559 type transactions.
  • Make eth_call and eth_estimate support revert custom error.
  • Add espace fee history cache for the latest 1024 blocks to improve query performance.
  • Support both input and data for CallRequest.
  • Add reason for transaction pool replacement.
  • Update core space RPC block.gasUsed behavior to express more info.
  • Unset zero gas when calling espace estimate and call.

Note: The maximum gas value supported by the eth_estimateGas and eth_call RPC methods is set to 15 million by default. If the gas value exceeds this limit, an error will be returned. If a higher value is needed, it can be adjusted through the configuration option max_estimation_gas_limit. For example, it can be set to 30 million.

Storage Improvements

  • Optimize state and account checkpoints.
  • Rewrite state prefetcher.

Bug Fixes

  • Fix espace zero gas_price estimate error issue.
  • Change block gas_limit according CIP1559.
  • Fix eth_estimate not checking if balance is enough for gas-fee issue when passing max-fee-per-gas.

Code Improvements

  • Remove unnecessary unsafe codes.
  • Refactor codes for better maintainability.

Conflux v2.4.1-2-testnet

21 Nov 02:53
Compare
Choose a tag to compare
Pre-release
  • Update core space RPC block.gasUsed behavior to express more info.
  • Unset zero gas when calling espace estimate and call.

Conflux v2.4.1-testnet

30 Oct 06:43
Compare
Choose a tag to compare
Pre-release

RPC Improvements

  • Implement debug_trace* RPCs for espace like geth.
  • Implement eth_getBlockReceipts.
  • Optimize core space debug and test namespace RPC methods.
  • Optimize eSpace main RPC method error message.
  • Make cfx_sendTransaction and cfx_signTransaction support 2930&1559 type transactions.
  • Make eth_call and eth_estimate support revert custom error.
  • Add espace fee history cache for the latest 1024 blocks to improve query performance.
  • Support both input and data for CallRequest.
  • Add reason for transaction pool replacement.

Note: The maximum gas value supported by the eth_estimateGas and eth_call RPC methods is set to 15 million by default. If the gas value exceeds this limit, an error will be returned. If a higher value is needed, it can be adjusted through the configuration option max_estimation_gas_limit. For example, it can be set to 30 million.

Storage Improvements

  • Optimize state and account checkpoints.
  • Rewrite state prefetcher.

Bug Fixes

  • Fix espace zero gas_price estimate error issue.
  • Change block gas_limit according CIP1559.
  • Fix eth_estimate not checking if balance is enough for gas-fee issue when passing max-fee-per-gas.

Code Improvements

  • Remove unnecessary unsafe codes.
  • Refactor codes for better maintainability.

Conflux v2.4.0

28 Jun 08:04
205095d
Compare
Choose a tag to compare

This release introduces a new hardfork. All nodes should be upgraded before the epoch number reaches 101900000 (estimated on Aug 6). CIPs will be enabled when the block number reaches 247480000 (estimated on Aug 13), and CIP-136 will be enabled when the PoS block number reaches 1684080 (estimated on Aug 13).

Incompatible Changes

RPC Improvement

  • Implement Geth style trace RPC for eSpace, including debug_traceTransaction, debug_traceBlockByHash, and debug_traceBlockByNumber. Docs about tracer is in docs/transaction-tracer.
  • Support EIP1559-type eSpace transactions.
  • Implement EIP1559 related RPCs eth_feeHistory and eth_maxPriorityFeePerGas.
  • Support CIP1559-type native transactions.
  • Implement CIP1559 related RPCs cfx_maxPriorityFeePerGas, cfx_feeHistory, and cfx_getFeeBurnt.

Bug Fix

  • Fix a packing pool bug when all the transactions have the same price.

Conflux v2.4.0-testnet-fix3

27 Jun 08:03
Compare
Choose a tag to compare
Pre-release

This should be updated before the PoS block number reaches 1733760 (Jul 4).

  • Set the locking and unlocking time corectly back to 13 days and 1 day respectively.

Conflux v2.4.0-testnet-fix2

15 Jun 19:41
Compare
Choose a tag to compare
Pre-release
  • Fix a failing debug assert.

Conflux v2.4.0-testnet-fix

14 Jun 09:01
Compare
Choose a tag to compare
Pre-release
  • Fix PoS hardfork parameters.

Conflux v2.4.0-testnet

11 Jun 03:15
Compare
Choose a tag to compare
Pre-release

This release introduces a new hardfork. All nodes should be upgraded before the epoch number reaches 175600000 (estimated on June 13). CIPs will be enabled when the block number reaches 226570000 (estimated on June 14), and CIP-136 will be enabled when the PoS block number reaches 1685544 (estimated on June 14).

Incompatible Changes

RPC Improvement

  • Implement Geth style trace RPC for eSpace, including debug_traceTransaction, debug_traceBlockByHash, and debug_traceBlockByNumber. Docs about tracer is in docs/transaction-tracer.
  • Support EIP1559-type eSpace transactions.
  • Implement EIP1559 related RPCs eth_feeHistory and eth_maxPriorityFeePerGas.
  • Support CIP1559-type native transactions.
  • Implement CIP1559 related RPCs cfx_maxPriorityFeePerGas, cfx_feeHistory, and cfx_getFeeBurnt.

Bug Fix

  • Fix a packing pool bug when all the transactions have the same price.

Conflux v2.3.5

22 Apr 06:25
f61ffeb
Compare
Choose a tag to compare

Bug Fix

  • Fix some compatibility issues that block archive nodes from syncing.
  • Fix a transaction pool underflow/overflow.
  • Fix an issue that Sqlite may use too much system temp directory space.
  • Fix a packing pool bug when all the transactions have the same price.
  • Fix a corner case where CIP-107 assertation fails.

Improvement

  • Make reboot faster if use_isolated_db_for_mpt_table is enabled.
  • Enable keep_era_genesis_snapshot by default to provide one more snapshots for sync.
  • Refactor EVM code to prepare for the following hardforks.

Conflux v2.3.5-testnet

11 Mar 03:30
Compare
Choose a tag to compare
Pre-release

Bug Fix

  • Fix some compatibility issues that block archive nodes from syncing.
  • Fix a transaction pool underflow/overflow.
  • Fix an issue that Sqlite may use too much system temp directory space.

Improvement

  • Make reboot faster if use_isolated_db_for_mpt_table is enabled.
  • Enable keep_era_genesis_snapshot by default to provide one more snapshots for sync.