Skip to content

Conflux v2.4.1-testnet

Pre-release
Pre-release
Compare
Choose a tag to compare
@peilun-conflux peilun-conflux released this 30 Oct 06:43
· 152 commits to master since this release

RPC Improvements

  • Implement debug_trace* RPCs for espace like geth.
  • Implement eth_getBlockReceipts.
  • Optimize core space debug and test namespace RPC methods.
  • Optimize eSpace main RPC method error message.
  • Make cfx_sendTransaction and cfx_signTransaction support 2930&1559 type transactions.
  • Make eth_call and eth_estimate support revert custom error.
  • Add espace fee history cache for the latest 1024 blocks to improve query performance.
  • Support both input and data for CallRequest.
  • Add reason for transaction pool replacement.

Note: The maximum gas value supported by the eth_estimateGas and eth_call RPC methods is set to 15 million by default. If the gas value exceeds this limit, an error will be returned. If a higher value is needed, it can be adjusted through the configuration option max_estimation_gas_limit. For example, it can be set to 30 million.

Storage Improvements

  • Optimize state and account checkpoints.
  • Rewrite state prefetcher.

Bug Fixes

  • Fix espace zero gas_price estimate error issue.
  • Change block gas_limit according CIP1559.
  • Fix eth_estimate not checking if balance is enough for gas-fee issue when passing max-fee-per-gas.

Code Improvements

  • Remove unnecessary unsafe codes.
  • Refactor codes for better maintainability.