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

build(deps)!: bump cosmos sdk to v0.50.3 #1246

Open
wants to merge 110 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
55c866d
chore: update changeset entry
dadamu Sep 28, 2023
ae1cad3
fix: prevent save profile without account
dadamu Sep 28, 2023
defb0e0
chore: update dependencies
dadamu Sep 22, 2023
0a3db16
chore: update ibc to v8 from v7
dadamu Sep 22, 2023
032d38c
chore: update cosmos-sdk/store package path
dadamu Sep 22, 2023
25a7c71
chore: update cosmos-sdk/evidence package path
dadamu Sep 22, 2023
9b6b2b3
chore: update cosmos-sdk/feegrant package path
dadamu Sep 22, 2023
26993a6
chore: update cosmos-sdk/upgrade package path
dadamu Sep 22, 2023
021917e
chore: move x/capability to ibc-go and remove legacy gov clients of x…
dadamu Sep 22, 2023
2e3ad8c
chore: run go mod tidy
dadamu Sep 22, 2023
a56c516
chore: update cometbft/libs/log path
dadamu Sep 22, 2023
ecdc9de
chore: update sdk/types.Int to math.Int
dadamu Sep 22, 2023
941a86f
chore: update proto builder and generate new proto files
dadamu Sep 22, 2023
7285a71
chore: update cosmos-db and app
dadamu Sep 22, 2023
9de9a70
chore: remove unused upgrades
dadamu Sep 22, 2023
7a1a674
chore: update command
dadamu Sep 22, 2023
358d75e
chore: update sdk.Int into math.Int
dadamu Sep 25, 2023
9b23904
chore: update app config
dadamu Sep 25, 2023
e9eb010
chore: remove non begin/end blocker modules from order
dadamu Sep 25, 2023
57c68db
chore: update sdk.StoreDecoderRegistry into simtypes
dadamu Sep 25, 2023
6b8c285
chore: remove module since it is not accepted
dadamu Sep 25, 2023
2ec5799
chore: update cosmos-sdk/store/types package path
dadamu Sep 26, 2023
c0ff2de
fix: revert supply math and cosmosmath path
dadamu Sep 26, 2023
56ad6ef
chore: update sdk.NewKVStoreKey package path to stortypes
dadamu Sep 26, 2023
3309878
chore: update sdk.NewTransientStoreKey package path to storetypes
dadamu Sep 26, 2023
1182283
chore: remove deprecated codec register for x/gov and /authz
dadamu Sep 26, 2023
3831fc1
chore: define WasmMsg for legacy wasm encoder
dadamu Sep 26, 2023
3194ccc
chore: update store.NewCommitMultiStore parameters
dadamu Sep 26, 2023
3e26c60
chore: update authtypes.AccountI into sdk.AccountI
dadamu Sep 26, 2023
704e7a8
chore: update go-metrics package path
dadamu Sep 26, 2023
e2573b2
chore: update appParams.GetOrGenerate parameters of simulation operation
dadamu Sep 26, 2023
cebdc98
chore: update simd keepers of x/supply
dadamu Sep 27, 2023
ff4404b
chore: update testing tools
dadamu Sep 27, 2023
817b775
fix: add missing dependencies
dadamu Sep 27, 2023
5269bab
fix: add missing dependencies in app
dadamu Sep 27, 2023
dbc3ba6
chore: update subspaces ante
dadamu Sep 27, 2023
bfb79f7
chore: update subspaces authz
dadamu Sep 27, 2023
0d9cde4
chore: update subspaces legacy
dadamu Sep 27, 2023
0f111f8
chore: update subspaces simd expected keepers
dadamu Sep 27, 2023
0215105
chore: update tokenfactory simd expected keepers
dadamu Sep 27, 2023
e25eca1
fix: add missing profiles legacy dependencies
dadamu Sep 27, 2023
57c120b
build(deps): bump cosmos-sdk to 0.50.0-rc.1
dadamu Sep 27, 2023
86e0049
chore: update subspaces legacy simd expected keepers
dadamu Sep 27, 2023
4448d97
chore: update tokenfactory MintingRestrictionFn dependencies
dadamu Sep 27, 2023
2ad2850
chore: update subspaces ante simd expected keepers
dadamu Sep 27, 2023
b02777d
chore: update test suite simd keepers setting
dadamu Sep 27, 2023
07834c3
chore: refresh mock keepers by mockgen
dadamu Sep 27, 2023
85730b2
fix: remove non-existing command
dadamu Sep 27, 2023
3241540
chore: update app links sign command
dadamu Sep 27, 2023
a9ed93f
chore: update and fix chain links sign command
dadamu Sep 27, 2023
9559c23
chore: update ibctesting tool
dadamu Sep 27, 2023
4eb6f49
build(deps): update cosmos-sdk buf version
dadamu Sep 27, 2023
e67797d
chore: ignore .dot files
dadamu Sep 27, 2023
9f4ad7f
test: fix create chain link json test
dadamu Sep 27, 2023
4bd991f
chore: add legacy amino registraction
dadamu Sep 27, 2023
8e9bfb7
revert: recover subpsaces ante in app
dadamu Sep 27, 2023
7877b7c
chore(deps): update gin
dadamu Sep 27, 2023
95ba02f
fix: move msg types into msg_server
dadamu Sep 27, 2023
c75519b
chore: set ibc-go capability module and keeper
dadamu Sep 27, 2023
d549d08
fix: remove legacytx register amino codec
dadamu Sep 27, 2023
59c8527
fix: avoid from using testing app.GetKey in constructor
dadamu Sep 27, 2023
4a9860f
fix: fix begin blocker order and register missing runtime module to o…
dadamu Sep 27, 2023
c5d3629
test: add finalize block state in sim app export test
dadamu Sep 27, 2023
ea782ce
test: set missing account number to module account
dadamu Sep 27, 2023
a2e68ac
chore: update make encoding config
dadamu Sep 27, 2023
08dafd0
test: apply ibc-go testing tool
dadamu Sep 28, 2023
b24d2a3
test: customize ibc testing tool for desmos
dadamu Sep 28, 2023
720bdc6
test: update wasm any resolver test
dadamu Sep 28, 2023
3f4dac0
test: fix missing account number on profile
dadamu Sep 28, 2023
e6e00be
chore: add capability keeper seal
dadamu Sep 28, 2023
72a1870
build(deps): bump go to 1.21
dadamu Sep 28, 2023
3b1040b
chore: remove deprecated wrap sdk context methods
dadamu Sep 28, 2023
bda1b19
chore: add v7 upgrade
dadamu Sep 28, 2023
724bce3
chore: fix lint
dadamu Sep 28, 2023
e0b7f9c
test: use desmos ibc setting on profiles tests
dadamu Sep 28, 2023
6ca0f60
revert: register ibc types manually
dadamu Sep 28, 2023
7c9eacc
test: update ibc relay timeout height
dadamu Sep 28, 2023
b930908
chore: fix lint
dadamu Sep 28, 2023
7a88650
ci: update golang version of docker builder
dadamu Sep 28, 2023
6f94f4a
docs: update Swagger definition
dadamu Sep 28, 2023
4a70da1
build(deps): bumps ledger desmos go to v0.13.0-desmos
dadamu Sep 28, 2023
0b0ff8a
chore: remove go toolchain
dadamu Sep 28, 2023
7d3eb27
chore: remove legacy basics module from builder config
dadamu Sep 28, 2023
49fcaca
chore: remove deprecated amino codec and signbytes method
dadamu Sep 28, 2023
b4042cd
fix: remove rest of GetSignBytes methods
dadamu Sep 28, 2023
f2dc934
chore: run go fmt
dadamu Sep 28, 2023
1a70075
chore: move x/upgrade to preblocker
dadamu Sep 28, 2023
a542da1
docs: add missing supply confing docs
dadamu Sep 29, 2023
f3301d8
chore: remove unused method
dadamu Sep 29, 2023
5fbc12a
fix: make sure sdk set config before initializing app config
dadamu Sep 29, 2023
7eb953d
Revert "chore: ignore .dot files"
dadamu Sep 29, 2023
e532cc7
fix: update root to support rc.1
dadamu Sep 29, 2023
f237d8a
test: fix profile set account, logger and invariant tests of x/profiles
dadamu Nov 1, 2023
c0c07bd
build(deps): bumps wasmd to 0.50.0-rc.0 and ibc-go to v8.0.0-beta.1
dadamu Nov 1, 2023
67050d1
chore: fix lint and add back ibc legacy proposal handler
dadamu Nov 1, 2023
8d0f155
ci: change testnet generated dir into .desemos
dadamu Nov 2, 2023
5d5a2c5
chore: add changeset entry
dadamu Nov 2, 2023
e2cd633
fix: manually set autocli for non app wire modules
dadamu Nov 2, 2023
be9ba4a
chore: fix lint
dadamu Nov 2, 2023
1eb0544
fix: add ibctm and solomachin modules into legacy modules
dadamu Nov 2, 2023
9082d0e
fix: add missing ibctm and solomachine migration order
dadamu Nov 2, 2023
fb39eb3
build(deps): bump ibc-go to v8.0.0 and cosmos-sdk to v0.50.1
dadamu Nov 15, 2023
f6a78c7
fix: add paramsclient.ProposalHandler to gov app module basic
dadamu Nov 15, 2023
d94e3b4
chore: update changeset entry
dadamu Nov 15, 2023
290fcb9
chore: fix lint
dadamu Nov 15, 2023
4ef9da5
build(deps): bump wasmd to 0.50.0
dadamu Nov 24, 2023
bc282e6
chore: update changeset entry
dadamu Nov 24, 2023
b73b8cf
build(deps): bump cosmos sdk to 0.50.2
dadamu Dec 18, 2023
e7d043f
build(deps): bump cosmos-sdk to 0.50.3
dadamu Jan 17, 2024
568b329
chore: update changeset entry
dadamu Jan 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
type: deps
module: other
pull_request: 1246
description: Bump wasmd to 0.50.0
backward_compatible: false
date: 2023-11-02T05:31:03.762902975Z
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
type: deps
module: other
pull_request: 1246
description: Bump cosmos sdk to v0.50.3
backward_compatible: false
date: 2023-11-02T05:29:58.252068969Z
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
type: fix
module: x/profiles
pull_request: 1250
description: Fix missing account number of account creation
backward_compatible: true
date: 2023-09-28T08:12:05.365508338Z
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
type: deps
module: other
pull_request: 1246
description: Bump ibc-go to v8.0.0
backward_compatible: false
date: 2023-11-02T05:30:24.946321857Z
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mutest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Run mutation tests 🧪
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-chain-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Install Desmos 🔧
run: make clean install
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Unshallow
run: git fetch --prune --unshallow --tags --force
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
# - name: Setup Go 🧰
# uses: actions/setup-go@v5
# with:
# go-version: '1.20'
# go-version: '1.21'
#
# - name: Build the binary 🏭
# run: |
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
# - name: Setup Go 🧰
# uses: actions/setup-go@v5
# with:
# go-version: '1.20'
# go-version: '1.21'
#
# - name: Compute diff 📜
# uses: technote-space/[email protected]
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
# - name: Setup Go 🧰
# uses: actions/setup-go@v5
# with:
# go-version: '1.20'
# go-version: '1.21'
#
# - name: Build the binary 🏭
# run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Build 🔨
run: make build
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Install runsim 🏃
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected]
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Display go version 🛂
run: go version
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down Expand Up @@ -308,7 +308,7 @@ jobs:
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.21'

- name: Compute diff 📜
uses: technote-space/[email protected]
Expand Down
6 changes: 6 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ issues:
text: "SA1019:"
linters:
- staticcheck

# TODO: Remove it when legacy v1beta1 gov types are removed from ibc-go
- text: 'SA1019: "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" is deprecated: The legacy v1beta1 gov types maintained in this file are deprecated and will be removed in a future release. Please use MsgIBCSoftwareUpgrade and MsgRecoverClient in favour of the legacy v1beta1 gov proposal types.'
linters:
- staticcheck

max-issues-per-linter: 10000
max-same-issues: 10000

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ update-deps-types:
###############################################################################
### Protobuf ###
###############################################################################
protoVer=0.11.6
protoVer=0.14.0
protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace --user $(shell id -u):$(shell id -g) $(protoImageName)

Expand Down Expand Up @@ -391,7 +391,7 @@ build-docker-desmosnode:

# Setups 4 folders representing each one the genesis state of a testnet node
setup-localnet: build-linux
if ! [ -f build/node0/desmos/config/genesis.json ]; then $(BUILDDIR)/desmos testnet \
if ! [ -f build/node0/.desmos/config/genesis.json ]; then $(BUILDDIR)/desmos testnet \
-o ./build --starting-ip-address 192.168.255.2 --keyring-backend=test \
--v=$(if $(NODES),$(NODES),4) \
--gentx-coin-denom=$(if $(COIN_DENOM),$(COIN_DENOM),"stake") \
Expand Down
15 changes: 8 additions & 7 deletions app/ante.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package app

import (
corestoretypes "cosmossdk.io/core/store"
"cosmossdk.io/errors"
storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/x/auth/ante"
ibcante "github.com/cosmos/ibc-go/v7/modules/core/ante"
ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper"
ibcante "github.com/cosmos/ibc-go/v8/modules/core/ante"
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"

subspaceante "github.com/desmos-labs/desmos/v6/x/subspaces/ante"
subspacesante "github.com/desmos-labs/desmos/v6/x/subspaces/ante"
subspaceskeeper "github.com/desmos-labs/desmos/v6/x/subspaces/keeper"

wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
Expand All @@ -23,7 +23,7 @@ type HandlerOptions struct {

IBCkeeper *ibckeeper.Keeper
SubspacesKeeper subspaceskeeper.Keeper
TxCounterStoreKey storetypes.StoreKey
TxCounterStoreKey corestoretypes.KVStoreService
WasmConfig *wasmTypes.WasmConfig
}

Expand Down Expand Up @@ -58,8 +58,9 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) {
ante.NewTxTimeoutHeightDecorator(),
ante.NewValidateMemoDecorator(options.AccountKeeper),
ante.NewConsumeGasForTxSizeDecorator(options.AccountKeeper),
subspaceante.NewDeductFeeDecorator(
ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker), options.AccountKeeper, options.BankKeeper, options.SubspacesKeeper, options.TxFeeChecker),
subspacesante.NewDeductFeeDecorator(
ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker), options.AccountKeeper, options.BankKeeper, options.SubspacesKeeper, options.TxFeeChecker,
),
// SetPubKeyDecorator must be called before all signature verification decorators
ante.NewSetPubKeyDecorator(options.AccountKeeper),
ante.NewValidateSigCountDecorator(options.AccountKeeper),
Expand Down
Loading
Loading