RPC Deprecation Announcement
- Starting from v2.0.3,
cfx_getLogsandeth_getLogswill no longer support the parameterslimitandoffset. They are not efficient and can be replaced by setting the block/epoch range instead. - Starting from v2.0.3,
cfx_clientVersionwill have include more information likeweb3_clientVersionin eSpace. - Starting from v2.0.3,
fromEpochwill default to "latest_state" incfx_getLogs. - Starting from v2.0.3,
fromBlockwill default to "latest" ineth_getLogs.
Improvements
RPC Improvements
- Improve the performance of
eth_getLogs. - Add a new RPC
eth_getAccountPendingTransactionsto get pending transactions by address, also return the first pending transaction's pending reason. - Support WebSockets for eth APIs.
- Support block hash param for
eth_call(EIP1898). cfx_call,cfx_estimateGasAndCollateral,eth_call, andeth_estimatewill respectfrom's balance if passed, if balance is not enough will return error. If from is not passed then use a random one, which's balance will be very big.
Transaction Pool Improvements
- Set the minimum gas price to 1 GDrip by default for packing transaction
Storage Improvement
- Improve the snapshot copy-on-write merging performance on XFS file systems.
Bug Fixes
- Fix trace validity for transactions reverted in the top checkpoint.
- Fix phantom trace length mismatch issue with failed transactions.
- Fix a possible underflow crash in
eth_estimateGas.