Skip to content

Start local env even if ops-api.json config is missing #557

Description

@dzikowski

Generate ops-api.json config if the file is missing in cli up command: https://github.com/GalaChain/sdk/blob/main/chain-cli/src/commands/network-up/index.ts#L106

Probably the best way is to create and import a relevant function from chaincode root directory (-d), or call <chaincode>/lib/cli.js get-contract-names, as in https://github.com/GalaChain/sdk/blob/main/chain-cli/src/galachain-utils.ts#L147

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions