v2.8.2-testnet
Pre-releaseTestnet Only Version, don't deploy to mainnet environment
Release Notes
🚀 Highlights
4 Main Features enable after 83,600,000
- EIP 7702
- Reward Automation
- Dynamic Gas Limit Change
- Consensus Penalty V2
- Support Fast Sync (10x faster)
✨ New Features
JSON-RPC Enhancements
-
Added new RPC APIs:
XDPoS_getRewardByAccount- Epoch number support for
XDPoS_getMasternodesByNumber
-
Added support for:
finalizedblock tag- Decimal block numbers
- JWT authentication
- Custom AuthRPC endpoints
- Configurable HTTP/WebSocket request limits
- Configurable WebSocket message size
- Peer whitelist and blacklist
-
Improved tracing APIs with additional native tracers and debugging capabilities.
Blockchain & Consensus
- Upgraded Reward 2.0 implementation and reward parameter updates.
- Added consecutive penalty upgrades.
- Improved reward distribution logic and fixed several reward-related edge cases.
- Added support for recording total minted rewards on-chain.
- Introduced SyncInfo pool improvements.
⚡ Performance Improvements
-
Major optimizations to Trie storage and synchronization:
- Faster snapshot generation
- Read caching layer
- Reduced memory allocations
- Improved range proof generation
- Optimized iterator performance
- Faster trie commits
-
Improved state database performance and reduced memory usage.
-
Optimized blockchain import and downloader performance.
-
Improved RPC subscription and notification throughput.
-
Reduced test execution time across the project.
🛠 Stability & Bug Fixes
Networking
- Fixed downloader race conditions and synchronization issues.
- Improved peer state tracking.
- Fixed goroutine leaks across multiple components.
- Improved HTTP/WebSocket timeout handling.
RPC
- Fixed numerous JSON-RPC edge cases and compatibility issues.
- Improved error reporting.
- Enhanced websocket stability.
- Fixed batch request handling.
- Improved client shutdown synchronization.
Core
- Fixed transaction pool issues.
- Corrected genesis configuration problems.
- Fixed invalid Merkle root generation.
- Improved state management consistency.
- Fixed blockchain import edge cases.
Ethereum Compatibility
- Added EIP-1559 improvements.
- Added Cancun configuration support.
- Improved
ethclientcompatibility with upstream Ethereum APIs. - Improved tracing and filter compatibility.
🔒 Security
- Added JWT authentication support for authenticated RPC endpoints.
- Disabled deprecated and insecure APIs by default.
- Removed legacy
personalnamespace. - Removed deprecated
shhAPIs. - Added configurable request limits to mitigate abuse.
🧹 Maintenance
-
Updated cryptography libraries.
-
Updated bootnodes for Mainnet, Testnet, and Devnet.
-
Refactored numerous internal packages.
-
Removed deprecated components including:
- LES/light client support
- Faucet
- Legacy database components
- Ethash PoW remnants
-
Improved CLI usability and shell auto-completion.
-
Added
make quick-testand additional developer tooling. -
Updated CI/CD pipelines and deployment workflows.
📚 Documentation
-
Added documentation for:
- JSON-RPC APIs
XDCValidatorcontract
-
Improved developer documentation.
-
Updated outdated links and examples.
🔄 Upstream Synchronization
This release includes a substantial upstream merge from the Ethereum codebase, bringing improvements across:
- RPC
- Trie
- State database
- Downloader
- Tracing
- EthClient
- Accounts & ABI
- Cryptography
- Node networking
- Performance optimizations
- Code quality and linting
📈 Overall
This release focuses on:
- Improved node stability
- Better RPC compatibility
- Faster synchronization
- Lower memory usage
- Enhanced tracing and debugging
- Improved validator reward handling
- Better security defaults
- Modernized developer tooling
- Ongoing alignment with upstream Ethereum improvements