RPC Improvements
- Implement
debug_trace*
RPCs for espace likegeth
. - Implement
eth_getBlockReceipts
. - Optimize core space debug and test namespace RPC methods.
- Optimize eSpace main RPC method error message.
- Make
cfx_sendTransaction
andcfx_signTransaction
support 2930&1559 type transactions. - Make
eth_call
andeth_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 g
as_limit
according CIP1559. - Fix
eth_estimate
not checking if balance is enough for gas-fee issue when passingmax-fee-per-gas
.
Code Improvements
- Remove unnecessary unsafe codes.
- Refactor codes for better maintainability.