Skip to content

Commit

Permalink
Merge branch 'main' into CNS-784-project-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
oren-lava committed Jan 2, 2024
2 parents c41d5cb + 0228c06 commit 641c907
Show file tree
Hide file tree
Showing 51 changed files with 2,039 additions and 161 deletions.
6 changes: 6 additions & 0 deletions config/consumer_examples/full_consumer_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,10 @@ endpoints:
- chain-id: NEAR
api-interface: jsonrpc
network-address: 127.0.0.1:3385
- chain-id: AGR
api-interface: rest
network-address: 127.0.0.1:3386
- chain-id: AGR
api-interface: grpc
network-address: 127.0.0.1:3387
metrics-listen-address: ":7779"
67 changes: 26 additions & 41 deletions cookbook/plans/test_plans/temporary-add.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,30 @@
{
"proposal": {
"title": "Add temporary to-delete plan proposal",
"description": "A proposal of a temporary to-delete plan",
"plans": [
{
"index": "to_delete_plan",
"description": "This plan has no restrictions",
"type": "rpc",
"price": {
"denom": "ulava",
"amount": "100000"
},
"annual_discount_percentage": 20,
"allow_overuse": true,
"overuse_rate": 2,
"plan_policy": {
"chain_policies": [
{
"chain_id": "LAV1",
"apis": [
]
},
{
"chain_id": "ETH1",
"apis": [
"eth_blockNumber",
"eth_accounts"
]
}
],
"geolocation_profile": "AU",
"total_cu_limit": 1000000,
"epoch_cu_limit": 100000,
"max_providers_to_pair": 3,
"selected_providers_mode": "MIXED",
"selected_providers": [
"lava@1wvn4slrf2r7cm92fnqdhvl3x470944uev92squ"
]
}
}
]
"title": "to_delete_plan",
"description": "to_delete_plan",
"plans": [
{
"index": "to_delete_plan",
"description": "to_delete_plan",
"type": "rpc",
"price": {
"denom": "ulava",
"amount": "10000"
},
"annual_discount_percentage": 20,
"allow_overuse": false,
"overuse_rate": 0,
"plan_policy": {
"chain_policies": [],
"geolocation_profile": "GL",
"total_cu_limit": 100000,
"epoch_cu_limit": 50,
"max_providers_to_pair": 5,
"selected_providers_mode": "ALLOWED",
"selected_providers": []
}
}
]
},
"deposit": "10000000ulava"
}
}
Loading

0 comments on commit 641c907

Please sign in to comment.