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

Issue on updating pricing of service-metadata #379

Open
anandrgitnirman opened this issue Dec 20, 2019 · 1 comment
Open

Issue on updating pricing of service-metadata #379

anandrgitnirman opened this issue Dec 20, 2019 · 1 comment
Assignees

Comments

@anandrgitnirman
Copy link
Contributor

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

@anandrgitnirman
Copy link
Contributor Author

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."
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants