Skip to content

Commit

Permalink
chore: update examples to v2 (#450)
Browse files Browse the repository at this point in the history
* update package.json

* set cli version to 2.0.0

* update examples to v2
  • Loading branch information
Anmol1696 committed May 24, 2024
1 parent b0093a8 commit 0e18757
Show file tree
Hide file tree
Showing 22 changed files with 63 additions and 61 deletions.
2 changes: 1 addition & 1 deletion examples/cosmos-simapp-multi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FILE = configs/local.yaml

HELM_REPO = starship
HELM_CHART = devnet
HELM_VERSION = v0.1.36
HELM_VERSION = v0.2.1

###############################################################################
### All commands ###
Expand Down
4 changes: 2 additions & 2 deletions examples/cosmos-simapp-multi/configs/devnet-20.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
chains:
- name: simapp
type: simapp
- id: simapp
name: simapp
image: ghcr.io/cosmology-tech/starship/simapp:v0.47.3
numValidators: 20
ports:
Expand Down
4 changes: 2 additions & 2 deletions examples/cosmos-simapp-multi/configs/devnet-30.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
chains:
- name: simapp
type: simapp
- id: simapp
name: simapp
image: ghcr.io/cosmology-tech/starship/simapp:v0.47.3
numValidators: 30
ports:
Expand Down
4 changes: 2 additions & 2 deletions examples/cosmos-simapp-multi/configs/local-custom.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
chains:
- name: simapp
type: custom
- id: simapp
name: custom
image: ghcr.io/cosmology-tech/starship/simapp:v0.47.3
numValidators: 2
home: /root/.simapp
Expand Down
4 changes: 2 additions & 2 deletions examples/cosmos-simapp-multi/configs/local.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
chains:
- name: simapp
type: simapp
- id: simapp
name: simapp
image: ghcr.io/cosmos/simapp:latest
numValidators: 2
ports:
Expand Down
2 changes: 1 addition & 1 deletion examples/getting-started/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ TINY_FILE = configs/tiny-starship.yaml

HELM_REPO = starship
HELM_CHART = devnet
HELM_VERSION = v0.1.46
HELM_VERSION = v0.2.1

###############################################################################
### All commands ###
Expand Down
2 changes: 2 additions & 0 deletions examples/getting-started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ make setup-deps
Additionally, you would also need `docker` to be running on your machine as well.

## Spin up a cluster (if you don't have one already)
Recommend to use Docker Desktop for Mac/Windows or Minikube for Linux.

Optional step to setup a cluster with kind, if you already have a cluster running, you can skip this step.
```bash
make setup-kind
Expand Down
8 changes: 4 additions & 4 deletions examples/getting-started/configs/starship.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
chains:
- name: osmosis-1
type: osmosis
- id: osmosis-1
name: osmosis
numValidators: 1
ports:
rest: 1313
rpc: 26653
- name: gaia-1
type: cosmos
- id: gaia-1
name: cosmoshub
numValidators: 1
ports:
rest: 1317
Expand Down
8 changes: 4 additions & 4 deletions examples/getting-started/configs/tiny-starship.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
chains:
- name: osmosis-1
type: osmosis
- id: osmosis-1
name: osmosis
numValidators: 1
ports:
rest: 1313
rpc: 26653
resources:
cpu: "0.3"
memory: "300M"
- name: gaia-1
type: cosmos
- id: gaia-1
name: cosmoshub
numValidators: 1
ports:
rest: 1317
Expand Down
2 changes: 1 addition & 1 deletion examples/injective/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FILE = configs/local.yaml

HELM_REPO = starship
HELM_CHART = devnet
HELM_VERSION = v0.1.47
HELM_VERSION = v0.2.1

###############################################################################
### Helm Charts ###
Expand Down
8 changes: 4 additions & 4 deletions examples/injective/configs/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
chains:
- name: injective-1
type: injective
- id: injective-1
name: injective
numValidators: 1
resources:
cpu: "0.2"
Expand All @@ -16,8 +16,8 @@ chains:
rpc: 26653
exposer: 38083
faucet: 8003
- name: cosmoshub-4
type: cosmos
- id: cosmoshub-4
name: cosmoshub
numValidators: 1
resources:
cpu: "0.2"
Expand Down
8 changes: 4 additions & 4 deletions examples/injective/configs/devnet.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
chains:
- name: injective-1
type: injective
- id: injective-1
name: injective
numValidators: 4
faucet:
type: starship
Expand All @@ -9,8 +9,8 @@ chains:
rpc: 26653
exposer: 38083
faucet: 8003
- name: cosmoshub-4
type: cosmos
- id: cosmoshub-4
name: cosmoshub
numValidators: 4
ports:
rest: 1317
Expand Down
8 changes: 4 additions & 4 deletions examples/injective/configs/local.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
chains:
- name: injective-1
type: injective
- id: injective-1
name: injective
numValidators: 2
faucet:
type: starship
Expand All @@ -9,8 +9,8 @@ chains:
rpc: 26653
exposer: 38083
faucet: 8003
- name: cosmoshub-4
type: cosmos
- id: cosmoshub-4
name: cosmoshub
numValidators: 1
ports:
rest: 1317
Expand Down
8 changes: 4 additions & 4 deletions examples/mesh-security/custom-values.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Example values.yaml file will will create 2 chains with 4 validators,
# a ts-relayer between them and the explorer
chains:
- name: osmosis-1
type: osmosis
- id: osmosis-1
name: osmosis
numValidators: 4
ports:
rest: 1313
rpc: 26653
- name: wasmd
type: wasmd
- id: wasmd
name: wasmd
numValidators: 4
ports:
rpc: 26659
Expand Down
8 changes: 4 additions & 4 deletions examples/mesh-security/local-values.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
chains:
- name: osmosis-1
type: osmosis
- id: osmosis-1
name: osmosis
numValidators: 1
ports:
rest: 1313
rpc: 26653
- name: wasmd
type: wasmd
- id: wasmd
name: wasmd
numValidators: 1
ports:
rpc: 26659
Expand Down
2 changes: 1 addition & 1 deletion examples/multi-chain/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FILE = configs/starship.yaml

HELM_REPO = starship
HELM_CHART = devnet
HELM_VERSION = v0.1.47-rc0
HELM_VERSION = v0.2.1

###############################################################################
### All commands ###
Expand Down
12 changes: 6 additions & 6 deletions examples/multi-chain/configs/osmo-juno-cosmos.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Example values.yaml file will create 2 chains with 4 validators,
# a ts-relayer between them and the explorer
chains:
- name: osmosis-1
type: osmosis
- id: osmosis-1
name: osmosis
numValidators: 1
ports:
rest: 1313
rpc: 26653
- name: juno-1
type: juno
- id: juno-1
name: juno
numValidators: 1
ports:
rest: 1315
rpc: 26655
- name: cosmoshub-1
type: cosmos
- id: cosmoshub-1
name: cosmoshub
numValidators: 1
ports:
rest: 1317
Expand Down
4 changes: 2 additions & 2 deletions examples/multi-chain/configs/terra.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
chains:
- name: terra-1
type: custom
- id: terra-1
name: custom
numValidators: 2
image: ghcr.io/cfkelly18/starship-terra:latest
home: /root/.terra
Expand Down
2 changes: 1 addition & 1 deletion examples/neutron/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FILE = configs/local.yaml

HELM_REPO = starship
HELM_CHART = devnet
HELM_VERSION = v0.1.47
HELM_VERSION = v0.2.1

###############################################################################
### Helm Charts ###
Expand Down
8 changes: 4 additions & 4 deletions examples/neutron/configs/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
chains:
- name: neutron-1
type: neutron
- id: neutron-1
name: neutron
numValidators: 1
faucet:
enabled: false
Expand All @@ -13,8 +13,8 @@ chains:
resources:
cpu: "0.2"
memory: "200M"
- name: cosmoshub-4
type: cosmos
- id: cosmoshub-4
name: cosmoshub
numValidators: 1
faucet:
type: cosmjs
Expand Down
8 changes: 4 additions & 4 deletions examples/neutron/configs/devnet.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
chains:
- name: neutron-1
type: neutron
- id: neutron-1
name: neutron
numValidators: 1
faucet:
enabled: false
ports:
rest: 1313
rpc: 26653
exposer: 38083
- name: cosmoshub-4
type: cosmos
- id: cosmoshub-4
name: cosmoshub
numValidators: 4
ports:
rest: 1317
Expand Down
8 changes: 4 additions & 4 deletions examples/neutron/configs/local.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
chains:
- name: neutron-1
type: neutron
- id: neutron-1
name: neutron
numValidators: 1
faucet:
enabled: false
Expand All @@ -10,8 +10,8 @@ chains:
rest: 1313
rpc: 26653
exposer: 38083
- name: cosmoshub-4
type: cosmos
- id: cosmoshub-4
name: cosmoshub
numValidators: 1
ports:
rest: 1317
Expand Down

0 comments on commit 0e18757

Please sign in to comment.