mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-11 21:04:11 +00:00
Comment on hex string conversion from array types.
This commit is contained in:
parent
85c065529e
commit
47f81df3d4
@ -10,6 +10,17 @@
|
|||||||
## This module implements the Ethereum hexadecimal string formats for JSON
|
## This module implements the Ethereum hexadecimal string formats for JSON
|
||||||
## See: https://github.com/ethereum/wiki/wiki/JSON-RPC#hex-value-encoding
|
## See: https://github.com/ethereum/wiki/wiki/JSON-RPC#hex-value-encoding
|
||||||
|
|
||||||
|
#[
|
||||||
|
Note:
|
||||||
|
The following types are converted to hex strings when marshalled to JSON:
|
||||||
|
* EthAddress
|
||||||
|
* ref EthAddress
|
||||||
|
* Hash256
|
||||||
|
* UInt256
|
||||||
|
* openArray[seq]
|
||||||
|
* ref BloomFilter
|
||||||
|
]#
|
||||||
|
|
||||||
import eth_common/eth_types, stint, byteutils, nimcrypto
|
import eth_common/eth_types, stint, byteutils, nimcrypto
|
||||||
|
|
||||||
type
|
type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user