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

chore: merge main into feat/sdk-47-ibc-7; update broken tests #2853

Merged
merged 118 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
d93e896
Removed outdated ICS docs (#2634)
mmulji-ic Jun 30, 2023
353410e
feat: add query local min-gas-price (#2627)
yaruwangway Jul 3, 2023
d0cc711
bring v10.0.2 changelog to main (#2648)
mpoke Jul 17, 2023
3dfe577
add missing changelog for PFM bump
mpoke Jul 18, 2023
6e01021
fix typo in PFM changelog
mpoke Jul 18, 2023
a759409
Merge pull request from GHSA-354m-4qv6-x846
dongsam Jul 18, 2023
69d1dd0
refactor: use gci linter to sort imports (#2608)
faddat Jul 18, 2023
700da38
chore: remove depguard and bump golangci-lint (#2596)
faddat Jul 18, 2023
934be9b
fix: use the latest release of hermes for e2e (#2644)
faddat Jul 18, 2023
bc98c30
deps!: bump liquidity to v1.6.0-forced-withdrawal (#2652)
mpoke Jul 18, 2023
cdc5089
add changelog entry for gov bug fix (#2653)
mpoke Jul 18, 2023
0a4fb3c
upgrade release testnet to v11 (#2665)
dasanchez Jul 25, 2023
85cb852
docs: refactor gaia ADRs (#2628)
mpoke Jul 25, 2023
1ff7c9c
mergify and dependabot for v11 (#2654)
mpoke Jul 25, 2023
0611123
fix: fix tag sorting in goreleaser (#2666)
MSalopek Jul 26, 2023
0dcfcae
chore: update Cosmos Hub Upgrade Epic (#2661)
mpoke Jul 27, 2023
04e869e
fix: add "v" prefix to release binary version (#2671)
MSalopek Jul 27, 2023
581ef19
feat: update module name to v12 (#2672)
yaruwangway Jul 27, 2023
8769bb3
feat: add upgrade test for v12 (#2678)
yaruwangway Jul 31, 2023
f6bb443
test: fix upgrade test (#2680)
yaruwangway Aug 1, 2023
1bab491
fix: update upgrade handler to v12 (#2681)
yaruwangway Aug 1, 2023
94f9657
docs: global fee adr (#2603)
yaruwangway Aug 4, 2023
5cbea25
Fix pointer to store upgrades inside loop (#2675)
outofforest Aug 8, 2023
8be7aa1
docs: bring v11.0.0 changelog to main (#2676)
mpoke Aug 8, 2023
9c570a0
chore(deps): bump JamesIves/github-pages-deploy-action from 4.4.2 to …
dependabot[bot] Aug 9, 2023
c2e968c
deps!: bump PFM to v4.1.0 (#2677)
mpoke Aug 9, 2023
d3e4de8
chore(deps): bump cosmossdk.io/errors from 1.0.0-beta.7 to 1.0.0 (#2650)
dependabot[bot] Aug 9, 2023
93cde23
update swagger (#2590)
sainoe Aug 9, 2023
5e192b5
Fix: sim genesis account validation (#2690)
yaruwangway Aug 11, 2023
6b1ecb5
docs: release testnet upgraded to v11 (#2668)
dasanchez Aug 11, 2023
027e0cc
docs: Updating the quickstart, joining mainnet & upgrade docs for v11…
mpoke Aug 14, 2023
75f0714
deps!: use cosmos-sdk v0.45.16-lsm-ics (#2643)
MSalopek Aug 16, 2023
d1da837
deps: bump SDK to v0.45.16-ics-lsm and ICS to v2.0.0-lsm (#2695)
mpoke Aug 18, 2023
37a725a
chore(deps): bump cosmossdk.io/math from 1.0.1 to 1.1.0 (#2698)
dependabot[bot] Aug 21, 2023
a262cfb
chore: mergify and dependabot for v12 (#2701)
mpoke Aug 22, 2023
97d0a13
chore(deps): Bump cosmossdk.io/math from 1.1.0 to 1.1.2 (#2705)
dependabot[bot] Aug 23, 2023
6cc159e
Test: automate upgrade test in ci (#2692)
yaruwangway Aug 23, 2023
696ab38
fix typos in release notes template (#2708)
mpoke Aug 24, 2023
ae64d50
chore: update to v13 (#2707)
yaruwangway Aug 24, 2023
dfd19da
ci: update goreleaser tag sort options (#2710)
MSalopek Aug 25, 2023
c54975c
docs: schedule testnet upgrade to v12 (#2704)
dasanchez Aug 28, 2023
5b54c94
fix: Removal of liquidity module (#2716)
bermuell Sep 8, 2023
3d83e89
docs: Updated docs for v12 release (#2718)
mmulji-ic Sep 10, 2023
5692546
bring v12 changelog from release branch (#2715)
mpoke Sep 11, 2023
1246325
chore(deps): Bump actions/checkout from 3 to 4 (#2721)
dependabot[bot] Sep 11, 2023
81e0eda
chore(deps): Bump actions/cache from 3.3.1 to 3.3.2 (#2719)
dependabot[bot] Sep 12, 2023
86d11c0
chore(deps): Bump docker/build-push-action from 4.1.1 to 4.2.1 (#2720)
dependabot[bot] Sep 12, 2023
a81b187
docs: fix .md links (#2722)
mpoke Sep 14, 2023
71097c8
fix ledger-live link (#2724)
mpoke Sep 14, 2023
5941835
fix md links (#2725)
mpoke Sep 14, 2023
5bce773
bump ICS to v2.1.0-provider-lsm-rc0 (#2727)
mpoke Sep 14, 2023
a65e9c8
bump ICS to v2.1.0-provider-lsm-rc1 (#2728)
mpoke Sep 15, 2023
5da6292
add prop handler to app (#2731)
shaspitz Sep 15, 2023
fad45d8
deps!: bump ICS to v2.1.0-provider-lsm (#2732)
mpoke Sep 15, 2023
fed2f69
chore(deps): Bump docker/build-push-action from 4.2.1 to 5.0.0 (#2736)
dependabot[bot] Sep 18, 2023
69584ec
chore(deps): Bump docker/login-action from 2.2.0 to 3.0.0 (#2738)
dependabot[bot] Sep 18, 2023
662d6a6
chore(deps): Bump docker/metadata-action from 4.6.0 to 5.0.0 (#2737)
dependabot[bot] Sep 18, 2023
186f504
chore(deps): Bump goreleaser/goreleaser-action from 4 to 5 (#2739)
dependabot[bot] Sep 19, 2023
a4eb27a
set testnet v13 upgrade height (#2743)
dasanchez Sep 19, 2023
673fb7f
add v13.0.0 changelog section (#2748)
mpoke Sep 22, 2023
eb2f5e1
update mergify and dependabot (#2750)
mpoke Sep 25, 2023
8beddea
chore: update main to v14 (#2749)
mpoke Sep 27, 2023
5e3947f
docs: updating release procedure (#2751)
mpoke Sep 27, 2023
01bdd32
fix uninitiated bank keeper passed in crisis keeper (#2753)
puneet2019 Sep 27, 2023
cb8f5d8
docs: Added maintainability section, to include vulnerability checkin…
mmulji-ic Sep 28, 2023
a98ff19
testnet upgraded to v13 (#2747)
dasanchez Oct 6, 2023
5f144cc
docs: Updated migration docs for v13 release (#2754)
mmulji-ic Oct 9, 2023
0b6650c
docs: Post v13 docs update (#2757)
mmulji-ic Oct 12, 2023
a186ef3
chore(deps): Bump golang.org/x/net from 0.12.0 to 0.17.0 (#2760)
dependabot[bot] Oct 16, 2023
e6da2cc
chore(deps): Bump github.com/spf13/viper from 1.16.0 to 1.17.0 (#2759)
dependabot[bot] Oct 16, 2023
b591d02
Updates wallets and explorers (#2770)
mmulji-ic Oct 31, 2023
00a3cb6
chore(deps): Bump github.com/docker/docker from 20.10.24+incompatible…
dependabot[bot] Nov 1, 2023
b11af5a
bump hid and ledger-cosmos deps (#2763)
jhernandezb Nov 1, 2023
8a7fdfe
deps: bump pfm to v4.1.1 (#2779)
mpoke Nov 1, 2023
66b3d87
bump ics (#2781)
sainoe Nov 3, 2023
a472b29
fix "follwing" typo (#2782)
kevinheavey Nov 3, 2023
0e1f003
deps: bump ICS (#2789)
sainoe Nov 6, 2023
782806a
chore(deps): Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#2788)
dependabot[bot] Nov 7, 2023
d1e61c0
chore(deps): Bump github.com/gorilla/mux from 1.8.0 to 1.8.1 (#2787)
dependabot[bot] Nov 7, 2023
c4113d8
backport v13.0.1 changelog entries to main (#2791)
mpoke Nov 7, 2023
c5426a0
add changelog entry for ledger fix (#2792)
mpoke Nov 7, 2023
75c32af
dep: bump ics to v2.2.0-provider-lsm (#2795)
sainoe Nov 7, 2023
be7129b
cleanup changelog (#2796)
mpoke Nov 7, 2023
1b8d7fc
backport v13.0.2 changelog section to main (#2802)
mpoke Nov 9, 2023
8f1bd74
update mergify and dependabot for v14 (#2798)
mpoke Nov 9, 2023
82d8706
docs: fix .md links (#2804)
mpoke Nov 9, 2023
5f2b558
(deps!): bump ICS to v2.3.0-provider-lsm (#2808) (#2809)
sainoe Nov 10, 2023
e6d442f
bump ics (#2811)
sainoe Nov 13, 2023
adb955f
deps: bump ICS to v2.3.0-provider-lsm (#2814)
mpoke Nov 15, 2023
12b159c
chore(deps): Bump cosmossdk.io/math from 1.1.2 to 1.2.0 (#2806)
dependabot[bot] Nov 16, 2023
fbfb4c6
bring v14.0.0 changelog entries to main (#2817)
mpoke Nov 17, 2023
bb7e6f2
bump ICS to v2.4.0-lsm-rc0 (#2819)
mpoke Nov 17, 2023
486d4d3
update security policy (#2820)
mpoke Nov 17, 2023
1bb6bc9
set the min evidence height for neutron-1 and stride-1 (#2821)
mpoke Nov 20, 2023
facab13
chore(deps): Bump docker/build-push-action from 5.0.0 to 5.1.0 (#2822)
dependabot[bot] Nov 20, 2023
e9cab59
bump ICS to v2.4.0-lsm-rc1 (#2823)
mpoke Nov 21, 2023
ca1ba72
update bots for v14.1.x (#2824)
mpoke Nov 21, 2023
b3b4c15
deps!: bump ICS to v2.4.0-lsm (#2825)
mpoke Nov 21, 2023
3419724
deprecate v14.0.0 changelog section (#2827)
mpoke Nov 21, 2023
7ec28dd
docs: update Gaia processes (#2818)
mpoke Nov 30, 2023
4ab6885
bring changelog 14.1.0 section to main (#2831)
mpoke Nov 30, 2023
daf790d
chore(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0 (#2835)
dependabot[bot] Dec 4, 2023
e79bac5
chore(deps): Bump JamesIves/github-pages-deploy-action from 4.4.3 to …
dependabot[bot] Dec 4, 2023
579b8b1
chore(deps): Bump docker/metadata-action from 5.0.0 to 5.2.0 (#2837)
dependabot[bot] Dec 4, 2023
39e059f
docs: Updates for Gaia v14 (aka v14.1.0) (#2839)
mmulji-ic Dec 8, 2023
93016bd
prepare main for v15 (#2807)
mpoke Dec 8, 2023
8f1ac03
Update genesis.md (#2844)
xyztoni Dec 11, 2023
75acc3b
chore(deps): Bump actions/stale from 8.0.0 to 9.0.0 (#2848)
dependabot[bot] Dec 11, 2023
e4122f1
chore(deps): Bump docker/metadata-action from 5.2.0 to 5.3.0 (#2849)
dependabot[bot] Dec 11, 2023
513b47d
chore(deps): Bump actions/setup-go from 4 to 5 (#2850)
dependabot[bot] Dec 11, 2023
5896f2a
chore(docs): typo fix (#2845)
Frierened Dec 11, 2023
613828c
Enhancements to Documentation Clarity and Precision (#2846)
joaolago1113 Dec 11, 2023
b03a2ea
Merge branch 'main' into feat/sdk-47-ibc-7
MSalopek Dec 12, 2023
b72662d
chore: update broken install post-merge
MSalopek Dec 12, 2023
0bc16b8
fix: revert ValidateGovMsgs() to main definition
MSalopek Dec 12, 2023
9636447
chore: appease linter
MSalopek Dec 12, 2023
d572073
chore: fix broken merge in .github
MSalopek Dec 12, 2023
e738346
chore: update version checking in Makefile
MSalopek Dec 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5.2.0
uses: docker/metadata-action@v5.3.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
check-latest: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
newbuild:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Install runsim
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
needs: newbuild
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- uses: technote-space/get-diff-action@v6.0.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fetch-depth: 0
- run: git fetch --force --tags

- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sim-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
newbuild:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Install runsim
Expand All @@ -31,7 +31,7 @@ jobs:
needs: newbuild
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- uses: actions/cache@v3.3.2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Install runsim
Expand All @@ -34,7 +34,7 @@ jobs:
needs: newbuild
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- uses: technote-space/get-diff-action@v6.0.1
Expand All @@ -58,7 +58,7 @@ jobs:
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- uses: technote-space/get-diff-action@v6
Expand All @@ -80,7 +80,7 @@ jobs:
newbuild:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Install runsim
Expand All @@ -105,7 +105,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build, install-runsim]
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8.0.0
- uses: actions/stale@v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
check-latest: true
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- uses: actions/checkout@v4
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- uses: technote-space/get-diff-action@v6.0.1
Expand Down Expand Up @@ -145,16 +145,11 @@ jobs:
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
<<<<<<< HEAD
go-version: 1.21.x
- name: Install GaiaV10
=======
go-version: 1.20.x
Copy link
Contributor

@bermuell bermuell Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably the wrong version chosen here. all the rest is using 1.21.x

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls notice how this test works and check the Makefile of v14.

V14 requires having go1.20 available, otherwise it would not build making the test fail.

I changed the Makefile constraint to be able to support minimal_go_version instead of exactly matching the required version.

# the old gaiad binary version is hardcoded, need to be updated each major release.
- name: Install Old Gaiad
>>>>>>> main
run: |
git checkout v14.0.0
make build
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Pull requests are merged automatically using [`A:automerge` action](https://merg

### Pull Request Templates

There are three PR templates. The [default template](./.github/PULL_REQUEST_TEMPLATE.md) contains links to the three templates. Please go the the `Preview` tab and select the appropriate sub-template:
There are three PR templates. The [default template](./.github/PULL_REQUEST_TEMPLATE.md) contains links to the three templates. Please go to the `Preview` tab and select the appropriate sub-template:

- The [production template](./.github/PULL_REQUEST_TEMPLATE/production.md) is for types `fix`, `feat`, `deps`, and `refactor`.
- The [docs template](./.github/PULL_REQUEST_TEMPLATE/docs.md) is for documentation changes.
Expand Down
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ BUILDDIR ?= $(CURDIR)/build
TEST_DOCKER_REPO=cosmos/contrib-gaiatest

GO_SYSTEM_VERSION = $(shell go version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1-2)
REQUIRE_GO_VERSION = 1.21
REQUIRE_MINIMUM_GO_VERSION = 1.20

export GO111MODULE = on

Expand Down Expand Up @@ -95,9 +95,10 @@ include contrib/devtools/Makefile
### Build ###
###############################################################################

IS_VERSION_SUPPORTED = $(shell echo "$(GO_SYSTEM_VERSION) >= $(REQUIRE_MINIMUM_GO_VERSION)" | bc -l)
check_version:
ifneq ($(GO_SYSTEM_VERSION), $(REQUIRE_GO_VERSION))
@echo "ERROR: Go version 1.21 is required for $(VERSION) of Gaia."
ifneq ($(IS_VERSION_SUPPORTED), 1)
@echo "ERROR: Minimal go version required for Gaia: $(VERSION) is $(REQUIRE_MINIMUM_GO_VERSION). You are using $(GO_SYSTEM_VERSION)."
exit 1
endif

Expand Down
2 changes: 1 addition & 1 deletion RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Once the **final release** is cut, the new changelog section must be added to ma
### Release Notes

Release notes will be created using the `RELEASE_NOTES.md` from the release branch.
Once the automated releases process is completed, please add any missing information the the release notes using Github UI.
Once the automated releases process is completed, please add any missing information the release notes using Github UI.

With every release, the `goreleaser` tool will create a file with all the build artifact checksums and upload it alongside the artifacts.
The file is called `SHA256SUMS-{{.version}}.txt` and contains the following:
Expand Down
5 changes: 3 additions & 2 deletions ante/ante.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package ante

import (
ibcante "github.com/cosmos/ibc-go/v7/modules/core/ante"
ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper"

errorsmod "cosmossdk.io/errors"

"github.com/cosmos/cosmos-sdk/codec"
Expand All @@ -9,8 +12,6 @@ import (
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
ibcante "github.com/cosmos/ibc-go/v7/modules/core/ante"
ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper"

gaiaerrors "github.com/cosmos/gaia/v15/types/errors"
gaiafeeante "github.com/cosmos/gaia/v15/x/globalfee/ante"
Expand Down
2 changes: 1 addition & 1 deletion ante/gov_ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (g GovPreventSpamDecorator) ValidateGovMsgs(ctx sdk.Context, msgs []sdk.Msg
// prevent messages with insufficient initial deposit amount
params := g.govKeeper.GetParams(ctx)
minInitialDeposit := g.calcMinInitialDeposit(params.MinDeposit)
if msg.InitialDeposit.IsAllLT(minInitialDeposit) {
if !msg.InitialDeposit.IsAllGTE(minInitialDeposit) {
return errorsmod.Wrapf(gaiaerrors.ErrInsufficientFunds, "insufficient initial deposit amount - required: %v", minInitialDeposit)
}
}
Expand Down
4 changes: 2 additions & 2 deletions ante/gov_ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import (
"fmt"
"testing"

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"

tmrand "github.com/cometbft/cometbft/libs/rand"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/testutil/testdata"

sdk "github.com/cosmos/cosmos-sdk/types"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"

"github.com/cosmos/gaia/v15/ante"
Expand Down
33 changes: 17 additions & 16 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,39 @@ import (
"os"
"path/filepath"

"github.com/cosmos/gaia/v15/app/params"

autocliv1 "cosmossdk.io/api/cosmos/autocli/v1"
reflectionv1 "cosmossdk.io/api/cosmos/reflection/v1"
"github.com/gorilla/mux"
"github.com/rakyll/statik/fs"
"github.com/spf13/cast"

"github.com/cosmos/cosmos-sdk/runtime"
"github.com/cosmos/cosmos-sdk/server"
"github.com/cosmos/cosmos-sdk/testutil/testdata"
// unnamed import of statik for swagger UI support
_ "github.com/cosmos/cosmos-sdk/client/docs/statik"

errorsmod "cosmossdk.io/errors"
dbm "github.com/cometbft/cometbft-db"
abci "github.com/cometbft/cometbft/abci/types"
tmjson "github.com/cometbft/cometbft/libs/json"
"github.com/cometbft/cometbft/libs/log"
tmos "github.com/cometbft/cometbft/libs/os"

ibctesting "github.com/cosmos/ibc-go/v7/testing"
providertypes "github.com/cosmos/interchain-security/v3/x/ccv/provider/types"

autocliv1 "cosmossdk.io/api/cosmos/autocli/v1"
reflectionv1 "cosmossdk.io/api/cosmos/reflection/v1"
errorsmod "cosmossdk.io/errors"

"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client"
nodeservice "github.com/cosmos/cosmos-sdk/client/grpc/node"
"github.com/cosmos/cosmos-sdk/client/grpc/tmservice"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/runtime"
runtimeservices "github.com/cosmos/cosmos-sdk/runtime/services"
"github.com/cosmos/cosmos-sdk/server"
"github.com/cosmos/cosmos-sdk/server/api"
"github.com/cosmos/cosmos-sdk/server/config"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
"github.com/cosmos/cosmos-sdk/testutil/testdata"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/types/module"
Expand All @@ -42,20 +50,13 @@ import (
"github.com/cosmos/cosmos-sdk/x/crisis"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
ibctesting "github.com/cosmos/ibc-go/v7/testing"
providertypes "github.com/cosmos/interchain-security/v3/x/ccv/provider/types"
"github.com/gorilla/mux"
"github.com/rakyll/statik/fs"
"github.com/spf13/cast"

gaiaante "github.com/cosmos/gaia/v15/ante"
"github.com/cosmos/gaia/v15/app/keepers"
"github.com/cosmos/gaia/v15/app/params"
"github.com/cosmos/gaia/v15/app/upgrades"
v15 "github.com/cosmos/gaia/v15/app/upgrades/v15"
"github.com/cosmos/gaia/v15/x/globalfee"

// unnamed import of statik for swagger UI support
_ "github.com/cosmos/cosmos-sdk/client/docs/statik"
)

var (
Expand Down
3 changes: 2 additions & 1 deletion app/app_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package gaia

// TODO: Enable with ICS
import (
capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper"
ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper"
ibctestingtypes "github.com/cosmos/ibc-go/v7/testing/types"
icstest "github.com/cosmos/interchain-security/v3/testutil/integration"
ibcproviderkeeper "github.com/cosmos/interchain-security/v3/x/ccv/provider/keeper"

capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper"
)

// ProviderApp interface implementations for icstest tests
Expand Down
3 changes: 2 additions & 1 deletion app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package gaia_test
import (
"testing"

"github.com/stretchr/testify/require"

db "github.com/cometbft/cometbft-db"
"github.com/cometbft/cometbft/libs/log"
"github.com/stretchr/testify/require"

authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
Expand Down
1 change: 1 addition & 0 deletions app/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"encoding/json"

tmproto "github.com/cometbft/cometbft/proto/tendermint/types"

servertypes "github.com/cosmos/cosmos-sdk/server/types"
sdk "github.com/cosmos/cosmos-sdk/types"
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
Expand Down
9 changes: 5 additions & 4 deletions app/helpers/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,24 @@ import (
"testing"
"time"

"github.com/cosmos/cosmos-sdk/server"
"github.com/cosmos/cosmos-sdk/testutil/mock"
simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims"
"github.com/stretchr/testify/require"

dbm "github.com/cometbft/cometbft-db"
abci "github.com/cometbft/cometbft/abci/types"
"github.com/cometbft/cometbft/libs/log"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtypes "github.com/cometbft/cometbft/types"

codectypes "github.com/cosmos/cosmos-sdk/codec/types"
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
"github.com/cosmos/cosmos-sdk/server"
"github.com/cosmos/cosmos-sdk/testutil/mock"
simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/stretchr/testify/require"

gaiaapp "github.com/cosmos/gaia/v15/app"
)
Expand Down
Loading
Loading