Skip to content
Unverified Commit b9aa8ab6 authored by Luiz Carvalho's avatar Luiz Carvalho Committed by GitHub
Browse files

fix(chain-spec): ChainSpecBuilder with object as default genesis (#4345)



The current `json_patch::merge` function will replace the default
configuration with the builder action if the action is not a JSON
Object, which means, if not configured, the current code will try to use
`Value::Null` as the config, which (almost?) always fails, making it
mandatory to configure `with_genesis_config...`.

This change uses a JSON Object as the default values, which means the
code will continue using the default config if none is given.

Co-authored-by: default avatarBastian Köcher <[email protected]>
parent 76a6d478
Pipeline #486165 waiting for manual action with stages
in 16 minutes and 35 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment