Developers Forum for XinFin XDC Network

Cover image for XDC Network to Introduce EIP-1559 Support on Apothem Testnet.
XinFin XDC Network
XinFin XDC Network

Posted on

XDC Network to Introduce EIP-1559 Support on Apothem Testnet.

The XDC Network continues to evolve with its latest upgrade, bringing EIP-1559 support to the Apothem Testnet. Scheduled for Block Number 71,550,000, this major update is targeted for February 14, 2025.

EIP-1559 is a crucial Ethereum improvement proposal that introduces a base fee model for transactions, improving fee predictability and enhancing the network's overall efficiency. By integrating this feature into the XDPoS v2.5.0-beta1 update, the XDC Network is advancing towards a more seamless and optimized transaction experience.

The XDC team has announced the release of v2.5.0-beta1, introducing significant improvements and new features to the Apothem Testnet. This update focuses on performance optimization, the implementation of Ethereum Improvement Proposals (EIPs), enhancements to RPC and API functionalities, and critical security fixes.

Performance Improvements

Optimized VM Execution: The virtual machine (VM) execution has been refined by reducing allocations and eliminating redundant conversions, leading to faster processing times.
Efficient Jump Destination Analysis: Unnecessary map lookups during jump destination analysis have been removed, streamlining the execution process.
Refactored VM Context: The vm.Context has been restructured into BlockContext and TxContext, providing a clearer and more efficient framework.
Enhanced EVM Reusability: Improvements have been made to the Ethereum Virtual Machine (EVM) to enhance its reusability across different modules.

Implementation of Ethereum EIPs

This release integrates several Ethereum Improvement Proposals to enhance network functionality:
EIP-1559: Introduces a new fee market mechanism, aiming to stabilize transaction fees and improve user experience.
EIP-2565: Lowers the cost for modular exponentiation, making cryptographic operations more efficient.
EIP-3651: Implements a warm coinbase feature for gas optimization, reducing costs associated with coinbase address access.
EIP-1153: Introduces transient storage, allowing for temporary storage during transaction execution, which can optimize certain contract operations.

RPC and API Enhancements

RPC Gas Cap: A new rpc-gascap flag has been added, setting the RPC gas cap to 50 million, providing better control over gas usage in remote procedure calls.
New API Method: The xdpos_getBlockInfoByEpochNum API has been introduced, enabling users to retrieve block information based on epoch numbers.
Gas Price Calculation Fix: Issues with gas price calculations in empty blocks have been addressed, ensuring accurate fee assessments.
EstimateGas API Improvement: Enhancements have been made to the EstimateGas API for more precise gas estimations.
Trusted Peer Management: New RPC methods admin_addTrustedPeer and admin_removeTrustedPeer have been added, allowing for better peer management within the network.

Security and Bug Fixes

Log Retrieval Fix: Resolved issues with block hash retrieval in the eth_getLogs method, ensuring accurate log data.
Transaction Pool Optimization: Addressed high pending special transactions in the core transaction pool, improving transaction handling efficiency.
Code Quality Improvements: Fixed various static analysis warnings to enhance overall code quality and maintainability.
Memory Leak Resolution: Fixed a memory leak in the node.Node AccountsManager, ensuring more stable node operations.

Code Refactoring and Cleanup

-Removal of Redundant Elements: Unused functions, redundant conversions, and unnecessary package imports have been eliminated to streamline the codebase.

-Migration to Updated Libraries: Transitioned from the deprecated ioutil package to io and os packages, aligning with modern Go language practices.

This release marks a significant step forward for the XDPoSChain, enhancing performance, security, and functionality. Users and developers are encouraged to test these updates on the Apothem Testnet and provide feedback to the development team.

For a comprehensive overview and to access the release, visit the official GitHub page: XDPoSChain v2.5.0-beta1 Release

Discussion (0)