Loop Improvement Proposals:
LIP-195 (Replay Protection): Introduces replay protection for transactions, ensuring that transactions from one chain cannot be executed on another chain.
LIP-198 (State Clearing): Introduces state clearing for unused accounts, reducing the database size and improving performance.
LIP-241 (Code Size Limit): Adds a limit on the size of smart contract code to reduce potential gas costs and improve overall performance.
RPC API Improvements
loop_sign (Breaking Change): This method now prepends a known string to the input and hashes the message server-side for added security.
new methods:personal_sign and personal_recover: Enable signing and recovery of messages with added functionalities.
loop_getRawTransaction: Returns the RLP (Recursive Length Prefix) encoding of a transaction for improved raw data handling.
debug_traceTransaction: This feature allows you to filter the EVM (Loop Virtual Machine) using an arbitrary JavaScript map/reduce function server-side, providing advanced debugging capabilities.
Changes to Response Fields:Transaction responses now include v, r, and s values for better signature handling.
Receipt responses now include a root field prefixed with 0x.
new functionality:personal_importRawKey: Import an unencrypted private key via RPC for easier key management.
Infrastructure Overhaul
Build Infrastructure:Leth’s packages are now built across Travis, AppVeyor, and CircleCI for continuous integration and deployment.
Database Upgrade
The blockchain database structure has been upgraded.
Important Note: If you plan to revert to an earlier 1.9.x version, make sure to back up the chaindata directory. Once upgraded to 2.4, you cannot directly downgrade without a resync.
Other Notable Changes
Improved Performance: The fork and state clearing optimizations improve the efficiency of the Loop network.
Enhanced Debugging: The new debugging tools and methods offer more control over transaction analysis and validation.
Better Transaction Data: Detailed transaction response fields improve transparency in transaction validation and signature handling.