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

chore: update default docker image for osmosis to be latest, update docs #523

Merged
merged 4 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/pages/config/chains.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Here is how one can set the docker image of the default values
chains:
- id: osmosis-1
name: osmosis
image: ghcr.io/cosmology-tech/starship/osmosis:v15.0.0
image: ghcr.io/cosmology-tech/starship/osmosis:v25.0.0
coins: 100000000000000uosmo
...
```
Expand All @@ -44,7 +44,7 @@ trying setup a chain not supported in the `defaultChains`.
chains:
- id: osmosis-1
name: custom
image: ghcr.io/cosmology-tech/starship/osmosis:v15.1.2-wasmvm1.1.2
image: ghcr.io/cosmology-tech/starship/osmosis:v25.0.0
home: /root/.osmosisd
binary: osmosisd
prefix: osmo
Expand Down
2 changes: 1 addition & 1 deletion starship/charts/devnet/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Note: Order of `coins` matters, since we take the first one as part of gentx
defaultChains:
osmosis:
image: ghcr.io/cosmology-tech/starship/osmosis:v21.0.0
image: ghcr.io/cosmology-tech/starship/osmosis:v25.0.0
home: /root/.osmosisd
binary: osmosisd
prefix: osmo
Expand Down
3 changes: 2 additions & 1 deletion starship/charts/devnet/scripts/default/create-genesis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ NUM_RELAYERS="${NUM_RELAYERS:=0}"
# check if the binary has genesis subcommand or not, if not, set CHAIN_GENESIS_CMD to empty
CHAIN_GENESIS_CMD=$($CHAIN_BIN 2>&1 | grep -q "genesis-related subcommands" && echo "genesis" || echo "")

jq -r ".genesis[0].mnemonic" $KEYS_CONFIG | $CHAIN_BIN init $CHAIN_ID --chain-id $CHAIN_ID --recover
jq -r ".genesis[0].mnemonic" $KEYS_CONFIG | $CHAIN_BIN init $CHAIN_ID --chain-id test-1 --recover
sed -i -e "s/\"test-1\"/\"$CHAIN_ID\"/g" $CHAIN_DIR/config/genesis.json

# Add genesis keys to the keyring and self delegate initial coins
echo "Adding key...." $(jq -r ".genesis[0].name" $KEYS_CONFIG)
Expand Down
3 changes: 2 additions & 1 deletion starship/tests/e2e/configs/scripts/create-custom-genesis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ set -eu
# check if the binary has genesis subcommand or not, if not, set CHAIN_GENESIS_CMD to empty
CHAIN_GENESIS_CMD=$($CHAIN_BIN 2>&1 | grep -q "genesis-related subcommands" && echo "genesis" || echo "")

jq -r ".genesis[0].mnemonic" $KEYS_CONFIG | $CHAIN_BIN init $CHAIN_ID --chain-id $CHAIN_ID --recover
jq -r ".genesis[0].mnemonic" $KEYS_CONFIG | $CHAIN_BIN init $CHAIN_ID --chain-id test-1 --recover
sed -i -e "s/\"test-1\"/\"$CHAIN_ID\"/g" $CHAIN_DIR/config/genesis.json

# Add genesis keys to the keyring and self delegate initial coins
echo "Adding key...." $(jq -r ".genesis[0].name" $KEYS_CONFIG)
Expand Down
Loading