Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Jul 24, 2024

Commits on May 1, 2024

  1. fix(substrate/chain-spec): ChainSpecBuilder with object as default ge…

    …nesis
    
    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.
    saiintbrisson committed May 1, 2024
    Configuration menu
    Copy the full SHA
    697c3d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    41a5a19 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Configuration menu
    Copy the full SHA
    0bf9635 View commit details
    Browse the repository at this point in the history