again exported the right overloads for serializing hashes properly to json (and not as byte arrays) and updating nim-eth

This commit is contained in:
Viktor Kirilov 2020-04-23 18:35:42 +03:00 committed by zah
parent 4c66999a43
commit 0079242457
2 changed files with 4 additions and 3 deletions

View File

@ -25,10 +25,11 @@ import
chronicles,
nimcrypto/[sha2, hash],
stew/byteutils,
hashes
hashes,
eth/common/eth_types_json_serialization
export
hash.`$`, sha2
hash.`$`, sha2, readValue, writeValue
type
Eth2Digest* = MDigest[32 * 8] ## `hash32` from spec

2
vendor/nim-eth vendored

@ -1 +1 @@
Subproject commit 5bb6ee64512cd8db1c52d10145e548860aa938e7
Subproject commit 28e684ce808aa81903ec57d4afa4e7ba34036796