RPC Deprecation Announcement
- Starting from v2.0.3,
cfx_getLogs
andeth_getLogs
will no longer support the parameterslimit
andoffset
. They are not efficient and can be replaced by setting the block/epoch range instead. - Starting from v2.0.3,
cfx_clientVersion
will have include more information likeweb3_clientVersion
in eSpace. - Starting from v2.0.3,
fromEpoch
will default to "latest_state" incfx_getLogs
. - Starting from v2.0.3,
fromBlock
will default to "latest" ineth_getLogs
.
Bug Fix
- Fix some issues that cause
cfx_estimateGasAndCollateral
andcfx_call
to hang. - Fix incorrect estimations from
cfx_estimateGasAndCollateral
. - Fix the issues that the node enters
NormalPhase
too soon and gets stuck on snapshot state download. - PoS nodes will not elect before entering the normal phase to avoid being
force_retired
.
Improvement
- If
cfx_call
,cfx_estimateGasAndCollateral
raise error, and theerror.data
is string, it will directly return instead of being hex encoded. cfx_sendRawTransaction
will reject transaction if sender's balance is not enough.- More snapshot copy-on-write merging performance optimization on XFS file systems.