Releases: Conflux-Chain/conflux-rust
Releases · Conflux-Chain/conflux-rust
Conflux v2.4.1
RPC Improvements
- Implement
debug_trace*
RPCs for espace likegeth
. - Implement
eth_getBlockReceipts
. - Optimize core space debug and test namespace RPC methods.
- Optimize eSpace main RPC method error message.
- Make
cfx_sendTransaction
andcfx_signTransaction
support 2930&1559 type transactions. - Make
eth_call
andeth_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 g
as_limit
according CIP1559. - Fix
eth_estimate
not checking if balance is enough for gas-fee issue when passingmax-fee-per-gas
.
Code Improvements
- Remove unnecessary unsafe codes.
- Refactor codes for better maintainability.
Conflux v2.4.1-2-testnet
- 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
RPC Improvements
- Implement
debug_trace*
RPCs for espace likegeth
. - Implement
eth_getBlockReceipts
. - Optimize core space debug and test namespace RPC methods.
- Optimize eSpace main RPC method error message.
- Make
cfx_sendTransaction
andcfx_signTransaction
support 2930&1559 type transactions. - Make
eth_call
andeth_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 g
as_limit
according CIP1559. - Fix
eth_estimate
not checking if balance is enough for gas-fee issue when passingmax-fee-per-gas
.
Code Improvements
- Remove unnecessary unsafe codes.
- Refactor codes for better maintainability.
Conflux v2.4.0
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
- CIP-130 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-130.md): This CIP proposes aligning gas limit with transaction size.
- CIP-131 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-131.md): This CIP proposes to remove the “clear contract whitelist on contract deletion” feature.
- CIP-132 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-132.md): This CIP proposes to fix a specific bug related to static context checks.
- CIP-133 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-133.md): This CIP proposes to improve the block hash query, in Ethereum Virtual Machine (EVM).
- CIP-136 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-136.md): This CIP proposes to increase the PoS lock/unlock/retire periods back to the values before CIP113.
- CIP-137 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-137.md): This CIP proposes adjusting how transaction fees are distributed under the Conflux CIP-1559 update, aiming to share a portion of the base fee with miners.
- CIP-141 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-141.md): This CIP proposes to disable subroutine opcodes.
- CIP-142 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-142.md): This CIP proposes to introduce the transient storage opcodes.
- CIP-143 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-143.md): This CIP proposes to introduce the MCOPY (0x5e) instruction for efficient memory copy.
- CIP-144 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-144.md): This CIP proposes to introduce the KZG point evaluation precompiled contract.
- CIP-145 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-145.md): This CIP proposes to fix receipts upon NotEnoughBalance error.
- CIP-1559 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-1559.md): This CIP proposes to introduce Ethereum’s EIP-1559 fee structure to Conflux while accounting for the unique aspects of the Conflux network.
RPC Improvement
- Implement Geth style trace RPC for eSpace, including
debug_traceTransaction
,debug_traceBlockByHash
, anddebug_traceBlockByNumber
. Docs about tracer is indocs/transaction-tracer
. - Support EIP1559-type eSpace transactions.
- Implement EIP1559 related RPCs
eth_feeHistory
andeth_maxPriorityFeePerGas
. - Support CIP1559-type native transactions.
- Implement CIP1559 related RPCs
cfx_maxPriorityFeePerGas
,cfx_feeHistory
, andcfx_getFeeBurnt
.
Bug Fix
- Fix a packing pool bug when all the transactions have the same price.
Conflux v2.4.0-testnet-fix3
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
- Fix a failing debug assert.
Conflux v2.4.0-testnet-fix
- Fix PoS hardfork parameters.
Conflux v2.4.0-testnet
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
- CIP-130 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-130.md): This CIP proposes aligning gas limit with transaction size.
- CIP-131 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-131.md): This CIP proposes to remove the “clear contract whitelist on contract deletion” feature.
- CIP-132 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-132.md): This CIP proposes to fix a specific bug related to static context checks.
- CIP-133 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-133.md): This CIP proposes to improve the block hash query, in Ethereum Virtual Machine (EVM).
- CIP-136 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-136.md): This CIP proposes to increase the PoS lock/unlock/retire periods back to the values before CIP113.
- CIP-137 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-137.md): This CIP proposes adjusting how transaction fees are distributed under the Conflux CIP-1559 update, aiming to share a portion of the base fee with miners.
- CIP-141 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-141.md): This CIP proposes to disable subroutine opcodes.
- CIP-142 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-142.md): This CIP proposes to introduce the transient storage opcodes.
- CIP-143 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-143.md): This CIP proposes to introduce the MCOPY (0x5e) instruction for efficient memory copy.
- CIP-144 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-144.md): This CIP proposes to introduce the KZG point evaluation precompiled contract.
- CIP-145 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-145.md): This CIP proposes to fix receipts upon NotEnoughBalance error.
- CIP-1559 (https://github.com/Conflux-Chain/CIPs/blob/master/CIPs/cip-1559.md): This CIP proposes to introduce Ethereum’s EIP-1559 fee structure to Conflux while accounting for the unique aspects of the Conflux network.
RPC Improvement
- Implement Geth style trace RPC for eSpace, including
debug_traceTransaction
,debug_traceBlockByHash
, anddebug_traceBlockByNumber
. Docs about tracer is indocs/transaction-tracer
. - Support EIP1559-type eSpace transactions.
- Implement EIP1559 related RPCs
eth_feeHistory
andeth_maxPriorityFeePerGas
. - Support CIP1559-type native transactions.
- Implement CIP1559 related RPCs
cfx_maxPriorityFeePerGas
,cfx_feeHistory
, andcfx_getFeeBurnt
.
Bug Fix
- Fix a packing pool bug when all the transactions have the same price.
Conflux v2.3.5
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
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.