Skip to content

metadata-init silently does nothing when --group-name parameter it is omitted #343

Open
@vsbogd

Description

Expected behavior: snet-cli fails when --group-name is omitted in metadata-init command.
Actual behavior: snet-cli creates service_metadata.json without payment address:

$ snet service metadata-init service_spec example-executable-service --endpoints http://54.203.198.53:7018 --fixed-price 0 --service-type process --encoding json
$ cat service_metadata.json 
{
    "version": 1,
    "display_name": "example-executable-service",
    "encoding": "json",
    "service_type": "process",
    "model_ipfs_hash": "QmfBoP9CJX59nTZzSg6mJHztqMBMZ8BVRTNZYyV7JhP7tv",
    "mpe_address": "0x5E3b04DbA48B775fCAE65D738b7a75589A42FD3a",
    "groups": [],
    "assets": {}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions