Skip to content

Commit

Permalink
Merge branch 'main' into PRT-adding-errored-and-blocked-providers-to-…
Browse files Browse the repository at this point in the history
…headers
  • Loading branch information
ranlavanet committed Jun 3, 2024
2 parents 1a6fae8 + 740e647 commit b1b2275
Show file tree
Hide file tree
Showing 92 changed files with 1,094 additions and 1,305 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lava.yml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ jobs:

build_docker:
permissions:
contents: read
contents: write
packages: write
needs: [test-consensus, test-protocol]
runs-on: ubuntu-latest
Expand Down Expand Up @@ -412,6 +412,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push
uses: docker/build-push-action@v5
continue-on-error: true
with:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.inputs.release_tag != '' && github.event.inputs.release_tag || github.ref_name }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down
296 changes: 296 additions & 0 deletions cookbook/plans/gateway-full.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,296 @@
{
"proposal": {
"title": "Add plan proposal: Gateway",
"description": "A proposal for a new plan for a lava gateway",
"plans": [
{
"index": "gateway",
"description": "Plan for the Lava gateway",
"type": "rpc",
"price": {
"denom": "ulava",
"amount": "1000000000"
},
"allowed_buyers": [
"lava@1x07x0krj7h00jejrcp35kvlc8tpa44dza76dw8"
],
"annual_discount_percentage": 0,
"allow_overuse": false,
"overuse_rate": 0,
"projects": 50,
"plan_policy": {
"geolocation_profile": "GL",
"total_cu_limit": 9223372036854775807,
"epoch_cu_limit": 9223372036854775807,
"max_providers_to_pair": 24,
"selected_providers": [],
"selected_providers_mode": "ALLOWED",
"chain_policies": [
{
"apis": [],
"chain_id": "NEAR",
"requirements": [
{
"collection": {
"add_on": "",
"api_interface": "jsonrpc",
"internal_path": "",
"type": "POST"
},
"extensions": [
"archive"
],
"mixed": true
}
]
},
{
"apis": [],
"chain_id": "STRK",
"requirements": [
{
"collection": {
"add_on": "trace",
"api_interface": "jsonrpc",
"internal_path": "",
"type": "POST"
},
"extensions": [],
"mixed": true
}
]
},
{
"apis": [],
"chain_id": "ETH1",
"requirements": [
{
"collection": {
"add_on": "",
"api_interface": "jsonrpc",
"internal_path": "",
"type": "POST"
},
"extensions": [
"archive"
],
"mixed": true
}
]
},
{
"apis": [],
"chain_id": "EVMOS",
"requirements": [
{
"collection": {
"add_on": "",
"api_interface": "jsonrpc",
"internal_path": "",
"type": "POST"
},
"extensions": [
"archive"
],
"mixed": true
},
{
"collection": {
"add_on": "",
"api_interface": "rest",
"internal_path": "",
"type": "GET"
},
"extensions": [
"archive"
],
"mixed": true
},
{
"collection": {
"add_on": "",
"api_interface": "grpc",
"internal_path": "",
"type": ""
},
"extensions": [
"archive"
],
"mixed": true
},
{
"collection": {
"add_on": "",
"api_interface": "tendermintrpc",
"internal_path": "",
"type": ""
},
"extensions": [
"archive"
],
"mixed": true
}
]
},
{
"apis": [],
"chain_id": "AXELAR",
"requirements": [
{
"collection": {
"add_on": "",
"api_interface": "rest",
"internal_path": "",
"type": "GET"
},
"extensions": [
"archive"
],
"mixed": true
},
{
"collection": {
"add_on": "",
"api_interface": "tendermintrpc",
"internal_path": "",
"type": ""
},
"extensions": [
"archive"
],
"mixed": true
},
{
"collection": {
"add_on": "",
"api_interface": "grpc",
"internal_path": "",
"type": ""
},
"extensions": [
"archive"
],
"mixed": true
}
]
},
{
"apis": [],
"chain_id": "OSMOSIS",
"requirements": [
{
"collection": {
"add_on": "",
"api_interface": "rest",
"internal_path": "",
"type": "GET"
},
"extensions": [
"archive"
],
"mixed": true
},
{
"collection": {
"add_on": "",
"api_interface": "tendermintrpc",
"internal_path": "",
"type": ""
},
"extensions": [
"archive"
],
"mixed": true
},
{
"collection": {
"add_on": "",
"api_interface": "grpc",
"internal_path": "",
"type": ""
},
"extensions": [
"archive"
],
"mixed": true
}
]
},
{
"apis": [],
"chain_id": "COSMOSHUB",
"requirements": [
{
"collection": {
"add_on": "",
"api_interface": "rest",
"internal_path": "",
"type": "GET"
},
"extensions": [
"archive"
],
"mixed": true
},
{
"collection": {
"add_on": "",
"api_interface": "tendermintrpc",
"internal_path": "",
"type": ""
},
"extensions": [
"archive"
],
"mixed": true
},
{
"collection": {
"add_on": "",
"api_interface": "grpc",
"internal_path": "",
"type": ""
},
"extensions": [
"archive"
],
"mixed": true
}
]
},
{
"apis": [],
"chain_id": "SQDSUBGRAPH",
"requirements": [
{
"collection": {
"api_interface": "rest",
"internal_path": "",
"type": "POST",
"add_on": "compound-v3"
},
"mixed": true
},
{
"collection": {
"api_interface": "rest",
"internal_path": "",
"type": "POST",
"add_on": "aave-v3"
},
"mixed": true
}
]
},
{
"apis": [],
"chain_id": "*",
"requirements": []
}
]
}
}
]
},
"deposit": "10000000ulava"
}
Loading

0 comments on commit b1b2275

Please sign in to comment.