mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 06:46:10 +00:00
exported the right overloads for serializing hashes properly to json (and not as byte arrays)
This commit is contained in:
parent
f3d0ae35f6
commit
1575ded589
@ -25,10 +25,11 @@ import
|
||||
chronicles,
|
||||
nimcrypto/[sha2, hash],
|
||||
stew/byteutils,
|
||||
hashes
|
||||
hashes,
|
||||
eth/common/eth_types_json_serialization
|
||||
|
||||
export
|
||||
hash.`$`, sha2
|
||||
hash.`$`, sha2, writeValue, readValue
|
||||
|
||||
type
|
||||
Eth2Digest* = MDigest[32 * 8] ## `hash32` from spec
|
||||
|
Loading…
x
Reference in New Issue
Block a user