snet-cli
snet-cli copied to clipboard
Issue on updating pricing of service-metadata
If the pricing details are already there in the metadata , and you try to run the command below , the new pricing changes are not reflected
snet service metadata-set-fixed-price default_group .002 --metadata-file service_metadata.json
Example JSON { "version": 1, "display_name": "local Free Call Test Service", "encoding": "proto", "service_type": "grpc", "model_ipfs_hash": "QmScMv9H2763p79PhRycPCX3yh4seXGnJUscFhS3Qv4Zzm", "mpe_address": "0x8fb1dc8df86b388c7e00689d1ecb533a160b4d0c", "groups": [ { "free_calls": 12, "free_call_signer_address": "0x7DF35C98f41F3Af0df1dc4c7F7D4C19a71Dd059F", "group_name": "default_group", "pricing": [ { "price_model": "fixed_price", "price_in_cogs": 1, "default": true } ], "endpoints": [ "localhost:8088" ], "group_id": "m5FKWq4hW0foGW5qSbzGSjgZRuKs7A1ZwbIrJ9e96rc=" } ], "assets": {}, "service_description": { "url": "https://github.com/singnet/example-service", "description": "Basic math functions to test the platform." } }