Skip to content

Commit

Permalink
update defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Oct 30, 2024
1 parent 611cbaf commit 8780325
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion starship/charts/devnet/scripts/default/update-genesis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ echo "Update max gas param"
jq -r '.consensus_params.block.max_gas |= "100000000000"' $CHAIN_DIR/config/genesis.json > /tmp/genesis.json; mv /tmp/genesis.json $CHAIN_DIR/config/genesis.json

echo "Update staking unbonding time and slashing jail time"
jq -r '.app_state.staking.params.unbonding_time |= "300s"' $CHAIN_DIR/config/genesis.json > /tmp/genesis.json; mv /tmp/genesis.json $CHAIN_DIR/config/genesis.json
jq -r '.app_state.staking.params.unbonding_time |= "800s"' $CHAIN_DIR/config/genesis.json > /tmp/genesis.json; mv /tmp/genesis.json $CHAIN_DIR/config/genesis.json
jq -r '.app_state.slashing.params.downtime_jail_duration |= "60s"' $CHAIN_DIR/config/genesis.json > /tmp/genesis.json; mv /tmp/genesis.json $CHAIN_DIR/config/genesis.json

# overrides for older sdk versions, before 0.47
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ data:
"gas-prices": "0.025{{ $fullchain.denom }}",
"min-gas-amount": 1,
"debug": true,
"timeout": "20s",
"timeout": "600s",
"output-format": "json",
"sign-mode": "direct"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ data:
max_tx_size = {{ $chainConfig.max_tx_size | default 2097152 }}
clock_drift = "{{ $chainConfig.clock_drift | default "5s" }}"
max_block_time = "{{ $chainConfig.max_block_time | default "30s" }}"
trusting_period = "{{ $chainConfig.trusting_period | default "75s" }}"
trusting_period = "{{ $chainConfig.trusting_period | default "600s" }}"
trust_threshold = { numerator = "{{ ($chainConfig.trust_threshold | default dict).numerator | default "2" }}", denominator = "{{ ($chainConfig.trust_threshold | default dict).denominator | default "3" }}" }
{{- if eq $fullchain.name "evmos" }}
address_type = { derivation = 'ethermint', proto_type = { pk_type = '/ethermint.crypto.v1.ethsecp256k1.PubKey' } }
Expand Down Expand Up @@ -253,7 +253,7 @@ data:
max_tx_size = {{ $chainConfig.max_tx_size | default 2097152 }}
clock_drift = "{{ $chainConfig.clock_drift | default "5s" }}"
max_block_time = "{{ $chainConfig.max_block_time | default "30s" }}"
trusting_period = "{{ $chainConfig.trusting_period | default "75s" }}"
trusting_period = "{{ $chainConfig.trusting_period | default "600s" }}"
trust_threshold = { numerator = "{{ ($chainConfig.trust_threshold | default dict).numerator | default "2" }}", denominator = "{{ ($chainConfig.trust_threshold | default dict).denominator | default "3" }}" }
{{- if eq $fullchain.name "evmos" }}
address_type = { derivation = 'ethermint', proto_type = { pk_type = '/ethermint.crypto.v1.ethsecp256k1.PubKey' } }
Expand Down
2 changes: 1 addition & 1 deletion starship/tests/e2e/configs/three-chain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ registry:
grpc: 9091

exposer:
image: anmol1696/exposer:20241029-46dcda9
image: anmol1696/exposer:20241029-611cbaf

0 comments on commit 8780325

Please sign in to comment.