Conflux v2.4.0
peilun-conflux
released this
28 Jun 08:04
·
272 commits
to v2.0-stable
since this release
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.