Skip to content

Commit

Permalink
prepare v15.0.0 release (#1200)
Browse files Browse the repository at this point in the history
* prepare v15.0.0 release

* update init defaults
  • Loading branch information
jhernandezb authored Jan 31, 2025
1 parent d69fb6b commit de89f01
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 21 deletions.
16 changes: 8 additions & 8 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ steps:
password:
from_secret: docker_password
tags:
- 15.0.0-alpha.6
- 15.0.0-alpha.8
when:
event:
- push
branch:
- jhernandezb/ci-starlark
- jhernandezb/prepare-main
- main
- name: docker_release
image: plugins/docker
Expand Down Expand Up @@ -315,7 +315,7 @@ steps:
environment:
GOPROXY: http://goproxy
- name: stargaze
image: publicawesome/stargaze:14.0.0-rc.2
image: publicawesome/stargaze:14.0.0
commands:
- ./scripts/ci/upgrade/setup-preinstalled-stargaze.sh
environment:
Expand Down Expand Up @@ -348,12 +348,12 @@ steps:
commands:
- /bin/bash ./scripts/ci/transfer-relayer-v1.7.sh
- name: proposal
image: publicawesome/stargaze:14.0.0-rc.2
image: publicawesome/stargaze:14.0.0
commands:
- ./scripts/ci/upgrade/proposal.sh
- name: stargaze-upgraded
pull: always
image: publicawesome/stargaze:15.0.0-alpha.6
image: publicawesome/stargaze:15.0.0-alpha.8
commands:
- ./scripts/ci/upgrade/run-upgrade.sh
environment:
Expand All @@ -372,7 +372,7 @@ steps:
- http://icad:26657
- name: check-params
pull: always
image: publicawesome/stargaze:15.0.0-alpha.6
image: publicawesome/stargaze:15.0.0-alpha.8
commands:
- starsd q mint params --node http://stargaze-upgraded:26657
- starsd q alloc params --node http://stargaze-upgraded:26657
Expand Down Expand Up @@ -411,7 +411,7 @@ steps:
trigger:
branch:
- main
- jhernandezb/ci-starlark
- jhernandezb/prepare-main
event:
- pull_request
- push
Expand All @@ -424,6 +424,6 @@ volumes:

---
kind: signature
hmac: b4fff1025b0382cb7da82819a4193894007fe959061dbfe709ab9e142b4933da
hmac: 1fa82bda77a029c13e98d30cc649d792cca23ee1eeb77f7297722b087330db85

...
2 changes: 1 addition & 1 deletion app/params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func DefaultConfig() (string, interface{}) {

wasmConfig.SimulationGasLimit = &simulationLimit
wasmConfig.SmartQueryGasLimit = 25_000_000
wasmConfig.MemoryCacheSize = 512
wasmConfig.MemoryCacheSize = 1024
wasmConfig.ContractDebugMode = false

customConfig := CustomAppConfig{
Expand Down
3 changes: 3 additions & 0 deletions cmd/starsd/cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"fmt"
"os"
"path/filepath"
"time"

"cosmossdk.io/math/unsafe"
cfg "github.com/cometbft/cometbft/config"
Expand Down Expand Up @@ -178,6 +179,8 @@ func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command {

toPrint := newPrintInfo(config.Moniker, chainID, nodeID, "", appState)

config.Consensus.TimeoutCommit = 2750 * time.Millisecond
config.Consensus.TimeoutPropose = 1750 * time.Millisecond
cfg.WriteConfigFile(filepath.Join(config.RootDir, "config", "config.toml"), config)
return displayInfo(toPrint)
},
Expand Down
8 changes: 4 additions & 4 deletions cmd/starsd/cmd/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ type PreferredSetting struct {
var preferredSettings = []PreferredSetting{
{
ViperKey: "consensus.timeout_commit",
Value: "3s",
Value: "2750ms",
Set: func(serverCtx *server.Context, key, value string) error {
serverCtx.Viper.Set(key, value)
serverCtx.Config.Consensus.TimeoutCommit = 3 * time.Second
serverCtx.Config.Consensus.TimeoutCommit = 2750 * time.Millisecond
return nil
},
},
{
ViperKey: "consensus.timeout_propose",
Value: "2s",
Value: "1750ms",
Set: func(serverCtx *server.Context, key, value string) error {
serverCtx.Viper.Set(key, value)
serverCtx.Config.Consensus.TimeoutPropose = 2 * time.Second
serverCtx.Config.Consensus.TimeoutPropose = 1750 * time.Millisecond
return nil
},
},
Expand Down
8 changes: 4 additions & 4 deletions scripts/ci/upgrade/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ gas_price = { price = 1, denom = 'ustars' }
gas_adjustment = 0.1
max_msg_num = 30
max_tx_size = 2097152
clock_drift = '900s'
clock_drift = '1200s'
trusting_period = '2days'
trust_threshold = { numerator = '1', denominator = '3' }
address_type = { derivation = 'cosmos' }
Expand All @@ -125,7 +125,7 @@ gas_price = { price = 0.025, denom = 'stake' }
gas_adjustment = 0.1
max_msg_num = 30
max_tx_size = 2097152
clock_drift = '900s'
clock_drift = '1200s'
trusting_period = '2days'
trust_threshold = { numerator = '1', denominator = '3' }
address_type = { derivation = 'cosmos' }
Expand All @@ -145,7 +145,7 @@ gas_price = { price = 0.025, denom = 'uosmo' }
gas_adjustment = 0.1
max_msg_num = 30
max_tx_size = 2097152
clock_drift = '900s'
clock_drift = '7200s'
trusting_period = '2days'
trust_threshold = { numerator = '1', denominator = '3' }
address_type = { derivation = 'cosmos' }
Expand All @@ -165,7 +165,7 @@ gas_price = { price = 0.025, denom = 'stake' }
gas_adjustment = 0.1
max_msg_num = 30
max_tx_size = 2097152
clock_drift = '900s'
clock_drift = '7200s'
trusting_period = '2days'
trust_threshold = { numerator = '1', denominator = '3' }
address_type = { derivation = 'cosmos' }
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/upgrade/proposal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ starsd q distribution community-pool --node http://stargaze:26657
HEIGHT=$(starsd status --node http://stargaze:26657 --home $STARGAZE_HOME | jq .SyncInfo.latest_block_height -r)

echo "current height $HEIGHT"
HEIGHT=$(expr $HEIGHT + 450)
HEIGHT=$(expr $HEIGHT + 700)
echo "submit with height $HEIGHT"
cat <<EOT >> proposal.json
{
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/upgrade/run-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ sed -i 's/localhost:9090/0.0.0.0:9090/g' $STARGAZE_HOME/config/app.toml
sed -i 's/localhost:1317/0.0.0.0:1317/g' $STARGAZE_HOME/config/app.toml
cat $STARGAZE_HOME/config/app.toml | grep -A 10 grpc
cat $STARGAZE_HOME/config/app.toml | grep -A 10 api
starsd start --pruning nothing --home $STARGAZE_HOME --grpc.address 0.0.0.0:9090 --rpc.laddr tcp://0.0.0.0:26657
starsd start --pruning nothing --home $STARGAZE_HOME --grpc.address 0.0.0.0:9090 --rpc.laddr tcp://0.0.0.0:26657 --skip-preferred-settings
4 changes: 2 additions & 2 deletions scripts/ci/upgrade/v1.7/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ gas_multiplier = 1.1
max_msg_num = 30
max_tx_size = 180000
max_grpc_decoding_size = 33554432
clock_drift = "900s"
max_block_time = "5s"
clock_drift = "7200s"
max_block_time = "2s"
ccv_consumer_chain = false
memo_prefix = ""
sequential_batch_tx = false
Expand Down

0 comments on commit de89f01

Please sign in to comment.