Skip to content
Snippets Groups Projects
  • Iulian Barbu's avatar
    templates: add genesis config presets for minimal/solochain (#5868) · f8807d1e
    Iulian Barbu authored
    # Description
    
    Closes [#5790](https://github.com/paritytech/polkadot-sdk/issues/5790).
    Useful for starting nodes based on minimal/solochain when doing
    development or for testing omni node with less happy code paths. It is
    reusing the presets defined for the nodes chain specs.
    
    ## Integration
    
    Specifically useful for development/testing if generating chain-specs
    for `minimal` or `solochain` runtimes from `templates` directories.
    
    ## Review Notes
    
    Added `genesis_config_presets` modules for both minimal/solochain. I
    reused the presets defined in each node `chain_spec` module
    correspondingly.
    
    ### PRDOC
    
    Not sure who uses templates, maybe node devs and runtime devs at start
    of their learning journey, but happy to get some guidance on how to
    write the prdoc if needed.
    
    ### Thinking out loud
    
    I saw concerns around sharing functionality for such genesis config
    presets between the template chains. I think there might be a case for
    doing that, on ...
    Unverified
    f8807d1e
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
chain_spec.rs 925 B