Skip to content

Commit de89f01

Browse files
authored
prepare v15.0.0 release (#1200)
* prepare v15.0.0 release * update init defaults
1 parent d69fb6b commit de89f01

File tree

8 files changed

+24
-21
lines changed

8 files changed

+24
-21
lines changed

.drone.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ steps:
7777
password:
7878
from_secret: docker_password
7979
tags:
80-
- 15.0.0-alpha.6
80+
- 15.0.0-alpha.8
8181
when:
8282
event:
8383
- push
8484
branch:
85-
- jhernandezb/ci-starlark
85+
- jhernandezb/prepare-main
8686
- main
8787
- name: docker_release
8888
image: plugins/docker
@@ -315,7 +315,7 @@ steps:
315315
environment:
316316
GOPROXY: http://goproxy
317317
- name: stargaze
318-
image: publicawesome/stargaze:14.0.0-rc.2
318+
image: publicawesome/stargaze:14.0.0
319319
commands:
320320
- ./scripts/ci/upgrade/setup-preinstalled-stargaze.sh
321321
environment:
@@ -348,12 +348,12 @@ steps:
348348
commands:
349349
- /bin/bash ./scripts/ci/transfer-relayer-v1.7.sh
350350
- name: proposal
351-
image: publicawesome/stargaze:14.0.0-rc.2
351+
image: publicawesome/stargaze:14.0.0
352352
commands:
353353
- ./scripts/ci/upgrade/proposal.sh
354354
- name: stargaze-upgraded
355355
pull: always
356-
image: publicawesome/stargaze:15.0.0-alpha.6
356+
image: publicawesome/stargaze:15.0.0-alpha.8
357357
commands:
358358
- ./scripts/ci/upgrade/run-upgrade.sh
359359
environment:
@@ -372,7 +372,7 @@ steps:
372372
- http://icad:26657
373373
- name: check-params
374374
pull: always
375-
image: publicawesome/stargaze:15.0.0-alpha.6
375+
image: publicawesome/stargaze:15.0.0-alpha.8
376376
commands:
377377
- starsd q mint params --node http://stargaze-upgraded:26657
378378
- starsd q alloc params --node http://stargaze-upgraded:26657
@@ -411,7 +411,7 @@ steps:
411411
trigger:
412412
branch:
413413
- main
414-
- jhernandezb/ci-starlark
414+
- jhernandezb/prepare-main
415415
event:
416416
- pull_request
417417
- push
@@ -424,6 +424,6 @@ volumes:
424424

425425
---
426426
kind: signature
427-
hmac: b4fff1025b0382cb7da82819a4193894007fe959061dbfe709ab9e142b4933da
427+
hmac: 1fa82bda77a029c13e98d30cc649d792cca23ee1eeb77f7297722b087330db85
428428

429429
...

app/params/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func DefaultConfig() (string, interface{}) {
2424

2525
wasmConfig.SimulationGasLimit = &simulationLimit
2626
wasmConfig.SmartQueryGasLimit = 25_000_000
27-
wasmConfig.MemoryCacheSize = 512
27+
wasmConfig.MemoryCacheSize = 1024
2828
wasmConfig.ContractDebugMode = false
2929

3030
customConfig := CustomAppConfig{

cmd/starsd/cmd/init.go

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"fmt"
77
"os"
88
"path/filepath"
9+
"time"
910

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

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

182+
config.Consensus.TimeoutCommit = 2750 * time.Millisecond
183+
config.Consensus.TimeoutPropose = 1750 * time.Millisecond
181184
cfg.WriteConfigFile(filepath.Join(config.RootDir, "config", "config.toml"), config)
182185
return displayInfo(toPrint)
183186
},

cmd/starsd/cmd/settings.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ type PreferredSetting struct {
1818
var preferredSettings = []PreferredSetting{
1919
{
2020
ViperKey: "consensus.timeout_commit",
21-
Value: "3s",
21+
Value: "2750ms",
2222
Set: func(serverCtx *server.Context, key, value string) error {
2323
serverCtx.Viper.Set(key, value)
24-
serverCtx.Config.Consensus.TimeoutCommit = 3 * time.Second
24+
serverCtx.Config.Consensus.TimeoutCommit = 2750 * time.Millisecond
2525
return nil
2626
},
2727
},
2828
{
2929
ViperKey: "consensus.timeout_propose",
30-
Value: "2s",
30+
Value: "1750ms",
3131
Set: func(serverCtx *server.Context, key, value string) error {
3232
serverCtx.Viper.Set(key, value)
33-
serverCtx.Config.Consensus.TimeoutPropose = 2 * time.Second
33+
serverCtx.Config.Consensus.TimeoutPropose = 1750 * time.Millisecond
3434
return nil
3535
},
3636
},

scripts/ci/upgrade/config.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ gas_price = { price = 1, denom = 'ustars' }
105105
gas_adjustment = 0.1
106106
max_msg_num = 30
107107
max_tx_size = 2097152
108-
clock_drift = '900s'
108+
clock_drift = '1200s'
109109
trusting_period = '2days'
110110
trust_threshold = { numerator = '1', denominator = '3' }
111111
address_type = { derivation = 'cosmos' }
@@ -125,7 +125,7 @@ gas_price = { price = 0.025, denom = 'stake' }
125125
gas_adjustment = 0.1
126126
max_msg_num = 30
127127
max_tx_size = 2097152
128-
clock_drift = '900s'
128+
clock_drift = '1200s'
129129
trusting_period = '2days'
130130
trust_threshold = { numerator = '1', denominator = '3' }
131131
address_type = { derivation = 'cosmos' }
@@ -145,7 +145,7 @@ gas_price = { price = 0.025, denom = 'uosmo' }
145145
gas_adjustment = 0.1
146146
max_msg_num = 30
147147
max_tx_size = 2097152
148-
clock_drift = '900s'
148+
clock_drift = '7200s'
149149
trusting_period = '2days'
150150
trust_threshold = { numerator = '1', denominator = '3' }
151151
address_type = { derivation = 'cosmos' }
@@ -165,7 +165,7 @@ gas_price = { price = 0.025, denom = 'stake' }
165165
gas_adjustment = 0.1
166166
max_msg_num = 30
167167
max_tx_size = 2097152
168-
clock_drift = '900s'
168+
clock_drift = '7200s'
169169
trusting_period = '2days'
170170
trust_threshold = { numerator = '1', denominator = '3' }
171171
address_type = { derivation = 'cosmos' }

scripts/ci/upgrade/proposal.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ starsd q distribution community-pool --node http://stargaze:26657
2121
HEIGHT=$(starsd status --node http://stargaze:26657 --home $STARGAZE_HOME | jq .SyncInfo.latest_block_height -r)
2222

2323
echo "current height $HEIGHT"
24-
HEIGHT=$(expr $HEIGHT + 450)
24+
HEIGHT=$(expr $HEIGHT + 700)
2525
echo "submit with height $HEIGHT"
2626
cat <<EOT >> proposal.json
2727
{

scripts/ci/upgrade/run-upgrade.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ sed -i 's/localhost:9090/0.0.0.0:9090/g' $STARGAZE_HOME/config/app.toml
1313
sed -i 's/localhost:1317/0.0.0.0:1317/g' $STARGAZE_HOME/config/app.toml
1414
cat $STARGAZE_HOME/config/app.toml | grep -A 10 grpc
1515
cat $STARGAZE_HOME/config/app.toml | grep -A 10 api
16-
starsd start --pruning nothing --home $STARGAZE_HOME --grpc.address 0.0.0.0:9090 --rpc.laddr tcp://0.0.0.0:26657
16+
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

scripts/ci/upgrade/v1.7/config.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ gas_multiplier = 1.1
5656
max_msg_num = 30
5757
max_tx_size = 180000
5858
max_grpc_decoding_size = 33554432
59-
clock_drift = "900s"
60-
max_block_time = "5s"
59+
clock_drift = "7200s"
60+
max_block_time = "2s"
6161
ccv_consumer_chain = false
6262
memo_prefix = ""
6363
sequential_batch_tx = false

0 commit comments

Comments
 (0)