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

lint all tests #5127

Closed
wants to merge 158 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
70cfbdc
TestJoinSwapExactAmountInConsistency
DongLieu Apr 27, 2023
37074cc
add cases corners
DongLieu May 4, 2023
f5dc71d
run golangci-lint and resolve ineffectual assignment to err
faddat May 3, 2023
9fa7369
go work sync
faddat May 7, 2023
c688011
waypoint in "check all errors in tests"
faddat May 7, 2023
ac5bcd2
50 error checks remaining
faddat May 7, 2023
3105a8a
42 errors remaining to check in tests
faddat May 7, 2023
cbed0c4
all tests pass and as many errors as possible have been checked
faddat May 7, 2023
31327a6
revert enabling golangci-lint to check tests, as it would always fail…
faddat May 7, 2023
2acfd0e
update changelog
faddat May 7, 2023
1e9eb0c
use thelper in golangci-lint without linting every test
faddat May 3, 2023
d624769
Update tests/e2e/containers/containers.go
faddat May 7, 2023
e9c621f
Merge remote-tracking branch 'origin/main' into faddat/check-all-errors
faddat May 7, 2023
d616f90
thelper for incentives bench test
faddat May 7, 2023
0a59632
unused code in tests
faddat May 7, 2023
8ae270d
Update x/concentrated-liquidity/position_test.go
faddat May 7, 2023
ddc5487
Merge branch 'main' into faddat/check-all-errors
faddat May 7, 2023
560388c
fix forced type assertions
faddat May 7, 2023
b70f80a
revert change to linter config
faddat May 7, 2023
b2d1fab
Update tests/e2e/e2e_test.go
faddat May 8, 2023
85c7ecb
Update x/concentrated-liquidity/pool_test.go
faddat May 8, 2023
8e573d7
skip pool = poolI
faddat May 8, 2023
eb9cc68
update swap_test.go to test that cl type assertions fail
faddat May 8, 2023
56c6152
trial
faddat May 8, 2023
daa610e
we needed pool because it's used to CalcInGivenOut
faddat May 8, 2023
93f5581
Merge branch 'main' into faddat/check-all-errors
faddat May 8, 2023
e243555
Merge remote-tracking branch 'origin/main' into faddat/check-all-errors
faddat May 8, 2023
16c6c97
re-add skip state sync
faddat May 8, 2023
39f6fc4
Merge branch 'faddat/unused-in-tests' into accumulate
faddat May 8, 2023
6bc25aa
Merge branch 'faddat/forcetypeassert' into accumulate
faddat May 8, 2023
268d276
everything but oddities
faddat May 8, 2023
a558e7b
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 9, 2023
ce1675f
Update CHANGELOG.md
faddat May 9, 2023
66c0616
Merge branch 'main' into faddat/check-all-errors
faddat May 9, 2023
e7d37d0
more test cases for TestValidatePoolLiquidity()
DongLieu May 9, 2023
d05c314
return error in SetIncentiveRecord
faddat May 9, 2023
1d07817
revert change to .golanci.yml
faddat May 9, 2023
9d2ee5a
Update x/concentrated-liquidity/pool_test.go
faddat May 9, 2023
bc461ab
Update x/concentrated-liquidity/pool_test.go
faddat May 9, 2023
cb22e58
Update x/gamm/keeper/swap_test.go
faddat May 9, 2023
b9f45b1
Merge branch 'faddat/check-all-errors' into lint-all-tests
faddat May 9, 2023
7ee03f6
Merge remote-tracking branch 'origin/faddat/forcetypeassert' into lin…
faddat May 9, 2023
8ed22fc
golangci-lint run ./... --fix
faddat May 9, 2023
2d93ccf
style: lint stableswap the same as the rest of osmosis (#5105)
faddat May 9, 2023
20d9c04
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 10, 2023
500ea1f
Add test cases for TestSwapOutAmtGivenIn()
DongLieu May 10, 2023
624cadb
add return err for prepareCustomBalancerPool()
DongLieu May 10, 2023
f4d0555
add testcase with non zero exit fee
DongLieu May 10, 2023
56e64ff
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 10, 2023
b6b2da4
res.liquidity
faddat May 10, 2023
981eb4f
mask generated code from the linter, and fix makezero lint
faddat May 10, 2023
665726f
almost :) - commit contains numerous small lint fixes for tests
faddat May 10, 2023
5a5b16a
fix spelling mistake :)
faddat May 10, 2023
179f100
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 10, 2023
beb40e5
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 10, 2023
b51a248
rename
DongLieu May 11, 2023
365e8d2
add calculations lead to number
DongLieu May 11, 2023
26260cd
remove testcase poolExitFee > 0
DongLieu May 11, 2023
3f0c439
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 11, 2023
8f99b2d
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 12, 2023
faf7fce
suite => s
faddat May 12, 2023
bc8434c
suite -> s
faddat May 12, 2023
1bf171e
don't needlessly use fmt.Sprintf
faddat May 12, 2023
4e130d6
Update x/concentrated-liquidity/incentives_test.go
faddat May 15, 2023
9fe5b67
Update x/twap/export_test.go
faddat May 15, 2023
931cce4
Update x/twap/export_test.go
faddat May 15, 2023
ef8811b
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 15, 2023
6a6e558
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 16, 2023
07442dc
sync
faddat May 16, 2023
9732d6f
make all tests pass again
faddat May 16, 2023
32cdbf7
remove swap_test.go from skipped files
faddat May 16, 2023
14a97a9
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 16, 2023
9fe383e
standardize the type assertions
faddat May 17, 2023
d4f65b6
lint cli_test.go
faddat May 17, 2023
79094f2
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 17, 2023
45cda39
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 17, 2023
8427685
sync
faddat May 17, 2023
58d260f
fix tests
faddat May 17, 2023
b32c43a
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 17, 2023
f5e7d33
Merge remote-tracking branch 'origin/main' into dong/issue3849
faddat May 17, 2023
3273192
change linter settings
faddat May 17, 2023
86d210a
Merge branch 'dong/issue3849' into lint-all-tests
faddat May 17, 2023
dc15a1a
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 17, 2023
1e3d4b7
merge Dong's changes to x/gamm
faddat May 17, 2023
23f4650
Revert "Merge branch 'dong/issue3849' into lint-all-tests"
faddat May 17, 2023
01c7aca
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 17, 2023
80207d4
merge main, sync start gamm over again
faddat May 17, 2023
d4badba
bookmark
faddat May 18, 2023
f8f5136
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 18, 2023
508b973
save linting progress
faddat May 19, 2023
4bb0346
s. to suite
faddat May 19, 2023
e74f277
fully passing
faddat May 19, 2023
cd4ba9c
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 19, 2023
6c7694c
misc cleanup lets make sure we did not break e2e
faddat May 19, 2023
44a8475
deprecation notices
faddat May 19, 2023
cf79dbe
lint cliq bench test
faddat May 19, 2023
65e186e
cliq tests
faddat May 19, 2023
e7c8248
nolint the final two type assertions on chatgpt's advice
faddat May 19, 2023
c9caf07
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 19, 2023
964857d
sync
faddat May 19, 2023
1afd9a7
sync
faddat May 19, 2023
83c40d1
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 25, 2023
d949a20
adjust run time for golangci and autofixes after merging main and acc…
faddat May 25, 2023
906a746
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat May 30, 2023
1cd43c7
sync
faddat May 30, 2023
5296021
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Jun 14, 2023
94726e3
sync
faddat Jun 14, 2023
509991f
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Jun 28, 2023
118930a
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Jun 28, 2023
77a7004
t.Helper() and b.Helper() + run golangci-lint ./... --fix
faddat Jun 28, 2023
4e58f86
remove unused function
faddat Jun 28, 2023
4e99ba6
remove unused functions, types, and fields in structs
faddat Jun 28, 2023
3cc8284
eliminate naked returns
faddat Jun 28, 2023
8241efe
eliminate naked returns
faddat Jun 28, 2023
4233d0f
suite -> s
faddat Jun 28, 2023
ad0213f
ineffectual assignments
faddat Jun 28, 2023
fa88191
misspelling and double imports
faddat Jun 28, 2023
908378e
cleanup (check errors and suite -> s)
faddat Jun 28, 2023
2838c57
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Jun 30, 2023
5eb6ce2
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Jul 5, 2023
03c0630
lint
faddat Jul 5, 2023
83bcdbb
merge succeded, this is cleanup of various lints
faddat Jul 5, 2023
30acea9
remove unused
faddat Jul 5, 2023
d4d12fb
make lint work in ci
faddat Jul 5, 2023
9d36046
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Jul 6, 2023
b6aed98
autofixes
faddat Jul 6, 2023
6c9098a
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Jul 6, 2023
12d7037
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Jul 8, 2023
ed76fc5
fix foced type assertions and the "always zero" issue
faddat Jul 8, 2023
b6922a4
remove fuzzstate type
faddat Jul 8, 2023
f962856
rename swapAmountsMismatchErr swapAmountsMismatchError
faddat Jul 8, 2023
2c192df
linting v16 completed
faddat Jul 8, 2023
70e2cf6
fix randChangePercent (thanks @valardragon)
faddat Jul 8, 2023
a313b77
fix e2e tests
faddat Jul 8, 2023
92fe433
use t.Parallel correctly
faddat Jul 8, 2023
ca73d11
add a note about parallel e2e tests, and don't call t.Parallel()
faddat Jul 8, 2023
269bb4d
lengthen timeout for linter
faddat Jul 8, 2023
b21981e
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Jul 13, 2023
de3762b
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Jul 16, 2023
5412a54
lockuptypes
faddat Jul 16, 2023
d7fcf5b
bump linter
faddat Jul 16, 2023
d7474d5
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Jul 22, 2023
82f6550
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Aug 3, 2023
194768b
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Aug 3, 2023
bec5434
tidy
faddat Aug 3, 2023
bc248ae
sync and tidy
faddat Aug 3, 2023
98805e5
check errors
faddat Aug 3, 2023
df564ad
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Aug 4, 2023
e9dbf9c
lint latest merge from main
faddat Aug 4, 2023
7aa9f0c
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Aug 6, 2023
0b2c113
fix white space and double import
faddat Aug 6, 2023
c725bd1
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Aug 8, 2023
87beb96
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Aug 12, 2023
be8c21f
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Aug 12, 2023
1f0e28d
lint tests with unparam
faddat Aug 12, 2023
434575d
remove another unused parameter
faddat Aug 12, 2023
f2e2b8c
Merge remote-tracking branch 'origin/main' into lint-all-tests
faddat Aug 16, 2023
aa81fb6
go work sync
faddat Aug 16, 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
40 changes: 17 additions & 23 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,50 +14,44 @@ jobs:
name: Run golangci-lint
runs-on: ubuntu-latest
steps:
-
name: Check out repository code
- name: Check out repository code
uses: actions/checkout@v3
-
name: 🐿 Setup Golang
- name: 🐿 Setup Golang
uses: actions/setup-go@v4
with:
go-version: ${{env.GO_VERSION}}
-
uses: technote-space/[email protected]
if: env.GIT_DIFF
with:
PATTERNS: |
**/**.go
go.mod
go.sum
.github/**
Makefile
-
name: Run golangci-lint
if: env.GIT_DIFF
# -
# uses: technote-space/[email protected]
# if: env.GIT_DIFF
# with:
# PATTERNS: |
# **/**.go
# go.mod
# go.sum
# .github/**
# Makefile
- name: Run golangci-lint
# if: env.GIT_DIFF
run: make lint

documentation-linter:
name: Run super-linter
runs-on: ubuntu-latest
steps:
-
name: Check out repository code
- name: Check out repository code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files
# within `super-linter`.
fetch-depth: 0
-
name: Get git diff
- name: Get git diff
uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.md
go.mod
go.sum
Makefile
-
name: Run documentation linter
- name: Run documentation linter
if: env.GIT_DIFF
run: make mdlint
17 changes: 10 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
run:
tests: false
timeout: 5m
tests: true
timeout: 10m
allow-parallel-runners: true
skip-files:
- x/gamm/keeper/grpc_query_test.go
- x/gamm/keeper/grpc_query.go

linters:
disable-all: true
Expand All @@ -9,7 +13,6 @@ linters:
enable:
- asciicheck
- bidichk
- depguard
- durationcheck
- errcheck
- errname
Expand Down Expand Up @@ -46,15 +49,15 @@ issues:
exclude-rules:
- linters:
- staticcheck
text: "SA1024: cutset contains duplicate characters" # proved to not provide much value, only false positives.
text: 'SA1024: cutset contains duplicate characters' # proved to not provide much value, only false positives.
- linters:
- staticcheck
text: "SA9004: only the first constant in this group has an explicit type" # explicitly recommended in go syntax
text: 'SA9004: only the first constant in this group has an explicit type' # explicitly recommended in go syntax
- linters:
- stylecheck
text: "ST1003:" # requires identifiers with "id" to be "ID".
text: 'ST1003:' # requires identifiers with "id" to be "ID".
- linters:
- stylecheck
text: "ST1005:" # punctuation in error messages
text: 'ST1005:' # punctuation in error messages
max-issues-per-linter: 10000
max-same-issues: 10000
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ docker-build-nonroot:

lint:
@echo "--> Running linter"
@go run github.com/golangci/golangci-lint/cmd/golangci-lint run --timeout=10m
@go run github.com/golangci/golangci-lint/cmd/golangci-lint run --timeout=15m
@docker run -v $(PWD):/workdir ghcr.io/igorshubovych/markdownlint-cli:latest "**/*.md"

format:
Expand Down
12 changes: 3 additions & 9 deletions app/upgrades/v16/upgrades_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@ import (
)

var (
DAIIBCDenom = "ibc/0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7"
defaultDaiAmount, _ = sdk.NewIntFromString("73000000000000000000000")
defaultDenom0mount = sdk.NewInt(10000000000)
desiredDenom0 = "uosmo"
desiredDenom0Coin = sdk.NewCoin(desiredDenom0, defaultDenom0mount)
daiCoin = sdk.NewCoin(DAIIBCDenom, defaultDaiAmount)
DAIIBCDenom = "ibc/0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7"
)

type UpgradeTestSuite struct {
Expand Down Expand Up @@ -93,7 +88,6 @@ func (suite *UpgradeTestSuite) TestUpgrade() {

// Create DAI / OSMO pool
suite.PrepareBalancerPoolWithCoins(sdk.NewCoin("ibc/0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7", defaultDaiAmount), sdk.NewCoin("uosmo", sdk.NewInt(10000000000)))

},
func() {
stakingParams := suite.App.StakingKeeper.GetParams(suite.Ctx)
Expand Down Expand Up @@ -228,7 +222,7 @@ func upgradeProtorevSetup(suite *UpgradeTestSuite) error {
suite.App.ProtoRevKeeper.SetDeveloperAccount(suite.Ctx, account)

devFee := sdk.NewCoin("uosmo", sdk.NewInt(1000000))
if err := suite.App.ProtoRevKeeper.SetDeveloperFees(suite.Ctx, devFee); err != nil {
if err := suite.App.ProtoRevKeeper.SetDeveloperFees(suite.Ctx, devFee); err != nil { //nolint:staticcheck // this can be safely removed in v17
return err
}

Expand All @@ -248,7 +242,7 @@ func verifyProtorevUpdateSuccess(suite *UpgradeTestSuite) {
suite.Require().Equal(suite.App.BankKeeper.GetBalance(suite.Ctx, devAcc, "uosmo"), sdk.NewCoin("uosmo", sdk.NewInt(1000000)))

// Ensure developer fees are empty
coins, err := suite.App.ProtoRevKeeper.GetAllDeveloperFees(suite.Ctx)
coins, err := suite.App.ProtoRevKeeper.GetAllDeveloperFees(suite.Ctx) //nolint:staticcheck // used for the v16 upgrade and can be removed in v17
suite.Require().NoError(err)
suite.Require().Equal(coins, []sdk.Coin{})
}
11 changes: 4 additions & 7 deletions app/upgrades/v17/upgrades_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"github.com/osmosis-labs/osmosis/v17/app/keepers"
v17 "github.com/osmosis-labs/osmosis/v17/app/upgrades/v17"
cltypes "github.com/osmosis-labs/osmosis/v17/x/concentrated-liquidity/types"
poolManagerTypes "github.com/osmosis-labs/osmosis/v17/x/poolmanager/types"
poolmanagertypes "github.com/osmosis-labs/osmosis/v17/x/poolmanager/types"
superfluidtypes "github.com/osmosis-labs/osmosis/v17/x/superfluid/types"
"github.com/osmosis-labs/osmosis/v17/x/twap/types"
Expand Down Expand Up @@ -57,7 +56,7 @@ func dummyUpgrade(suite *UpgradeTestSuite) {
suite.Ctx = suite.Ctx.WithBlockHeight(dummyUpgradeHeight)
}

func dummyTwapRecord(poolId uint64, t time.Time, asset0 string, asset1 string, sp0, accum0, accum1, geomAccum sdk.Dec) types.TwapRecord {
func dummyTwapRecord(poolId uint64, t time.Time, asset0 string, asset1 string, sp0, accum0, accum1, geomAccum sdk.Dec) types.TwapRecord { //nolint:unparam // asset1 always receives uosmo
return types.TwapRecord{
PoolId: poolId,
Time: t,
Expand Down Expand Up @@ -193,7 +192,6 @@ func (suite *UpgradeTestSuite) TestUpgrade() {
suite.App.TwapKeeper.StoreNewRecord(suite.Ctx, t7)

return expectedCoinsUsedInUpgradeHandler, existingBalancerPoolId

},
func(keepers *keepers.AppKeepers, expectedCoinsUsedInUpgradeHandler sdk.Coins, lastPoolID uint64) {
lastPoolIdMinusOne := lastPoolID - 1
Expand Down Expand Up @@ -300,6 +298,7 @@ func (suite *UpgradeTestSuite) TestUpgrade() {

// Validate that the link is correct.
migrationInfo, err := suite.App.GAMMKeeper.GetAllMigrationInfo(suite.Ctx)
suite.Require().NoError(err)
link := migrationInfo.BalancerToConcentratedPoolLinks[i]
suite.Require().Equal(assetPair.LinkedClassicPool, link.BalancerPoolId)
suite.Require().Equal(concentratedPool.GetId(), link.ClPoolId)
Expand Down Expand Up @@ -331,7 +330,6 @@ func (suite *UpgradeTestSuite) TestUpgrade() {
migrationInfo, err := suite.App.GAMMKeeper.GetAllMigrationInfo(suite.Ctx)
suite.Require().Equal(len(assetPairs), len(migrationInfo.BalancerToConcentratedPoolLinks))
suite.Require().NoError(err)

},
},
{
Expand Down Expand Up @@ -389,7 +387,6 @@ func (suite *UpgradeTestSuite) TestUpgrade() {
lastPoolID += 3

return expectedCoinsUsedInUpgradeHandler, lastPoolID

},
func(keepers *keepers.AppKeepers, expectedCoinsUsedInUpgradeHandler sdk.Coins, lastPoolID uint64) {
// Set the bond denom to uosmo
Expand Down Expand Up @@ -422,7 +419,7 @@ func (suite *UpgradeTestSuite) TestUpgrade() {
// For testnet, we run through all gamm pools (not just the asset list)
for i, pool := range gammPoolsPreUpgrade {
// Skip pools that are not balancer pools
if pool.GetType() != poolManagerTypes.Balancer {
if pool.GetType() != poolmanagertypes.Balancer {
indexOffset++
continue
}
Expand Down Expand Up @@ -467,6 +464,7 @@ func (suite *UpgradeTestSuite) TestUpgrade() {

// Validate that the link is correct.
migrationInfo, err := suite.App.GAMMKeeper.GetAllMigrationInfo(suite.Ctx)
suite.Require().NoError(err)
link := migrationInfo.BalancerToConcentratedPoolLinks[i-indexOffset]
suite.Require().Equal(gammPoolId, link.BalancerPoolId)
suite.Require().Equal(concentratedPool.GetId(), link.ClPoolId)
Expand Down Expand Up @@ -507,7 +505,6 @@ func (suite *UpgradeTestSuite) TestUpgrade() {
migrationInfo, err := suite.App.GAMMKeeper.GetAllMigrationInfo(suite.Ctx)
suite.Require().Equal(int(numPoolsEligibleForMigration), len(migrationInfo.BalancerToConcentratedPoolLinks))
suite.Require().NoError(err)

},
},
{
Expand Down
8 changes: 5 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ require (
github.com/cosmos/cosmos-proto v1.0.0-beta.3
github.com/cosmos/cosmos-sdk v0.47.4
github.com/cosmos/go-bip39 v1.0.0
github.com/cosmos/gogoproto v1.4.6
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4 v4.1.0
github.com/cosmos/ibc-apps/modules/async-icq/v4 v4.1.0
github.com/cosmos/ibc-go/v4 v4.3.1
github.com/cosmos/ibc-go/v4 v4.4.1
github.com/gogo/protobuf v1.3.3
github.com/golang/mock v1.6.0
github.com/golang/protobuf v1.5.3
Expand Down Expand Up @@ -56,7 +57,6 @@ require (
github.com/benbjohnson/clock v1.3.0 // indirect
github.com/butuzov/mirror v1.1.0 // indirect
github.com/bytedance/sonic v1.10.0 // indirect
github.com/cosmos/gogoproto v1.4.6 // indirect
github.com/cosmos/iavl v0.19.5 // indirect
github.com/creachadair/taskgroup v0.3.2 // indirect
github.com/curioswitch/go-reassign v0.2.0 // indirect
Expand All @@ -66,6 +66,7 @@ require (
github.com/goccy/go-json v0.10.2 // indirect
github.com/gogo/gateway v1.1.0 // indirect
github.com/google/btree v1.1.2 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/kkHAIKE/contextcheck v1.1.4 // indirect
github.com/maratori/testableexamples v1.0.0 // indirect
github.com/nunnatsa/ginkgolinter v0.13.3 // indirect
Expand All @@ -86,6 +87,7 @@ require (
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/goleak v1.1.12 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/arch v0.3.0 // indirect
google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect
)
Expand Down Expand Up @@ -311,7 +313,7 @@ require (
golang.org/x/term v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
golang.org/x/tools v0.12.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
google.golang.org/protobuf v1.31.0
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1
honnef.co/go/tools v0.4.3 // indirect
Expand Down
10 changes: 6 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4 v4.1.0 h1:96f
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4 v4.1.0/go.mod h1:Mn/jr9pIYr1ofFuptLEi9N6MjcshTT0cpoOY4ln1DeA=
github.com/cosmos/ibc-apps/modules/async-icq/v4 v4.1.0 h1:1iQ8/rJwkeGJe81fKyZC/ASSajoJP0jEi6IJFiKIr7Y=
github.com/cosmos/ibc-apps/modules/async-icq/v4 v4.1.0/go.mod h1:X/dLZ6QxTImzno7qvD6huLhh6ZZBcRt2URn4YCLcXFY=
github.com/cosmos/ibc-go/v4 v4.3.1 h1:xbg0CaCdxK3lvgGvSaI91ROOLd7s30UqEcexH6Ba4Ys=
github.com/cosmos/ibc-go/v4 v4.3.1/go.mod h1:89E+K9CxpkS/etLEcG026jPM/RSnVMcfesvRYp/0aKI=
github.com/cosmos/ibc-go/v4 v4.4.1 h1:pHPLEpQStGuHZe5J17WvG7w0VGwTmfsoAHrs45+vPfw=
github.com/cosmos/ibc-go/v4 v4.4.1/go.mod h1:UkKEQAPWckLuomhqG8XzeE5nWQPdiEYF8EIDWXBKSXA=
github.com/cosmos/interchain-accounts v0.2.6 h1:TV2M2g1/Rb9MCNw1YePdBKE0rcEczNj1RGHT+2iRYas=
github.com/cosmos/ledger-cosmos-go v0.12.2 h1:/XYaBlE2BJxtvpkHiBm97gFGSGmYGKunKyF3nNqAXZA=
github.com/cosmos/ledger-cosmos-go v0.12.2/go.mod h1:ZcqYgnfNJ6lAXe4HPtWgarNEY+B74i+2/8MhZw4ziiI=
Expand Down Expand Up @@ -578,7 +578,8 @@ github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hf
github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 h1:yAJXTCF9TqKcTiHJAE8dj7HMvPfh66eeA2JYW7eFpSE=
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJYCmNdQXq6neHJOYx3V6jnqNEec=
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4=
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ=
Expand Down Expand Up @@ -1330,8 +1331,9 @@ go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM=
go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60=
go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg=
golang.org/x/arch v0.0.0-20210923205945-b76863e36670 h1:18EFjUmQOcUvxNYSkA6jO9VAiXCnxFY6NyDX0bHDmkU=
golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k=
golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
Expand Down
22 changes: 12 additions & 10 deletions osmomath/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/osmosis-labs/osmosis/osmomath
go 1.20

require (
github.com/cosmos/cosmos-sdk v0.47.3
github.com/cosmos/cosmos-sdk v0.47.4
github.com/stretchr/testify v1.8.4
gopkg.in/yaml.v2 v2.4.0
)
Expand Down Expand Up @@ -31,7 +31,7 @@ require (
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/gogo/protobuf v1.3.3 // indirect
github.com/golang/glog v1.1.0 // indirect
github.com/golang/glog v1.1.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/snappy v0.0.4 // indirect
Expand All @@ -54,7 +54,7 @@ require (
github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/onsi/ginkgo v1.16.4 // indirect
github.com/onsi/gomega v1.26.0 // indirect
github.com/onsi/gomega v1.27.6 // indirect
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect
github.com/pkg/errors v0.9.1 // indirect
Expand All @@ -78,13 +78,15 @@ require (
github.com/tendermint/tm-db v0.6.8-0.20220506192307-f628bb5dc95b // indirect
go.etcd.io/bbolt v1.3.6 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/crypto v0.9.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/grpc v1.55.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
golang.org/x/crypto v0.12.0 // indirect
golang.org/x/net v0.14.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect
google.golang.org/grpc v1.56.2 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Expand Down
Loading