bump NimYAML for Nim-1.4 compatibility

This commit is contained in:
Ștefan Talpalaru 2020-11-24 19:07:58 +01:00 committed by zah
parent 45087f36bd
commit 22620afa8f
3 changed files with 3 additions and 9 deletions

View File

@ -31,7 +31,7 @@ type
# so we **must** use "root" as a field name
root: string
# Some have a signing_root field
signing_root: string
signing_root {.defaultVal: "".}: string
# https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/specs/phase0/validator.md#eth1block
Eth1Block* = object
@ -40,9 +40,6 @@ type
deposit_count*: uint64
# All other eth1 block fields
# Make signing root optional
setDefaultValue(SSZHashTreeRoot, signing_root, "")
# Note this only tracks HashTreeRoot
# Checking the values against the yaml file is TODO (require more flexible Yaml parser)

View File

@ -31,10 +31,7 @@ type
# so we **must** use "root" as a field name
root: string
# Containers have a root (thankfully) and signing_root field
signing_root: string
# Make signing root optional
setDefaultValue(SSZHashTreeRoot, signing_root, "")
signing_root {.defaultVal: "".}: string
type
# Heterogeneous containers

2
vendor/NimYAML vendored

@ -1 +1 @@
Subproject commit 3983a1bf48682156cb105ab124c7bbdd86fa4557
Subproject commit fcae534148da4271af04ff7a98eb065c246ffbc1