Conflux (CFX) Network has released its latest upgrade, version 2.4.1, which is aimed at enhancing the user and developer experience through a series of technical improvements and bug fixes. According to the Conflux Forum, this upgrade introduces several key enhancements in RPC methods, storage, and code maintenance.
RPC Improvements
The latest update introduces significant improvements to Remote Procedure Call (RPC) functionalities. These include the implementation of debug_trace RPCs for eSpace, akin to Ethereum’s geth, and eth_getBlockReceipts. The core space debug and test namespace RPC methods have been optimized alongside enhancements to the eSpace main RPC method error messaging. Additionally, the update supports 2930 and 1559 type transactions for cfx_sendTransaction and cfx_signTransaction, and introduces support for revert custom error in eth_call and eth_estimate.
Furthermore, a new fee history cache for the latest 1024 blocks has been added to improve query performance, and both input and data are now supported for CallRequest. The update also includes a reason for transaction pool replacement, and updates to the core space RPC block.gasUsed behavior for more comprehensive information. When calling eSpace estimate and call, zero gas will not be set.
Storage and Bug Fixes
On the storage front, the upgrade optimizes state and account checkpoints and rewrites the state prefetcher. Several bug fixes have been implemented, including resolving the eSpace zero gas_price estimate error and adjusting the block gas_limit in accordance with CIP1559. An issue where eth_estimate failed to check if the balance was sufficient for gas fees when max-fee-per-gas was passed has also been addressed.
Code Maintenance and Recommendations
Code improvements in this release include the removal of unnecessary unsafe codes and refactoring for better maintainability. Node operators and miners are advised to suspend their current node operations, replace the existing executable file with the new Conflux v2.4.1 node program, and restart their nodes to ensure stability and improved performance.
The Conflux team strongly recommends upgrading to the new version to benefit from enhanced node stability and performance. The community and developers have been acknowledged for their continuous support and contributions to the ecosystem.
Image source: Shutterstock