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…
Reference in New Issue