Skip to content

Commit

Permalink
Merge branch 'main' into CNS-891-same-provider-conflict-is-disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
shleikes committed Mar 31, 2024
2 parents 465f453 + bf25f7d commit 5177096
Show file tree
Hide file tree
Showing 39 changed files with 169 additions and 1,007,877 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:
inputs:
release_tag:
description: "The desired tag for the release (e.g. v1.1.0)."
required: true

permissions:
contents: read
Expand All @@ -21,6 +26,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.inputs.release_tag != '' && github.event.inputs.release_tag || github.ref_name }}

- name: Fetch all tags
run: |
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ ecosystem/lavajs/proto/cosmos
ecosystem/lavajs/proto/gogoproto
ecosystem/lavajs/proto/google
ecosystem/lavajs/proto/tendermint
ecosystem/lavajs/proto/cosmos_proto/LICENSE
ecosystem/lavajs/proto/cosmos_proto/README.md



testutil/e2e/sdk/tests/package-lock.json
testutil/e2e/sdk/tests/node_modules.json
Expand Down
18 changes: 9 additions & 9 deletions config/consumer_examples/full_consumer_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ endpoints:
- chain-id: BASET
api-interface: jsonrpc
network-address: 127.0.0.1:3353
- chain-id: COS3
- chain-id: OSMOSIS
api-interface: rest
network-address: 127.0.0.1:3354
- chain-id: COS3
- chain-id: OSMOSIS
api-interface: tendermintrpc
network-address: 127.0.0.1:3355
- chain-id: COS3
- chain-id: OSMOSIS
api-interface: grpc
network-address: 127.0.0.1:3356
- chain-id: COS4
- chain-id: OSMOSIST
api-interface: rest
network-address: 127.0.0.1:3357
- chain-id: COS4
- chain-id: OSMOSIST
api-interface: tendermintrpc
network-address: 127.0.0.1:3358
- chain-id: COS4
- chain-id: OSMOSIST
api-interface: grpc
network-address: 127.0.0.1:3359
- chain-id: LAV1
Expand All @@ -59,13 +59,13 @@ endpoints:
- chain-id: LAV1
api-interface: grpc
network-address: 127.0.0.1:3362
- chain-id: COS5
- chain-id: COSMOSHUB
api-interface: rest
network-address: 127.0.0.1:3363
- chain-id: COS5
- chain-id: COSMOSHUB
api-interface: tendermintrpc
network-address: 127.0.0.1:3364
- chain-id: COS5
- chain-id: COSMOSHUB
api-interface: grpc
network-address: 127.0.0.1:3365
- chain-id: JUN1
Expand Down
4 changes: 2 additions & 2 deletions config/consumer_examples/osmosis_example.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
endpoints:
- chain-id: COS3
- chain-id: OSMOSIS
api-interface: tendermintrpc
network-address: 127.0.0.1:3335
- chain-id: COS3
- chain-id: OSMOSIS
api-interface: rest
network-address: 127.0.0.1:3334
18 changes: 9 additions & 9 deletions config/provider_examples/all_endpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,37 +66,37 @@ endpoints:
node-urls:
- url: <enter-here>
- api-interface: rest
chain-id: COS3
chain-id: OSMOSIS
network-address:
address: "127.0.0.1:2221"
node-urls:
- url: <enter-here>
- api-interface: tendermintrpc
chain-id: COS3
chain-id: OSMOSIS
network-address:
address: "127.0.0.1:2221"
node-urls:
- url: <enter-here>
- api-interface: grpc
chain-id: COS3
chain-id: OSMOSIS
network-address:
address: "127.0.0.1:2221"
node-urls:
- url: <enter-here>
- api-interface: rest
chain-id: COS4
chain-id: OSMOSIST
network-address:
address: "127.0.0.1:2221"
node-urls:
- url: <enter-here>
- api-interface: tendermintrpc
chain-id: COS4
chain-id: OSMOSIST
network-address:
address: "127.0.0.1:2221"
node-urls:
- url: <enter-here>
- api-interface: grpc
chain-id: COS4
chain-id: OSMOSIST
network-address:
address: "127.0.0.1:2221"
node-urls:
Expand All @@ -120,19 +120,19 @@ endpoints:
node-urls:
- url: <enter-here>
- api-interface: rest
chain-id: COS5
chain-id: COSMOSHUB
network-address:
address: "127.0.0.1:2221"
node-urls:
- url: <enter-here>
- api-interface: tendermintrpc
chain-id: COS5
chain-id: COSMOSHUB
network-address:
address: "127.0.0.1:2221"
node-urls:
- url: <enter-here>
- api-interface: grpc
chain-id: COS5
chain-id: COSMOSHUB
network-address:
address: "127.0.0.1:2221"
node-urls:
Expand Down
4 changes: 2 additions & 2 deletions config/provider_examples/multichain_example_with_auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ endpoints:
key-pem: /home/user/key.pem
cert-pem: /home/user/cert.pem
- api-interface: grpc
chain-id: COS3
chain-id: OSMOSIS
network-address:
address: "127.0.0.1:2221"
node-urls:
Expand All @@ -44,7 +44,7 @@ endpoints:
# default tls cert
use-tls: true
- api-interface: grpc
chain-id: COS5
chain-id: COSMOSHUB
network-address:
address: "127.0.0.1:2221"
node-urls:
Expand Down
4 changes: 2 additions & 2 deletions config/rpcconsumer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ endpoints:
- chain-id: LAV1
api-interface: grpc
network-address: 127.0.0.1:3352
- chain-id: COS3
- chain-id: OSMOSIS
api-interface: tendermintrpc
network-address: 127.0.0.1:3335
- chain-id: COS3
- chain-id: OSMOSIS
api-interface: rest
network-address: 127.0.0.1:3334
- chain-id: ETH1
Expand Down
6 changes: 3 additions & 3 deletions cookbook/specs/spec_add_cosmoshub.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Adding new specification support for relaying cosmoshub data on Lava",
"specs": [
{
"index": "COS5",
"index": "COSMOSHUB",
"name": "cosmos hub mainnet",
"enabled": true,
"imports": [
Expand Down Expand Up @@ -150,11 +150,11 @@
]
},
{
"index": "COS5T",
"index": "COSMOSHUBT",
"name": "cosmos hub testnet",
"enabled": true,
"imports": [
"COS5"
"COSMOSHUB"
],
"reliability_threshold": 268435455,
"data_reliability_enabled": true,
Expand Down
6 changes: 3 additions & 3 deletions cookbook/specs/spec_add_osmosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Adding new specification support for relaying Osmosis data on Lava",
"specs": [
{
"index": "COS3",
"index": "OSMOSIS",
"name": "osmosis mainnet",
"enabled": true,
"imports": [
Expand Down Expand Up @@ -2689,11 +2689,11 @@
]
},
{
"index": "COS4",
"index": "OSMOSIST",
"name": "osmosis testnet",
"enabled": true,
"imports": [
"COS3"
"OSMOSIS"
],
"reliability_threshold": 268435455,
"data_reliability_enabled": true,
Expand Down
2 changes: 1 addition & 1 deletion ecosystem/lava-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ const cosmosHub = await LavaSDK.create({
privateKey: "<lava consumer private key>",

// chainID for Cosmos Hub
chainIds: "COS5",
chainIds: "COSMOSHUB",

// geolocation 1 for North america - geolocation 2 for Europe providers
// default value is 1
Expand Down
Loading

0 comments on commit 5177096

Please sign in to comment.