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

chart: update faucet setup #609

Merged
merged 2 commits into from
Jan 30, 2025
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
2 changes: 1 addition & 1 deletion starship/charts/devnet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 6 additions & 0 deletions starship/charts/devnet/scripts/default/update-genesis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ function gov_overrides_sdk_v47() {
jq -r '.app_state.gov.params.veto_threshold |= "0.000000000000000000"' $CHAIN_DIR/config/genesis.json > /tmp/genesis.json; mv /tmp/genesis.json $CHAIN_DIR/config/genesis.json
}

if [ "$(jq -r '.app_state.feemarket.params' $CHAIN_DIR/config/genesis.json)" == "null" ]; then
jq -r '.app_state.feemarket.params.min_base_gas_price |= "0"' $CHAIN_DIR/config/genesis.json > /tmp/genesis.json; mv /tmp/genesis.json $CHAIN_DIR/config/genesis.json
jq -r '.app_state.feemarket.params.beta |= "0"' $CHAIN_DIR/config/genesis.json > /tmp/genesis.json; mv /tmp/genesis.json $CHAIN_DIR/config/genesis.json
jq -r '.app_state.feemarket.state.base_gas_price |= "0"' $CHAIN_DIR/config/genesis.json > /tmp/genesis.json; mv /tmp/genesis.json $CHAIN_DIR/config/genesis.json
fi

if [ "$(jq -r '.app_state.gov.params' $CHAIN_DIR/config/genesis.json)" == "null" ]; then
gov_overrides_sdk_v46
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ spec:
- name: FAUCET_MEMO
value: "faucet txn"
- name: FAUCET_GAS_PRICE
value: "0.025{{ $chain.denom }}"
value: "1.25{{ $chain.denom }}"
- name: FAUCET_GAS_LIMIT
value: "2000000"
- name: FAUCET_ADDRESS_PREFIX
Expand Down
46 changes: 46 additions & 0 deletions starship/tests/e2e/configs/two-chain-cosmos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: starship-e2e-tests
version: 1.0.0

chains:
- id: osmosis-1
name: osmosis
numValidators: 2
ports:
rest: 1313
rpc: 26653
exposer: 38083
faucet: 8001
- id: cosmoshub-4
name: cosmoshub
numValidators: 2
ports:
rest: 1317
rpc: 26657
exposer: 38087
faucet: 8007

relayers:
- name: osmos-cosmos
type: hermes
replicas: 1
chains:
- osmosis-1
- cosmoshub-4
config:
global:
log_level: "error"
rest:
enabled: true
telemetry:
enabled: false
event_source:
mode: pull
ports:
rest: 3000
exposer: 3002

registry:
enabled: true
ports:
rest: 8081
grpc: 9091
Loading