github Conflux-Chain/conflux-rust v2.4.1
Conflux v2.4.1

11 hours ago

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.
  • Update core space RPC block.gasUsed behavior to express more info.
  • Unset zero gas when calling espace estimate and call.

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.

Don't miss a new conflux-rust release

NewReleases is sending notifications on new releases.