mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 14:26:26 +00:00
bump NimYAML for Nim-1.4 compatibility
This commit is contained in:
parent
45087f36bd
commit
22620afa8f
@ -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)
|
||||
|
||||
|
@ -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
2
vendor/NimYAML
vendored
@ -1 +1 @@
|
||||
Subproject commit 3983a1bf48682156cb105ab124c7bbdd86fa4557
|
||||
Subproject commit fcae534148da4271af04ff7a98eb065c246ffbc1
|
Loading…
x
Reference in New Issue
Block a user