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 github.com/cosmos/ibc-go/v7 from 7.2.0 to 7.3.0 #227

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
df6e5f4
Merge remote-tracking branch 'origin/release/v1.0.x' into release/v2.0.x
faddat Mar 18, 2023
7118b71
add test suite
hoangdv2429 Mar 30, 2023
e6e0dbb
modify to use ConfirmUpgradeSucceededs
hoangdv2429 Mar 30, 2023
b75cd32
modify dummy upgarde to ConfirmUpgradeSucceededs
hoangdv2429 Mar 30, 2023
411aac1
remove unused import
hoangdv2429 Mar 30, 2023
380f275
lint
hoangdv2429 Mar 30, 2023
dca5631
fix error cmd and app
phamminh0811 Apr 1, 2023
d029115
change sdk version to 0.47.0 to avoid conflict
phamminh0811 Apr 1, 2023
4b829c0
add store key to sim test
phamminh0811 Apr 1, 2023
10e62e7
fix lint
phamminh0811 Apr 1, 2023
7239724
remove redundant module in gomod
phamminh0811 Apr 1, 2023
ead1cad
use sdk v0.47.0
phamminh0811 Apr 1, 2023
200c659
remove redundant by GenesisStateWithValSet function
phamminh0811 Apr 3, 2023
ac640a8
skip sim test
phamminh0811 Apr 3, 2023
a956435
Add make sim test on makefile
phamminh0811 Apr 3, 2023
a1b620d
use custom DefaultConsensusParams
phamminh0811 Apr 3, 2023
f119688
remove redundant initgenesis call
catShaark Apr 4, 2023
3572990
update: increase default min-gas-price
Sen-Com Apr 4, 2023
74004da
Merge branch 'release/v2.0.x' of https://github.com/White-Whale-Defi-…
faddat Apr 7, 2023
1f80a33
Merge pull request #133 from notional-labs/minh/sdk-47
faddat Apr 7, 2023
87f2db8
Merge pull request #134 from notional-labs/removeRedundant
faddat Apr 7, 2023
3b7001f
build(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0
dependabot[bot] Apr 7, 2023
283be8c
build(deps): bump github.com/cosmos/cosmos-sdk from 0.46.11 to 0.47.1
dependabot[bot] Apr 7, 2023
7ff2ba8
Merge pull request #127 from White-Whale-Defi-Platform/dependabot/go_…
faddat Apr 7, 2023
be01d28
Merge pull request #136 from White-Whale-Defi-Platform/dependabot/go_…
faddat Apr 7, 2023
a3d9f4b
Merge pull request #131 from White-Whale-Defi-Platform/ducnt/upgrade_…
faddat Apr 7, 2023
9025e1f
use main branch of alliance instead of fork
faddat Apr 7, 2023
21e7db7
use a patched alliance module
faddat Apr 7, 2023
4f30cf2
Merge pull request #137 from White-Whale-Defi-Platform/use-main-alliance
faddat Apr 8, 2023
bf9d14e
use the main branch of the packet-forward-middleware repo, so we don't
faddat Apr 11, 2023
b83de39
tidy
faddat Apr 11, 2023
0f7bdf7
add async-icq, ref: https://raw.githubusercontent.com/strangelove-ven…
faddat Apr 11, 2023
18f5bd5
use `osmosis` proto domain for token factory
faddat Apr 11, 2023
85f2ca7
add stargate queries
faddat Apr 11, 2023
7f58e80
add more notes
faddat Apr 11, 2023
a0d91df
use thelper in golangci-lint
faddat Apr 11, 2023
d9b2b1e
add comment to NewTestSupport
faddat Apr 11, 2023
3a3a25d
Merge pull request #135 from White-Whale-Defi-Platform/update-increas…
faddat Apr 12, 2023
909a273
Fix Github action "Push Docker Images"
CharlesJUDITH Apr 15, 2023
0f09eec
build(deps): bump github.com/prometheus/client_golang
dependabot[bot] Apr 17, 2023
bb83030
Merge pull request #146 from White-Whale-Defi-Platform/dependabot/go_…
faddat Apr 18, 2023
e5604a5
Update CODEOWNERS
faddat Apr 18, 2023
c6537b1
Merge pull request #140 from White-Whale-Defi-Platform/async-icq
faddat Apr 18, 2023
748683a
Merge remote-tracking branch 'origin/release/v3.0.x' into remove-pfm-…
faddat Apr 18, 2023
9584edd
Merge pull request #139 from White-Whale-Defi-Platform/remove-pfm-rep…
faddat Apr 18, 2023
534f3a6
Merge pull request #143 from White-Whale-Defi-Platform/use-thelper
faddat Apr 18, 2023
2438487
Merge remote-tracking branch 'origin/release/v3.0.x' into use-osmo-pr…
faddat Apr 18, 2023
844662e
govv1beta1
faddat Apr 18, 2023
44215d4
use govv1
faddat Apr 18, 2023
6d7f9a1
tidy
pysel Apr 19, 2023
e88670b
Merge pull request #145 from CharlesJUDITH/fix-docker-push-action
faddat Apr 19, 2023
6ff7ea5
Merge pull request #148 from White-Whale-Defi-Platform/codeowners
faddat Apr 25, 2023
be6aded
build(deps): bump github.com/terra-money/alliance
dependabot[bot] May 5, 2023
14842d4
Merge pull request #155 from White-Whale-Defi-Platform/dependabot/go_…
faddat May 6, 2023
524581e
build(deps): bump github.com/cosmos/cosmos-sdk from 0.47.1 to 0.47.2
dependabot[bot] May 6, 2023
c8e4003
Merge pull request #152 from White-Whale-Defi-Platform/dependabot/go_…
faddat May 6, 2023
0c6ae9d
build(deps): bump github.com/prometheus/client_golang
dependabot[bot] May 6, 2023
2841460
Update README.md - fix docs link
faddat May 6, 2023
7b3bd30
ensure that v3 is unaffected by cherry
faddat May 10, 2023
58d8d13
Merge pull request #157 from White-Whale-Defi-Platform/fix-v3-cherry
faddat May 10, 2023
694c6b4
use latest wasmd
faddat May 10, 2023
1d7c7f6
Merge pull request #158 from White-Whale-Defi-Platform/v3.0.x-refresh
faddat May 10, 2023
71557e7
Merge remote-tracking branch 'origin/release/v3.0.x' into use-osmo-pr…
faddat May 10, 2023
ea3565d
Merge branch 'v3.0.x-refresh' into use-osmo-proto-domain
faddat May 10, 2023
b60bf4c
fix conflict in app.go
faddat May 10, 2023
debdecc
Merge pull request #141 from White-Whale-Defi-Platform/use-osmo-proto…
faddat May 10, 2023
5a6889f
Merge pull request #154 from White-Whale-Defi-Platform/dependabot/go_…
faddat May 10, 2023
a5e4bd0
Merge pull request #156 from White-Whale-Defi-Platform/faddat-patch-1
faddat May 10, 2023
fb9180e
build(deps): bump github.com/docker/distribution
dependabot[bot] May 11, 2023
fafc28d
build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1
dependabot[bot] May 15, 2023
30cb80c
build(deps): bump cosmossdk.io/math from 1.0.0 to 1.0.1
dependabot[bot] May 16, 2023
c993170
build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3
dependabot[bot] May 19, 2023
772e97d
init interchain test
anhductn2001 May 20, 2023
6c2909b
init interchain test
anhductn2001 May 20, 2023
b4babf1
Merge pull request #159 from White-Whale-Defi-Platform/dependabot/go_…
faddat May 20, 2023
01042ce
Merge pull request #162 from White-Whale-Defi-Platform/dependabot/go_…
faddat May 20, 2023
acc7791
Merge pull request #160 from White-Whale-Defi-Platform/dependabot/go_…
faddat May 20, 2023
f2a9932
Merge pull request #161 from White-Whale-Defi-Platform/dependabot/go_…
faddat May 20, 2023
08f8676
Delete codacy.yml
faddat May 22, 2023
a5471f6
build(deps): bump github.com/terra-money/alliance
dependabot[bot] May 23, 2023
640a1be
Merge pull request #165 from White-Whale-Defi-Platform/faddat/remove-…
vuong177 May 23, 2023
bd684f8
Merge pull request #166 from White-Whale-Defi-Platform/dependabot/go_…
faddat May 24, 2023
58e97dc
remove starport config and try to fix default bond denom
faddat May 24, 2023
1521060
Merge branch 'release/v3.0.x' into ducnt/ictest
anhductn2001 May 25, 2023
fefe0a7
use alliance with go mod tidy
anhductn2001 May 25, 2023
8ec395e
use migaloo:debug in local test
anhductn2001 May 25, 2023
a8ba5ec
build(deps): bump github.com/cosmos/ibc-go/v7 from 7.0.0 to 7.0.1
dependabot[bot] May 26, 2023
2cb2c26
Merge pull request #171 from White-Whale-Defi-Platform/dependabot/go_…
faddat May 26, 2023
382ee53
tidy & downgrade gogoproto
faddat May 27, 2023
475327d
use final release of wasmd v0.40.0
faddat May 27, 2023
2a6c7fe
cleanup go.mod replaces
faddat May 27, 2023
10a03dc
Merge pull request #173 from White-Whale-Defi-Platform/faddat/wasm-tf-40
faddat May 29, 2023
1520c61
build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4
dependabot[bot] May 30, 2023
bfccf25
Merge pull request #174 from White-Whale-Defi-Platform/dependabot/go_…
faddat May 30, 2023
6c59c40
Fix warning about proto files fully-qualified names
anhductn2001 May 31, 2023
d5f36cf
build(deps): bump github.com/spf13/viper from 1.15.0 to 1.16.0
dependabot[bot] May 31, 2023
ee93eab
Merge pull request #175 from White-Whale-Defi-Platform/dependabot/go_…
pysel May 31, 2023
8a288c1
Merge branch 'release/v3.0.x' into ducnt/ictest
anhductn2001 Jun 1, 2023
84c5992
add pfm to transfer stack
sontrinh16 Jun 5, 2023
ef6156e
fix collect-gentx
anhductn2001 Jun 7, 2023
0a7fca8
remove depguard
faddat Jun 7, 2023
82f1a90
login ghcr
anhductn2001 Jun 7, 2023
d93de3c
Merge pull request #178 from White-Whale-Defi-Platform/ducnt/fix-cg
vuong177 Jun 7, 2023
0fe9d8a
Merge pull request #177 from notional-labs/hot-fix
faddat Jun 9, 2023
167831d
Merge remote-tracking branch 'origin/release/v3.0.x' into ducnt/ictest
faddat Jun 9, 2023
1ee6065
update .gitignore
faddat Jun 9, 2023
abeabfb
remove intertx
faddat Jun 9, 2023
6f22fac
remove intertx
faddat Jun 9, 2023
2656c3f
tidy
faddat Jun 9, 2023
ffcbfcd
save place
faddat Jun 9, 2023
5834d4f
remove intertx
faddat Jun 9, 2023
1873137
Merge remote-tracking branch 'origin/release/v3.0.x' into ducnt/ictest
faddat Jun 9, 2023
eac7739
add ictest image build make sure it builds on release/v3.0.x
faddat Jun 9, 2023
6ea2846
Merge remote-tracking branch 'origin/release/v3.0.x' into faddat/try-…
faddat Jun 9, 2023
479c085
remove starport configuration
faddat Jun 9, 2023
7469deb
remove dependency review, it does not work reliabliy
faddat Jun 9, 2023
526def2
go 1.20
anhductn2001 Jun 9, 2023
663c7c9
fix duplicate denom in cmd
hieuvubk Jun 9, 2023
6c057a0
restore dependency reveiw
faddat Jun 9, 2023
383063b
restore the rosetta patch
faddat Jun 9, 2023
7061a3e
squash commmits
faddat Jun 9, 2023
f5044b5
Merge branch 'faddat/try-fix-bond-denom' of https://github.com/white-…
faddat Jun 9, 2023
20ffb08
Merge pull request #167 from White-Whale-Defi-Platform/faddat/try-fix…
faddat Jun 9, 2023
6a12cb5
Merge pull request #181 from White-Whale-Defi-Platform/ict-image
faddat Jun 9, 2023
a3c2cf8
Merge pull request #182 from White-Whale-Defi-Platform/remove-starpor…
faddat Jun 9, 2023
53bcfe4
Merge branch 'release/v3.0.x' into ducnt/ictest
faddat Jun 9, 2023
7db650b
build(deps): bump github.com/cosmos/ibc-go/v7 from 7.0.1 to 7.1.0
dependabot[bot] Jun 9, 2023
8b86e63
Merge pull request #183 from White-Whale-Defi-Platform/dependabot/go_…
faddat Jun 9, 2023
7e67106
rm go.work
anhductn2001 Jun 12, 2023
5da5665
update interchaintest lib
anhductn2001 Jun 12, 2023
a5dae62
build(deps): bump github.com/terra-money/alliance
dependabot[bot] Jun 12, 2023
36dbffc
setupwithchainid
anhductn2001 Jun 13, 2023
8e2cfca
Merge pull request #189 from White-Whale-Defi-Platform/dependabot/go_…
faddat Jun 15, 2023
a261a2a
Merge remote-tracking branch 'origin/release/v3.0.x' into ducnt/ictest
faddat Jun 15, 2023
d544316
fix InitChain
anhductn2001 Jun 18, 2023
d3c3349
confuse go1.20
anhductn2001 Jun 18, 2023
ee9c877
ibc_transfer_test
anhductn2001 Jun 18, 2023
2ba3afd
determinsitic module imports
faddat Jun 18, 2023
51d301d
use updated relayer
anhductn2001 Jun 19, 2023
f905b6b
build(deps): bump docker/build-push-action from 3 to 4
dependabot[bot] Jun 19, 2023
66acdc9
build(deps): bump actions/setup-go from 3 to 4
dependabot[bot] Jun 19, 2023
3d24a31
remove go.work
anhductn2001 Jun 22, 2023
33f0c76
build(deps): bump github.com/cosmos/ibc-go/v7 from 7.1.0 to 7.2.0
dependabot[bot] Jun 23, 2023
303614b
Merge pull request #194 from White-Whale-Defi-Platform/dependabot/git…
faddat Jun 25, 2023
b7c3db2
Merge pull request #195 from White-Whale-Defi-Platform/dependabot/go_…
faddat Jun 25, 2023
6c00dda
Merge pull request #193 from White-Whale-Defi-Platform/dependabot/git…
faddat Jun 25, 2023
b6e4533
Merge pull request #192 from White-Whale-Defi-Platform/faddat/gci
faddat Jun 25, 2023
f817285
build(deps): bump github.com/prometheus/client_golang
dependabot[bot] Jun 25, 2023
9c7cbed
Merge pull request #191 from White-Whale-Defi-Platform/dependabot/go_…
faddat Jun 25, 2023
96c8639
Merge remote-tracking branch 'origin/release/v3.0.x' into ducnt/ictest
faddat Jun 25, 2023
4a1cbbf
Merge pull request #163 from White-Whale-Defi-Platform/ducnt/ictest
faddat Jun 25, 2023
94aaef7
run local node scripts
expertdicer Jul 4, 2023
a12759d
build(deps): bump github.com/cometbft/cometbft in /tests/interchaintest
dependabot[bot] Jul 5, 2023
9d8b1a9
Merge pull request #198 from White-Whale-Defi-Platform/nguyen/run-node
faddat Jul 11, 2023
93a8c7b
build(deps): bump actions/setup-go from 3 to 4
dependabot[bot] Jul 11, 2023
c8b72f0
Merge pull request #196 from White-Whale-Defi-Platform/dependabot/git…
faddat Jul 11, 2023
6dc4e83
automate release
faddat Jul 11, 2023
ef56995
Merge pull request #205 from White-Whale-Defi-Platform/automate-relea…
faddat Jul 11, 2023
2651e14
use a manually written github action specifically for this purpose
faddat Jul 11, 2023
a3049c3
Merge pull request #208 from White-Whale-Defi-Platform/new-release-ac…
faddat Jul 11, 2023
d78147b
don't cross compile assets
faddat Jul 11, 2023
6240e72
Merge pull request #212 from White-Whale-Defi-Platform/faddat-patch-2
faddat Jul 11, 2023
11f663f
build -> bin
faddat Jul 11, 2023
59b1cac
Update release.yml
faddat Jul 11, 2023
fae0c6f
upload sha52sum
faddat Jul 11, 2023
122e7e8
correct paths in array
faddat Jul 11, 2023
07a8e98
remove myself from CODEOWNERS
pysel Jul 16, 2023
0b2eb0f
Merge pull request #219 from White-Whale-Defi-Platform/pysel/codeowners
faddat Jul 27, 2023
c03e6c3
Merge pull request #199 from White-Whale-Defi-Platform/dependabot/go_…
faddat Jul 27, 2023
6b56682
build(deps): bump github.com/cosmos/ibc-go/v7 from 7.2.0 to 7.3.0
dependabot[bot] Sep 1, 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/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# @Sen-Com is the repository administrator who ensures compliance with the White Whale Repository Guideline.
# The remaining code owners help maintain the repository.
* @PolkachuIntern @faddat @Sen-Com @kerber0x @0xFable
* @PolkachuIntern @faddat @Sen-Com @kerber0x @0xFable @vuong177 @hieuvubk
61 changes: 0 additions & 61 deletions .github/workflows/codacy.yml

This file was deleted.

64 changes: 64 additions & 0 deletions .github/workflows/interchaintest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Interchain Tests

on:
pull_request:
push:
branches:
- main

jobs:
build-and-push-image:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: build_push_image
uses: docker/build-push-action@v4
with:
file: Dockerfile
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/white-whale-defi-platform/migaloo-chain-ictest:latest
test-start-cosmos-chain:
runs-on: ubuntu-latest
needs: build-and-push-image
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: checkout code
uses: actions/checkout@v3

- run: make ictest-start-cosmos
env:
BRANCH_CI: 'latest'
test-ibc-transfer:
runs-on: ubuntu-latest
needs: build-and-push-image
steps:
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: checkout code
uses: actions/checkout@v3

- run: make ictest-ibc
env:
BRANCH_CI: 'latest'
6 changes: 3 additions & 3 deletions .github/workflows/push-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/White-Whale-Defi-Platform/migaloo-chain:${{ env.MAJOR_VERSION }}
ghcr.io/White-Whale-Defi-Platform/migaloo-chain:${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}
ghcr.io/White-Whale-Defi-Platform/migaloo-chain:${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}.${{ env.PATCH_VERSION }}
ghcr.io/white-whale-defi-platform/migaloo-chain:${{ env.MAJOR_VERSION }}
ghcr.io/white-whale-defi-platform/migaloo-chain:${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}
ghcr.io/white-whale-defi-platform/migaloo-chain:${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}.${{ env.PATCH_VERSION }}
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
release:
types: [created]

permissions:
contents: write
packages: write

jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- name: build
run: make build
- name: sha512sum
run: sha512sum build/migalood > migalood_sha512.txt
- name: 'Upload Binary'
uses: actions/upload-artifact@v3
with:
name: migalood
path: build/migalood
- name: 'Upload SHA512'
uses: actions/upload-artifact@v3
with:
name: sha512
path: migalood_sha512.txt
- name: Upload release binaries
uses: alexellis/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["./bin/migalood", "./migalood_sha512.txt"]'


4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
bin
.vscode
.ash_history



go.work.sum
14 changes: 13 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ run:
linters:
disable-all: true
enable:
- depguard
- dogsled
- errcheck
- exportloopref
- gci
- goconst
- gocritic
- gofumpt
Expand All @@ -24,6 +24,7 @@ linters:
- staticcheck
- stylecheck
- typecheck
- thelper
- unconvert
- unparam
- unused
Expand Down Expand Up @@ -70,6 +71,17 @@ issues:
max-same-issues: 10000

linters-settings:
gci:
sections:
- standard # Standard section: captures all standard packages.
- default # Default section: contains all imports that could not be matched to another section type.
- blank # blank imports
- dot # dot imports
- prefix(cosmossdk.io)
- prefix(github.com/cosmos/cosmos-sdk)
- prefix(github.com/cometbft/cometbft)
- prefix(github.com/White-Whale-Defi-Platform/migaloo-chain)
custom-order: true
dogsled:
max-blank-identifiers: 3
maligned:
Expand Down
55 changes: 53 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
COMMIT := $(shell git log -1 --format='%H')

APP_DIR = ./app
BINDIR ?= ~/go/bin
RUNSIM = $(BINDIR)/runsim

ifeq (,$(VERSION))
VERSION := $(shell git describe --tags)
# if VERSION is empty, then populate it with branch's name and raw commit hash
Expand All @@ -13,7 +17,7 @@ endif

LEDGER_ENABLED ?= true
SDK_PACK := $(shell go list -m github.com/cosmos/cosmos-sdk | sed 's/ /\@/g')
TM_VERSION := $(shell go list -m github.com/tendermint/tendermint | sed 's:.* ::')
TM_VERSION := $(shell go list -m github.com/cometbft/cometbft | sed 's:.* ::')
DOCKER := $(shell which docker)
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf
BUILDDIR ?= $(CURDIR)/build
Expand Down Expand Up @@ -64,7 +68,7 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=migaloo \
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" \
-X github.com/tendermint/tendermint/version.TMCoreSemVer=$(TM_VERSION)
-X github.com/cometbft/cometbft/version.TMCoreSemVer=$(TM_VERSION)

ifeq (cleveldb,$(findstring cleveldb,$(COSMOS_BUILD_OPTIONS)))
ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=cleveldb
Expand Down Expand Up @@ -92,3 +96,50 @@ install: go.sum

build:
go build $(BUILD_FLAGS) -o bin/migalood ./cmd/migalood

docker-build-debug:
@DOCKER_BUILDKIT=1 docker build -t migaloo:debug -f Dockerfile .

runsim: $(RUNSIM)
$(RUNSIM):
@echo "Installing runsim..."
@go install github.com/cosmos/tools/cmd/[email protected]

test-sim-import-export: runsim
@echo "Running application import/export simulation. This may take several minutes..."
@$(BINDIR)/runsim -Jobs=4 -SimAppPkg=$(APP_DIR) 50 5 TestAppImportExport

test-sim-custom-genesis-multi-seed: runsim
@echo "Running multi-seed custom genesis simulation..."
@echo "By default, ${HOME}/.migalood/config/genesis.json will be used."
@$(BINDIR)/runsim -Genesis=${HOME}/.migalood/config/genesis.json -SimAppPkg=$(APP_DIR) 400 5 TestFullAppSimulation

test-sim-multi-seed-long: runsim
@echo "Running long multi-seed application simulation. This may take awhile!"
@$(BINDIR)/runsim -Jobs=4 -SimAppPkg=$(APP_DIR) 500 50 TestFullAppSimulation

test-sim-multi-seed-short: runsim
@echo "Running short multi-seed application simulation. This may take awhile!"
@$(BINDIR)/runsim -Jobs=4 -SimAppPkg=$(APP_DIR) 50 10 TestFullAppSimulation

test-sim-custom-genesis-fast:
@echo "Running custom genesis simulation..."
@echo "By default, ${HOME}/.migalood/config/genesis.json will be used."
@go test $(TEST_FLAGS) -mod=readonly $(SIMAPP) -run TestFullAppSimulation \
-Enabled=true -NumBlocks=100 -BlockSize=200 -Commit=true -Seed=99 -Period=5 -v -timeout 24h

###############################################################################
### Interchain test ###
###############################################################################

# Executes start chain tests via interchaintest
ictest-start-cosmos:
cd tests/interchaintest && go test -race -v -run TestStartMigaloo .

ictest-ibc:
cd tests/interchaintest && go test -race -v -run TestMigalooGaiaIBCTransfer .

# Executes all tests via interchaintest after compling a local image as migaloo:local
ictest-all: ictest-start-cosmos ictest-ibc

.PHONY: ictest-start-cosmos ictest-all
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Because of this, branching is like:

1. [Website](https://migaloo.zone)
2. [LitePaper]() - Coming Soon
3. [Docs]() - Coming Soon
3. [Docs]( https://docs.migaloo.zone/) - Coming Soon
4. [Roadmap](./docs/ROADMAP.md)
5. [Discord](https://discord.com/channels/908044702794801233/1069611972053712947)
6. [Twitter](https://twitter.com/WhiteWhaleDefi)
Expand Down
10 changes: 5 additions & 5 deletions app/ante.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package app

import (
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
wasmTypes "github.com/CosmWasm/wasmd/x/wasm/types"
ibcante "github.com/cosmos/ibc-go/v7/modules/core/ante"
"github.com/cosmos/ibc-go/v7/modules/core/keeper"

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/v6/modules/core/ante"
"github.com/cosmos/ibc-go/v6/modules/core/keeper"

wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
wasmTypes "github.com/CosmWasm/wasmd/x/wasm/types"
)

// HandlerOptions extend the SDK's AnteHandler options by requiring the IBC
Expand Down
Loading
Loading