In Planck (v1.2.2) we added an eth-compatible CLI flag http.ethcompatible
, which allows users to get an eth-compatible json(block) via the rpc/ws.
New Features
- Added an eth-compatible CLI flag
http.ethcompatible
,when it is enabled,getBlock
via rpc and ws will adapt 3 follow fields to Ethereum:- nonce: returns the first 8 bytes
- timestamp: return in seconds
- sha3Uncles: returns a default value (zeroHash)
Statement
This version is a minor version upgrade. Each node can choose to upgrade according to its own situation. If you have any question or feedback.