Skip to content

Commit

Permalink
prepare v10 (#820)
Browse files Browse the repository at this point in the history
* add address to migration

* disable depguard

* check params step
  • Loading branch information
jhernandezb authored Jun 5, 2023
1 parent 87065a0 commit 13ae55f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
15 changes: 11 additions & 4 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:
- v10.0.0.alpha-5
- v10.0.0.alpha-6
when:
event:
- push
branch:
- jhernandezb/re-emit-events
- prepare-v10
- name: docker_release
image: plugins/docker
settings:
Expand Down Expand Up @@ -350,7 +350,7 @@ steps:
- ./scripts/ci/upgrade/proposal.sh
- name: stargaze-upgraded
pull: always
image: publicawesome/stargaze:v10.0.0.alpha-5
image: publicawesome/stargaze:v10.0.0.alpha-6
commands:
- ./scripts/ci/upgrade/run-upgrade.sh
environment:
Expand All @@ -367,6 +367,13 @@ steps:
- http://gaia:26657
- http://osmosis:26657
- http://icad:26657
- name: check-params
pull: always
image: publicawesome/stargaze:v10.0.0.alpha-6
commands:
- starsd q globalfee params --node http://stargaze-upgraded:26657
environment:
GOPROXY: http://goproxy
- name: relayer-upgrade-start
image: publicawesome/hermes:0.15.0
commands:
Expand Down Expand Up @@ -404,6 +411,6 @@ volumes:

---
kind: signature
hmac: f4bb73711532f592bfff5447458ce85e214c16443dda7abadb3c9e4dab0d8dc3
hmac: b0053e4058901416d03e4be79865bfeb530092fb7f3d5b6599d911ac8b1a3869

...
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ linters:
disable-all: true
enable:
- bodyclose
- depguard
- dogsled
- errcheck
- goconst
Expand Down
6 changes: 6 additions & 0 deletions app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ func (app *App) RegisterUpgradeHandlers(cfg module.Configurator) {
stakeDenom := app.StakingKeeper.BondDenom(ctx)
globalfeeParams := app.GlobalFeeKeeper.GetParams(ctx)
globalfeeParams.MinimumGasPrices = sdk.NewDecCoins(sdk.NewDecCoinFromDec(stakeDenom, sdk.OneDec()))

globalfeeParams.PrivilegedAddresses = []string{
// Multisig that is in charge of managing Launchpad Factories until a DAO is created
// https://www.mintscan.io/stargaze/account/stars1zmaulflshft579x37acrdad72r57vnn5zsn0ee
"stars1zmaulflshft579x37acrdad72r57vnn5zsn0ee",
}
app.GlobalFeeKeeper.SetParams(ctx, globalfeeParams)
return migrations, nil
})
Expand Down

0 comments on commit 13ae55f

Please sign in to comment.