From 7b5402b3112d7f93d7a7a54d5533e54b4948b995 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Tue, 31 Jan 2023 21:15:52 -0600 Subject: [PATCH 01/29] bump main from v12 to v13 --- Makefile | 2 +- ROADMAP.md | 12 +- app/ante.go | 6 +- app/app.go | 21 +- app/encoding.go | 2 +- app/keepers/keepers.go | 12 +- app/keepers/keys.go | 6 +- app/modules.go | 14 +- app/test_helpers.go | 4 +- app/upgrades/types.go | 2 +- app/upgrades/v10/constants.go | 2 +- app/upgrades/v10/upgrades.go | 2 +- app/upgrades/v11/constants.go | 2 +- app/upgrades/v11/upgrades.go | 2 +- app/upgrades/v12/constants.go | 22 +- app/upgrades/v12/upgrades.go | 149 +------------ app/upgrades/v13/constants.go | 32 +++ app/upgrades/v13/upgrades.go | 164 ++++++++++++++ cmd/junod/cmd/balances_from_state_export.go | 2 +- cmd/junod/cmd/genica.go | 4 +- cmd/junod/cmd/root.go | 4 +- cmd/junod/main.go | 4 +- docs/static/openapi.yml | 220 +++++++++---------- docs/swagger.yaml | 220 +++++++++---------- go.mod | 2 +- price-feeder/cmd/price-feeder.go | 2 +- price-feeder/go.mod | 5 +- price-feeder/go.sum | 2 - price-feeder/oracle/client/client.go | 4 +- price-feeder/oracle/oracle.go | 2 +- price-feeder/oracle/param.go | 2 +- price-feeder/oracle/param_test.go | 2 +- scripts/merge_protoc.py | 2 +- tests/e2e/configurer/base.go | 8 +- tests/e2e/configurer/chain/chain.go | 6 +- tests/e2e/configurer/chain/commands.go | 4 +- tests/e2e/configurer/chain/node.go | 4 +- tests/e2e/configurer/chain/queries.go | 2 +- tests/e2e/configurer/current.go | 6 +- tests/e2e/configurer/factory.go | 6 +- tests/e2e/configurer/upgrade.go | 10 +- tests/e2e/e2e_setup_test.go | 2 +- tests/e2e/e2e_test.go | 2 +- tests/e2e/initialization/chain/main.go | 2 +- tests/e2e/initialization/config.go | 2 +- tests/e2e/initialization/init.go | 2 +- tests/e2e/initialization/init_test.go | 2 +- tests/e2e/initialization/node.go | 4 +- tests/e2e/initialization/node/main.go | 2 +- tests/e2e/initialization/util.go | 2 +- tests/e2e/util/codec.go | 4 +- x/feeshare/ante/ante.go | 2 +- x/feeshare/ante/ante_test.go | 2 +- x/feeshare/ante/expected_keepers.go | 2 +- x/feeshare/client/cli/query.go | 2 +- x/feeshare/client/cli/tx.go | 2 +- x/feeshare/genesis.go | 4 +- x/feeshare/genesis_test.go | 6 +- x/feeshare/integration_test.go | 4 +- x/feeshare/keeper/feeshare.go | 2 +- x/feeshare/keeper/grpc_query.go | 2 +- x/feeshare/keeper/grpc_query_test.go | 4 +- x/feeshare/keeper/keeper.go | 2 +- x/feeshare/keeper/keeper_test.go | 6 +- x/feeshare/keeper/msg_server.go | 2 +- x/feeshare/keeper/msg_server_test.go | 2 +- x/feeshare/keeper/params.go | 2 +- x/feeshare/module.go | 6 +- x/mint/abci.go | 4 +- x/mint/client/cli/query.go | 2 +- x/mint/client/rest/grpc_query_test.go | 2 +- x/mint/client/rest/query.go | 2 +- x/mint/client/testutil/suite.go | 4 +- x/mint/genesis.go | 4 +- x/mint/keeper/grpc_query.go | 2 +- x/mint/keeper/grpc_query_test.go | 4 +- x/mint/keeper/integration_test.go | 4 +- x/mint/keeper/keeper.go | 2 +- x/mint/keeper/migrator.go | 2 +- x/mint/keeper/querier.go | 2 +- x/mint/keeper/querier_test.go | 4 +- x/mint/migrations/v2/migrate.go | 2 +- x/mint/module.go | 10 +- x/mint/module_test.go | 2 +- x/mint/simulation/decoder.go | 2 +- x/mint/simulation/decoder_test.go | 6 +- x/mint/simulation/genesis.go | 2 +- x/mint/simulation/genesis_test.go | 4 +- x/mint/simulation/params.go | 2 +- x/mint/simulation/params_test.go | 2 +- x/oracle/abci.go | 4 +- x/oracle/abci_test.go | 8 +- x/oracle/client/cli/gov_tx.go | 2 +- x/oracle/client/cli/query.go | 4 +- x/oracle/client/cli/tx.go | 2 +- x/oracle/client/proposal_handler.go | 4 +- x/oracle/genesis.go | 4 +- x/oracle/keeper/alias_functions.go | 2 +- x/oracle/keeper/ballot.go | 2 +- x/oracle/keeper/ballot_test.go | 2 +- x/oracle/keeper/genesis.go | 2 +- x/oracle/keeper/grpc_query.go | 2 +- x/oracle/keeper/grpc_query_test.go | 8 +- x/oracle/keeper/history.go | 4 +- x/oracle/keeper/history_test.go | 2 +- x/oracle/keeper/keeper.go | 2 +- x/oracle/keeper/keeper_test.go | 8 +- x/oracle/keeper/msg_server.go | 2 +- x/oracle/keeper/msg_server_test.go | 2 +- x/oracle/keeper/params.go | 2 +- x/oracle/keeper/params_test.go | 2 +- x/oracle/keeper/proposal_handler.go | 2 +- x/oracle/keeper/proposal_integration_test.go | 2 +- x/oracle/keeper/reward.go | 4 +- x/oracle/keeper/reward_test.go | 2 +- x/oracle/keeper/test_common.go | 4 +- x/oracle/module.go | 8 +- x/oracle/simulation/decoder.go | 2 +- x/oracle/simulation/genesis.go | 2 +- x/oracle/simulation/operations.go | 4 +- x/oracle/simulation/params.go | 2 +- x/oracle/types/asset.go | 2 +- x/oracle/types/denom_test.go | 2 +- x/oracle/types/keys_test.go | 4 +- x/oracle/types/msgs.go | 2 +- x/oracle/wasm/interface.go | 2 +- 126 files changed, 635 insertions(+), 604 deletions(-) create mode 100644 app/upgrades/v13/constants.go create mode 100644 app/upgrades/v13/upgrades.go diff --git a/Makefile b/Makefile index 1e6fa3e48..c9ee4544b 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ TM_VERSION := $(shell go list -m github.com/tendermint/tendermint | sed 's:.* :: DOCKER := $(shell which docker) DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf:1.0.0-rc8 BUILDDIR ?= $(CURDIR)/build -E2E_UPGRADE_VERSION := "v12" +E2E_UPGRADE_VERSION := "v13" export GO111MODULE = on # process build tags diff --git a/ROADMAP.md b/ROADMAP.md index 8536c3673..477fc363e 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -4,7 +4,7 @@ This document contains the roadmap for the Juno project. It is a living document --- -## V13 - Q3 or Q4 2023 / TBD +## V14 - Q3 or Q4 2023 / TBD - [Notion Plan Page](https://fluffy-conifer-309.notion.site/123261ebfe2040d9ac559f7e7d3c5cd2?v=6d59a04765f543738676f8db21ae8525) @@ -25,7 +25,7 @@ This update will focus more on upgrading the base layer of the Juno stack, bring --- -## V12 - Q1 2023 +## V13 - Q1 2023 Links: @@ -33,11 +33,11 @@ Links: - [Notion Plan Page](https://fluffy-conifer-309.notion.site/123261ebfe2040d9ac559f7e7d3c5cd2?v=6d59a04765f543738676f8db21ae8525) -- [V12 Tracking Issue](https://github.com/CosmosContracts/juno/issues/268) +- [3 Tracking Issue](https://github.com/CosmosContracts/juno/issues/268) -The V12 update is Juno's largest update, bringing many new features for developers, users, and relayers. +The V13 update is Juno's largest update, bringing many new features for developers, users, and relayers. -### V12 PRs +### V13 PRs - [x/FeeShare (CosmWasm)](https://github.com/CosmosContracts/juno/pull/385) - [x/TokenFactory](https://github.com/CosmosContracts/juno/pull/368) @@ -50,7 +50,7 @@ The V12 update is Juno's largest update, bringing many new features for develope - [x/ibc V4](https://github.com/CosmosContracts/juno/pull/387) - [x/ibc-fees](https://github.com/CosmosContracts/juno/pull/432) -V12 is targeted at developers with relayer and user experience improvements as well. +V13 is targeted at developers with relayer and user experience improvements as well. **FeeShare** will allow contract developers to receive 50% of gas fees executed on their contract. Providing an alternative income source for new business use cases. This also enhances current business models to support developers & grow the ecosystem further. diff --git a/app/ante.go b/app/ante.go index 165f0bc4e..bc9faec03 100644 --- a/app/ante.go +++ b/app/ante.go @@ -14,10 +14,10 @@ import ( govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" wasmTypes "github.com/CosmWasm/wasmd/x/wasm/types" - decorators "github.com/CosmosContracts/juno/v12/app/decorators" + decorators "github.com/CosmosContracts/juno/v13/app/decorators" - feeshareante "github.com/CosmosContracts/juno/v12/x/feeshare/ante" - feesharekeeper "github.com/CosmosContracts/juno/v12/x/feeshare/keeper" + feeshareante "github.com/CosmosContracts/juno/v13/x/feeshare/ante" + feesharekeeper "github.com/CosmosContracts/juno/v13/x/feeshare/keeper" ) func updateAppSimulationFlag(flag bool) { diff --git a/app/app.go b/app/app.go index 7a1f01193..5bccf99fc 100644 --- a/app/app.go +++ b/app/app.go @@ -6,8 +6,8 @@ import ( "os" "strings" - "github.com/CosmosContracts/juno/v12/app/openapiconsole" - "github.com/CosmosContracts/juno/v12/docs" + "github.com/CosmosContracts/juno/v13/app/openapiconsole" + "github.com/CosmosContracts/juno/v13/docs" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" @@ -48,13 +48,14 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" "github.com/prometheus/client_golang/prometheus" - "github.com/CosmosContracts/juno/v12/app/keepers" - encparams "github.com/CosmosContracts/juno/v12/app/params" - upgrades "github.com/CosmosContracts/juno/v12/app/upgrades" - v10 "github.com/CosmosContracts/juno/v12/app/upgrades/v10" - v11 "github.com/CosmosContracts/juno/v12/app/upgrades/v11" - v12 "github.com/CosmosContracts/juno/v12/app/upgrades/v12" - oracleclient "github.com/CosmosContracts/juno/v12/x/oracle/client" + "github.com/CosmosContracts/juno/v13/app/keepers" + encparams "github.com/CosmosContracts/juno/v13/app/params" + upgrades "github.com/CosmosContracts/juno/v13/app/upgrades" + v10 "github.com/CosmosContracts/juno/v13/app/upgrades/v10" + v11 "github.com/CosmosContracts/juno/v13/app/upgrades/v11" + v12 "github.com/CosmosContracts/juno/v13/app/upgrades/v12" + v13 "github.com/CosmosContracts/juno/v13/app/upgrades/v13" + oracleclient "github.com/CosmosContracts/juno/v13/x/oracle/client" ) const ( @@ -75,7 +76,7 @@ var ( // https://github.com/CosmWasm/wasmd/blob/02a54d33ff2c064f3539ae12d75d027d9c665f05/x/wasm/internal/types/proposal.go#L28-L34 EnableSpecificProposals = "" - Upgrades = []upgrades.Upgrade{v10.Upgrade, v11.Upgrade, v12.Upgrade} + Upgrades = []upgrades.Upgrade{v10.Upgrade, v11.Upgrade, v12.Upgrade, v13.Upgrade} ) // These constants are derived from the above variables. diff --git a/app/encoding.go b/app/encoding.go index a76060b33..ab93d9bc3 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -1,7 +1,7 @@ package app import ( - "github.com/CosmosContracts/juno/v12/app/params" + "github.com/CosmosContracts/juno/v13/app/params" "github.com/cosmos/cosmos-sdk/std" ) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 457f724ac..97ebca29b 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -7,8 +7,8 @@ import ( "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" - mintkeeper "github.com/CosmosContracts/juno/v12/x/mint/keeper" - minttypes "github.com/CosmosContracts/juno/v12/x/mint/types" + mintkeeper "github.com/CosmosContracts/juno/v13/x/mint/keeper" + minttypes "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/codec" servertypes "github.com/cosmos/cosmos-sdk/server/types" @@ -69,8 +69,8 @@ import ( icahostkeeper "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/host/keeper" icahosttypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/host/types" - feesharekeeper "github.com/CosmosContracts/juno/v12/x/feeshare/keeper" - feesharetypes "github.com/CosmosContracts/juno/v12/x/feeshare/types" + feesharekeeper "github.com/CosmosContracts/juno/v13/x/feeshare/keeper" + feesharetypes "github.com/CosmosContracts/juno/v13/x/feeshare/types" // ica "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts" icacontroller "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/controller" @@ -80,8 +80,8 @@ import ( intertxkeeper "github.com/cosmos/interchain-accounts/x/inter-tx/keeper" intertxtypes "github.com/cosmos/interchain-accounts/x/inter-tx/types" - oraclekeeper "github.com/CosmosContracts/juno/v12/x/oracle/keeper" - oracletypes "github.com/CosmosContracts/juno/v12/x/oracle/types" + oraclekeeper "github.com/CosmosContracts/juno/v13/x/oracle/keeper" + oracletypes "github.com/CosmosContracts/juno/v13/x/oracle/types" ) type AppKeepers struct { diff --git a/app/keepers/keys.go b/app/keepers/keys.go index 5c20e7257..5a0348dbd 100644 --- a/app/keepers/keys.go +++ b/app/keepers/keys.go @@ -3,9 +3,9 @@ package keepers import ( tokenfactorytypes "github.com/CosmWasm/token-factory/x/tokenfactory/types" "github.com/CosmWasm/wasmd/x/wasm" - feesharetypes "github.com/CosmosContracts/juno/v12/x/feeshare/types" - minttypes "github.com/CosmosContracts/juno/v12/x/mint/types" - oracletypes "github.com/CosmosContracts/juno/v12/x/oracle/types" + feesharetypes "github.com/CosmosContracts/juno/v13/x/feeshare/types" + minttypes "github.com/CosmosContracts/juno/v13/x/mint/types" + oracletypes "github.com/CosmosContracts/juno/v13/x/oracle/types" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" diff --git a/app/modules.go b/app/modules.go index 11fcb6341..91292d16b 100644 --- a/app/modules.go +++ b/app/modules.go @@ -4,13 +4,13 @@ import ( "github.com/CosmWasm/token-factory/x/tokenfactory" tokenfactorytypes "github.com/CosmWasm/token-factory/x/tokenfactory/types" "github.com/CosmWasm/wasmd/x/wasm" - encparams "github.com/CosmosContracts/juno/v12/app/params" - feeshare "github.com/CosmosContracts/juno/v12/x/feeshare" - feesharetypes "github.com/CosmosContracts/juno/v12/x/feeshare/types" - "github.com/CosmosContracts/juno/v12/x/mint" - minttypes "github.com/CosmosContracts/juno/v12/x/mint/types" - "github.com/CosmosContracts/juno/v12/x/oracle" - oracletypes "github.com/CosmosContracts/juno/v12/x/oracle/types" + encparams "github.com/CosmosContracts/juno/v13/app/params" + feeshare "github.com/CosmosContracts/juno/v13/x/feeshare" + feesharetypes "github.com/CosmosContracts/juno/v13/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/x/mint" + minttypes "github.com/CosmosContracts/juno/v13/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/oracle" + oracletypes "github.com/CosmosContracts/juno/v13/x/oracle/types" "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/auth" authsims "github.com/cosmos/cosmos-sdk/x/auth/simulation" diff --git a/app/test_helpers.go b/app/test_helpers.go index 5bfbf7faf..17b572418 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -7,8 +7,8 @@ import ( "github.com/CosmWasm/wasmd/x/wasm" "github.com/CosmWasm/wasmd/x/wasm/keeper" - apphelpers "github.com/CosmosContracts/juno/v12/app/helpers" - appparams "github.com/CosmosContracts/juno/v12/app/params" + apphelpers "github.com/CosmosContracts/juno/v13/app/helpers" + appparams "github.com/CosmosContracts/juno/v13/app/params" codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" diff --git a/app/upgrades/types.go b/app/upgrades/types.go index a7b578b2a..c03fef1b9 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -1,7 +1,7 @@ package upgrades import ( - "github.com/CosmosContracts/juno/v12/app/keepers" + "github.com/CosmosContracts/juno/v13/app/keepers" store "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" diff --git a/app/upgrades/v10/constants.go b/app/upgrades/v10/constants.go index 5d5b21b50..9dbf2ce95 100644 --- a/app/upgrades/v10/constants.go +++ b/app/upgrades/v10/constants.go @@ -1,7 +1,7 @@ package v10 import ( - "github.com/CosmosContracts/juno/v12/app/upgrades" + "github.com/CosmosContracts/juno/v13/app/upgrades" store "github.com/cosmos/cosmos-sdk/store/types" icacontrollertypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/controller/types" icahosttypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/host/types" diff --git a/app/upgrades/v10/upgrades.go b/app/upgrades/v10/upgrades.go index fe46f8f7f..019d080d4 100644 --- a/app/upgrades/v10/upgrades.go +++ b/app/upgrades/v10/upgrades.go @@ -2,7 +2,7 @@ package v10 import ( wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/CosmosContracts/juno/v12/app/keepers" + "github.com/CosmosContracts/juno/v13/app/keepers" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/authz" diff --git a/app/upgrades/v11/constants.go b/app/upgrades/v11/constants.go index 346924d2e..7abc0c997 100644 --- a/app/upgrades/v11/constants.go +++ b/app/upgrades/v11/constants.go @@ -1,7 +1,7 @@ package v11 import ( - "github.com/CosmosContracts/juno/v12/app/upgrades" + "github.com/CosmosContracts/juno/v13/app/upgrades" store "github.com/cosmos/cosmos-sdk/store/types" icacontrollertypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/controller/types" icahosttypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/host/types" diff --git a/app/upgrades/v11/upgrades.go b/app/upgrades/v11/upgrades.go index e7d38f1bd..fe67facb0 100644 --- a/app/upgrades/v11/upgrades.go +++ b/app/upgrades/v11/upgrades.go @@ -2,7 +2,7 @@ package v11 import ( wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/CosmosContracts/juno/v12/app/keepers" + "github.com/CosmosContracts/juno/v13/app/keepers" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/authz" diff --git a/app/upgrades/v12/constants.go b/app/upgrades/v12/constants.go index 8d5d55368..fb3a6cc56 100644 --- a/app/upgrades/v12/constants.go +++ b/app/upgrades/v12/constants.go @@ -1,32 +1,14 @@ package v12 import ( - tokenfactorytypes "github.com/CosmWasm/token-factory/x/tokenfactory/types" - "github.com/CosmosContracts/juno/v12/app/upgrades" - feesharetypes "github.com/CosmosContracts/juno/v12/x/feeshare/types" - oracletypes "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/app/upgrades" store "github.com/cosmos/cosmos-sdk/store/types" - ibcfeetypes "github.com/cosmos/ibc-go/v4/modules/apps/29-fee/types" - intertxtypes "github.com/cosmos/interchain-accounts/x/inter-tx/types" - ibchookstypes "github.com/osmosis-labs/osmosis/x/ibc-hooks/types" - packetforwardtypes "github.com/strangelove-ventures/packet-forward-middleware/v4/router/types" ) -// UpgradeName defines the on-chain upgrade name for the Juno v12 upgrade. const UpgradeName = "v12" var Upgrade = upgrades.Upgrade{ UpgradeName: UpgradeName, CreateUpgradeHandler: CreateV12UpgradeHandler, - StoreUpgrades: store.StoreUpgrades{ - Added: []string{ - tokenfactorytypes.ModuleName, - oracletypes.ModuleName, - feesharetypes.ModuleName, - ibcfeetypes.ModuleName, - intertxtypes.ModuleName, - ibchookstypes.StoreKey, - packetforwardtypes.StoreKey, - }, - }, + StoreUpgrades: store.StoreUpgrades{}, } diff --git a/app/upgrades/v12/upgrades.go b/app/upgrades/v12/upgrades.go index 2fa05542a..48e7c26a6 100644 --- a/app/upgrades/v12/upgrades.go +++ b/app/upgrades/v12/upgrades.go @@ -1,165 +1,20 @@ package v12 import ( - "fmt" - "strings" - - "github.com/CosmosContracts/juno/v12/app/keepers" + "github.com/CosmosContracts/juno/v13/app/keepers" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/authz" - - // ICA - - icacontrollertypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/controller/types" - icahosttypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/host/types" - icatypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/types" - // types - tokenfactorytypes "github.com/CosmWasm/token-factory/x/tokenfactory/types" - wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - feesharetypes "github.com/CosmosContracts/juno/v12/x/feeshare/types" - oracletypes "github.com/CosmosContracts/juno/v12/x/oracle/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - ibcfeetypes "github.com/cosmos/ibc-go/v4/modules/apps/29-fee/types" - - packetforwardtypes "github.com/strangelove-ventures/packet-forward-middleware/v4/router/types" ) -// Returns "ujunox" if the chain is uni, else returns the standard ujuno token denom. -func GetChainsDenomToken(chainID string) string { - if strings.HasPrefix(chainID, "uni-") { - return "ujunox" - } - return "ujuno" -} - -// CreateV12UpgradeHandler makes an upgrade handler for v12 of Juno func CreateV12UpgradeHandler( mm *module.Manager, cfg module.Configurator, keepers *keepers.AppKeepers, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { - // transfer module consensus version has been bumped to 2 - // the above is https://github.com/cosmos/ibc-go/blob/v5.1.0/docs/migrations/v3-to-v4.md - logger := ctx.Logger().With("upgrade", UpgradeName) - - nativeDenom := GetChainsDenomToken(ctx.ChainID()) - logger.Info(fmt.Sprintf("With native denom %s", nativeDenom)) - - // ICA - https://github.com/CosmosContracts/juno/blob/integrate_ica_changes/app/app.go#L846-L885 - vm[icatypes.ModuleName] = mm.Modules[icatypes.ModuleName].ConsensusVersion() - logger.Info("upgraded icatypes version") - - // Update ICS27 Host submodule params - hostParams := icahosttypes.Params{ - HostEnabled: true, - AllowMessages: []string{ - // bank - sdk.MsgTypeURL(&banktypes.MsgSend{}), - sdk.MsgTypeURL(&banktypes.MsgMultiSend{}), - // staking - sdk.MsgTypeURL(&stakingtypes.MsgDelegate{}), - sdk.MsgTypeURL(&stakingtypes.MsgBeginRedelegate{}), - sdk.MsgTypeURL(&stakingtypes.MsgUndelegate{}), - sdk.MsgTypeURL(&stakingtypes.MsgCreateValidator{}), - sdk.MsgTypeURL(&stakingtypes.MsgEditValidator{}), - // distribution - sdk.MsgTypeURL(&distrtypes.MsgWithdrawDelegatorReward{}), - sdk.MsgTypeURL(&distrtypes.MsgSetWithdrawAddress{}), - sdk.MsgTypeURL(&distrtypes.MsgWithdrawValidatorCommission{}), - sdk.MsgTypeURL(&distrtypes.MsgFundCommunityPool{}), - // gov - sdk.MsgTypeURL(&govtypes.MsgVote{}), - sdk.MsgTypeURL(&govtypes.MsgVoteWeighted{}), - sdk.MsgTypeURL(&govtypes.MsgSubmitProposal{}), - sdk.MsgTypeURL(&govtypes.MsgDeposit{}), - // authz - sdk.MsgTypeURL(&authz.MsgExec{}), - sdk.MsgTypeURL(&authz.MsgGrant{}), - sdk.MsgTypeURL(&authz.MsgRevoke{}), - // wasm - sdk.MsgTypeURL(&wasmtypes.MsgStoreCode{}), - sdk.MsgTypeURL(&wasmtypes.MsgInstantiateContract{}), - sdk.MsgTypeURL(&wasmtypes.MsgInstantiateContract2{}), - sdk.MsgTypeURL(&wasmtypes.MsgExecuteContract{}), - sdk.MsgTypeURL(&wasmtypes.MsgMigrateContract{}), - sdk.MsgTypeURL(&wasmtypes.MsgUpdateAdmin{}), - sdk.MsgTypeURL(&wasmtypes.MsgClearAdmin{}), - sdk.MsgTypeURL(&wasmtypes.MsgIBCSend{}), - sdk.MsgTypeURL(&wasmtypes.MsgIBCCloseChannel{}), - // tokenfactory - sdk.MsgTypeURL(&tokenfactorytypes.MsgCreateDenom{}), - sdk.MsgTypeURL(&tokenfactorytypes.MsgMint{}), - sdk.MsgTypeURL(&tokenfactorytypes.MsgBurn{}), - sdk.MsgTypeURL(&tokenfactorytypes.MsgChangeAdmin{}), - sdk.MsgTypeURL(&tokenfactorytypes.MsgSetDenomMetadata{}), - // feeshare - sdk.MsgTypeURL(&feesharetypes.MsgRegisterFeeShare{}), - sdk.MsgTypeURL(&feesharetypes.MsgUpdateFeeShare{}), - sdk.MsgTypeURL(&feesharetypes.MsgUpdateFeeShare{}), - sdk.MsgTypeURL(&feesharetypes.MsgCancelFeeShare{}), - }, - } - - // IBCFee - vm[ibcfeetypes.ModuleName] = mm.Modules[ibcfeetypes.ModuleName].ConsensusVersion() - logger.Info(fmt.Sprintf("ibcfee module version %s set", fmt.Sprint(vm[ibcfeetypes.ModuleName]))) - - // Run migrations - versionMap, err := mm.RunMigrations(ctx, cfg, vm) - - // New modules run AFTER the migrations, so to set the correct params after the default. - - // Set ICA Params - keepers.ICAHostKeeper.SetParams(ctx, hostParams) - keepers.ICAControllerKeeper.SetParams(ctx, icacontrollertypes.Params{ControllerEnabled: true}) - logger.Info("upgraded ICAHostKeeper params") - - // Oracle - newOracleParams := oracletypes.DefaultParams() - - // add osmosis to the oracle params - osmosisDenom := oracletypes.Denom{ - BaseDenom: "ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518", - SymbolDenom: "OSMO", - Exponent: uint32(6), - } - - allDenoms := oracletypes.DefaultWhitelist - allDenoms = append(allDenoms, osmosisDenom) - - newOracleParams.Whitelist = allDenoms - newOracleParams.TwapTrackingList = allDenoms - logger.Info(fmt.Sprintf("Oracle params set: %s", newOracleParams.String())) - - keepers.OracleKeeper.SetParams(ctx, newOracleParams) - - // TokenFactory - newTokenFactoryParams := tokenfactorytypes.Params{ - DenomCreationFee: sdk.NewCoins(sdk.NewCoin(nativeDenom, sdk.NewInt(1000000))), - } - keepers.TokenFactoryKeeper.SetParams(ctx, newTokenFactoryParams) - logger.Info("set tokenfactory params") - - // FeeShare - newFeeShareParams := feesharetypes.Params{ - EnableFeeShare: true, - DeveloperShares: sdk.NewDecWithPrec(50, 2), // = 50% - AllowedDenoms: []string{nativeDenom}, - } - keepers.FeeShareKeeper.SetParams(ctx, newFeeShareParams) - logger.Info("set feeshare params") - - // Packet Forward middleware initial params - keepers.PacketForwardKeeper.SetParams(ctx, packetforwardtypes.DefaultParams()) - - return versionMap, err + return mm.RunMigrations(ctx, cfg, vm) } } diff --git a/app/upgrades/v13/constants.go b/app/upgrades/v13/constants.go new file mode 100644 index 000000000..aa420ae77 --- /dev/null +++ b/app/upgrades/v13/constants.go @@ -0,0 +1,32 @@ +package v13 + +import ( + tokenfactorytypes "github.com/CosmWasm/token-factory/x/tokenfactory/types" + "github.com/CosmosContracts/juno/v13/app/upgrades" + feesharetypes "github.com/CosmosContracts/juno/v13/x/feeshare/types" + oracletypes "github.com/CosmosContracts/juno/v13/x/oracle/types" + store "github.com/cosmos/cosmos-sdk/store/types" + ibcfeetypes "github.com/cosmos/ibc-go/v4/modules/apps/29-fee/types" + intertxtypes "github.com/cosmos/interchain-accounts/x/inter-tx/types" + ibchookstypes "github.com/osmosis-labs/osmosis/x/ibc-hooks/types" + packetforwardtypes "github.com/strangelove-ventures/packet-forward-middleware/v4/router/types" +) + +// UpgradeName defines the on-chain upgrade name for the upgrade. +const UpgradeName = "v13" + +var Upgrade = upgrades.Upgrade{ + UpgradeName: UpgradeName, + CreateUpgradeHandler: CreateV13UpgradeHandler, + StoreUpgrades: store.StoreUpgrades{ + Added: []string{ + tokenfactorytypes.ModuleName, + oracletypes.ModuleName, + feesharetypes.ModuleName, + ibcfeetypes.ModuleName, + intertxtypes.ModuleName, + ibchookstypes.StoreKey, + packetforwardtypes.StoreKey, + }, + }, +} diff --git a/app/upgrades/v13/upgrades.go b/app/upgrades/v13/upgrades.go new file mode 100644 index 000000000..1f8990f3c --- /dev/null +++ b/app/upgrades/v13/upgrades.go @@ -0,0 +1,164 @@ +package v13 + +import ( + "fmt" + "strings" + + "github.com/CosmosContracts/juno/v13/app/keepers" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/module" + "github.com/cosmos/cosmos-sdk/x/authz" + + // ICA + + icacontrollertypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/controller/types" + icahosttypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/host/types" + icatypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/types" + + // types + tokenfactorytypes "github.com/CosmWasm/token-factory/x/tokenfactory/types" + wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" + feesharetypes "github.com/CosmosContracts/juno/v13/x/feeshare/types" + oracletypes "github.com/CosmosContracts/juno/v13/x/oracle/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + ibcfeetypes "github.com/cosmos/ibc-go/v4/modules/apps/29-fee/types" + + packetforwardtypes "github.com/strangelove-ventures/packet-forward-middleware/v4/router/types" +) + +// Returns "ujunox" if the chain is uni, else returns the standard ujuno token denom. +func GetChainsDenomToken(chainID string) string { + if strings.HasPrefix(chainID, "uni-") { + return "ujunox" + } + return "ujuno" +} + +func CreateV13UpgradeHandler( + mm *module.Manager, + cfg module.Configurator, + keepers *keepers.AppKeepers, +) upgradetypes.UpgradeHandler { + return func(ctx sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { + // transfer module consensus version has been bumped to 2 + // the above is https://github.com/cosmos/ibc-go/blob/v5.1.0/docs/migrations/v3-to-v4.md + logger := ctx.Logger().With("upgrade", UpgradeName) + + nativeDenom := GetChainsDenomToken(ctx.ChainID()) + logger.Info(fmt.Sprintf("With native denom %s", nativeDenom)) + + // ICA - https://github.com/CosmosContracts/juno/blob/integrate_ica_changes/app/app.go#L846-L885 + vm[icatypes.ModuleName] = mm.Modules[icatypes.ModuleName].ConsensusVersion() + logger.Info("upgraded icatypes version") + + // Update ICS27 Host submodule params + hostParams := icahosttypes.Params{ + HostEnabled: true, + AllowMessages: []string{ + // bank + sdk.MsgTypeURL(&banktypes.MsgSend{}), + sdk.MsgTypeURL(&banktypes.MsgMultiSend{}), + // staking + sdk.MsgTypeURL(&stakingtypes.MsgDelegate{}), + sdk.MsgTypeURL(&stakingtypes.MsgBeginRedelegate{}), + sdk.MsgTypeURL(&stakingtypes.MsgUndelegate{}), + sdk.MsgTypeURL(&stakingtypes.MsgCreateValidator{}), + sdk.MsgTypeURL(&stakingtypes.MsgEditValidator{}), + // distribution + sdk.MsgTypeURL(&distrtypes.MsgWithdrawDelegatorReward{}), + sdk.MsgTypeURL(&distrtypes.MsgSetWithdrawAddress{}), + sdk.MsgTypeURL(&distrtypes.MsgWithdrawValidatorCommission{}), + sdk.MsgTypeURL(&distrtypes.MsgFundCommunityPool{}), + // gov + sdk.MsgTypeURL(&govtypes.MsgVote{}), + sdk.MsgTypeURL(&govtypes.MsgVoteWeighted{}), + sdk.MsgTypeURL(&govtypes.MsgSubmitProposal{}), + sdk.MsgTypeURL(&govtypes.MsgDeposit{}), + // authz + sdk.MsgTypeURL(&authz.MsgExec{}), + sdk.MsgTypeURL(&authz.MsgGrant{}), + sdk.MsgTypeURL(&authz.MsgRevoke{}), + // wasm + sdk.MsgTypeURL(&wasmtypes.MsgStoreCode{}), + sdk.MsgTypeURL(&wasmtypes.MsgInstantiateContract{}), + sdk.MsgTypeURL(&wasmtypes.MsgInstantiateContract2{}), + sdk.MsgTypeURL(&wasmtypes.MsgExecuteContract{}), + sdk.MsgTypeURL(&wasmtypes.MsgMigrateContract{}), + sdk.MsgTypeURL(&wasmtypes.MsgUpdateAdmin{}), + sdk.MsgTypeURL(&wasmtypes.MsgClearAdmin{}), + sdk.MsgTypeURL(&wasmtypes.MsgIBCSend{}), + sdk.MsgTypeURL(&wasmtypes.MsgIBCCloseChannel{}), + // tokenfactory + sdk.MsgTypeURL(&tokenfactorytypes.MsgCreateDenom{}), + sdk.MsgTypeURL(&tokenfactorytypes.MsgMint{}), + sdk.MsgTypeURL(&tokenfactorytypes.MsgBurn{}), + sdk.MsgTypeURL(&tokenfactorytypes.MsgChangeAdmin{}), + sdk.MsgTypeURL(&tokenfactorytypes.MsgSetDenomMetadata{}), + // feeshare + sdk.MsgTypeURL(&feesharetypes.MsgRegisterFeeShare{}), + sdk.MsgTypeURL(&feesharetypes.MsgUpdateFeeShare{}), + sdk.MsgTypeURL(&feesharetypes.MsgUpdateFeeShare{}), + sdk.MsgTypeURL(&feesharetypes.MsgCancelFeeShare{}), + }, + } + + // IBCFee + vm[ibcfeetypes.ModuleName] = mm.Modules[ibcfeetypes.ModuleName].ConsensusVersion() + logger.Info(fmt.Sprintf("ibcfee module version %s set", fmt.Sprint(vm[ibcfeetypes.ModuleName]))) + + // Run migrations + versionMap, err := mm.RunMigrations(ctx, cfg, vm) + + // New modules run AFTER the migrations, so to set the correct params after the default. + + // Set ICA Params + keepers.ICAHostKeeper.SetParams(ctx, hostParams) + keepers.ICAControllerKeeper.SetParams(ctx, icacontrollertypes.Params{ControllerEnabled: true}) + logger.Info("upgraded ICAHostKeeper params") + + // Oracle + newOracleParams := oracletypes.DefaultParams() + + // add osmosis to the oracle params + osmosisDenom := oracletypes.Denom{ + BaseDenom: "ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518", + SymbolDenom: "OSMO", + Exponent: uint32(6), + } + + allDenoms := oracletypes.DefaultWhitelist + allDenoms = append(allDenoms, osmosisDenom) + + newOracleParams.Whitelist = allDenoms + newOracleParams.TwapTrackingList = allDenoms + logger.Info(fmt.Sprintf("Oracle params set: %s", newOracleParams.String())) + + keepers.OracleKeeper.SetParams(ctx, newOracleParams) + + // TokenFactory + newTokenFactoryParams := tokenfactorytypes.Params{ + DenomCreationFee: sdk.NewCoins(sdk.NewCoin(nativeDenom, sdk.NewInt(1000000))), + } + keepers.TokenFactoryKeeper.SetParams(ctx, newTokenFactoryParams) + logger.Info("set tokenfactory params") + + // FeeShare + newFeeShareParams := feesharetypes.Params{ + EnableFeeShare: true, + DeveloperShares: sdk.NewDecWithPrec(50, 2), // = 50% + AllowedDenoms: []string{nativeDenom}, + } + keepers.FeeShareKeeper.SetParams(ctx, newFeeShareParams) + logger.Info("set feeshare params") + + // Packet Forward middleware initial params + keepers.PacketForwardKeeper.SetParams(ctx, packetforwardtypes.DefaultParams()) + + return versionMap, err + } +} diff --git a/cmd/junod/cmd/balances_from_state_export.go b/cmd/junod/cmd/balances_from_state_export.go index 5855549ef..3770e9fa4 100644 --- a/cmd/junod/cmd/balances_from_state_export.go +++ b/cmd/junod/cmd/balances_from_state_export.go @@ -15,7 +15,7 @@ import ( tmjson "github.com/tendermint/tendermint/libs/json" tmtypes "github.com/tendermint/tendermint/types" - appparams "github.com/CosmosContracts/juno/v12/app/params" + appparams "github.com/CosmosContracts/juno/v13/app/params" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/server" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/cmd/junod/cmd/genica.go b/cmd/junod/cmd/genica.go index a9ed95253..3013446fe 100644 --- a/cmd/junod/cmd/genica.go +++ b/cmd/junod/cmd/genica.go @@ -21,7 +21,7 @@ import ( tokenfactorytypes "github.com/CosmWasm/token-factory/x/tokenfactory/types" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - feesharetypes "github.com/CosmosContracts/juno/v12/x/feeshare/types" + feesharetypes "github.com/CosmosContracts/juno/v13/x/feeshare/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" @@ -53,7 +53,7 @@ func AddGenesisIcaCmd(defaultNodeHome string) *cobra.Command { controllerGenesisState.Params = icacontrollertypes.Params{} hostGenesisState := icatypes.DefaultHostGenesis() - // add the messages we want (from v12 upgrade handler) + // add the messages we want (from old upgrade handler) hostGenesisState.Params = icahosttypes.Params{ HostEnabled: true, AllowMessages: []string{ diff --git a/cmd/junod/cmd/root.go b/cmd/junod/cmd/root.go index 32efba0ba..14e70c7f6 100644 --- a/cmd/junod/cmd/root.go +++ b/cmd/junod/cmd/root.go @@ -34,8 +34,8 @@ import ( "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/CosmosContracts/juno/v12/app" - "github.com/CosmosContracts/juno/v12/app/params" + "github.com/CosmosContracts/juno/v13/app" + "github.com/CosmosContracts/juno/v13/app/params" ) // NewRootCmd creates a new root command for junod. It is called once in the diff --git a/cmd/junod/main.go b/cmd/junod/main.go index 0723efe27..296a88096 100644 --- a/cmd/junod/main.go +++ b/cmd/junod/main.go @@ -3,8 +3,8 @@ package main import ( "os" - "github.com/CosmosContracts/juno/v12/app" - "github.com/CosmosContracts/juno/v12/cmd/junod/cmd" + "github.com/CosmosContracts/juno/v13/app" + "github.com/CosmosContracts/juno/v13/cmd/junod/cmd" "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index 6162df837..99db90eea 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -1,12 +1,12 @@ openapi: 3.0.0 info: title: Juno network - version: v12 + version: v13 paths: /cosmos/tx/v1beta1/simulate: post: summary: Simulate simulates executing a transaction for estimating gas usage. - operationId: Simulate_15R03 + operationId: Simulate_O0IH1 responses: "200": description: A successful response. @@ -1132,7 +1132,7 @@ paths: /cosmos/tx/v1beta1/txs: get: summary: GetTxsEvent fetches txs by event. - operationId: GetTxsEvent_VUDNQ + operationId: GetTxsEvent_XROI0 responses: "200": description: A successful response. @@ -2576,7 +2576,7 @@ paths: - gRPC Gateway API post: summary: BroadcastTx broadcast transaction. - operationId: BroadcastTx_MODAU + operationId: BroadcastTx_B83X9 responses: "200": description: A successful response. @@ -3085,7 +3085,7 @@ paths: get: summary: GetBlockWithTxs fetches a block with decoded txs. description: "Since: cosmos-sdk 0.45.2" - operationId: GetBlockWithTxs_51XBF + operationId: GetBlockWithTxs_NA4LE responses: "200": description: A successful response. @@ -4749,7 +4749,7 @@ paths: "/cosmos/tx/v1beta1/txs/{hash}": get: summary: GetTx fetches a tx by hash. - operationId: GetTx_F6BYV + operationId: GetTx_EEMY5 responses: "200": description: A successful response. @@ -6091,7 +6091,7 @@ paths: summary: |- Params queries a specific parameter of a module, given its subspace and key. - operationId: Params_XFNQA + operationId: Params_NC6SG responses: "200": description: A successful response. @@ -6297,7 +6297,7 @@ paths: "/cosmos/bank/v1beta1/balances/{address}": get: summary: AllBalances queries the balance of all coins for a single account. - operationId: AllBalances_WDZXF + operationId: AllBalances_PZ8P6 responses: "200": description: A successful response. @@ -6583,7 +6583,7 @@ paths: "/cosmos/bank/v1beta1/balances/{address}/by_denom": get: summary: Balance queries the balance of a single coin for a single account. - operationId: Balance_CG3CW + operationId: Balance_7ZLDD responses: "200": description: A successful response. @@ -6794,7 +6794,7 @@ paths: get: summary: DenomsMetadata queries the client metadata for all registered coin denominations. - operationId: DenomsMetadata_QA5NY + operationId: DenomsMetadata_64OK0 responses: "200": description: A successful response. @@ -7126,7 +7126,7 @@ paths: "/cosmos/bank/v1beta1/denoms_metadata/{denom}": get: summary: DenomsMetadata queries the client metadata of a given coin denomination. - operationId: DenomMetadata_G6V66 + operationId: DenomMetadata_A1IED responses: "200": description: A successful response. @@ -7382,7 +7382,7 @@ paths: /cosmos/bank/v1beta1/params: get: summary: Params queries the parameters of x/bank module. - operationId: Params_PKX4W + operationId: Params_8UQ56 responses: "200": description: A successful response. @@ -7587,7 +7587,7 @@ paths: summary: |- SpendableBalances queries the spenable balance of all coins for a single account. - operationId: SpendableBalances_QJ9R3 + operationId: SpendableBalances_YD8LR responses: "200": description: A successful response. @@ -7873,7 +7873,7 @@ paths: /cosmos/bank/v1beta1/supply: get: summary: TotalSupply queries the total supply of all coins. - operationId: TotalSupply_74G9I + operationId: TotalSupply_BS37B responses: "200": description: A successful response. @@ -8156,7 +8156,7 @@ paths: "/cosmos/bank/v1beta1/supply/{denom}": get: summary: SupplyOf queries the supply of a single coin. - operationId: SupplyOf_UEDLB + operationId: SupplyOf_2ALF0 responses: "200": description: A successful response. @@ -8360,7 +8360,7 @@ paths: /cosmwasm/wasm/v1/code: get: summary: Codes gets the metadata for all stored wasm codes - operationId: Codes_PTKMI + operationId: Codes_35DYE responses: "200": description: A successful response. @@ -8664,7 +8664,7 @@ paths: "/cosmwasm/wasm/v1/code/{code_id}": get: summary: Code gets the binary code and metadata for a singe wasm code - operationId: Code_VO49W + operationId: Code_Q2PG6 responses: "200": description: A successful response. @@ -8899,7 +8899,7 @@ paths: "/cosmwasm/wasm/v1/code/{code_id}/contracts": get: summary: ContractsByCode lists all smart contracts for a code id - operationId: ContractsByCode_0UJJB + operationId: ContractsByCode_93ZD8 responses: "200": description: A successful response. @@ -9171,7 +9171,7 @@ paths: /cosmwasm/wasm/v1/codes/params: get: summary: Params gets the module params - operationId: Params_UOV2V + operationId: Params_DNSNL responses: "200": description: A successful response. @@ -9407,7 +9407,7 @@ paths: /cosmwasm/wasm/v1/codes/pinned: get: summary: PinnedCodes gets the pinned code ids - operationId: PinnedCodes_4HIGC + operationId: PinnedCodes_U4FMF responses: "200": description: A successful response. @@ -9673,7 +9673,7 @@ paths: "/cosmwasm/wasm/v1/contract/{address}": get: summary: ContractInfo gets the contract meta data - operationId: ContractInfo_1O8KJ + operationId: ContractInfo_RFS2N responses: "200": description: A successful response. @@ -10055,7 +10055,7 @@ paths: "/cosmwasm/wasm/v1/contract/{address}/history": get: summary: ContractHistory gets the contract code history - operationId: ContractHistory_149FB + operationId: ContractHistory_6D928 responses: "200": description: A successful response. @@ -10367,7 +10367,7 @@ paths: "/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}": get: summary: RawContractState gets single key from the raw store data of a contract - operationId: RawContractState_R06CB + operationId: RawContractState_FEXH1 responses: "200": description: A successful response. @@ -10568,7 +10568,7 @@ paths: "/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}": get: summary: SmartContractState get smart query result from the contract - operationId: SmartContractState_AQ2M0 + operationId: SmartContractState_1ORP5 responses: "200": description: A successful response. @@ -10770,7 +10770,7 @@ paths: "/cosmwasm/wasm/v1/contract/{address}/state": get: summary: AllContractState gets all raw store data for a single contract - operationId: AllContractState_5C99D + operationId: AllContractState_SRBFP responses: "200": description: A successful response. @@ -11051,7 +11051,7 @@ paths: "/cosmwasm/wasm/v1/contracts/creator/{creator_address}": get: summary: ContractsByCreator gets the contracts by creator - operationId: ContractsByCreator_ZUCTW + operationId: ContractsByCreator_XQXDM responses: "200": description: A successful response. @@ -11323,7 +11323,7 @@ paths: "/cosmos/upgrade/v1beta1/applied_plan/{name}": get: summary: AppliedPlan queries a previously applied upgrade plan by its name. - operationId: AppliedPlan_ISL78 + operationId: AppliedPlan_HQQLT responses: "200": description: A successful response. @@ -11520,7 +11520,7 @@ paths: /cosmos/upgrade/v1beta1/current_plan: get: summary: CurrentPlan queries the current upgrade plan. - operationId: CurrentPlan_POR4K + operationId: CurrentPlan_TJ6A2 responses: "200": description: A successful response. @@ -11902,7 +11902,7 @@ paths: get: summary: ModuleVersions queries the list of module versions from state. description: "Since: cosmos-sdk 0.43" - operationId: ModuleVersions_Z1440 + operationId: ModuleVersions_CLLSL responses: "200": description: A successful response. @@ -12132,7 +12132,7 @@ paths: This rpc is deprecated now that IBC has its own replacement (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - operationId: UpgradedConsensusState_O2HK8 + operationId: UpgradedConsensusState_EKOLR responses: "200": description: A successful response. @@ -12332,7 +12332,7 @@ paths: /cosmos/base/tendermint/v1beta1/blocks/latest: get: summary: GetLatestBlock returns the latest block. - operationId: GetLatestBlock_MV1PW + operationId: GetLatestBlock_BRP7W responses: "200": description: A successful response. @@ -13041,7 +13041,7 @@ paths: "/cosmos/base/tendermint/v1beta1/blocks/{height}": get: summary: GetBlockByHeight queries block for given height. - operationId: GetBlockByHeight_GRSB0 + operationId: GetBlockByHeight_47JZO responses: "200": description: A successful response. @@ -13757,7 +13757,7 @@ paths: /cosmos/base/tendermint/v1beta1/node_info: get: summary: GetNodeInfo queries the current node info. - operationId: GetNodeInfo_8FU2S + operationId: GetNodeInfo_767JO responses: "200": description: A successful response. @@ -14009,7 +14009,7 @@ paths: /cosmos/base/tendermint/v1beta1/syncing: get: summary: GetSyncing queries node syncing. - operationId: GetSyncing_HNLYE + operationId: GetSyncing_V8O3W responses: "200": description: A successful response. @@ -14194,7 +14194,7 @@ paths: /cosmos/base/tendermint/v1beta1/validatorsets/latest: get: summary: GetLatestValidatorSet queries latest validator-set. - operationId: GetLatestValidatorSet_H208L + operationId: GetLatestValidatorSet_A9YE8 responses: "200": description: A successful response. @@ -14622,7 +14622,7 @@ paths: "/cosmos/base/tendermint/v1beta1/validatorsets/{height}": get: summary: GetValidatorSetByHeight queries validator-set at a given height. - operationId: GetValidatorSetByHeight_36K3O + operationId: GetValidatorSetByHeight_K2PPR responses: "200": description: A successful response. @@ -15057,7 +15057,7 @@ paths: get: summary: Accounts returns all the existing accounts description: "Since: cosmos-sdk 0.43" - operationId: Accounts_7QY2V + operationId: Accounts_0S3PD responses: "200": description: A successful response. @@ -15475,7 +15475,7 @@ paths: "/cosmos/auth/v1beta1/accounts/{address}": get: summary: Account returns account details based on address. - operationId: Account_6EIB6 + operationId: Account_17N2D responses: "200": description: A successful response. @@ -15816,7 +15816,7 @@ paths: "/cosmos/auth/v1beta1/module_accounts/{name}": get: summary: ModuleAccountByName returns the module account info by module name - operationId: ModuleAccountByName_ZFS7F + operationId: ModuleAccountByName_G4XLV responses: "200": description: A successful response. @@ -16156,7 +16156,7 @@ paths: /cosmos/auth/v1beta1/params: get: summary: Params queries all parameters. - operationId: Params_KUZHQ + operationId: Params_R1IJ3 responses: "200": description: A successful response. @@ -16359,7 +16359,7 @@ paths: get: summary: DelegatorDelegations queries all delegations of a given delegator address. - operationId: DelegatorDelegations_RPC1Q + operationId: DelegatorDelegations_K7WGB responses: "200": description: A successful response. @@ -16672,7 +16672,7 @@ paths: "/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations": get: summary: Redelegations queries redelegations of given address. - operationId: Redelegations_18N2W + operationId: Redelegations_PF47W responses: "200": description: A successful response. @@ -17049,7 +17049,7 @@ paths: given delegator address. - operationId: DelegatorUnbondingDelegations_J942R + operationId: DelegatorUnbondingDelegations_OJAQB responses: "200": description: A successful response. @@ -17359,7 +17359,7 @@ paths: summary: |- DelegatorValidators queries all validators info for given delegator address. - operationId: DelegatorValidators_8TR5F + operationId: DelegatorValidators_V8ZM7 responses: "200": description: A successful response. @@ -17884,7 +17884,7 @@ paths: summary: |- DelegatorValidator queries validator info for given delegator validator pair. - operationId: DelegatorValidator_2FELW + operationId: DelegatorValidator_3DXMV responses: "200": description: A successful response. @@ -18334,7 +18334,7 @@ paths: "/cosmos/staking/v1beta1/historical_info/{height}": get: summary: HistoricalInfo queries the historical info for given height. - operationId: HistoricalInfo_C2TIC + operationId: HistoricalInfo_18POK responses: "200": description: A successful response. @@ -18863,7 +18863,7 @@ paths: /cosmos/staking/v1beta1/params: get: summary: Parameters queries the staking parameters. - operationId: Params_7XS2S + operationId: Params_45WOU responses: "200": description: A successful response. @@ -19069,7 +19069,7 @@ paths: /cosmos/staking/v1beta1/pool: get: summary: Pool queries the pool info. - operationId: Pool_TLGVK + operationId: Pool_TG8HM responses: "200": description: A successful response. @@ -19259,7 +19259,7 @@ paths: /cosmos/staking/v1beta1/validators: get: summary: Validators queries all validators that match the given status. - operationId: Validators_Z4T8D + operationId: Validators_9F0CO responses: "200": description: A successful response. @@ -19781,7 +19781,7 @@ paths: "/cosmos/staking/v1beta1/validators/{validator_addr}": get: summary: Validator queries validator info for given validator address. - operationId: Validator_CRSAO + operationId: Validator_75FFJ responses: "200": description: A successful response. @@ -20224,7 +20224,7 @@ paths: "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations": get: summary: ValidatorDelegations queries delegate info for given validator. - operationId: ValidatorDelegations_HS59R + operationId: ValidatorDelegations_9P7L1 responses: "200": description: A successful response. @@ -20535,7 +20535,7 @@ paths: "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}": get: summary: Delegation queries delegate info for given validator delegator pair. - operationId: Delegation_4YTC9 + operationId: Delegation_8IBFY responses: "200": description: A successful response. @@ -20775,7 +20775,7 @@ paths: summary: |- UnbondingDelegation queries unbonding info for given validator delegator pair. - operationId: UnbondingDelegation_UMTOP + operationId: UnbondingDelegation_K54CK responses: "200": description: A successful response. @@ -21012,7 +21012,7 @@ paths: get: summary: ValidatorUnbondingDelegations queries unbonding delegations of a validator. - operationId: ValidatorUnbondingDelegations_9VFVJ + operationId: ValidatorUnbondingDelegations_DIOR6 responses: "200": description: A successful response. @@ -21320,7 +21320,7 @@ paths: /juno/feeshare/v1/fee_shares: get: summary: FeeShares retrieves all registered FeeShares - operationId: FeeShares_9SSSE + operationId: FeeShares_GQ7WA responses: "200": description: A successful response. @@ -21615,7 +21615,7 @@ paths: "/juno/feeshare/v1/fee_shares/{contract_address}": get: summary: FeeShare retrieves a registered FeeShare for a given contract address - operationId: FeeShare_5G47V + operationId: FeeShare_VLVJ8 responses: "200": description: A successful response. @@ -21836,7 +21836,7 @@ paths: summary: |- DeployerFeeShares retrieves all FeeShares that a given deployer has registered - operationId: DeployerFeeShares_Q7J9U + operationId: DeployerFeeShares_DP8ZJ responses: "200": description: A successful response. @@ -22114,7 +22114,7 @@ paths: summary: |- WithdrawerFeeShares retrieves all FeeShares with a given withdrawer address - operationId: WithdrawerFeeShares_6HUD0 + operationId: WithdrawerFeeShares_WP81R responses: "200": description: A successful response. @@ -22390,7 +22390,7 @@ paths: /juno/feeshare/v1/params: get: summary: Params retrieves the FeeShare module params - operationId: Params_70J8P + operationId: Params_E8OHU responses: "200": description: A successful response. @@ -22600,7 +22600,7 @@ paths: /juno/oracle/v1/denoms/active_exchange_rates: get: summary: ActiveExchangeRates returns all active denoms - operationId: ActiveExchangeRates_BYDGD + operationId: ActiveExchangeRates_Q9LVV responses: "200": description: A successful response. @@ -22795,7 +22795,7 @@ paths: summary: |- ExchangeRates returns exchange rates of all denoms, or, if specified, returns a single denom - operationId: ExchangeRates_TFWTL + operationId: ExchangeRates_MJ7SW responses: "200": description: A successful response. @@ -23008,7 +23008,7 @@ paths: /juno/oracle/v1/params: get: summary: Params queries all parameters. - operationId: Params_IHWKW + operationId: Params_WK4WE responses: "200": description: A successful response. @@ -23242,7 +23242,7 @@ paths: summary: |- ArithmeticTwapPriceBetweenTime return denom twap price between startTime and endTime - operationId: ArithmeticTwapPriceBetweenTime_IGSJL + operationId: ArithmeticTwapPriceBetweenTime_XYP5D responses: "200": description: A successful response. @@ -23456,7 +23456,7 @@ paths: /juno/oracle/v1/price_history/PriceHistoryAtTime: get: summary: PriceHistoryAtTime return price of denom at specific time - operationId: PriceHistoryAtTime_QR3XV + operationId: PriceHistoryAtTime_WYK3W responses: "200": description: A successful response. @@ -23671,7 +23671,7 @@ paths: /juno/oracle/v1/price_history/tracking_lists: get: summary: TwapTrackingLists return all price tracking denom - operationId: TwapTrackingLists_ZMD0X + operationId: TwapTrackingLists_WQ5KY responses: "200": description: A successful response. @@ -23856,7 +23856,7 @@ paths: "/juno/oracle/v1/price_history/{denom}": get: summary: AllPriceHistory return all price history of denom - operationId: AllPriceHistory_LW7TU + operationId: AllPriceHistory_VJKKW responses: "200": description: A successful response. @@ -24152,7 +24152,7 @@ paths: /juno/oracle/v1/slash_window: get: summary: SlashWindow returns slash window information - operationId: SlashWindow_EKH8G + operationId: SlashWindow_4EYJZ responses: "200": description: A successful response. @@ -24342,7 +24342,7 @@ paths: "/juno/oracle/v1/valdiators/{validator_addr}/aggregate_vote": get: summary: AggregateVote returns an aggregate vote of a validator - operationId: AggregateVote_6J7BB + operationId: AggregateVote_8RAFU responses: "200": description: A successful response. @@ -24557,7 +24557,7 @@ paths: /juno/oracle/v1/validators/aggregate_prevotes: get: summary: AggregatePrevotes returns aggregate prevotes of all validators - operationId: AggregatePrevotes_Q1TUL + operationId: AggregatePrevotes_6FKIX responses: "200": description: A successful response. @@ -24768,7 +24768,7 @@ paths: /juno/oracle/v1/validators/aggregate_votes: get: summary: AggregateVotes returns aggregate votes of all validators - operationId: AggregateVotes_6VWR7 + operationId: AggregateVotes_7304R responses: "200": description: A successful response. @@ -24978,7 +24978,7 @@ paths: "/juno/oracle/v1/validators/{validator_addr}/aggregate_prevote": get: summary: AggregatePrevote returns an aggregate prevote of a validator - operationId: AggregatePrevote_OW411 + operationId: AggregatePrevote_HJ9FP responses: "200": description: A successful response. @@ -25189,7 +25189,7 @@ paths: "/juno/oracle/v1/validators/{validator_addr}/feeder": get: summary: FeederDelegation returns feeder delegation of a validator - operationId: FeederDelegation_HR59R + operationId: FeederDelegation_NV66S responses: "200": description: A successful response. @@ -25383,7 +25383,7 @@ paths: "/juno/oracle/v1/validators/{validator_addr}/miss": get: summary: MissCounter returns oracle miss counter of a validator - operationId: MissCounter_4RZ73 + operationId: MissCounter_6XQGT responses: "200": description: A successful response. @@ -25578,7 +25578,7 @@ paths: /cosmos/base/node/v1beta1/config: get: summary: Config queries for the operator configuration. - operationId: Config_C0F5Z + operationId: Config_YNPRW responses: "200": description: A successful response. @@ -25763,7 +25763,7 @@ paths: /ibc/apps/router/v1/params: get: summary: Params queries all parameters of the router module. - operationId: Params_AUFDE + operationId: Params_NEXX7 responses: "200": description: A successful response. @@ -25952,7 +25952,7 @@ paths: /cosmos/evidence/v1beta1/evidence: get: summary: AllEvidence queries all evidence. - operationId: AllEvidence_XQLRH + operationId: AllEvidence_UFSZJ responses: "200": description: A successful response. @@ -26378,7 +26378,7 @@ paths: "/cosmos/evidence/v1beta1/evidence/{evidence_hash}": get: summary: Evidence queries evidence based on evidence hash. - operationId: Evidence_LGZW5 + operationId: Evidence_2D7C0 responses: "200": description: A successful response. @@ -26720,7 +26720,7 @@ paths: /cosmos/mint/v1beta1/annual_provisions: get: summary: AnnualProvisions current minting annual provisions value. - operationId: AnnualProvisions_27N2Y + operationId: AnnualProvisions_5ROYM responses: "200": description: A successful response. @@ -26908,7 +26908,7 @@ paths: /cosmos/mint/v1beta1/inflation: get: summary: Inflation returns the current minting inflation value. - operationId: Inflation_T0O42 + operationId: Inflation_MUGZ9 responses: "200": description: A successful response. @@ -27098,7 +27098,7 @@ paths: /cosmos/mint/v1beta1/params: get: summary: Params returns the total set of minting parameters. - operationId: Params_2IRIH + operationId: Params_B01GE responses: "200": description: A successful response. @@ -27292,7 +27292,7 @@ paths: "/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}": get: summary: Allowance returns fee granted to the grantee by the granter. - operationId: Allowance_F63SO + operationId: Allowance_DOVDK responses: "200": description: A successful response. @@ -27654,7 +27654,7 @@ paths: "/cosmos/feegrant/v1beta1/allowances/{grantee}": get: summary: Allowances returns all the grants for address. - operationId: Allowances_ZQR95 + operationId: Allowances_8QOJC responses: "200": description: A successful response. @@ -28096,7 +28096,7 @@ paths: summary: |- AllowancesByGranter returns all the grants given by an address Since v0.46 - operationId: AllowancesByGranter_V2683 + operationId: AllowancesByGranter_ORVKZ responses: "200": description: A successful response. @@ -28536,7 +28536,7 @@ paths: "/cosmos/gov/v1beta1/params/{params_type}": get: summary: Params queries all parameters of the gov module. - operationId: Params_3BHI3 + operationId: Params_LRTM3 responses: "200": description: A successful response. @@ -28788,7 +28788,7 @@ paths: /cosmos/gov/v1beta1/proposals: get: summary: Proposals queries all proposals based on given status. - operationId: Proposals_I51PA + operationId: Proposals_GGYJ7 responses: "200": description: A successful response. @@ -29325,7 +29325,7 @@ paths: "/cosmos/gov/v1beta1/proposals/{proposal_id}": get: summary: Proposal queries proposal details based on ProposalID. - operationId: Proposal_8H08U + operationId: Proposal_32TEO responses: "200": description: A successful response. @@ -29740,7 +29740,7 @@ paths: "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits": get: summary: Deposits queries all deposits of a single proposal. - operationId: Deposits_052I9 + operationId: Deposits_C1AIZ responses: "200": description: A successful response. @@ -30048,7 +30048,7 @@ paths: "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}": get: summary: Deposit queries single deposit information based proposalID, depositAddr. - operationId: Deposit_J8DQ3 + operationId: Deposit_TYFEF responses: "200": description: A successful response. @@ -30275,7 +30275,7 @@ paths: "/cosmos/gov/v1beta1/proposals/{proposal_id}/tally": get: summary: TallyResult queries the tally of a proposal vote. - operationId: TallyResult_XLCWZ + operationId: TallyResult_9ZBYC responses: "200": description: A successful response. @@ -30478,7 +30478,7 @@ paths: "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes": get: summary: Votes queries votes of a given proposal. - operationId: Votes_QLLTP + operationId: Votes_HX5CB responses: "200": description: A successful response. @@ -30817,7 +30817,7 @@ paths: "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}": get: summary: Vote queries voted information based on proposalID, voterAddr. - operationId: Vote_0UI0C + operationId: Vote_S7HX8 responses: "200": description: A successful response. @@ -31075,7 +31075,7 @@ paths: get: summary: QueryInterchainAccount returns the interchain account for given owner address on a given connection pair - operationId: InterchainAccount_L4V40 + operationId: InterchainAccount_ZU8PD responses: "200": description: A successful response. @@ -31271,7 +31271,7 @@ paths: /cosmos/distribution/v1beta1/community_pool: get: summary: CommunityPool queries the community pool coins. - operationId: CommunityPool_G3WM5 + operationId: CommunityPool_L9WO4 responses: "200": description: A successful response. @@ -31477,7 +31477,7 @@ paths: summary: |- DelegationTotalRewards queries the total rewards accrued by a each validator. - operationId: DelegationTotalRewards_Y4EPK + operationId: DelegationTotalRewards_9447R responses: "200": description: A successful response. @@ -31716,7 +31716,7 @@ paths: "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}": get: summary: DelegationRewards queries the total rewards accrued by a delegation. - operationId: DelegationRewards_XU82Y + operationId: DelegationRewards_FE06J responses: "200": description: A successful response. @@ -31931,7 +31931,7 @@ paths: "/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators": get: summary: DelegatorValidators queries the validators of a delegator. - operationId: DelegatorValidators_GDR3T + operationId: DelegatorValidators_55LZ4 responses: "200": description: A successful response. @@ -32127,7 +32127,7 @@ paths: "/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address": get: summary: DelegatorWithdrawAddress queries withdraw address of a delegator. - operationId: DelegatorWithdrawAddress_SP8GN + operationId: DelegatorWithdrawAddress_WVAQ7 responses: "200": description: A successful response. @@ -32323,7 +32323,7 @@ paths: /cosmos/distribution/v1beta1/params: get: summary: Params queries params of the distribution module. - operationId: Params_NOI4Y + operationId: Params_CLSEI responses: "200": description: A successful response. @@ -32518,7 +32518,7 @@ paths: "/cosmos/distribution/v1beta1/validators/{validator_address}/commission": get: summary: ValidatorCommission queries accumulated commission for a validator. - operationId: ValidatorCommission_JP9QF + operationId: ValidatorCommission_6LNBK responses: "200": description: A successful response. @@ -32730,7 +32730,7 @@ paths: "/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards": get: summary: ValidatorOutstandingRewards queries rewards of a validator address. - operationId: ValidatorOutstandingRewards_G7NVN + operationId: ValidatorOutstandingRewards_B6ENB responses: "200": description: A successful response. @@ -32948,7 +32948,7 @@ paths: "/cosmos/distribution/v1beta1/validators/{validator_address}/slashes": get: summary: ValidatorSlashes queries slash events of a validator. - operationId: ValidatorSlashes_O8GS2 + operationId: ValidatorSlashes_A2RQ9 responses: "200": description: A successful response. @@ -33259,7 +33259,7 @@ paths: /cosmos/slashing/v1beta1/params: get: summary: Params queries the parameters of slashing module - operationId: Params_F74QU + operationId: Params_MYZF1 responses: "200": description: A successful response. @@ -33459,7 +33459,7 @@ paths: /cosmos/slashing/v1beta1/signing_infos: get: summary: SigningInfos queries signing info of all validators - operationId: SigningInfos_996GG + operationId: SigningInfos_45DBU responses: "200": description: A successful response. @@ -33777,7 +33777,7 @@ paths: "/cosmos/slashing/v1beta1/signing_infos/{cons_address}": get: summary: SigningInfo queries the signing info of given cons address - operationId: SigningInfo_PMGQH + operationId: SigningInfo_M8CJY responses: "200": description: A successful response. @@ -34016,7 +34016,7 @@ paths: summary: |- DenomAuthorityMetadata defines a gRPC query method for fetching DenomAuthorityMetadata for a particular denom. - operationId: DenomAuthorityMetadata_KHJ2T + operationId: DenomAuthorityMetadata_CSS12 responses: "200": description: A successful response. @@ -34223,7 +34223,7 @@ paths: summary: |- DenomsFromCreator defines a gRPC query method for fetching all denominations created by a specific admin/creator. - operationId: DenomsFromCreator_JS16S + operationId: DenomsFromCreator_19MG2 responses: "200": description: A successful response. @@ -34423,7 +34423,7 @@ paths: module's parameters. - operationId: Params_PO9I0 + operationId: Params_Q59F2 responses: "200": description: A successful response. @@ -34627,7 +34627,7 @@ paths: /cosmos/authz/v1beta1/grants: get: summary: Returns list of `Authorization`, granted to the grantee by the granter. - operationId: Grants_NWC1N + operationId: Grants_X4B97 responses: "200": description: A successful response. @@ -35077,7 +35077,7 @@ paths: get: summary: GranteeGrants returns a list of `GrantAuthorization` by grantee. description: "Since: cosmos-sdk 0.45.2" - operationId: GranteeGrants_JIVP4 + operationId: GranteeGrants_UIKEV responses: "200": description: A successful response. @@ -35522,7 +35522,7 @@ paths: get: summary: GranterGrants returns list of `GrantAuthorization`, granted by granter. description: "Since: cosmos-sdk 0.45.2" - operationId: GranterGrants_TARWI + operationId: GranterGrants_K3AFL responses: "200": description: A successful response. diff --git a/docs/swagger.yaml b/docs/swagger.yaml index a2e0eee5a..94154ec5f 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1,7 +1,7 @@ swagger: '2.0' info: title: Juno network - version: v12 + version: v13 consumes: - application/json produces: @@ -10,7 +10,7 @@ paths: /cosmos/tx/v1beta1/simulate: post: summary: Simulate simulates executing a transaction for estimating gas usage. - operationId: Simulate_15R03 + operationId: Simulate_O0IH1 responses: '200': description: A successful response. @@ -1308,7 +1308,7 @@ paths: /cosmos/tx/v1beta1/txs: get: summary: GetTxsEvent fetches txs by event. - operationId: GetTxsEvent_VUDNQ + operationId: GetTxsEvent_XROI0 responses: '200': description: A successful response. @@ -2956,7 +2956,7 @@ paths: - gRPC Gateway API post: summary: BroadcastTx broadcast transaction. - operationId: BroadcastTx_MODAU + operationId: BroadcastTx_B83X9 responses: '200': description: A successful response. @@ -3518,7 +3518,7 @@ paths: get: summary: GetBlockWithTxs fetches a block with decoded txs. description: 'Since: cosmos-sdk 0.45.2' - operationId: GetBlockWithTxs_51XBF + operationId: GetBlockWithTxs_NA4LE responses: '200': description: A successful response. @@ -5380,7 +5380,7 @@ paths: /cosmos/tx/v1beta1/txs/{hash}: get: summary: GetTx fetches a tx by hash. - operationId: GetTx_F6BYV + operationId: GetTx_EEMY5 responses: '200': description: A successful response. @@ -6919,7 +6919,7 @@ paths: summary: |- Params queries a specific parameter of a module, given its subspace and key. - operationId: Params_XFNQA + operationId: Params_NC6SG responses: '200': description: A successful response. @@ -7144,7 +7144,7 @@ paths: /cosmos/bank/v1beta1/balances/{address}: get: summary: AllBalances queries the balance of all coins for a single account. - operationId: AllBalances_WDZXF + operationId: AllBalances_PZ8P6 responses: '200': description: A successful response. @@ -7448,7 +7448,7 @@ paths: /cosmos/bank/v1beta1/balances/{address}/by_denom: get: summary: Balance queries the balance of a single coin for a single account. - operationId: Balance_CG3CW + operationId: Balance_7ZLDD responses: '200': description: A successful response. @@ -7680,7 +7680,7 @@ paths: summary: >- DenomsMetadata queries the client metadata for all registered coin denominations. - operationId: DenomsMetadata_QA5NY + operationId: DenomsMetadata_64OK0 responses: '200': description: A successful response. @@ -8037,7 +8037,7 @@ paths: /cosmos/bank/v1beta1/denoms_metadata/{denom}: get: summary: DenomsMetadata queries the client metadata of a given coin denomination. - operationId: DenomMetadata_G6V66 + operationId: DenomMetadata_A1IED responses: '200': description: A successful response. @@ -8320,7 +8320,7 @@ paths: /cosmos/bank/v1beta1/params: get: summary: Params queries the parameters of x/bank module. - operationId: Params_PKX4W + operationId: Params_8UQ56 responses: '200': description: A successful response. @@ -8546,7 +8546,7 @@ paths: summary: |- SpendableBalances queries the spenable balance of all coins for a single account. - operationId: SpendableBalances_QJ9R3 + operationId: SpendableBalances_YD8LR responses: '200': description: A successful response. @@ -8850,7 +8850,7 @@ paths: /cosmos/bank/v1beta1/supply: get: summary: TotalSupply queries the total supply of all coins. - operationId: TotalSupply_74G9I + operationId: TotalSupply_BS37B responses: '200': description: A successful response. @@ -9152,7 +9152,7 @@ paths: /cosmos/bank/v1beta1/supply/{denom}: get: summary: SupplyOf queries the supply of a single coin. - operationId: SupplyOf_UEDLB + operationId: SupplyOf_2ALF0 responses: '200': description: A successful response. @@ -9377,7 +9377,7 @@ paths: /cosmwasm/wasm/v1/code: get: summary: Codes gets the metadata for all stored wasm codes - operationId: Codes_PTKMI + operationId: Codes_35DYE responses: '200': description: A successful response. @@ -9701,7 +9701,7 @@ paths: /cosmwasm/wasm/v1/code/{code_id}: get: summary: Code gets the binary code and metadata for a singe wasm code - operationId: Code_VO49W + operationId: Code_Q2PG6 responses: '200': description: A successful response. @@ -9957,7 +9957,7 @@ paths: /cosmwasm/wasm/v1/code/{code_id}/contracts: get: summary: ContractsByCode lists all smart contracts for a code id - operationId: ContractsByCode_0UJJB + operationId: ContractsByCode_93ZD8 responses: '200': description: A successful response. @@ -10246,7 +10246,7 @@ paths: /cosmwasm/wasm/v1/codes/params: get: summary: Params gets the module params - operationId: Params_UOV2V + operationId: Params_DNSNL responses: '200': description: A successful response. @@ -10503,7 +10503,7 @@ paths: /cosmwasm/wasm/v1/codes/pinned: get: summary: PinnedCodes gets the pinned code ids - operationId: PinnedCodes_4HIGC + operationId: PinnedCodes_U4FMF responses: '200': description: A successful response. @@ -10787,7 +10787,7 @@ paths: /cosmwasm/wasm/v1/contract/{address}: get: summary: ContractInfo gets the contract meta data - operationId: ContractInfo_1O8KJ + operationId: ContractInfo_RFS2N responses: '200': description: A successful response. @@ -11214,7 +11214,7 @@ paths: /cosmwasm/wasm/v1/contract/{address}/history: get: summary: ContractHistory gets the contract code history - operationId: ContractHistory_149FB + operationId: ContractHistory_6D928 responses: '200': description: A successful response. @@ -11545,7 +11545,7 @@ paths: /cosmwasm/wasm/v1/contract/{address}/raw/{query_data}: get: summary: RawContractState gets single key from the raw store data of a contract - operationId: RawContractState_R06CB + operationId: RawContractState_FEXH1 responses: '200': description: A successful response. @@ -11764,7 +11764,7 @@ paths: /cosmwasm/wasm/v1/contract/{address}/smart/{query_data}: get: summary: SmartContractState get smart query result from the contract - operationId: SmartContractState_AQ2M0 + operationId: SmartContractState_1ORP5 responses: '200': description: A successful response. @@ -11984,7 +11984,7 @@ paths: /cosmwasm/wasm/v1/contract/{address}/state: get: summary: AllContractState gets all raw store data for a single contract - operationId: AllContractState_5C99D + operationId: AllContractState_SRBFP responses: '200': description: A successful response. @@ -12282,7 +12282,7 @@ paths: /cosmwasm/wasm/v1/contracts/creator/{creator_address}: get: summary: ContractsByCreator gets the contracts by creator - operationId: ContractsByCreator_ZUCTW + operationId: ContractsByCreator_XQXDM responses: '200': description: A successful response. @@ -12571,7 +12571,7 @@ paths: /cosmos/upgrade/v1beta1/applied_plan/{name}: get: summary: AppliedPlan queries a previously applied upgrade plan by its name. - operationId: AppliedPlan_ISL78 + operationId: AppliedPlan_HQQLT responses: '200': description: A successful response. @@ -12787,7 +12787,7 @@ paths: /cosmos/upgrade/v1beta1/current_plan: get: summary: CurrentPlan queries the current upgrade plan. - operationId: CurrentPlan_POR4K + operationId: CurrentPlan_TJ6A2 responses: '200': description: A successful response. @@ -13219,7 +13219,7 @@ paths: get: summary: ModuleVersions queries the list of module versions from state. description: 'Since: cosmos-sdk 0.43' - operationId: ModuleVersions_Z1440 + operationId: ModuleVersions_CLLSL responses: '200': description: A successful response. @@ -13467,7 +13467,7 @@ paths: This rpc is deprecated now that IBC has its own replacement (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - operationId: UpgradedConsensusState_O2HK8 + operationId: UpgradedConsensusState_EKOLR responses: '200': description: A successful response. @@ -13686,7 +13686,7 @@ paths: /cosmos/base/tendermint/v1beta1/blocks/latest: get: summary: GetLatestBlock returns the latest block. - operationId: GetLatestBlock_MV1PW + operationId: GetLatestBlock_BRP7W responses: '200': description: A successful response. @@ -14444,7 +14444,7 @@ paths: /cosmos/base/tendermint/v1beta1/blocks/{height}: get: summary: GetBlockByHeight queries block for given height. - operationId: GetBlockByHeight_GRSB0 + operationId: GetBlockByHeight_47JZO responses: '200': description: A successful response. @@ -15208,7 +15208,7 @@ paths: /cosmos/base/tendermint/v1beta1/node_info: get: summary: GetNodeInfo queries the current node info. - operationId: GetNodeInfo_8FU2S + operationId: GetNodeInfo_767JO responses: '200': description: A successful response. @@ -15481,7 +15481,7 @@ paths: /cosmos/base/tendermint/v1beta1/syncing: get: summary: GetSyncing queries node syncing. - operationId: GetSyncing_HNLYE + operationId: GetSyncing_V8O3W responses: '200': description: A successful response. @@ -15687,7 +15687,7 @@ paths: /cosmos/base/tendermint/v1beta1/validatorsets/latest: get: summary: GetLatestValidatorSet queries latest validator-set. - operationId: GetLatestValidatorSet_H208L + operationId: GetLatestValidatorSet_A9YE8 responses: '200': description: A successful response. @@ -16160,7 +16160,7 @@ paths: /cosmos/base/tendermint/v1beta1/validatorsets/{height}: get: summary: GetValidatorSetByHeight queries validator-set at a given height. - operationId: GetValidatorSetByHeight_36K3O + operationId: GetValidatorSetByHeight_K2PPR responses: '200': description: A successful response. @@ -16639,7 +16639,7 @@ paths: get: summary: Accounts returns all the existing accounts description: 'Since: cosmos-sdk 0.43' - operationId: Accounts_7QY2V + operationId: Accounts_0S3PD responses: '200': description: A successful response. @@ -17099,7 +17099,7 @@ paths: /cosmos/auth/v1beta1/accounts/{address}: get: summary: Account returns account details based on address. - operationId: Account_6EIB6 + operationId: Account_17N2D responses: '200': description: A successful response. @@ -17480,7 +17480,7 @@ paths: /cosmos/auth/v1beta1/module_accounts/{name}: get: summary: ModuleAccountByName returns the module account info by module name - operationId: ModuleAccountByName_ZFS7F + operationId: ModuleAccountByName_G4XLV responses: '200': description: A successful response. @@ -17860,7 +17860,7 @@ paths: /cosmos/auth/v1beta1/params: get: summary: Params queries all parameters. - operationId: Params_KUZHQ + operationId: Params_R1IJ3 responses: '200': description: A successful response. @@ -18085,7 +18085,7 @@ paths: summary: >- DelegatorDelegations queries all delegations of a given delegator address. - operationId: DelegatorDelegations_RPC1Q + operationId: DelegatorDelegations_K7WGB responses: '200': description: A successful response. @@ -18422,7 +18422,7 @@ paths: /cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations: get: summary: Redelegations queries redelegations of given address. - operationId: Redelegations_18N2W + operationId: Redelegations_PF47W responses: '200': description: A successful response. @@ -18835,7 +18835,7 @@ paths: given delegator address. - operationId: DelegatorUnbondingDelegations_J942R + operationId: DelegatorUnbondingDelegations_OJAQB responses: '200': description: A successful response. @@ -19174,7 +19174,7 @@ paths: summary: |- DelegatorValidators queries all validators info for given delegator address. - operationId: DelegatorValidators_8TR5F + operationId: DelegatorValidators_V8ZM7 responses: '200': description: A successful response. @@ -19773,7 +19773,7 @@ paths: summary: |- DelegatorValidator queries validator info for given delegator validator pair. - operationId: DelegatorValidator_2FELW + operationId: DelegatorValidator_3DXMV responses: '200': description: A successful response. @@ -20295,7 +20295,7 @@ paths: /cosmos/staking/v1beta1/historical_info/{height}: get: summary: HistoricalInfo queries the historical info for given height. - operationId: HistoricalInfo_C2TIC + operationId: HistoricalInfo_18POK responses: '200': description: A successful response. @@ -20903,7 +20903,7 @@ paths: /cosmos/staking/v1beta1/params: get: summary: Parameters queries the staking parameters. - operationId: Params_7XS2S + operationId: Params_45WOU responses: '200': description: A successful response. @@ -21133,7 +21133,7 @@ paths: /cosmos/staking/v1beta1/pool: get: summary: Pool queries the pool info. - operationId: Pool_TLGVK + operationId: Pool_TG8HM responses: '200': description: A successful response. @@ -21343,7 +21343,7 @@ paths: /cosmos/staking/v1beta1/validators: get: summary: Validators queries all validators that match the given status. - operationId: Validators_Z4T8D + operationId: Validators_9F0CO responses: '200': description: A successful response. @@ -21940,7 +21940,7 @@ paths: /cosmos/staking/v1beta1/validators/{validator_addr}: get: summary: Validator queries validator info for given validator address. - operationId: Validator_CRSAO + operationId: Validator_75FFJ responses: '200': description: A successful response. @@ -22457,7 +22457,7 @@ paths: /cosmos/staking/v1beta1/validators/{validator_addr}/delegations: get: summary: ValidatorDelegations queries delegate info for given validator. - operationId: ValidatorDelegations_HS59R + operationId: ValidatorDelegations_9P7L1 responses: '200': description: A successful response. @@ -22791,7 +22791,7 @@ paths: /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}: get: summary: Delegation queries delegate info for given validator delegator pair. - operationId: Delegation_4YTC9 + operationId: Delegation_8IBFY responses: '200': description: A successful response. @@ -23056,7 +23056,7 @@ paths: summary: |- UnbondingDelegation queries unbonding info for given validator delegator pair. - operationId: UnbondingDelegation_UMTOP + operationId: UnbondingDelegation_K54CK responses: '200': description: A successful response. @@ -23322,7 +23322,7 @@ paths: summary: >- ValidatorUnbondingDelegations queries unbonding delegations of a validator. - operationId: ValidatorUnbondingDelegations_9VFVJ + operationId: ValidatorUnbondingDelegations_DIOR6 responses: '200': description: A successful response. @@ -23659,7 +23659,7 @@ paths: /juno/feeshare/v1/fee_shares: get: summary: FeeShares retrieves all registered FeeShares - operationId: FeeShares_9SSSE + operationId: FeeShares_GQ7WA responses: '200': description: A successful response. @@ -23972,7 +23972,7 @@ paths: /juno/feeshare/v1/fee_shares/{contract_address}: get: summary: FeeShare retrieves a registered FeeShare for a given contract address - operationId: FeeShare_5G47V + operationId: FeeShare_VLVJ8 responses: '200': description: A successful response. @@ -24213,7 +24213,7 @@ paths: summary: |- DeployerFeeShares retrieves all FeeShares that a given deployer has registered - operationId: DeployerFeeShares_Q7J9U + operationId: DeployerFeeShares_DP8ZJ responses: '200': description: A successful response. @@ -24508,7 +24508,7 @@ paths: summary: |- WithdrawerFeeShares retrieves all FeeShares with a given withdrawer address - operationId: WithdrawerFeeShares_6HUD0 + operationId: WithdrawerFeeShares_WP81R responses: '200': description: A successful response. @@ -24801,7 +24801,7 @@ paths: /juno/feeshare/v1/params: get: summary: Params retrieves the FeeShare module params - operationId: Params_70J8P + operationId: Params_E8OHU responses: '200': description: A successful response. @@ -25035,7 +25035,7 @@ paths: /juno/oracle/v1/denoms/active_exchange_rates: get: summary: ActiveExchangeRates returns all active denoms - operationId: ActiveExchangeRates_BYDGD + operationId: ActiveExchangeRates_Q9LVV responses: '200': description: A successful response. @@ -25250,7 +25250,7 @@ paths: summary: |- ExchangeRates returns exchange rates of all denoms, or, if specified, returns a single denom - operationId: ExchangeRates_TFWTL + operationId: ExchangeRates_MJ7SW responses: '200': description: A successful response. @@ -25483,7 +25483,7 @@ paths: /juno/oracle/v1/params: get: summary: Params queries all parameters. - operationId: Params_IHWKW + operationId: Params_WK4WE responses: '200': description: A successful response. @@ -25738,7 +25738,7 @@ paths: summary: |- ArithmeticTwapPriceBetweenTime return denom twap price between startTime and endTime - operationId: ArithmeticTwapPriceBetweenTime_IGSJL + operationId: ArithmeticTwapPriceBetweenTime_XYP5D responses: '200': description: A successful response. @@ -25970,7 +25970,7 @@ paths: /juno/oracle/v1/price_history/PriceHistoryAtTime: get: summary: PriceHistoryAtTime return price of denom at specific time - operationId: PriceHistoryAtTime_QR3XV + operationId: PriceHistoryAtTime_WYK3W responses: '200': description: A successful response. @@ -26203,7 +26203,7 @@ paths: /juno/oracle/v1/price_history/tracking_lists: get: summary: TwapTrackingLists return all price tracking denom - operationId: TwapTrackingLists_ZMD0X + operationId: TwapTrackingLists_WQ5KY responses: '200': description: A successful response. @@ -26408,7 +26408,7 @@ paths: /juno/oracle/v1/price_history/{denom}: get: summary: AllPriceHistory return all price history of denom - operationId: AllPriceHistory_LW7TU + operationId: AllPriceHistory_VJKKW responses: '200': description: A successful response. @@ -26721,7 +26721,7 @@ paths: /juno/oracle/v1/slash_window: get: summary: SlashWindow returns slash window information - operationId: SlashWindow_EKH8G + operationId: SlashWindow_4EYJZ responses: '200': description: A successful response. @@ -26931,7 +26931,7 @@ paths: /juno/oracle/v1/valdiators/{validator_addr}/aggregate_vote: get: summary: AggregateVote returns an aggregate vote of a validator - operationId: AggregateVote_6J7BB + operationId: AggregateVote_8RAFU responses: '200': description: A successful response. @@ -27166,7 +27166,7 @@ paths: /juno/oracle/v1/validators/aggregate_prevotes: get: summary: AggregatePrevotes returns aggregate prevotes of all validators - operationId: AggregatePrevotes_Q1TUL + operationId: AggregatePrevotes_6FKIX responses: '200': description: A successful response. @@ -27398,7 +27398,7 @@ paths: /juno/oracle/v1/validators/aggregate_votes: get: summary: AggregateVotes returns aggregate votes of all validators - operationId: AggregateVotes_6VWR7 + operationId: AggregateVotes_7304R responses: '200': description: A successful response. @@ -27629,7 +27629,7 @@ paths: /juno/oracle/v1/validators/{validator_addr}/aggregate_prevote: get: summary: AggregatePrevote returns an aggregate prevote of a validator - operationId: AggregatePrevote_OW411 + operationId: AggregatePrevote_HJ9FP responses: '200': description: A successful response. @@ -27860,7 +27860,7 @@ paths: /juno/oracle/v1/validators/{validator_addr}/feeder: get: summary: FeederDelegation returns feeder delegation of a validator - operationId: FeederDelegation_HR59R + operationId: FeederDelegation_NV66S responses: '200': description: A successful response. @@ -28073,7 +28073,7 @@ paths: /juno/oracle/v1/validators/{validator_addr}/miss: get: summary: MissCounter returns oracle miss counter of a validator - operationId: MissCounter_4RZ73 + operationId: MissCounter_6XQGT responses: '200': description: A successful response. @@ -28287,7 +28287,7 @@ paths: /cosmos/base/node/v1beta1/config: get: summary: Config queries for the operator configuration. - operationId: Config_C0F5Z + operationId: Config_YNPRW responses: '200': description: A successful response. @@ -28493,7 +28493,7 @@ paths: /ibc/apps/router/v1/params: get: summary: Params queries all parameters of the router module. - operationId: Params_AUFDE + operationId: Params_NEXX7 responses: '200': description: A successful response. @@ -28703,7 +28703,7 @@ paths: /cosmos/evidence/v1beta1/evidence: get: summary: AllEvidence queries all evidence. - operationId: AllEvidence_XQLRH + operationId: AllEvidence_UFSZJ responses: '200': description: A successful response. @@ -29171,7 +29171,7 @@ paths: /cosmos/evidence/v1beta1/evidence/{evidence_hash}: get: summary: Evidence queries evidence based on evidence hash. - operationId: Evidence_LGZW5 + operationId: Evidence_2D7C0 responses: '200': description: A successful response. @@ -29553,7 +29553,7 @@ paths: /cosmos/mint/v1beta1/annual_provisions: get: summary: AnnualProvisions current minting annual provisions value. - operationId: AnnualProvisions_27N2Y + operationId: AnnualProvisions_5ROYM responses: '200': description: A successful response. @@ -29763,7 +29763,7 @@ paths: /cosmos/mint/v1beta1/inflation: get: summary: Inflation returns the current minting inflation value. - operationId: Inflation_T0O42 + operationId: Inflation_MUGZ9 responses: '200': description: A successful response. @@ -29973,7 +29973,7 @@ paths: /cosmos/mint/v1beta1/params: get: summary: Params returns the total set of minting parameters. - operationId: Params_2IRIH + operationId: Params_B01GE responses: '200': description: A successful response. @@ -30188,7 +30188,7 @@ paths: /cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}: get: summary: Allowance returns fee granted to the grantee by the granter. - operationId: Allowance_F63SO + operationId: Allowance_DOVDK responses: '200': description: A successful response. @@ -30599,7 +30599,7 @@ paths: /cosmos/feegrant/v1beta1/allowances/{grantee}: get: summary: Allowances returns all the grants for address. - operationId: Allowances_ZQR95 + operationId: Allowances_8QOJC responses: '200': description: A successful response. @@ -31089,7 +31089,7 @@ paths: summary: |- AllowancesByGranter returns all the grants given by an address Since v0.46 - operationId: AllowancesByGranter_V2683 + operationId: AllowancesByGranter_ORVKZ responses: '200': description: A successful response. @@ -31577,7 +31577,7 @@ paths: /cosmos/gov/v1beta1/params/{params_type}: get: summary: Params queries all parameters of the gov module. - operationId: Params_3BHI3 + operationId: Params_LRTM3 responses: '200': description: A successful response. @@ -31850,7 +31850,7 @@ paths: /cosmos/gov/v1beta1/proposals: get: summary: Proposals queries all proposals based on given status. - operationId: Proposals_I51PA + operationId: Proposals_GGYJ7 responses: '200': description: A successful response. @@ -32433,7 +32433,7 @@ paths: /cosmos/gov/v1beta1/proposals/{proposal_id}: get: summary: Proposal queries proposal details based on ProposalID. - operationId: Proposal_8H08U + operationId: Proposal_32TEO responses: '200': description: A successful response. @@ -32896,7 +32896,7 @@ paths: /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits: get: summary: Deposits queries all deposits of a single proposal. - operationId: Deposits_052I9 + operationId: Deposits_C1AIZ responses: '200': description: A successful response. @@ -33225,7 +33225,7 @@ paths: summary: >- Deposit queries single deposit information based proposalID, depositAddr. - operationId: Deposit_J8DQ3 + operationId: Deposit_TYFEF responses: '200': description: A successful response. @@ -33471,7 +33471,7 @@ paths: /cosmos/gov/v1beta1/proposals/{proposal_id}/tally: get: summary: TallyResult queries the tally of a proposal vote. - operationId: TallyResult_XLCWZ + operationId: TallyResult_9ZBYC responses: '200': description: A successful response. @@ -33696,7 +33696,7 @@ paths: /cosmos/gov/v1beta1/proposals/{proposal_id}/votes: get: summary: Votes queries votes of a given proposal. - operationId: Votes_QLLTP + operationId: Votes_HX5CB responses: '200': description: A successful response. @@ -34056,7 +34056,7 @@ paths: /cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}: get: summary: Vote queries voted information based on proposalID, voterAddr. - operationId: Vote_0UI0C + operationId: Vote_S7HX8 responses: '200': description: A successful response. @@ -34337,7 +34337,7 @@ paths: summary: >- QueryInterchainAccount returns the interchain account for given owner address on a given connection pair - operationId: InterchainAccount_L4V40 + operationId: InterchainAccount_ZU8PD responses: '200': description: A successful response. @@ -34552,7 +34552,7 @@ paths: /cosmos/distribution/v1beta1/community_pool: get: summary: CommunityPool queries the community pool coins. - operationId: CommunityPool_G3WM5 + operationId: CommunityPool_L9WO4 responses: '200': description: A successful response. @@ -34779,7 +34779,7 @@ paths: summary: |- DelegationTotalRewards queries the total rewards accrued by a each validator. - operationId: DelegationTotalRewards_Y4EPK + operationId: DelegationTotalRewards_9447R responses: '200': description: A successful response. @@ -35037,7 +35037,7 @@ paths: /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}: get: summary: DelegationRewards queries the total rewards accrued by a delegation. - operationId: DelegationRewards_XU82Y + operationId: DelegationRewards_FE06J responses: '200': description: A successful response. @@ -35271,7 +35271,7 @@ paths: /cosmos/distribution/v1beta1/delegators/{delegator_address}/validators: get: summary: DelegatorValidators queries the validators of a delegator. - operationId: DelegatorValidators_GDR3T + operationId: DelegatorValidators_55LZ4 responses: '200': description: A successful response. @@ -35488,7 +35488,7 @@ paths: /cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address: get: summary: DelegatorWithdrawAddress queries withdraw address of a delegator. - operationId: DelegatorWithdrawAddress_SP8GN + operationId: DelegatorWithdrawAddress_WVAQ7 responses: '200': description: A successful response. @@ -35701,7 +35701,7 @@ paths: /cosmos/distribution/v1beta1/params: get: summary: Params queries params of the distribution module. - operationId: Params_NOI4Y + operationId: Params_CLSEI responses: '200': description: A successful response. @@ -35917,7 +35917,7 @@ paths: /cosmos/distribution/v1beta1/validators/{validator_address}/commission: get: summary: ValidatorCommission queries accumulated commission for a validator. - operationId: ValidatorCommission_JP9QF + operationId: ValidatorCommission_6LNBK responses: '200': description: A successful response. @@ -36149,7 +36149,7 @@ paths: /cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards: get: summary: ValidatorOutstandingRewards queries rewards of a validator address. - operationId: ValidatorOutstandingRewards_G7NVN + operationId: ValidatorOutstandingRewards_B6ENB responses: '200': description: A successful response. @@ -36388,7 +36388,7 @@ paths: /cosmos/distribution/v1beta1/validators/{validator_address}/slashes: get: summary: ValidatorSlashes queries slash events of a validator. - operationId: ValidatorSlashes_O8GS2 + operationId: ValidatorSlashes_A2RQ9 responses: '200': description: A successful response. @@ -36718,7 +36718,7 @@ paths: /cosmos/slashing/v1beta1/params: get: summary: Params queries the parameters of slashing module - operationId: Params_F74QU + operationId: Params_MYZF1 responses: '200': description: A successful response. @@ -36942,7 +36942,7 @@ paths: /cosmos/slashing/v1beta1/signing_infos: get: summary: SigningInfos queries signing info of all validators - operationId: SigningInfos_996GG + operationId: SigningInfos_45DBU responses: '200': description: A successful response. @@ -37285,7 +37285,7 @@ paths: /cosmos/slashing/v1beta1/signing_infos/{cons_address}: get: summary: SigningInfo queries the signing info of given cons address - operationId: SigningInfo_PMGQH + operationId: SigningInfo_M8CJY responses: '200': description: A successful response. @@ -37552,7 +37552,7 @@ paths: summary: |- DenomAuthorityMetadata defines a gRPC query method for fetching DenomAuthorityMetadata for a particular denom. - operationId: DenomAuthorityMetadata_KHJ2T + operationId: DenomAuthorityMetadata_CSS12 responses: '200': description: A successful response. @@ -37779,7 +37779,7 @@ paths: summary: |- DenomsFromCreator defines a gRPC query method for fetching all denominations created by a specific admin/creator. - operationId: DenomsFromCreator_JS16S + operationId: DenomsFromCreator_19MG2 responses: '200': description: A successful response. @@ -37998,7 +37998,7 @@ paths: module's parameters. - operationId: Params_PO9I0 + operationId: Params_Q59F2 responses: '200': description: A successful response. @@ -38223,7 +38223,7 @@ paths: /cosmos/authz/v1beta1/grants: get: summary: Returns list of `Authorization`, granted to the grantee by the granter. - operationId: Grants_NWC1N + operationId: Grants_X4B97 responses: '200': description: A successful response. @@ -38718,7 +38718,7 @@ paths: get: summary: GranteeGrants returns a list of `GrantAuthorization` by grantee. description: 'Since: cosmos-sdk 0.45.2' - operationId: GranteeGrants_JIVP4 + operationId: GranteeGrants_UIKEV responses: '200': description: A successful response. @@ -39207,7 +39207,7 @@ paths: get: summary: GranterGrants returns list of `GrantAuthorization`, granted by granter. description: 'Since: cosmos-sdk 0.45.2' - operationId: GranterGrants_TARWI + operationId: GranterGrants_K3AFL responses: '200': description: A successful response. diff --git a/go.mod b/go.mod index 921124557..f6827b09a 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/CosmosContracts/juno/v12 +module github.com/CosmosContracts/juno/v13 go 1.19 diff --git a/price-feeder/cmd/price-feeder.go b/price-feeder/cmd/price-feeder.go index a1a25f1b1..d524d32c1 100644 --- a/price-feeder/cmd/price-feeder.go +++ b/price-feeder/cmd/price-feeder.go @@ -24,7 +24,7 @@ import ( "github.com/CosmosContracts/juno/price-feeder/oracle/client" "github.com/CosmosContracts/juno/price-feeder/oracle/provider" v1 "github.com/CosmosContracts/juno/price-feeder/router/v1" - "github.com/CosmosContracts/juno/v12/app" + "github.com/CosmosContracts/juno/v13/app" "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/price-feeder/go.mod b/price-feeder/go.mod index c6b422ea1..c0b90cc1f 100644 --- a/price-feeder/go.mod +++ b/price-feeder/go.mod @@ -3,7 +3,7 @@ module github.com/CosmosContracts/juno/price-feeder go 1.19 require ( - github.com/CosmosContracts/juno/v12 v12.0.0 + github.com/CosmosContracts/juno/v13 v13.0.0 github.com/armon/go-metrics v0.4.1 github.com/cosmos/cosmos-sdk v0.45.11 github.com/go-playground/validator/v10 v10.11.1 @@ -150,7 +150,6 @@ require ( github.com/hashicorp/hcl v1.0.0 // indirect github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3 // indirect github.com/hexops/gotextdiff v1.0.3 // indirect - github.com/ignite-hq/cli v0.22.1 // indirect github.com/improbable-eng/grpc-web v0.15.0 // indirect github.com/inconshreveable/mousetrap v1.0.1 // indirect github.com/jgautheron/goconst v1.5.1 // indirect @@ -285,6 +284,6 @@ require ( ) replace ( - github.com/CosmosContracts/juno/v12 => ../ + github.com/CosmosContracts/juno/v13 => ../ github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.2-alpha.regen.4 ) diff --git a/price-feeder/go.sum b/price-feeder/go.sum index e438027be..56c8e4e46 100644 --- a/price-feeder/go.sum +++ b/price-feeder/go.sum @@ -655,8 +655,6 @@ github.com/huin/goupnp v1.0.3-0.20220313090229-ca81a64b4204/go.mod h1:ZxNlw5WqJj github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/ignite-hq/cli v0.22.1 h1:87DQZrbmfM7pNp1HmKRZtxIFydPfYDZJofssRi3yr2E= -github.com/ignite-hq/cli v0.22.1/go.mod h1:E2dM1v4Gy3tZv2X/iUQY/L7HBObBrC5rjajivIPhbWc= github.com/improbable-eng/grpc-web v0.15.0 h1:BN+7z6uNXZ1tQGcNAuaU1YjsLTApzkjt2tzCixLaUPQ= github.com/improbable-eng/grpc-web v0.15.0/go.mod h1:1sy9HKV4Jt9aEs9JSnkWlRJPuPtwNr0l57L4f878wP8= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= diff --git a/price-feeder/oracle/client/client.go b/price-feeder/oracle/client/client.go index b3bb6c6a4..8791a4de1 100644 --- a/price-feeder/oracle/client/client.go +++ b/price-feeder/oracle/client/client.go @@ -9,8 +9,8 @@ import ( "os" "time" - junoapp "github.com/CosmosContracts/juno/v12/app" - junoparams "github.com/CosmosContracts/juno/v12/app/params" + junoapp "github.com/CosmosContracts/juno/v13/app" + junoparams "github.com/CosmosContracts/juno/v13/app/params" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/rpc" diff --git a/price-feeder/oracle/oracle.go b/price-feeder/oracle/oracle.go index 14f5ffbec..5ed271f47 100644 --- a/price-feeder/oracle/oracle.go +++ b/price-feeder/oracle/oracle.go @@ -22,7 +22,7 @@ import ( "github.com/CosmosContracts/juno/price-feeder/oracle/provider" "github.com/CosmosContracts/juno/price-feeder/oracle/types" pfsync "github.com/CosmosContracts/juno/price-feeder/pkg/sync" - oracletypes "github.com/CosmosContracts/juno/v12/x/oracle/types" + oracletypes "github.com/CosmosContracts/juno/v13/x/oracle/types" "github.com/cosmos/cosmos-sdk/telemetry" ) diff --git a/price-feeder/oracle/param.go b/price-feeder/oracle/param.go index 6737104c1..c8555cff5 100644 --- a/price-feeder/oracle/param.go +++ b/price-feeder/oracle/param.go @@ -1,6 +1,6 @@ package oracle -import oracletypes "github.com/CosmosContracts/juno/v12/x/oracle/types" +import oracletypes "github.com/CosmosContracts/juno/v13/x/oracle/types" const ( // paramsCacheInterval represents the amount of blocks diff --git a/price-feeder/oracle/param_test.go b/price-feeder/oracle/param_test.go index fe8a23200..c5cc3d925 100644 --- a/price-feeder/oracle/param_test.go +++ b/price-feeder/oracle/param_test.go @@ -3,7 +3,7 @@ package oracle import ( "testing" - oracletypes "github.com/CosmosContracts/juno/v12/x/oracle/types" + oracletypes "github.com/CosmosContracts/juno/v13/x/oracle/types" "github.com/stretchr/testify/require" ) diff --git a/scripts/merge_protoc.py b/scripts/merge_protoc.py index e73ab8ea1..95a40957c 100644 --- a/scripts/merge_protoc.py +++ b/scripts/merge_protoc.py @@ -19,7 +19,7 @@ output: dict output = { "swagger": "2.0", - "info": {"title": "Juno network", "version": "v12"}, + "info": {"title": "Juno network", "version": "v13"}, "consumes": ["application/json"], "produces": ["application/json"], "paths": {}, diff --git a/tests/e2e/configurer/base.go b/tests/e2e/configurer/base.go index e074c1462..583c10515 100644 --- a/tests/e2e/configurer/base.go +++ b/tests/e2e/configurer/base.go @@ -15,10 +15,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/CosmosContracts/juno/v12/tests/e2e/configurer/chain" - "github.com/CosmosContracts/juno/v12/tests/e2e/containers" - "github.com/CosmosContracts/juno/v12/tests/e2e/initialization" - "github.com/CosmosContracts/juno/v12/tests/e2e/util" + "github.com/CosmosContracts/juno/v13/tests/e2e/configurer/chain" + "github.com/CosmosContracts/juno/v13/tests/e2e/containers" + "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" + "github.com/CosmosContracts/juno/v13/tests/e2e/util" ) // baseConfigurer is the base implementation for the diff --git a/tests/e2e/configurer/chain/chain.go b/tests/e2e/configurer/chain/chain.go index 792aa48b6..17a8ec4c4 100644 --- a/tests/e2e/configurer/chain/chain.go +++ b/tests/e2e/configurer/chain/chain.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" coretypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/CosmosContracts/juno/v12/tests/e2e/configurer/config" + "github.com/CosmosContracts/juno/v13/tests/e2e/configurer/config" - "github.com/CosmosContracts/juno/v12/tests/e2e/containers" - "github.com/CosmosContracts/juno/v12/tests/e2e/initialization" + "github.com/CosmosContracts/juno/v13/tests/e2e/containers" + "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" ) type Config struct { diff --git a/tests/e2e/configurer/chain/commands.go b/tests/e2e/configurer/chain/commands.go index 94b434e90..c0fe38aef 100644 --- a/tests/e2e/configurer/chain/commands.go +++ b/tests/e2e/configurer/chain/commands.go @@ -8,8 +8,8 @@ import ( "strings" "time" - appparams "github.com/CosmosContracts/juno/v12/app/params" - "github.com/CosmosContracts/juno/v12/tests/e2e/configurer/config" + appparams "github.com/CosmosContracts/juno/v13/app/params" + "github.com/CosmosContracts/juno/v13/tests/e2e/configurer/config" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" ) diff --git a/tests/e2e/configurer/chain/node.go b/tests/e2e/configurer/chain/node.go index dd3a6a314..398ccac98 100644 --- a/tests/e2e/configurer/chain/node.go +++ b/tests/e2e/configurer/chain/node.go @@ -12,8 +12,8 @@ import ( rpchttp "github.com/tendermint/tendermint/rpc/client/http" coretypes "github.com/tendermint/tendermint/rpc/core/types" - "github.com/CosmosContracts/juno/v12/tests/e2e/containers" - "github.com/CosmosContracts/juno/v12/tests/e2e/initialization" + "github.com/CosmosContracts/juno/v13/tests/e2e/containers" + "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" ) type NodeConfig struct { diff --git a/tests/e2e/configurer/chain/queries.go b/tests/e2e/configurer/chain/queries.go index 501412f96..baeca7bb9 100644 --- a/tests/e2e/configurer/chain/queries.go +++ b/tests/e2e/configurer/chain/queries.go @@ -18,7 +18,7 @@ import ( tokenfactorytypes "github.com/CosmWasm/token-factory/x/tokenfactory/types" - "github.com/CosmosContracts/juno/v12/tests/e2e/util" + "github.com/CosmosContracts/juno/v13/tests/e2e/util" ) func (n *NodeConfig) QueryExchangeRates() (string, error) { diff --git a/tests/e2e/configurer/current.go b/tests/e2e/configurer/current.go index 5af745f22..3ceacf3cb 100644 --- a/tests/e2e/configurer/current.go +++ b/tests/e2e/configurer/current.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/CosmosContracts/juno/v12/tests/e2e/configurer/chain" - "github.com/CosmosContracts/juno/v12/tests/e2e/containers" - "github.com/CosmosContracts/juno/v12/tests/e2e/initialization" + "github.com/CosmosContracts/juno/v13/tests/e2e/configurer/chain" + "github.com/CosmosContracts/juno/v13/tests/e2e/containers" + "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" ) type CurrentBranchConfigurer struct { diff --git a/tests/e2e/configurer/factory.go b/tests/e2e/configurer/factory.go index a267449b5..1bf3193f2 100644 --- a/tests/e2e/configurer/factory.go +++ b/tests/e2e/configurer/factory.go @@ -4,9 +4,9 @@ import ( "errors" "testing" - "github.com/CosmosContracts/juno/v12/tests/e2e/configurer/chain" - "github.com/CosmosContracts/juno/v12/tests/e2e/containers" - "github.com/CosmosContracts/juno/v12/tests/e2e/initialization" + "github.com/CosmosContracts/juno/v13/tests/e2e/configurer/chain" + "github.com/CosmosContracts/juno/v13/tests/e2e/containers" + "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" ) type Configurer interface { diff --git a/tests/e2e/configurer/upgrade.go b/tests/e2e/configurer/upgrade.go index 68721f5d5..4cd0fd26e 100644 --- a/tests/e2e/configurer/upgrade.go +++ b/tests/e2e/configurer/upgrade.go @@ -9,11 +9,11 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - appparams "github.com/CosmosContracts/juno/v12/app/params" - "github.com/CosmosContracts/juno/v12/tests/e2e/configurer/chain" - "github.com/CosmosContracts/juno/v12/tests/e2e/configurer/config" - "github.com/CosmosContracts/juno/v12/tests/e2e/containers" - "github.com/CosmosContracts/juno/v12/tests/e2e/initialization" + appparams "github.com/CosmosContracts/juno/v13/app/params" + "github.com/CosmosContracts/juno/v13/tests/e2e/configurer/chain" + "github.com/CosmosContracts/juno/v13/tests/e2e/configurer/config" + "github.com/CosmosContracts/juno/v13/tests/e2e/containers" + "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" ) type UpgradeSettings struct { diff --git a/tests/e2e/e2e_setup_test.go b/tests/e2e/e2e_setup_test.go index f2e2beedd..67d43abf2 100644 --- a/tests/e2e/e2e_setup_test.go +++ b/tests/e2e/e2e_setup_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/suite" - configurer "github.com/CosmosContracts/juno/v12/tests/e2e/configurer" + configurer "github.com/CosmosContracts/juno/v13/tests/e2e/configurer" ) const ( diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go index 3b61434b9..5da85ca38 100644 --- a/tests/e2e/e2e_test.go +++ b/tests/e2e/e2e_test.go @@ -5,7 +5,7 @@ package e2e import ( // "fmt" - "github.com/CosmosContracts/juno/v12/tests/e2e/initialization" + "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" // sdk "github.com/cosmos/cosmos-sdk/types" // "strconv" // "strings" diff --git a/tests/e2e/initialization/chain/main.go b/tests/e2e/initialization/chain/main.go index fa46da8a3..92abaf359 100644 --- a/tests/e2e/initialization/chain/main.go +++ b/tests/e2e/initialization/chain/main.go @@ -7,7 +7,7 @@ import ( "os" "time" - "github.com/CosmosContracts/juno/v12/tests/e2e/initialization" + "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" ) func main() { diff --git a/tests/e2e/initialization/config.go b/tests/e2e/initialization/config.go index e59cca4c8..b008231f9 100644 --- a/tests/e2e/initialization/config.go +++ b/tests/e2e/initialization/config.go @@ -19,7 +19,7 @@ import ( "github.com/gogo/protobuf/proto" tmjson "github.com/tendermint/tendermint/libs/json" - "github.com/CosmosContracts/juno/v12/tests/e2e/util" + "github.com/CosmosContracts/juno/v13/tests/e2e/util" ) // NodeConfig is a confiuration for the node supplied from the test runner diff --git a/tests/e2e/initialization/init.go b/tests/e2e/initialization/init.go index 46b47d039..a67ecc3c4 100644 --- a/tests/e2e/initialization/init.go +++ b/tests/e2e/initialization/init.go @@ -6,7 +6,7 @@ import ( "path/filepath" "time" - "github.com/CosmosContracts/juno/v12/tests/e2e/util" + "github.com/CosmosContracts/juno/v13/tests/e2e/util" ) func InitChain(id, dataDir string, nodeConfigs []*NodeConfig, votingPeriod, expeditedVotingPeriod time.Duration, forkHeight int) (*Chain, error) { diff --git a/tests/e2e/initialization/init_test.go b/tests/e2e/initialization/init_test.go index 122746e78..1a1f05f4a 100644 --- a/tests/e2e/initialization/init_test.go +++ b/tests/e2e/initialization/init_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/CosmosContracts/juno/v12/tests/e2e/initialization" + "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" ) const forkHeight = 10 diff --git a/tests/e2e/initialization/node.go b/tests/e2e/initialization/node.go index 45ef8f626..1b6dc2ee8 100644 --- a/tests/e2e/initialization/node.go +++ b/tests/e2e/initialization/node.go @@ -29,8 +29,8 @@ import ( "github.com/tendermint/tendermint/privval" tmtypes "github.com/tendermint/tendermint/types" - junoApp "github.com/CosmosContracts/juno/v12/app" - "github.com/CosmosContracts/juno/v12/tests/e2e/util" + junoApp "github.com/CosmosContracts/juno/v13/app" + "github.com/CosmosContracts/juno/v13/tests/e2e/util" ) type internalNode struct { diff --git a/tests/e2e/initialization/node/main.go b/tests/e2e/initialization/node/main.go index 443626526..ae75e8e46 100644 --- a/tests/e2e/initialization/node/main.go +++ b/tests/e2e/initialization/node/main.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/CosmosContracts/juno/v12/tests/e2e/initialization" + "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" ) func main() { diff --git a/tests/e2e/initialization/util.go b/tests/e2e/initialization/util.go index a43d8a404..354901bdf 100644 --- a/tests/e2e/initialization/util.go +++ b/tests/e2e/initialization/util.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec/unknownproto" sdktx "github.com/cosmos/cosmos-sdk/types/tx" - "github.com/CosmosContracts/juno/v12/tests/e2e/util" + "github.com/CosmosContracts/juno/v13/tests/e2e/util" ) func decodeTx(txBytes []byte) (*sdktx.Tx, error) { diff --git a/tests/e2e/util/codec.go b/tests/e2e/util/codec.go index bf71a083c..046c6de48 100644 --- a/tests/e2e/util/codec.go +++ b/tests/e2e/util/codec.go @@ -8,8 +8,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - junoApp "github.com/CosmosContracts/juno/v12/app" - "github.com/CosmosContracts/juno/v12/app/params" + junoApp "github.com/CosmosContracts/juno/v13/app" + "github.com/CosmosContracts/juno/v13/app/params" ) var ( diff --git a/x/feeshare/ante/ante.go b/x/feeshare/ante/ante.go index 25226372b..7bb2ab843 100644 --- a/x/feeshare/ante/ante.go +++ b/x/feeshare/ante/ante.go @@ -6,7 +6,7 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - feeshare "github.com/CosmosContracts/juno/v12/x/feeshare/types" + feeshare "github.com/CosmosContracts/juno/v13/x/feeshare/types" ) // FeeSharePayoutDecorator Run his after we already deduct the fee from the account with diff --git a/x/feeshare/ante/ante_test.go b/x/feeshare/ante/ante_test.go index df8db6b2a..c5cc0a836 100644 --- a/x/feeshare/ante/ante_test.go +++ b/x/feeshare/ante/ante_test.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/suite" - ante "github.com/CosmosContracts/juno/v12/x/feeshare/ante" + ante "github.com/CosmosContracts/juno/v13/x/feeshare/ante" ) type AnteTestSuite struct { diff --git a/x/feeshare/ante/expected_keepers.go b/x/feeshare/ante/expected_keepers.go index 51eafa60e..4f6a8ae46 100644 --- a/x/feeshare/ante/expected_keepers.go +++ b/x/feeshare/ante/expected_keepers.go @@ -3,7 +3,7 @@ package ante // Used for the Juno ante handler so we can properly send 50% of fees to dAPP developers via fee share module import ( - revtypes "github.com/CosmosContracts/juno/v12/x/feeshare/types" + revtypes "github.com/CosmosContracts/juno/v13/x/feeshare/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/feeshare/client/cli/query.go b/x/feeshare/client/cli/query.go index 020f1b363..07ce789b5 100644 --- a/x/feeshare/client/cli/query.go +++ b/x/feeshare/client/cli/query.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/version" - "github.com/CosmosContracts/juno/v12/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/x/feeshare/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/feeshare/client/cli/tx.go b/x/feeshare/client/cli/tx.go index 6472bec23..da0ee5d35 100644 --- a/x/feeshare/client/cli/tx.go +++ b/x/feeshare/client/cli/tx.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v12/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/x/feeshare/types" ) // NewTxCmd returns a root CLI command handler for certain modules/FeeShare diff --git a/x/feeshare/genesis.go b/x/feeshare/genesis.go index 9affd92b6..5f06e5788 100644 --- a/x/feeshare/genesis.go +++ b/x/feeshare/genesis.go @@ -3,8 +3,8 @@ package feeshare import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v12/x/feeshare/keeper" - "github.com/CosmosContracts/juno/v12/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/x/feeshare/keeper" + "github.com/CosmosContracts/juno/v13/x/feeshare/types" ) // InitGenesis import module genesis diff --git a/x/feeshare/genesis_test.go b/x/feeshare/genesis_test.go index 100cfdbf6..64e418de6 100644 --- a/x/feeshare/genesis_test.go +++ b/x/feeshare/genesis_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/suite" - "github.com/CosmosContracts/juno/v12/app" - "github.com/CosmosContracts/juno/v12/x/feeshare" - "github.com/CosmosContracts/juno/v12/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/app" + "github.com/CosmosContracts/juno/v13/x/feeshare" + "github.com/CosmosContracts/juno/v13/x/feeshare/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" ) diff --git a/x/feeshare/integration_test.go b/x/feeshare/integration_test.go index 74c03ff81..dd95b43bd 100644 --- a/x/feeshare/integration_test.go +++ b/x/feeshare/integration_test.go @@ -8,10 +8,10 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - junoapp "github.com/CosmosContracts/juno/v12/app" + junoapp "github.com/CosmosContracts/juno/v13/app" "github.com/cosmos/cosmos-sdk/simapp" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/feeshare/keeper/feeshare.go b/x/feeshare/keeper/feeshare.go index 5601ac684..0714c8262 100644 --- a/x/feeshare/keeper/feeshare.go +++ b/x/feeshare/keeper/feeshare.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v12/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/x/feeshare/types" ) // GetFeeShares returns all registered FeeShares. diff --git a/x/feeshare/keeper/grpc_query.go b/x/feeshare/keeper/grpc_query.go index 9869f212b..a895ab871 100644 --- a/x/feeshare/keeper/grpc_query.go +++ b/x/feeshare/keeper/grpc_query.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/CosmosContracts/juno/v12/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/x/feeshare/types" ) var _ types.QueryServer = Querier{} diff --git a/x/feeshare/keeper/grpc_query_test.go b/x/feeshare/keeper/grpc_query_test.go index af0ed2bc7..e2483c1d1 100644 --- a/x/feeshare/keeper/grpc_query_test.go +++ b/x/feeshare/keeper/grpc_query_test.go @@ -1,8 +1,8 @@ package keeper_test import ( - "github.com/CosmosContracts/juno/v12/testutil/nullify" - "github.com/CosmosContracts/juno/v12/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/testutil/nullify" + "github.com/CosmosContracts/juno/v13/x/feeshare/types" "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" diff --git a/x/feeshare/keeper/keeper.go b/x/feeshare/keeper/keeper.go index d9a8ac851..44c61fac3 100644 --- a/x/feeshare/keeper/keeper.go +++ b/x/feeshare/keeper/keeper.go @@ -10,7 +10,7 @@ import ( "github.com/tendermint/tendermint/libs/log" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" - revtypes "github.com/CosmosContracts/juno/v12/x/feeshare/types" + revtypes "github.com/CosmosContracts/juno/v13/x/feeshare/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) diff --git a/x/feeshare/keeper/keeper_test.go b/x/feeshare/keeper/keeper_test.go index a7be8ae34..e4d15e528 100644 --- a/x/feeshare/keeper/keeper_test.go +++ b/x/feeshare/keeper/keeper_test.go @@ -13,9 +13,9 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/CosmosContracts/juno/v12/app" - "github.com/CosmosContracts/juno/v12/x/feeshare/keeper" - "github.com/CosmosContracts/juno/v12/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/app" + "github.com/CosmosContracts/juno/v13/x/feeshare/keeper" + "github.com/CosmosContracts/juno/v13/x/feeshare/types" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" ) diff --git a/x/feeshare/keeper/msg_server.go b/x/feeshare/keeper/msg_server.go index 365f10ba9..3e29819f1 100644 --- a/x/feeshare/keeper/msg_server.go +++ b/x/feeshare/keeper/msg_server.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/CosmosContracts/juno/v12/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/x/feeshare/types" ) var _ types.MsgServer = &Keeper{} diff --git a/x/feeshare/keeper/msg_server_test.go b/x/feeshare/keeper/msg_server_test.go index 9703b43d2..b43a1f52b 100644 --- a/x/feeshare/keeper/msg_server_test.go +++ b/x/feeshare/keeper/msg_server_test.go @@ -5,7 +5,7 @@ import ( _ "embed" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/CosmosContracts/juno/v12/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/x/feeshare/types" "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/feeshare/keeper/params.go b/x/feeshare/keeper/params.go index 8b2577f2d..c17d00d32 100644 --- a/x/feeshare/keeper/params.go +++ b/x/feeshare/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v12/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/x/feeshare/types" ) // GetParams returns the total set of fees parameters. diff --git a/x/feeshare/module.go b/x/feeshare/module.go index 2554d7a11..326543f55 100644 --- a/x/feeshare/module.go +++ b/x/feeshare/module.go @@ -18,9 +18,9 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/CosmosContracts/juno/v12/x/feeshare/client/cli" - "github.com/CosmosContracts/juno/v12/x/feeshare/keeper" - "github.com/CosmosContracts/juno/v12/x/feeshare/types" + "github.com/CosmosContracts/juno/v13/x/feeshare/client/cli" + "github.com/CosmosContracts/juno/v13/x/feeshare/keeper" + "github.com/CosmosContracts/juno/v13/x/feeshare/types" ) // type check to ensure the interface is properly implemented diff --git a/x/mint/abci.go b/x/mint/abci.go index 1891a6e42..ed16bdf1e 100644 --- a/x/mint/abci.go +++ b/x/mint/abci.go @@ -3,8 +3,8 @@ package mint import ( "time" - "github.com/CosmosContracts/juno/v12/x/mint/keeper" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/keeper" + "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/client/cli/query.go b/x/mint/client/cli/query.go index 82a72a724..e3c4301b3 100644 --- a/x/mint/client/cli/query.go +++ b/x/mint/client/cli/query.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" ) diff --git a/x/mint/client/rest/grpc_query_test.go b/x/mint/client/rest/grpc_query_test.go index 4d59f1708..96a4ee7d2 100644 --- a/x/mint/client/rest/grpc_query_test.go +++ b/x/mint/client/rest/grpc_query_test.go @@ -14,7 +14,7 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/suite" - minttypes "github.com/CosmosContracts/juno/v12/x/mint/types" + minttypes "github.com/CosmosContracts/juno/v13/x/mint/types" ) type IntegrationTestSuite struct { diff --git a/x/mint/client/rest/query.go b/x/mint/client/rest/query.go index 2b033eebe..8926d3679 100644 --- a/x/mint/client/rest/query.go +++ b/x/mint/client/rest/query.go @@ -6,7 +6,7 @@ import ( "github.com/gorilla/mux" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/types/rest" ) diff --git a/x/mint/client/testutil/suite.go b/x/mint/client/testutil/suite.go index 60bc20b61..17530dd25 100644 --- a/x/mint/client/testutil/suite.go +++ b/x/mint/client/testutil/suite.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/suite" tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/CosmosContracts/juno/v12/x/mint/client/cli" - minttypes "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/client/cli" + minttypes "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" diff --git a/x/mint/genesis.go b/x/mint/genesis.go index 00ea3802c..939af4aab 100644 --- a/x/mint/genesis.go +++ b/x/mint/genesis.go @@ -1,8 +1,8 @@ package mint import ( - "github.com/CosmosContracts/juno/v12/x/mint/keeper" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/keeper" + "github.com/CosmosContracts/juno/v13/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/keeper/grpc_query.go b/x/mint/keeper/grpc_query.go index e1955564f..2ea8eb3e3 100644 --- a/x/mint/keeper/grpc_query.go +++ b/x/mint/keeper/grpc_query.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/keeper/grpc_query_test.go b/x/mint/keeper/grpc_query_test.go index a2e092c14..20081215a 100644 --- a/x/mint/keeper/grpc_query_test.go +++ b/x/mint/keeper/grpc_query_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/suite" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/CosmosContracts/juno/v12/app" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/app" + "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/keeper/integration_test.go b/x/mint/keeper/integration_test.go index d967013aa..f60aa8845 100644 --- a/x/mint/keeper/integration_test.go +++ b/x/mint/keeper/integration_test.go @@ -8,10 +8,10 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - junoapp "github.com/CosmosContracts/juno/v12/app" + junoapp "github.com/CosmosContracts/juno/v13/app" "github.com/cosmos/cosmos-sdk/simapp" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/keeper/keeper.go b/x/mint/keeper/keeper.go index 59a8cf317..7581f5320 100644 --- a/x/mint/keeper/keeper.go +++ b/x/mint/keeper/keeper.go @@ -3,7 +3,7 @@ package keeper import ( "github.com/tendermint/tendermint/libs/log" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" diff --git a/x/mint/keeper/migrator.go b/x/mint/keeper/migrator.go index fa76462cf..2004678d0 100644 --- a/x/mint/keeper/migrator.go +++ b/x/mint/keeper/migrator.go @@ -1,7 +1,7 @@ package keeper import ( - v2 "github.com/CosmosContracts/juno/v12/x/mint/migrations/v2" + v2 "github.com/CosmosContracts/juno/v13/x/mint/migrations/v2" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/keeper/querier.go b/x/mint/keeper/querier.go index 485946f68..84cd1ebb1 100644 --- a/x/mint/keeper/querier.go +++ b/x/mint/keeper/querier.go @@ -3,7 +3,7 @@ package keeper import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" diff --git a/x/mint/keeper/querier_test.go b/x/mint/keeper/querier_test.go index 46ea9ed72..ab5c0db3f 100644 --- a/x/mint/keeper/querier_test.go +++ b/x/mint/keeper/querier_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - keep "github.com/CosmosContracts/juno/v12/x/mint/keeper" - "github.com/CosmosContracts/juno/v12/x/mint/types" + keep "github.com/CosmosContracts/juno/v13/x/mint/keeper" + "github.com/CosmosContracts/juno/v13/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" abci "github.com/tendermint/tendermint/abci/types" diff --git a/x/mint/migrations/v2/migrate.go b/x/mint/migrations/v2/migrate.go index 86841a1d1..94a06443f 100644 --- a/x/mint/migrations/v2/migrate.go +++ b/x/mint/migrations/v2/migrate.go @@ -1,7 +1,7 @@ package v2 import ( - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/mint/module.go b/x/mint/module.go index 15a516fab..5754e3a79 100644 --- a/x/mint/module.go +++ b/x/mint/module.go @@ -11,11 +11,11 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/CosmosContracts/juno/v12/x/mint/client/cli" - "github.com/CosmosContracts/juno/v12/x/mint/client/rest" - "github.com/CosmosContracts/juno/v12/x/mint/keeper" - "github.com/CosmosContracts/juno/v12/x/mint/simulation" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/client/cli" + "github.com/CosmosContracts/juno/v13/x/mint/client/rest" + "github.com/CosmosContracts/juno/v13/x/mint/keeper" + "github.com/CosmosContracts/juno/v13/x/mint/simulation" + "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/mint/module_test.go b/x/mint/module_test.go index ebae08df5..07252cc86 100644 --- a/x/mint/module_test.go +++ b/x/mint/module_test.go @@ -7,7 +7,7 @@ import ( abcitypes "github.com/tendermint/tendermint/abci/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/simapp" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" ) diff --git a/x/mint/simulation/decoder.go b/x/mint/simulation/decoder.go index e7adc5408..8d752b509 100644 --- a/x/mint/simulation/decoder.go +++ b/x/mint/simulation/decoder.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types/kv" ) diff --git a/x/mint/simulation/decoder_test.go b/x/mint/simulation/decoder_test.go index 11522d62c..99a15236e 100644 --- a/x/mint/simulation/decoder_test.go +++ b/x/mint/simulation/decoder_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/CosmosContracts/juno/v12/app" - "github.com/CosmosContracts/juno/v12/x/mint/simulation" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/app" + "github.com/CosmosContracts/juno/v13/x/mint/simulation" + "github.com/CosmosContracts/juno/v13/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/kv" ) diff --git a/x/mint/simulation/genesis.go b/x/mint/simulation/genesis.go index c563b07ae..0062e5fe6 100644 --- a/x/mint/simulation/genesis.go +++ b/x/mint/simulation/genesis.go @@ -7,7 +7,7 @@ import ( "fmt" "math/rand" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" ) diff --git a/x/mint/simulation/genesis_test.go b/x/mint/simulation/genesis_test.go index 113582418..0ca5468ab 100644 --- a/x/mint/simulation/genesis_test.go +++ b/x/mint/simulation/genesis_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/CosmosContracts/juno/v12/x/mint/simulation" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/simulation" + "github.com/CosmosContracts/juno/v13/x/mint/types" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/mint/simulation/params.go b/x/mint/simulation/params.go index c0e3043a1..986c4f7b8 100644 --- a/x/mint/simulation/params.go +++ b/x/mint/simulation/params.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/CosmosContracts/juno/v12/x/mint/types" + "github.com/CosmosContracts/juno/v13/x/mint/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" ) diff --git a/x/mint/simulation/params_test.go b/x/mint/simulation/params_test.go index 94ad31a29..a73806593 100644 --- a/x/mint/simulation/params_test.go +++ b/x/mint/simulation/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/CosmosContracts/juno/v12/x/mint/simulation" + "github.com/CosmosContracts/juno/v13/x/mint/simulation" ) func TestParamChangest(t *testing.T) { diff --git a/x/oracle/abci.go b/x/oracle/abci.go index 821327289..70333fa48 100644 --- a/x/oracle/abci.go +++ b/x/oracle/abci.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v12/x/oracle/keeper" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/keeper" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) // isPeriodLastBlock returns true if we are at the last block of the period diff --git a/x/oracle/abci_test.go b/x/oracle/abci_test.go index 511d2d839..10a45605d 100644 --- a/x/oracle/abci_test.go +++ b/x/oracle/abci_test.go @@ -15,10 +15,10 @@ import ( tmrand "github.com/tendermint/tendermint/libs/rand" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - app "github.com/CosmosContracts/juno/v12/app" - appparams "github.com/CosmosContracts/juno/v12/app/params" - "github.com/CosmosContracts/juno/v12/x/oracle" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + app "github.com/CosmosContracts/juno/v13/app" + appparams "github.com/CosmosContracts/juno/v13/app/params" + "github.com/CosmosContracts/juno/v13/x/oracle" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) const ( diff --git a/x/oracle/client/cli/gov_tx.go b/x/oracle/client/cli/gov_tx.go index 976382764..4c1d4eda0 100644 --- a/x/oracle/client/cli/gov_tx.go +++ b/x/oracle/client/cli/gov_tx.go @@ -3,7 +3,7 @@ package cli import ( "os" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/oracle/client/cli/query.go b/x/oracle/client/cli/query.go index f75ffa095..28a25001a 100644 --- a/x/oracle/client/cli/query.go +++ b/x/oracle/client/cli/query.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" - "github.com/CosmosContracts/juno/v12/x/oracle/types" - "github.com/CosmosContracts/juno/v12/x/oracle/util" + "github.com/CosmosContracts/juno/v13/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/util" ) // GetQueryCmd returns the CLI query commands for the x/oracle module. diff --git a/x/oracle/client/cli/tx.go b/x/oracle/client/cli/tx.go index f9d4a299a..8cee411b1 100644 --- a/x/oracle/client/cli/tx.go +++ b/x/oracle/client/cli/tx.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) // GetTxCmd returns the CLI transaction commands for the x/oracle module. diff --git a/x/oracle/client/proposal_handler.go b/x/oracle/client/proposal_handler.go index 5be3b038a..61ef49bcf 100644 --- a/x/oracle/client/proposal_handler.go +++ b/x/oracle/client/proposal_handler.go @@ -1,8 +1,8 @@ package client import ( - "github.com/CosmosContracts/juno/v12/x/oracle/client/cli" - "github.com/CosmosContracts/juno/v12/x/oracle/client/rest" + "github.com/CosmosContracts/juno/v13/x/oracle/client/cli" + "github.com/CosmosContracts/juno/v13/x/oracle/client/rest" govclient "github.com/cosmos/cosmos-sdk/x/gov/client" ) diff --git a/x/oracle/genesis.go b/x/oracle/genesis.go index f42a4a0bf..683a37995 100644 --- a/x/oracle/genesis.go +++ b/x/oracle/genesis.go @@ -3,8 +3,8 @@ package oracle import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v12/x/oracle/keeper" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/keeper" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) // InitGenesis initializes the x/oracle module's state from a provided genesis diff --git a/x/oracle/keeper/alias_functions.go b/x/oracle/keeper/alias_functions.go index 7af2bd370..053578b22 100644 --- a/x/oracle/keeper/alias_functions.go +++ b/x/oracle/keeper/alias_functions.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) // GetOracleAccount returns oracle ModuleAccount. diff --git a/x/oracle/keeper/ballot.go b/x/oracle/keeper/ballot.go index 55a60b4c7..2dfba71a8 100644 --- a/x/oracle/keeper/ballot.go +++ b/x/oracle/keeper/ballot.go @@ -3,7 +3,7 @@ package keeper import ( "sort" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/oracle/keeper/ballot_test.go b/x/oracle/keeper/ballot_test.go index 998d730bf..b6f4bb493 100644 --- a/x/oracle/keeper/ballot_test.go +++ b/x/oracle/keeper/ballot_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) func (s *IntegrationTestSuite) TestBallot_OrganizeBallotByDenom() { diff --git a/x/oracle/keeper/genesis.go b/x/oracle/keeper/genesis.go index beb1c5da4..a1cfc6faa 100644 --- a/x/oracle/keeper/genesis.go +++ b/x/oracle/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( "fmt" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/oracle/keeper/grpc_query.go b/x/oracle/keeper/grpc_query.go index d0886692f..721228424 100644 --- a/x/oracle/keeper/grpc_query.go +++ b/x/oracle/keeper/grpc_query.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) var _ types.QueryServer = querier{} diff --git a/x/oracle/keeper/grpc_query_test.go b/x/oracle/keeper/grpc_query_test.go index 1b38f4890..553ecc0c8 100644 --- a/x/oracle/keeper/grpc_query_test.go +++ b/x/oracle/keeper/grpc_query_test.go @@ -8,10 +8,10 @@ import ( "github.com/cosmos/cosmos-sdk/types/query" "github.com/tendermint/tendermint/crypto/secp256k1" - appparams "github.com/CosmosContracts/juno/v12/app/params" - "github.com/CosmosContracts/juno/v12/testutil/nullify" - "github.com/CosmosContracts/juno/v12/x/oracle/keeper" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + appparams "github.com/CosmosContracts/juno/v13/app/params" + "github.com/CosmosContracts/juno/v13/testutil/nullify" + "github.com/CosmosContracts/juno/v13/x/oracle/keeper" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) func (s *IntegrationTestSuite) TestQuerier_ActiveExchangeRates() { diff --git a/x/oracle/keeper/history.go b/x/oracle/keeper/history.go index 1c6dd4739..608be625f 100644 --- a/x/oracle/keeper/history.go +++ b/x/oracle/keeper/history.go @@ -6,8 +6,8 @@ import ( "strings" "time" - "github.com/CosmosContracts/juno/v12/x/oracle/types" - "github.com/CosmosContracts/juno/v12/x/oracle/util" + "github.com/CosmosContracts/juno/v13/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/util" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/oracle/keeper/history_test.go b/x/oracle/keeper/history_test.go index 87865740b..6738a5327 100644 --- a/x/oracle/keeper/history_test.go +++ b/x/oracle/keeper/history_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" ) diff --git a/x/oracle/keeper/keeper.go b/x/oracle/keeper/keeper.go index 77b6c656b..3e728d161 100644 --- a/x/oracle/keeper/keeper.go +++ b/x/oracle/keeper/keeper.go @@ -15,7 +15,7 @@ import ( gogotypes "github.com/gogo/protobuf/types" "github.com/tendermint/tendermint/libs/log" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) var ten = sdk.MustNewDecFromStr("10") diff --git a/x/oracle/keeper/keeper_test.go b/x/oracle/keeper/keeper_test.go index 87ead86e9..be000f84e 100644 --- a/x/oracle/keeper/keeper_test.go +++ b/x/oracle/keeper/keeper_test.go @@ -21,10 +21,10 @@ import ( tmrand "github.com/tendermint/tendermint/libs/rand" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - junoApp "github.com/CosmosContracts/juno/v12/app" - appparams "github.com/CosmosContracts/juno/v12/app/params" - "github.com/CosmosContracts/juno/v12/x/oracle/keeper" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + junoApp "github.com/CosmosContracts/juno/v13/app" + appparams "github.com/CosmosContracts/juno/v13/app/params" + "github.com/CosmosContracts/juno/v13/x/oracle/keeper" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) const ( diff --git a/x/oracle/keeper/msg_server.go b/x/oracle/keeper/msg_server.go index cd3565772..f54422177 100644 --- a/x/oracle/keeper/msg_server.go +++ b/x/oracle/keeper/msg_server.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) type msgServer struct { diff --git a/x/oracle/keeper/msg_server_test.go b/x/oracle/keeper/msg_server_test.go index e2bc49d88..a9e3d3d17 100644 --- a/x/oracle/keeper/msg_server_test.go +++ b/x/oracle/keeper/msg_server_test.go @@ -6,7 +6,7 @@ import ( "math/rand" "strings" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) diff --git a/x/oracle/keeper/params.go b/x/oracle/keeper/params.go index af16402ee..01c5406ba 100644 --- a/x/oracle/keeper/params.go +++ b/x/oracle/keeper/params.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/oracle/keeper/params_test.go b/x/oracle/keeper/params_test.go index 3905d3904..358cb0f06 100644 --- a/x/oracle/keeper/params_test.go +++ b/x/oracle/keeper/params_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/oracle/keeper/proposal_handler.go b/x/oracle/keeper/proposal_handler.go index 62700ac5d..522bfdf33 100644 --- a/x/oracle/keeper/proposal_handler.go +++ b/x/oracle/keeper/proposal_handler.go @@ -3,7 +3,7 @@ package keeper import ( "strings" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" diff --git a/x/oracle/keeper/proposal_integration_test.go b/x/oracle/keeper/proposal_integration_test.go index 01e9ef2eb..93da7329b 100644 --- a/x/oracle/keeper/proposal_integration_test.go +++ b/x/oracle/keeper/proposal_integration_test.go @@ -3,7 +3,7 @@ package keeper import ( "testing" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" "github.com/stretchr/testify/require" ) diff --git a/x/oracle/keeper/reward.go b/x/oracle/keeper/reward.go index a799c725b..8bba23a0d 100644 --- a/x/oracle/keeper/reward.go +++ b/x/oracle/keeper/reward.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v12/x/oracle/types" - "github.com/CosmosContracts/juno/v12/x/oracle/util" + "github.com/CosmosContracts/juno/v13/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/util" ) // prependJunoIfUnique pushs `ujuno` denom to the front of the list, if it is not yet included. diff --git a/x/oracle/keeper/reward_test.go b/x/oracle/keeper/reward_test.go index e70546893..7975befaa 100644 --- a/x/oracle/keeper/reward_test.go +++ b/x/oracle/keeper/reward_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) // Test the reward giving mechanism diff --git a/x/oracle/keeper/test_common.go b/x/oracle/keeper/test_common.go index e9f9e531b..365ebf4b6 100644 --- a/x/oracle/keeper/test_common.go +++ b/x/oracle/keeper/test_common.go @@ -63,10 +63,10 @@ import ( "github.com/tendermint/tendermint/libs/log" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" dbm "github.com/tendermint/tm-db" - appparams "github.com/CosmosContracts/juno/v12/app/params" + appparams "github.com/CosmosContracts/juno/v13/app/params" ) var moduleBasics = module.NewBasicManager( diff --git a/x/oracle/module.go b/x/oracle/module.go index 22a446c0d..bb720ea4a 100644 --- a/x/oracle/module.go +++ b/x/oracle/module.go @@ -17,10 +17,10 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/CosmosContracts/juno/v12/x/oracle/client/cli" - "github.com/CosmosContracts/juno/v12/x/oracle/keeper" - "github.com/CosmosContracts/juno/v12/x/oracle/simulation" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/client/cli" + "github.com/CosmosContracts/juno/v13/x/oracle/keeper" + "github.com/CosmosContracts/juno/v13/x/oracle/simulation" + "github.com/CosmosContracts/juno/v13/x/oracle/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" ) diff --git a/x/oracle/simulation/decoder.go b/x/oracle/simulation/decoder.go index 7e7a7d87d..564741640 100644 --- a/x/oracle/simulation/decoder.go +++ b/x/oracle/simulation/decoder.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" gogotypes "github.com/gogo/protobuf/types" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/oracle/simulation/genesis.go b/x/oracle/simulation/genesis.go index d5fd6c40b..01e54648d 100644 --- a/x/oracle/simulation/genesis.go +++ b/x/oracle/simulation/genesis.go @@ -6,7 +6,7 @@ import ( "math/rand" "time" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" ) diff --git a/x/oracle/simulation/operations.go b/x/oracle/simulation/operations.go index 7bb312a03..29074b581 100644 --- a/x/oracle/simulation/operations.go +++ b/x/oracle/simulation/operations.go @@ -6,8 +6,8 @@ import ( "sort" "strings" - "github.com/CosmosContracts/juno/v12/x/oracle/keeper" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/keeper" + "github.com/CosmosContracts/juno/v13/x/oracle/types" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/codec" simappparams "github.com/cosmos/cosmos-sdk/simapp/params" diff --git a/x/oracle/simulation/params.go b/x/oracle/simulation/params.go index ea4dab90e..58c607463 100644 --- a/x/oracle/simulation/params.go +++ b/x/oracle/simulation/params.go @@ -4,7 +4,7 @@ import ( "fmt" "math/rand" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" ) diff --git a/x/oracle/types/asset.go b/x/oracle/types/asset.go index 89cacb5a1..5705dbdf3 100644 --- a/x/oracle/types/asset.go +++ b/x/oracle/types/asset.go @@ -3,7 +3,7 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" - appparams "github.com/CosmosContracts/juno/v12/app/params" + appparams "github.com/CosmosContracts/juno/v13/app/params" ) const ( diff --git a/x/oracle/types/denom_test.go b/x/oracle/types/denom_test.go index adcc73f90..fed4b7275 100644 --- a/x/oracle/types/denom_test.go +++ b/x/oracle/types/denom_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + "github.com/CosmosContracts/juno/v13/x/oracle/types" "github.com/stretchr/testify/require" ) diff --git a/x/oracle/types/keys_test.go b/x/oracle/types/keys_test.go index 17dbb3266..e49557c30 100644 --- a/x/oracle/types/keys_test.go +++ b/x/oracle/types/keys_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - appparams "github.com/CosmosContracts/juno/v12/app/params" - "github.com/CosmosContracts/juno/v12/x/oracle/types" + appparams "github.com/CosmosContracts/juno/v13/app/params" + "github.com/CosmosContracts/juno/v13/x/oracle/types" ) func TestGetExchangeRateKey(t *testing.T) { diff --git a/x/oracle/types/msgs.go b/x/oracle/types/msgs.go index 8a0439c26..2c45b7d13 100644 --- a/x/oracle/types/msgs.go +++ b/x/oracle/types/msgs.go @@ -5,7 +5,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/tendermint/tendermint/crypto/tmhash" - "github.com/CosmosContracts/juno/v12/x/oracle/util" + "github.com/CosmosContracts/juno/v13/x/oracle/util" ) var ( diff --git a/x/oracle/wasm/interface.go b/x/oracle/wasm/interface.go index c6d679591..3b2e94a37 100644 --- a/x/oracle/wasm/interface.go +++ b/x/oracle/wasm/interface.go @@ -5,7 +5,7 @@ import ( wasmvmtypes "github.com/CosmWasm/wasmvm/types" - "github.com/CosmosContracts/juno/v12/x/oracle/keeper" + "github.com/CosmosContracts/juno/v13/x/oracle/keeper" ) // ExchangeRateQueryParams query request params for exchange rates From de496242eaed159769af305d3b104bc77ee40d6a Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Thu, 2 Feb 2023 16:59:40 -0600 Subject: [PATCH 02/29] ica host allow all messages "*" --- app/upgrades/v13/upgrades.go | 54 ++------------------------------ cmd/junod/cmd/genica.go | 60 ++---------------------------------- 2 files changed, 4 insertions(+), 110 deletions(-) diff --git a/app/upgrades/v13/upgrades.go b/app/upgrades/v13/upgrades.go index 1f8990f3c..033a60992 100644 --- a/app/upgrades/v13/upgrades.go +++ b/app/upgrades/v13/upgrades.go @@ -8,7 +8,6 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cosmos/cosmos-sdk/x/authz" // ICA @@ -18,13 +17,8 @@ import ( // types tokenfactorytypes "github.com/CosmWasm/token-factory/x/tokenfactory/types" - wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" feesharetypes "github.com/CosmosContracts/juno/v13/x/feeshare/types" oracletypes "github.com/CosmosContracts/juno/v13/x/oracle/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" ibcfeetypes "github.com/cosmos/ibc-go/v4/modules/apps/29-fee/types" @@ -59,52 +53,8 @@ func CreateV13UpgradeHandler( // Update ICS27 Host submodule params hostParams := icahosttypes.Params{ HostEnabled: true, - AllowMessages: []string{ - // bank - sdk.MsgTypeURL(&banktypes.MsgSend{}), - sdk.MsgTypeURL(&banktypes.MsgMultiSend{}), - // staking - sdk.MsgTypeURL(&stakingtypes.MsgDelegate{}), - sdk.MsgTypeURL(&stakingtypes.MsgBeginRedelegate{}), - sdk.MsgTypeURL(&stakingtypes.MsgUndelegate{}), - sdk.MsgTypeURL(&stakingtypes.MsgCreateValidator{}), - sdk.MsgTypeURL(&stakingtypes.MsgEditValidator{}), - // distribution - sdk.MsgTypeURL(&distrtypes.MsgWithdrawDelegatorReward{}), - sdk.MsgTypeURL(&distrtypes.MsgSetWithdrawAddress{}), - sdk.MsgTypeURL(&distrtypes.MsgWithdrawValidatorCommission{}), - sdk.MsgTypeURL(&distrtypes.MsgFundCommunityPool{}), - // gov - sdk.MsgTypeURL(&govtypes.MsgVote{}), - sdk.MsgTypeURL(&govtypes.MsgVoteWeighted{}), - sdk.MsgTypeURL(&govtypes.MsgSubmitProposal{}), - sdk.MsgTypeURL(&govtypes.MsgDeposit{}), - // authz - sdk.MsgTypeURL(&authz.MsgExec{}), - sdk.MsgTypeURL(&authz.MsgGrant{}), - sdk.MsgTypeURL(&authz.MsgRevoke{}), - // wasm - sdk.MsgTypeURL(&wasmtypes.MsgStoreCode{}), - sdk.MsgTypeURL(&wasmtypes.MsgInstantiateContract{}), - sdk.MsgTypeURL(&wasmtypes.MsgInstantiateContract2{}), - sdk.MsgTypeURL(&wasmtypes.MsgExecuteContract{}), - sdk.MsgTypeURL(&wasmtypes.MsgMigrateContract{}), - sdk.MsgTypeURL(&wasmtypes.MsgUpdateAdmin{}), - sdk.MsgTypeURL(&wasmtypes.MsgClearAdmin{}), - sdk.MsgTypeURL(&wasmtypes.MsgIBCSend{}), - sdk.MsgTypeURL(&wasmtypes.MsgIBCCloseChannel{}), - // tokenfactory - sdk.MsgTypeURL(&tokenfactorytypes.MsgCreateDenom{}), - sdk.MsgTypeURL(&tokenfactorytypes.MsgMint{}), - sdk.MsgTypeURL(&tokenfactorytypes.MsgBurn{}), - sdk.MsgTypeURL(&tokenfactorytypes.MsgChangeAdmin{}), - sdk.MsgTypeURL(&tokenfactorytypes.MsgSetDenomMetadata{}), - // feeshare - sdk.MsgTypeURL(&feesharetypes.MsgRegisterFeeShare{}), - sdk.MsgTypeURL(&feesharetypes.MsgUpdateFeeShare{}), - sdk.MsgTypeURL(&feesharetypes.MsgUpdateFeeShare{}), - sdk.MsgTypeURL(&feesharetypes.MsgCancelFeeShare{}), - }, + // https://github.com/cosmos/ibc-go/blob/v4.2.0/docs/apps/interchain-accounts/parameters.md#allowmessages + AllowMessages: []string{"*"}, } // IBCFee diff --git a/cmd/junod/cmd/genica.go b/cmd/junod/cmd/genica.go index 3013446fe..d001e4c6d 100644 --- a/cmd/junod/cmd/genica.go +++ b/cmd/junod/cmd/genica.go @@ -13,19 +13,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/x/authz" "github.com/cosmos/cosmos-sdk/x/genutil" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - - sdk "github.com/cosmos/cosmos-sdk/types" - - tokenfactorytypes "github.com/CosmWasm/token-factory/x/tokenfactory/types" - wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - feesharetypes "github.com/CosmosContracts/juno/v13/x/feeshare/types" - banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" ) // AddGenesisAccountCmd returns add-genesis-account cobra Command. @@ -55,53 +44,8 @@ func AddGenesisIcaCmd(defaultNodeHome string) *cobra.Command { hostGenesisState := icatypes.DefaultHostGenesis() // add the messages we want (from old upgrade handler) hostGenesisState.Params = icahosttypes.Params{ - HostEnabled: true, - AllowMessages: []string{ - // bank - sdk.MsgTypeURL(&banktypes.MsgSend{}), - sdk.MsgTypeURL(&banktypes.MsgMultiSend{}), - // staking - sdk.MsgTypeURL(&stakingtypes.MsgDelegate{}), - sdk.MsgTypeURL(&stakingtypes.MsgBeginRedelegate{}), - sdk.MsgTypeURL(&stakingtypes.MsgUndelegate{}), - sdk.MsgTypeURL(&stakingtypes.MsgCreateValidator{}), - sdk.MsgTypeURL(&stakingtypes.MsgEditValidator{}), - // distribution - sdk.MsgTypeURL(&distrtypes.MsgWithdrawDelegatorReward{}), - sdk.MsgTypeURL(&distrtypes.MsgSetWithdrawAddress{}), - sdk.MsgTypeURL(&distrtypes.MsgWithdrawValidatorCommission{}), - sdk.MsgTypeURL(&distrtypes.MsgFundCommunityPool{}), - // gov - sdk.MsgTypeURL(&govtypes.MsgVote{}), - sdk.MsgTypeURL(&govtypes.MsgVoteWeighted{}), - sdk.MsgTypeURL(&govtypes.MsgSubmitProposal{}), - sdk.MsgTypeURL(&govtypes.MsgDeposit{}), - // authz - sdk.MsgTypeURL(&authz.MsgExec{}), - sdk.MsgTypeURL(&authz.MsgGrant{}), - sdk.MsgTypeURL(&authz.MsgRevoke{}), - // wasm - sdk.MsgTypeURL(&wasmtypes.MsgStoreCode{}), - sdk.MsgTypeURL(&wasmtypes.MsgInstantiateContract{}), - sdk.MsgTypeURL(&wasmtypes.MsgInstantiateContract2{}), - sdk.MsgTypeURL(&wasmtypes.MsgExecuteContract{}), - sdk.MsgTypeURL(&wasmtypes.MsgMigrateContract{}), - sdk.MsgTypeURL(&wasmtypes.MsgUpdateAdmin{}), - sdk.MsgTypeURL(&wasmtypes.MsgClearAdmin{}), - sdk.MsgTypeURL(&wasmtypes.MsgIBCSend{}), - sdk.MsgTypeURL(&wasmtypes.MsgIBCCloseChannel{}), - // tokenfactory - sdk.MsgTypeURL(&tokenfactorytypes.MsgCreateDenom{}), - sdk.MsgTypeURL(&tokenfactorytypes.MsgMint{}), - sdk.MsgTypeURL(&tokenfactorytypes.MsgBurn{}), - sdk.MsgTypeURL(&tokenfactorytypes.MsgChangeAdmin{}), - sdk.MsgTypeURL(&tokenfactorytypes.MsgSetDenomMetadata{}), - // feeshare - sdk.MsgTypeURL(&feesharetypes.MsgRegisterFeeShare{}), - sdk.MsgTypeURL(&feesharetypes.MsgUpdateFeeShare{}), - sdk.MsgTypeURL(&feesharetypes.MsgUpdateFeeShare{}), - sdk.MsgTypeURL(&feesharetypes.MsgCancelFeeShare{}), - }, + HostEnabled: true, + AllowMessages: []string{"*"}, } newIcaGenState := icatypes.NewGenesisState(controllerGenesisState, hostGenesisState) From 2392006190bf16d4ccd54043f856feb7f062af96 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 7 Feb 2023 00:51:41 +0700 Subject: [PATCH 03/29] tidy feeder --- price-feeder/go.mod | 25 ++++++++++----------- price-feeder/go.sum | 53 ++++++++++++++++++++------------------------- 2 files changed, 36 insertions(+), 42 deletions(-) diff --git a/price-feeder/go.mod b/price-feeder/go.mod index e17238b1e..880b10f95 100644 --- a/price-feeder/go.mod +++ b/price-feeder/go.mod @@ -15,12 +15,12 @@ require ( github.com/rs/cors v1.8.2 github.com/rs/zerolog v1.28.0 github.com/spf13/cobra v1.6.1 - github.com/spf13/viper v1.14.0 + github.com/spf13/viper v1.15.0 github.com/stretchr/testify v1.8.1 github.com/tendermint/tendermint v0.34.25 golang.org/x/sync v0.1.0 golang.org/x/term v0.3.0 - google.golang.org/grpc v1.51.0 + google.golang.org/grpc v1.52.0 gopkg.in/yaml.v3 v3.0.1 ) @@ -64,7 +64,7 @@ require ( github.com/chavacava/garif v0.0.0-20220630083739-93517212f375 // indirect github.com/coinbase/rosetta-sdk-go v0.7.9 // indirect github.com/confio/ics23/go v0.9.0 // indirect - github.com/cosmos/btcutil v1.0.4 // indirect + github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/cosmos-proto v1.0.0-beta.1 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogoproto v1.4.3 // indirect @@ -173,7 +173,7 @@ require ( github.com/lib/pq v1.10.6 // indirect github.com/libp2p/go-buffer-pool v0.1.0 // indirect github.com/lufeee/execinquery v1.2.1 // indirect - github.com/magiconair/properties v1.8.6 // indirect + github.com/magiconair/properties v1.8.7 // indirect github.com/maratori/testableexamples v1.0.0 // indirect github.com/maratori/testpackage v1.1.0 // indirect github.com/matoous/godox v0.0.0-20210227103229-6504466cf951 // indirect @@ -192,13 +192,12 @@ require ( github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 // indirect github.com/nishanths/exhaustive v0.8.3 // indirect github.com/nishanths/predeclared v0.2.2 // indirect + github.com/nxadm/tail v1.4.8 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect - github.com/onsi/ginkgo v1.16.4 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/osmosis-labs/osmosis/osmoutils v0.0.3-rc0 // indirect - github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.0-20230110104305-322e8478dbe8 // indirect - github.com/pelletier/go-toml v1.9.5 // indirect - github.com/pelletier/go-toml/v2 v2.0.5 // indirect + github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.0-20230201151635-ef43e092d196 // indirect + github.com/pelletier/go-toml/v2 v2.0.6 // indirect github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d // indirect github.com/pkg/errors v0.9.1 // indirect @@ -231,7 +230,7 @@ require ( github.com/sivchari/tenv v1.7.0 // indirect github.com/sonatard/noctx v0.0.1 // indirect github.com/sourcegraph/go-diff v0.6.1 // indirect - github.com/spf13/afero v1.9.2 // indirect + github.com/spf13/afero v1.9.3 // indirect github.com/spf13/cast v1.5.0 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/spf13/pflag v1.0.5 // indirect @@ -239,7 +238,7 @@ require ( github.com/stbenjam/no-sprintf-host-port v0.1.1 // indirect github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.1-0.20230115230008-9d283c08227d // indirect github.com/stretchr/objx v0.5.0 // indirect - github.com/subosito/gotenv v1.4.1 // indirect + github.com/subosito/gotenv v1.4.2 // indirect github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect github.com/tdakkota/asciicheck v0.1.1 // indirect github.com/tendermint/btcd v0.1.1 // indirect @@ -260,7 +259,7 @@ require ( github.com/zondax/ledger-go v0.14.1 // indirect gitlab.com/bosi/decorder v0.2.3 // indirect go.etcd.io/bbolt v1.3.6 // indirect - go.opencensus.io v0.23.0 // indirect + go.opencensus.io v0.24.0 // indirect go.uber.org/atomic v1.10.0 // indirect go.uber.org/goleak v1.1.12 // indirect go.uber.org/multierr v1.8.0 // indirect @@ -273,7 +272,7 @@ require ( golang.org/x/sys v0.3.0 // indirect golang.org/x/text v0.5.0 // indirect golang.org/x/tools v0.4.0 // indirect - google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e // indirect + google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef // indirect google.golang.org/protobuf v1.28.2-0.20220831092852-f930b1dc76e8 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect @@ -282,7 +281,7 @@ require ( mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed // indirect mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect mvdan.cc/unparam v0.0.0-20220706161116-678bad134442 // indirect - nhooyr.io/websocket v1.8.6 // indirect + nhooyr.io/websocket v1.8.7 // indirect ) replace ( diff --git a/price-feeder/go.sum b/price-feeder/go.sum index 47b27b683..dd4a2822b 100644 --- a/price-feeder/go.sum +++ b/price-feeder/go.sum @@ -235,8 +235,8 @@ github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3Ee github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd/v22 v22.3.3-0.20220203105225-a9a7ef127534/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cosmos/btcutil v1.0.4 h1:n7C2ngKXo7UC9gNyMNLbzqz7Asuf+7Qv4gnX/rOdQ44= -github.com/cosmos/btcutil v1.0.4/go.mod h1:Ffqc8Hn6TJUdDgHBwIZLtrLQC1KdJ9jGJl/TvgUaxbU= +github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= +github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= github.com/cosmos/cosmos-proto v1.0.0-beta.1 h1:iDL5qh++NoXxG8hSy93FdYJut4XfgbShIocllGaXx/0= github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE= github.com/cosmos/cosmos-sdk v0.45.11 h1:Pc44fFEkai0KXFND5Ys/2ZJkfVdstMIBzKBN8MY7Ll0= @@ -411,7 +411,6 @@ github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5Nq github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-toolsmith/astcast v1.0.0 h1:JojxlmI6STnFVG9yOImLeGREv8W2ocNUM+iOhR6jE7g= github.com/go-toolsmith/astcast v1.0.0/go.mod h1:mt2OdQTeAQcY4DQgPSArJjHCcOwlX+Wl/kwN+LbLGQ4= github.com/go-toolsmith/astcopy v1.0.2 h1:YnWf5Rnh1hUudj11kei53kI57quN/VH6Hp1n+erozn0= @@ -628,8 +627,8 @@ github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-uuid v1.0.1 h1:fv1ep09latC32wFoVwnqcnKJGnMSdBanPczbHAYm1BE= github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.2 h1:cfejS+Tpcp13yd5nYHWDI6qVCny6wyX2Mt5SGur2IGE= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= @@ -682,7 +681,7 @@ github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jgautheron/goconst v1.5.1 h1:HxVbL1MhydKs8R8n/HE5NPvzfaYmQJA3o879lE4+WcM= github.com/jgautheron/goconst v1.5.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= -github.com/jhump/protoreflect v1.12.1-0.20220721211354-060cc04fc18b h1:izTof8BKh/nE1wrKOrloNA5q4odOarjf+Xpe+4qow98= +github.com/jhump/protoreflect v1.13.1-0.20220928232736-101791cb1b4c h1:XImQJfpJLmGEEd8ll5yPVyL/aEvmgGHW4WYTyNseLOM= github.com/jingyugao/rowserrcheck v1.1.1 h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjzq7gFzUs= github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c= github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48= @@ -777,8 +776,8 @@ github.com/lufeee/execinquery v1.2.1 h1:hf0Ems4SHcUGBxpGN7Jz78z1ppVkP/837ZlETPCE github.com/lufeee/execinquery v1.2.1/go.mod h1:EC7DrEKView09ocscGHC+apXMIaorh4xqSxS/dy8SbM= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= -github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= +github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= +github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/maratori/testableexamples v1.0.0 h1:dU5alXRrD8WKSjOUnmJZuzdxWOEQ57+7s93SLMxb2vI= @@ -891,7 +890,6 @@ github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+W github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= github.com/onsi/ginkgo v1.16.4 h1:29JGrr5oVBm5ulCWet69zQkzWipVXIol6ygQUe/EzNc= -github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/ginkgo/v2 v2.1.4 h1:GNapqRSid3zijZ9H77KrgVG4/8KqiyRsxcSxe+7ApXY= github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= @@ -915,8 +913,8 @@ github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnh github.com/ory/dockertest v3.3.5+incompatible h1:iLLK6SQwIhcbrG783Dghaaa3WPzGc+4Emza6EbVUUGA= github.com/osmosis-labs/osmosis/osmoutils v0.0.3-rc0 h1:u91mXL0DbbQdLy95gCkLrM6cxya9b53fuiNkLO04KOE= github.com/osmosis-labs/osmosis/osmoutils v0.0.3-rc0/go.mod h1:rO4YKI0ZQkS3o4UDhFuQFy+j4eM/as8GLvuBDNBStkQ= -github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.0-20230110104305-322e8478dbe8 h1:iOJO+5jffUFlLVy51XaGnec22rNX5YAs71rxD+7M2Ac= -github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.0-20230110104305-322e8478dbe8/go.mod h1:ey8gfcDaTYJMkj5d0FZ4+p3CPcXP6tbPQ/WyOww17Gc= +github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.0-20230201151635-ef43e092d196 h1:V8OgwzvHwvGt2yEHRFsiWUPC647qez2LNgcvLzXgw8U= +github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.0-20230201151635-ef43e092d196/go.mod h1:eoSRNkeqi3ufOmvY8XcW8y0NgbbaPyBTEn7DTxq8XY4= github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw= github.com/otiai10/copy v1.6.0 h1:IinKAryFFuPONZ7cm6T6E2QX/vcJwSnlaA5lfoaXIiQ= github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= @@ -930,10 +928,8 @@ github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144T github.com/paulbellamy/ratecounter v0.2.0/go.mod h1:Hfx1hDpSGoqxkVVpBi/IlYD7kChlfo5C6hzIHwPqfFE= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= -github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml/v2 v2.0.5 h1:ipoSadvV8oGUjnUbMub59IDPPwfxF694nG/jwbMiyQg= -github.com/pelletier/go-toml/v2 v2.0.5/go.mod h1:OMHamSCAODeSsVrwwvcJOaoN0LIUIaFVNZzmWyNfXas= +github.com/pelletier/go-toml/v2 v2.0.6 h1:nrzqCb7j9cDFj2coyLNLaZuJTLjWjlaz6nvTvIwycIU= +github.com/pelletier/go-toml/v2 v2.0.6/go.mod h1:eumQOmlWiOPt5WriQQqoM5y18pDHwha2N+QD+EUNTek= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= @@ -1093,8 +1089,8 @@ github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasO github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.9.2 h1:j49Hj62F0n+DaZ1dDCvhABaPNSGNkt32oRFxI33IEMw= -github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= +github.com/spf13/afero v1.9.3 h1:41FoI0fD7OR7mGcKE/aOiLkGreyf8ifIOQmJANWogMk= +github.com/spf13/afero v1.9.3/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= @@ -1110,8 +1106,8 @@ github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnIn github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= -github.com/spf13/viper v1.14.0 h1:Rg7d3Lo706X9tHsJMUjdiwMpHB7W8WnSVOssIY+JElU= -github.com/spf13/viper v1.14.0/go.mod h1:WT//axPky3FdvXHzGw33dNdXXXfFQqmEalje+egj8As= +github.com/spf13/viper v1.15.0 h1:js3yy885G8xwJa6iOISGFwd+qlUo5AvyXb7CiihdtiU= +github.com/spf13/viper v1.15.0/go.mod h1:fFcTBJxvhhzSJiZy8n+PeW6t8l+KeT/uTARa0jHOQLA= github.com/ssgreg/nlreturn/v2 v2.2.1 h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0= github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I= github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= @@ -1139,8 +1135,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs= -github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= +github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= +github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/tdakkota/asciicheck v0.1.1 h1:PKzG7JUTUmVspQTDqtkX9eSiLGossXTybutHwTXuO0A= @@ -1234,8 +1230,8 @@ go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M= -go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= +go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= +go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= @@ -1471,7 +1467,6 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1600,7 +1595,6 @@ golang.org/x/tools v0.0.0-20201023174141-c8cfbd0f21e6/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201230224404-63754364767c/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= @@ -1698,8 +1692,8 @@ google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e h1:S9GbmC1iCgvbLyAokVCwiO6tVIrU9Y7c5oMx1V/ki/Y= -google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= +google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef h1:uQ2vjV/sHTsWSqdKeLqmwitzgvjMl7o4IdtHwUDXSJY= +google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= @@ -1724,8 +1718,8 @@ google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTp google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.51.0 h1:E1eGv1FTqoLIdnBCZufiSHgKjlqG6fKFf6pPWtMTh8U= -google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= +google.golang.org/grpc v1.52.0 h1:kd48UiU7EHsV4rnLyOJRuP/Il/UHE7gdDAQ+SZI7nZk= +google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -1795,8 +1789,9 @@ mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b h1:DxJ5nJdkhDlLok9K6qO+5290kphD mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jCoyKnw3vv5biOc3JnIcYfL4= mvdan.cc/unparam v0.0.0-20220706161116-678bad134442 h1:seuXWbRB1qPrS3NQnHmFKLJLtskWyueeIzmLXghMGgk= mvdan.cc/unparam v0.0.0-20220706161116-678bad134442/go.mod h1:F/Cxw/6mVrNKqrR2YjFf5CaW0Bw4RL8RfbEf4GRggJk= -nhooyr.io/websocket v1.8.6 h1:s+C3xAMLwGmlI31Nyn/eAehUlZPwfYZu2JXM621Q5/k= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= +nhooyr.io/websocket v1.8.7 h1:usjR2uOr/zjjkVMy0lW+PPohFok7PCow5sDjLgX4P4g= +nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= From 546a64d756e123b11807db8259ae8dfc28d9c5cc Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 7 Feb 2023 00:58:46 +0700 Subject: [PATCH 04/29] go 1.20 --- .github/workflows/build.yml | 11 ++++---- .github/workflows/codeql.yml | 3 +-- .github/workflows/golangci-lint.yml | 4 +-- .github/workflows/price-feeder-release.yaml | 2 +- .github/workflows/test-e2e-oracle.yml | 28 ++++++++------------- .github/workflows/test-e2e.yml | 28 ++++++++------------- .github/workflows/test-simulation.yml | 20 +++++++-------- 7 files changed, 39 insertions(+), 57 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 84983c6b4..810f31dba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - name: Setup go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.20 - run: go build ./... test: @@ -25,7 +25,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.20 - name: Checkout code uses: actions/checkout@v3 - name: Test @@ -37,10 +37,9 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.20 - name: Test price-feeder - run: cd price-feeder && make test-unit - + run: cd price-feeder && make test-unit tidy: runs-on: ubuntu-latest @@ -50,7 +49,7 @@ jobs: - name: Setup go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.20 - run: | go mod tidy CHANGES_IN_REPO=$(git status --porcelain) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3f268740e..ceefaff9e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.20 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 @@ -50,7 +50,6 @@ jobs: # with: # debug: true - # ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index f2a0d88f6..ff404452d 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.20 - uses: actions/checkout@v3 - name: golangci-lint-junod @@ -35,7 +35,7 @@ jobs: - name: golangci-lint-price_feeder uses: golangci/golangci-lint-action@v3 - with: + with: version: latest working-directory: price-feeder args: --timeout 10m diff --git a/.github/workflows/price-feeder-release.yaml b/.github/workflows/price-feeder-release.yaml index b7455c010..6fbe02d7f 100644 --- a/.github/workflows/price-feeder-release.yaml +++ b/.github/workflows/price-feeder-release.yaml @@ -16,7 +16,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.20 cache: true cache-dependency-path: price-feeder/go.sum # Parse 'v*.*.*' semantic version from 'price-feeder/v*.*.*' and save to diff --git a/.github/workflows/test-e2e-oracle.yml b/.github/workflows/test-e2e-oracle.yml index 75bdeff96..c9e7152a9 100644 --- a/.github/workflows/test-e2e-oracle.yml +++ b/.github/workflows/test-e2e-oracle.yml @@ -19,24 +19,20 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 25 steps: - - - name: Setup Go + - name: Setup Go uses: actions/setup-go@v2.2.0 with: - go-version: 1.19 - - - name: Check out repository code + go-version: 1.20 + - name: Check out repository code uses: actions/checkout@v2 - - - name: Get git diff + - name: Get git diff uses: technote-space/get-diff-action@v6.1.2 with: PATTERNS: | **/**.go go.mod go.sum - - - name: Get data from build cache + - name: Get data from build cache uses: actions/cache@v3 with: # In order: @@ -52,15 +48,11 @@ jobs: key: ${{ runner.os }}-go-docker-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go-docker-${{ matrix.go-version }}- - - - name: Set up QEMU + - name: Set up QEMU uses: docker/setup-qemu-action@v2 - - - name: Set up Docker Buildx + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - - name: Build e2e image + - name: Build e2e image run: make docker-build-debug - - - name: Test e2e oracle - run: make test-e2e-oracle \ No newline at end of file + - name: Test e2e oracle + run: make test-e2e-oracle diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 154cc6c53..6c9e6034d 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -1,4 +1,4 @@ -name: Test-e2e +name: Test-e2e on: pull_request: @@ -19,24 +19,20 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 25 steps: - - - name: Setup Go + - name: Setup Go uses: actions/setup-go@v2.2.0 with: - go-version: 1.18 - - - name: Check out repository code + go-version: 1.20 + - name: Check out repository code uses: actions/checkout@v2 - - - name: Get git diff + - name: Get git diff uses: technote-space/get-diff-action@v6.1.2 with: PATTERNS: | **/**.go go.mod go.sum - - - name: Get data from build cache + - name: Get data from build cache uses: actions/cache@v3 with: # In order: @@ -52,15 +48,11 @@ jobs: key: ${{ runner.os }}-go-docker-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go-docker-${{ matrix.go-version }}- - - - name: Set up QEMU + - name: Set up QEMU uses: docker/setup-qemu-action@v2 - - - name: Set up Docker Buildx + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - - name: Build e2e image + - name: Build e2e image run: make docker-build-debug - - - name: Test e2e and Upgrade + - name: Test e2e and Upgrade run: make test-e2e-ci diff --git a/.github/workflows/test-simulation.yml b/.github/workflows/test-simulation.yml index 39e5e2946..f3ebd3fa3 100644 --- a/.github/workflows/test-simulation.yml +++ b/.github/workflows/test-simulation.yml @@ -1,6 +1,6 @@ --- -on: pull_request -name: Test Simulation +on: pull_request +name: Test Simulation concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -11,11 +11,11 @@ jobs: runs-on: ubuntu-latest name: test steps: - - name: Install Go - uses: actions/setup-go@v3 - with: - go-version: 1.18 - - name: Checkout code - uses: actions/checkout@v3 - - name: Test - run: make test-sim-multi-seed-short \ No newline at end of file + - name: Install Go + uses: actions/setup-go@v3 + with: + go-version: 1.20 + - name: Checkout code + uses: actions/checkout@v3 + - name: Test + run: make test-sim-multi-seed-short From c08d6482a3ebcb1bf1f365d43729677317f2af88 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 7 Feb 2023 00:59:26 +0700 Subject: [PATCH 05/29] go 1.20 --- go.mod | 2 +- price-feeder/go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 9b7bb9e00..60f8b0d78 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/CosmosContracts/juno/v13 -go 1.19 +go 1.20 require ( github.com/CosmWasm/token-factory v0.0.0-20221024170206-1345f322c887 diff --git a/price-feeder/go.mod b/price-feeder/go.mod index 880b10f95..0aa1888d0 100644 --- a/price-feeder/go.mod +++ b/price-feeder/go.mod @@ -1,6 +1,6 @@ module github.com/CosmosContracts/juno/price-feeder -go 1.19 +go 1.20 require ( github.com/CosmosContracts/juno/v13 v13.0.0 From 25307fe6633aadaaa1afdb4fe15a5ebd53401263 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 7 Feb 2023 01:01:42 +0700 Subject: [PATCH 06/29] price feeder --- .github/workflows/lint-price-feeder.yml | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/lint-price-feeder.yml diff --git a/.github/workflows/lint-price-feeder.yml b/.github/workflows/lint-price-feeder.yml new file mode 100644 index 000000000..85c100505 --- /dev/null +++ b/.github/workflows/lint-price-feeder.yml @@ -0,0 +1,35 @@ +--- +name: golangci-lint +on: + push: + tags: + - v* + branches: + - master + - main + pull_request: +permissions: + contents: read + # Optional: allow read access to pull request. Use with `only-new-issues` option. + # pull-requests: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + golangci: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v3 + with: + go-version: 1.20 + - uses: actions/checkout@v3 + + - name: golangci-lint-price_feeder + uses: golangci/golangci-lint-action@v3 + with: + version: latest + working-directory: price-feeder + args: --timeout 10m From b43c5c7847bd888aa12ade86d7261d7fc41b766a Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 7 Feb 2023 01:03:36 +0700 Subject: [PATCH 07/29] be more specific for go version --- .github/workflows/build.yml | 8 ++++---- .github/workflows/codeql.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/lint-price-feeder.yml | 2 +- .github/workflows/price-feeder-release.yaml | 2 +- .github/workflows/test-e2e-oracle.yml | 2 +- .github/workflows/test-e2e.yml | 2 +- .github/workflows/test-simulation.yml | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 810f31dba..f0eee14dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - name: Setup go uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: 1.20.0 - run: go build ./... test: @@ -25,7 +25,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: 1.20.0 - name: Checkout code uses: actions/checkout@v3 - name: Test @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: 1.20.0 - name: Test price-feeder run: cd price-feeder && make test-unit @@ -49,7 +49,7 @@ jobs: - name: Setup go uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: 1.20.0 - run: | go mod tidy CHANGES_IN_REPO=$(git status --porcelain) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ceefaff9e..9cfb1ea78 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: 1.20.0 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index ff404452d..36ab52e5c 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: 1.20.0 - uses: actions/checkout@v3 - name: golangci-lint-junod diff --git a/.github/workflows/lint-price-feeder.yml b/.github/workflows/lint-price-feeder.yml index 85c100505..c424a35a4 100644 --- a/.github/workflows/lint-price-feeder.yml +++ b/.github/workflows/lint-price-feeder.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: 1.20.0 - uses: actions/checkout@v3 - name: golangci-lint-price_feeder diff --git a/.github/workflows/price-feeder-release.yaml b/.github/workflows/price-feeder-release.yaml index 6fbe02d7f..365a514b8 100644 --- a/.github/workflows/price-feeder-release.yaml +++ b/.github/workflows/price-feeder-release.yaml @@ -16,7 +16,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: 1.20.0 cache: true cache-dependency-path: price-feeder/go.sum # Parse 'v*.*.*' semantic version from 'price-feeder/v*.*.*' and save to diff --git a/.github/workflows/test-e2e-oracle.yml b/.github/workflows/test-e2e-oracle.yml index c9e7152a9..40a9f0852 100644 --- a/.github/workflows/test-e2e-oracle.yml +++ b/.github/workflows/test-e2e-oracle.yml @@ -22,7 +22,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v2.2.0 with: - go-version: 1.20 + go-version: 1.20.0 - name: Check out repository code uses: actions/checkout@v2 - name: Get git diff diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 6c9e6034d..2476b477d 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -22,7 +22,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v2.2.0 with: - go-version: 1.20 + go-version: 1.20.0 - name: Check out repository code uses: actions/checkout@v2 - name: Get git diff diff --git a/.github/workflows/test-simulation.yml b/.github/workflows/test-simulation.yml index f3ebd3fa3..42d771f66 100644 --- a/.github/workflows/test-simulation.yml +++ b/.github/workflows/test-simulation.yml @@ -14,7 +14,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: 1.20.0 - name: Checkout code uses: actions/checkout@v3 - name: Test From f520f83492f968cf40fd7730ce1e9e63b67099b3 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 7 Feb 2023 01:12:03 +0700 Subject: [PATCH 08/29] use ics23 v0.9.0 --- go.mod | 9 +++------ go.sum | 18 ++++++++---------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/go.mod b/go.mod index 60f8b0d78..e3a91631d 100644 --- a/go.mod +++ b/go.mod @@ -6,8 +6,8 @@ require ( github.com/CosmWasm/token-factory v0.0.0-20221024170206-1345f322c887 github.com/CosmWasm/wasmd v0.30.0 github.com/CosmWasm/wasmvm v1.1.1 - github.com/cosmos/cosmos-sdk v0.45.11 - github.com/cosmos/ibc-go/v4 v4.2.0 + github.com/cosmos/cosmos-sdk v0.45.12 + github.com/cosmos/ibc-go/v4 v4.3.0 github.com/cosmos/interchain-accounts v0.2.5 github.com/gogo/protobuf v1.3.3 github.com/golang/protobuf v1.5.2 @@ -31,8 +31,7 @@ require ( require ( github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect - github.com/tendermint/btcd v0.1.1 // indirect - github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 // indirect + github.com/tidwall/btree v1.5.0 // indirect ) require ( @@ -165,8 +164,6 @@ replace ( github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 // token factory: github.com/CosmWasm/token-factory => github.com/CosmosContracts/token-factory v0.0.0-20221224074329-bc7f9501149c - // dragonberry: https://github.com/cosmos/cosmos-sdk/releases/tag/v0.45.11 - github.com/confio/ics23/go => github.com/cosmos/cosmos-sdk/ics23/go v0.8.0 // dgrijalva/jwt-go is deprecated and doesn't receive security updates. // TODO: remove it: https://github.com/cosmos/cosmos-sdk/issues/13134 github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.4.2 diff --git a/go.sum b/go.sum index c69639b26..09d6b8994 100644 --- a/go.sum +++ b/go.sum @@ -177,6 +177,8 @@ github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE github.com/coinbase/kryptology v1.8.0/go.mod h1:RYXOAPdzOGUe3qlSFkMGn58i3xUA8hmxYHksuq+8ciI= github.com/coinbase/rosetta-sdk-go v0.7.9 h1:lqllBjMnazTjIqYrOGv8h8jxjg9+hJazIGZr9ZvoCcA= github.com/coinbase/rosetta-sdk-go v0.7.9/go.mod h1:0/knutI7XGVqXmmH4OQD8OckFrbQ8yMsUZTG7FXCR2M= +github.com/confio/ics23/go v0.9.0 h1:cWs+wdbS2KRPZezoaaj+qBleXgUk5WOQFMP3CQFGTr4= +github.com/confio/ics23/go v0.9.0/go.mod h1:4LPZ2NYqnYIVRklaozjNR1FScgDJ2s5Xrp+e/mYVRak= github.com/consensys/bavard v0.1.8-0.20210406032232-f3452dc9b572/go.mod h1:Bpd0/3mZuaj6Sj+PqrmIquiOKy397AKGThQPaGzNXAQ= github.com/consensys/bavard v0.1.8-0.20210915155054-088da2f7f54a/go.mod h1:9ItSMtA/dXMAiL7BG6bqW2m3NdSEObYWoH223nGHukI= github.com/consensys/gnark-crypto v0.4.1-0.20210426202927-39ac3d4b3f1f/go.mod h1:815PAHg3wvysy0SyIqanF8gZ0Y1wjk/hrDHD/iT88+Q= @@ -195,10 +197,8 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= github.com/cosmos/cosmos-proto v1.0.0-beta.1 h1:iDL5qh++NoXxG8hSy93FdYJut4XfgbShIocllGaXx/0= github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE= -github.com/cosmos/cosmos-sdk v0.45.11 h1:Pc44fFEkai0KXFND5Ys/2ZJkfVdstMIBzKBN8MY7Ll0= -github.com/cosmos/cosmos-sdk v0.45.11/go.mod h1:45z8Q1Ah4iypFycu2Kl4kBPIsQKUiND8G2CUX+HTtPM= -github.com/cosmos/cosmos-sdk/ics23/go v0.8.0 h1:iKclrn3YEOwk4jQHT2ulgzuXyxmzmPczUalMwW4XH9k= -github.com/cosmos/cosmos-sdk/ics23/go v0.8.0/go.mod h1:2a4dBq88TUoqoWAU5eu0lGvpFP3wWDPgdHPargtyw30= +github.com/cosmos/cosmos-sdk v0.45.12 h1:Z0kOOjOfHP+loO42KZZo3Y+PAZsoYycyiSckVXzwOm4= +github.com/cosmos/cosmos-sdk v0.45.12/go.mod h1:ZAdIs09zttoA3aSwQCTK9gecOThUVNnzBSVj3DiS6UY= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= @@ -208,8 +208,8 @@ github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4 github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= github.com/cosmos/iavl v0.19.4 h1:t82sN+Y0WeqxDLJRSpNd8YFX5URIrT+p8n6oJbJ2Dok= github.com/cosmos/iavl v0.19.4/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= -github.com/cosmos/ibc-go/v4 v4.2.0 h1:Fx/kKq/uvawrAxk6ZrQ6sEIgffLRU5Cs/AUnvpPBrHI= -github.com/cosmos/ibc-go/v4 v4.2.0/go.mod h1:57qWScDtfCx3FOMLYmBIKPbOLE6xiVhrgxHAQmbWYXM= +github.com/cosmos/ibc-go/v4 v4.3.0 h1:yOzVsyZzsv4XPBux8gq+D0LhZn45yGWKjvT+6Vyo5no= +github.com/cosmos/ibc-go/v4 v4.3.0/go.mod h1:CcLvIoi9NNtIbNsxs4KjBGjYhlwqtsmXy1AKARKiMzQ= github.com/cosmos/interchain-accounts v0.2.5 h1:LM2+Z0HhP7k6vGmXL/CC5B6SgMxrYDfMYQciD3o9jt8= github.com/cosmos/interchain-accounts v0.2.5/go.mod h1:eaQBOsAeGdFxXnv7c5sR5tQnRDJ7LkffsC3L/THpem4= github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo= @@ -907,14 +907,12 @@ github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNG github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= -github.com/tendermint/btcd v0.1.1 h1:0VcxPfflS2zZ3RiOAHkBiFUcPvbtRj5O7zHmcJWHV7s= -github.com/tendermint/btcd v0.1.1/go.mod h1:DC6/m53jtQzr/NFmMNEu0rxf18/ktVoVtMrnDD5pN+U= -github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 h1:hqAk8riJvK4RMWx1aInLzndwxKalgi5rTqgfXxOxbEI= -github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= github.com/tendermint/tm-db v0.6.8-0.20220506192307-f628bb5dc95b h1:Y3ZPG6gdDCAV2sdGkD759ji/09GzaNu1X3qKTmZIbTo= github.com/tendermint/tm-db v0.6.8-0.20220506192307-f628bb5dc95b/go.mod h1:ADqbS9NOSnBRK9R2RtYC61CdsHmVMD/yXAzcMuPexbU= +github.com/tidwall/btree v1.5.0 h1:iV0yVY/frd7r6qGBXfEYs7DH0gTDgrKTrDjS7xt/IyQ= +github.com/tidwall/btree v1.5.0/go.mod h1:LGm8L/DZjPLmeWGjv5kFrY8dL4uVhMmzmmLYmsObdKE= github.com/tidwall/gjson v1.12.1/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/gjson v1.14.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= From 8259177cbdd0e22df15b92e50463d2ebb433094b Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 7 Feb 2023 01:14:03 +0700 Subject: [PATCH 09/29] tidy price feeder --- price-feeder/go.mod | 7 +++---- price-feeder/go.sum | 14 ++++++-------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/price-feeder/go.mod b/price-feeder/go.mod index 0aa1888d0..d5ff9ebbe 100644 --- a/price-feeder/go.mod +++ b/price-feeder/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/CosmosContracts/juno/v13 v13.0.0 github.com/armon/go-metrics v0.4.1 - github.com/cosmos/cosmos-sdk v0.45.11 + github.com/cosmos/cosmos-sdk v0.45.12 github.com/go-playground/validator/v10 v10.11.1 github.com/golangci/golangci-lint v1.50.1 github.com/gorilla/mux v1.8.0 @@ -71,7 +71,7 @@ require ( github.com/cosmos/gorocksdb v1.2.0 // indirect github.com/cosmos/iavl v0.19.4 // indirect github.com/cosmos/ibc-go/v3 v3.4.0 // indirect - github.com/cosmos/ibc-go/v4 v4.2.0 // indirect + github.com/cosmos/ibc-go/v4 v4.3.0 // indirect github.com/cosmos/interchain-accounts v0.2.5 // indirect github.com/cosmos/ledger-cosmos-go v0.12.2 // indirect github.com/creachadair/taskgroup v0.3.2 // indirect @@ -241,11 +241,10 @@ require ( github.com/subosito/gotenv v1.4.2 // indirect github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect github.com/tdakkota/asciicheck v0.1.1 // indirect - github.com/tendermint/btcd v0.1.1 // indirect - github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 // indirect github.com/tendermint/go-amino v0.16.0 // indirect github.com/tendermint/tm-db v0.6.8-0.20220506192307-f628bb5dc95b // indirect github.com/tetafro/godot v1.4.11 // indirect + github.com/tidwall/btree v1.5.0 // indirect github.com/timakin/bodyclose v0.0.0-20210704033933-f49887972144 // indirect github.com/timonwong/loggercheck v0.9.3 // indirect github.com/tomarrell/wrapcheck/v2 v2.7.0 // indirect diff --git a/price-feeder/go.sum b/price-feeder/go.sum index dd4a2822b..6a10894d7 100644 --- a/price-feeder/go.sum +++ b/price-feeder/go.sum @@ -239,8 +239,8 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= github.com/cosmos/cosmos-proto v1.0.0-beta.1 h1:iDL5qh++NoXxG8hSy93FdYJut4XfgbShIocllGaXx/0= github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE= -github.com/cosmos/cosmos-sdk v0.45.11 h1:Pc44fFEkai0KXFND5Ys/2ZJkfVdstMIBzKBN8MY7Ll0= -github.com/cosmos/cosmos-sdk v0.45.11/go.mod h1:45z8Q1Ah4iypFycu2Kl4kBPIsQKUiND8G2CUX+HTtPM= +github.com/cosmos/cosmos-sdk v0.45.12 h1:Z0kOOjOfHP+loO42KZZo3Y+PAZsoYycyiSckVXzwOm4= +github.com/cosmos/cosmos-sdk v0.45.12/go.mod h1:ZAdIs09zttoA3aSwQCTK9gecOThUVNnzBSVj3DiS6UY= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= @@ -252,8 +252,8 @@ github.com/cosmos/iavl v0.19.4 h1:t82sN+Y0WeqxDLJRSpNd8YFX5URIrT+p8n6oJbJ2Dok= github.com/cosmos/iavl v0.19.4/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= github.com/cosmos/ibc-go/v3 v3.4.0 h1:ha3cqEG36pqMWqA1D+kxDWBTZXpeFMd/aZIQF7I0xro= github.com/cosmos/ibc-go/v3 v3.4.0/go.mod h1:VwB/vWu4ysT5DN2aF78d17LYmx3omSAdq6gpKvM7XRA= -github.com/cosmos/ibc-go/v4 v4.2.0 h1:Fx/kKq/uvawrAxk6ZrQ6sEIgffLRU5Cs/AUnvpPBrHI= -github.com/cosmos/ibc-go/v4 v4.2.0/go.mod h1:57qWScDtfCx3FOMLYmBIKPbOLE6xiVhrgxHAQmbWYXM= +github.com/cosmos/ibc-go/v4 v4.3.0 h1:yOzVsyZzsv4XPBux8gq+D0LhZn45yGWKjvT+6Vyo5no= +github.com/cosmos/ibc-go/v4 v4.3.0/go.mod h1:CcLvIoi9NNtIbNsxs4KjBGjYhlwqtsmXy1AKARKiMzQ= github.com/cosmos/interchain-accounts v0.2.5 h1:LM2+Z0HhP7k6vGmXL/CC5B6SgMxrYDfMYQciD3o9jt8= github.com/cosmos/interchain-accounts v0.2.5/go.mod h1:eaQBOsAeGdFxXnv7c5sR5tQnRDJ7LkffsC3L/THpem4= github.com/cosmos/ledger-cosmos-go v0.12.2 h1:/XYaBlE2BJxtvpkHiBm97gFGSGmYGKunKyF3nNqAXZA= @@ -1141,10 +1141,6 @@ github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70 github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/tdakkota/asciicheck v0.1.1 h1:PKzG7JUTUmVspQTDqtkX9eSiLGossXTybutHwTXuO0A= github.com/tdakkota/asciicheck v0.1.1/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM= -github.com/tendermint/btcd v0.1.1 h1:0VcxPfflS2zZ3RiOAHkBiFUcPvbtRj5O7zHmcJWHV7s= -github.com/tendermint/btcd v0.1.1/go.mod h1:DC6/m53jtQzr/NFmMNEu0rxf18/ktVoVtMrnDD5pN+U= -github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 h1:hqAk8riJvK4RMWx1aInLzndwxKalgi5rTqgfXxOxbEI= -github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= github.com/tendermint/tm-db v0.6.8-0.20220506192307-f628bb5dc95b h1:Y3ZPG6gdDCAV2sdGkD759ji/09GzaNu1X3qKTmZIbTo= @@ -1155,6 +1151,8 @@ github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3 h1:f+jULpR github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3/go.mod h1:ON8b8w4BN/kE1EOhwT0o+d62W65a6aPw1nouo9LMgyY= github.com/tetafro/godot v1.4.11 h1:BVoBIqAf/2QdbFmSwAWnaIqDivZdOV0ZRwEm6jivLKw= github.com/tetafro/godot v1.4.11/go.mod h1:LR3CJpxDVGlYOWn3ZZg1PgNZdTUvzsZWu8xaEohUpn8= +github.com/tidwall/btree v1.5.0 h1:iV0yVY/frd7r6qGBXfEYs7DH0gTDgrKTrDjS7xt/IyQ= +github.com/tidwall/btree v1.5.0/go.mod h1:LGm8L/DZjPLmeWGjv5kFrY8dL4uVhMmzmmLYmsObdKE= github.com/tidwall/gjson v1.12.1/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/gjson v1.14.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= From afdfeb2fdff5873ce30f8b26fcd226f78a559133 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 7 Feb 2023 01:15:10 +0700 Subject: [PATCH 10/29] update dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ef23f7d25..2263adc3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # docker build . -t cosmoscontracts/juno:latest # docker run --rm -it cosmoscontracts/juno:latest /bin/sh -FROM golang:1.19-alpine AS go-builder +FROM golang:1.20-alpine AS go-builder # this comes from standard alpine nightly file # https://github.com/rust-lang/docker-rust-nightly/blob/master/alpine3.12/Dockerfile From 5ff3e9f36cbacda1a71edb32610276e236d9222d Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 7 Feb 2023 01:26:56 +0700 Subject: [PATCH 11/29] crypto/rand in oracle --- x/oracle/keeper/msg_server_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/oracle/keeper/msg_server_test.go b/x/oracle/keeper/msg_server_test.go index a9e3d3d17..61e4b0827 100644 --- a/x/oracle/keeper/msg_server_test.go +++ b/x/oracle/keeper/msg_server_test.go @@ -1,9 +1,9 @@ package keeper_test import ( + "crypto/rand" "encoding/hex" "fmt" - "math/rand" "strings" "github.com/CosmosContracts/juno/v13/x/oracle/types" From d0f3c47e03730c8686c7ab4d3d285e786552e827 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 7 Feb 2023 02:02:09 +0700 Subject: [PATCH 12/29] bump token factory to 45.12 --- go.mod | 11 ++++------- go.sum | 4 ++-- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index e3a91631d..6326c6603 100644 --- a/go.mod +++ b/go.mod @@ -28,12 +28,6 @@ require ( gopkg.in/yaml.v3 v3.0.1 ) -require ( - github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect - github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect - github.com/tidwall/btree v1.5.0 // indirect -) - require ( filippo.io/edwards25519 v1.0.0-rc.1 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect @@ -47,6 +41,7 @@ require ( github.com/beorn7/perks v1.0.1 // indirect github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect github.com/btcsuite/btcd v0.22.2 // indirect + github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect github.com/cenkalti/backoff/v4 v4.1.3 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.1.2 // indirect @@ -63,6 +58,7 @@ require ( github.com/creachadair/taskgroup v0.3.2 // indirect github.com/danieljoos/wincred v1.1.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect + github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect github.com/dgraph-io/badger/v3 v3.2103.2 // indirect github.com/dgraph-io/ristretto v0.1.0 // indirect @@ -140,6 +136,7 @@ require ( github.com/subosito/gotenv v1.4.2 // indirect github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 github.com/tendermint/go-amino v0.16.0 // indirect + github.com/tidwall/btree v1.5.0 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect @@ -163,7 +160,7 @@ replace ( // cosmos keyring github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 // token factory: - github.com/CosmWasm/token-factory => github.com/CosmosContracts/token-factory v0.0.0-20221224074329-bc7f9501149c + github.com/CosmWasm/token-factory => github.com/CosmosContracts/token-factory v0.0.0-20230206185803-325635b64f24 // dgrijalva/jwt-go is deprecated and doesn't receive security updates. // TODO: remove it: https://github.com/cosmos/cosmos-sdk/issues/13134 github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.4.2 diff --git a/go.sum b/go.sum index 09d6b8994..103d9ab78 100644 --- a/go.sum +++ b/go.sum @@ -58,8 +58,8 @@ github.com/CosmWasm/wasmd v0.30.0 h1:oUVz3TgO/+24JZQdoTOlOv+IK7N9hEa/s3M4eR9i4FQ github.com/CosmWasm/wasmd v0.30.0/go.mod h1:umLGeYyowAMMEdOYfDOf8jsDrQ75Qkm1+ogBXT/w01c= github.com/CosmWasm/wasmvm v1.1.1 h1:0xtdrmmsP9fibe+x42WcMkp5aQ738BICgcH3FNVLzm4= github.com/CosmWasm/wasmvm v1.1.1/go.mod h1:ei0xpvomwSdONsxDuONzV7bL1jSET1M8brEx0FCXc+A= -github.com/CosmosContracts/token-factory v0.0.0-20221224074329-bc7f9501149c h1:wOhMg3+H3PlviDdxqLEF19SXrBHByp86uOon4Vg8jqE= -github.com/CosmosContracts/token-factory v0.0.0-20221224074329-bc7f9501149c/go.mod h1:fsn73+eDyw1hvDutpDLWbyZzR3dr5yoiaYrg4NODLEE= +github.com/CosmosContracts/token-factory v0.0.0-20230206185803-325635b64f24 h1:WDDfYY2ixHSTSaoEIPVwXpQ7dHqOXGVObqgJBav2WOo= +github.com/CosmosContracts/token-factory v0.0.0-20230206185803-325635b64f24/go.mod h1:L6zK+SmhkNRwLqoJlT+29St9ikgof2OLQUEqY8mZDwI= github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.0/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= From 48c3be880f1e9d5f8c82cb58fe50cb492907e192 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 7 Feb 2023 02:24:32 +0700 Subject: [PATCH 13/29] test of iavl v0.19.5 --- go.mod | 20 ++++++++++---------- go.sum | 32 ++++++++++++++++---------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/go.mod b/go.mod index 6326c6603..f22e875b1 100644 --- a/go.mod +++ b/go.mod @@ -3,10 +3,10 @@ module github.com/CosmosContracts/juno/v13 go 1.20 require ( - github.com/CosmWasm/token-factory v0.0.0-20221024170206-1345f322c887 + github.com/CosmWasm/token-factory v0.0.0-00010101000000-000000000000 github.com/CosmWasm/wasmd v0.30.0 github.com/CosmWasm/wasmvm v1.1.1 - github.com/cosmos/cosmos-sdk v0.45.12 + github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc github.com/cosmos/ibc-go/v4 v4.3.0 github.com/cosmos/interchain-accounts v0.2.5 github.com/gogo/protobuf v1.3.3 @@ -19,7 +19,7 @@ require ( github.com/spf13/cobra v1.6.1 github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.1-0.20230115230008-9d283c08227d github.com/stretchr/testify v1.8.1 - github.com/tendermint/tendermint v0.34.25 + github.com/tendermint/tendermint v0.34.26 github.com/tendermint/tm-db v0.6.8-0.20220506192307-f628bb5dc95b google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef google.golang.org/grpc v1.52.0 @@ -53,7 +53,7 @@ require ( github.com/cosmos/go-bip39 v1.0.0 github.com/cosmos/gogoproto v1.4.3 github.com/cosmos/gorocksdb v1.2.0 // indirect - github.com/cosmos/iavl v0.19.4 // indirect + github.com/cosmos/iavl v0.19.5 // indirect github.com/cosmos/ledger-cosmos-go v0.12.2 // indirect github.com/creachadair/taskgroup v0.3.2 // indirect github.com/danieljoos/wincred v1.1.2 // indirect @@ -144,13 +144,13 @@ require ( github.com/zondax/ledger-go v0.14.1 // indirect go.etcd.io/bbolt v1.3.6 // indirect go.opencensus.io v0.24.0 // indirect - golang.org/x/crypto v0.4.0 // indirect + golang.org/x/crypto v0.5.0 // indirect golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect golang.org/x/mod v0.7.0 // indirect - golang.org/x/net v0.4.0 // indirect - golang.org/x/sys v0.3.0 // indirect - golang.org/x/term v0.3.0 // indirect - golang.org/x/text v0.5.0 // indirect + golang.org/x/net v0.5.0 // indirect + golang.org/x/sys v0.4.0 // indirect + golang.org/x/term v0.4.0 // indirect + golang.org/x/text v0.6.0 // indirect golang.org/x/tools v0.4.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect nhooyr.io/websocket v1.8.7 // indirect @@ -170,7 +170,7 @@ replace ( // use cosmos-flavored protocol buffers github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 // Informal Tendermint fork due to hostile takeover - github.com/tendermint/tendermint => github.com/informalsystems/tendermint v0.34.25 + github.com/tendermint/tendermint => github.com/informalsystems/tendermint v0.34.26 // use grpc version that's compatible with cosmos-flavored protocol buffers google.golang.org/grpc => google.golang.org/grpc v1.33.2 diff --git a/go.sum b/go.sum index 103d9ab78..4e1447bbd 100644 --- a/go.sum +++ b/go.sum @@ -197,8 +197,8 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= github.com/cosmos/cosmos-proto v1.0.0-beta.1 h1:iDL5qh++NoXxG8hSy93FdYJut4XfgbShIocllGaXx/0= github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE= -github.com/cosmos/cosmos-sdk v0.45.12 h1:Z0kOOjOfHP+loO42KZZo3Y+PAZsoYycyiSckVXzwOm4= -github.com/cosmos/cosmos-sdk v0.45.12/go.mod h1:ZAdIs09zttoA3aSwQCTK9gecOThUVNnzBSVj3DiS6UY= +github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc h1:xZCxWqCp5iRNy6pm3glqe4K6GIdAC6lms3D3UC31btI= +github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc/go.mod h1:tpDFgc98sgRcLLRiosBSyos8EZoDHv1xab9HPLGLQJ4= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= @@ -206,8 +206,8 @@ github.com/cosmos/gogoproto v1.4.3 h1:RP3yyVREh9snv/lsOvmsAPQt8f44LgL281X0IOIhhc github.com/cosmos/gogoproto v1.4.3/go.mod h1:0hLIG5TR7IvV1fme1HCFKjfzW9X2x0Mo+RooWXCnOWU= github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y= github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= -github.com/cosmos/iavl v0.19.4 h1:t82sN+Y0WeqxDLJRSpNd8YFX5URIrT+p8n6oJbJ2Dok= -github.com/cosmos/iavl v0.19.4/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= +github.com/cosmos/iavl v0.19.5 h1:rGA3hOrgNxgRM5wYcSCxgQBap7fW82WZgY78V9po/iY= +github.com/cosmos/iavl v0.19.5/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= github.com/cosmos/ibc-go/v4 v4.3.0 h1:yOzVsyZzsv4XPBux8gq+D0LhZn45yGWKjvT+6Vyo5no= github.com/cosmos/ibc-go/v4 v4.3.0/go.mod h1:CcLvIoi9NNtIbNsxs4KjBGjYhlwqtsmXy1AKARKiMzQ= github.com/cosmos/interchain-accounts v0.2.5 h1:LM2+Z0HhP7k6vGmXL/CC5B6SgMxrYDfMYQciD3o9jt8= @@ -545,8 +545,8 @@ github.com/influxdata/promql/v2 v2.12.0/go.mod h1:fxOPu+DY0bqCTCECchSRtWfc+0X19y github.com/influxdata/roaring v0.4.13-0.20180809181101-fc520f41fab6/go.mod h1:bSgUQ7q5ZLSO+bKBGqJiCBGAl+9DxyW63zLTujjUlOE= github.com/influxdata/tdigest v0.0.0-20181121200506-bf2b5ad3c0a9/go.mod h1:Js0mqiSBE6Ffsg94weZZ2c+v/ciT8QRHFOap7EKDrR0= github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368/go.mod h1:Wbbw6tYNvwa5dlB6304Sd+82Z3f7PmVZHVKU637d4po= -github.com/informalsystems/tendermint v0.34.25 h1:KlTF1ECfJI2KmM1w1YGai5hoLJ0ZOKjVwGAaElEBPtE= -github.com/informalsystems/tendermint v0.34.25/go.mod h1:TCGT4eRe5OW979YKVTpFOM57B4YkN+7FSDWpsgzAGwY= +github.com/informalsystems/tendermint v0.34.26 h1:89XvVexAy62geGWxmDmdmmJvfindx+Su2oTuwfSWMeU= +github.com/informalsystems/tendermint v0.34.26/go.mod h1:q3uAZ/t5+MblQhFuHSd4flqaLDx7iUtWpwWbwvHAFhs= github.com/jackpal/go-nat-pmp v1.0.2/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= github.com/jedisct1/go-minisign v0.0.0-20190909160543-45766022959e/go.mod h1:G1CVv03EnqU1wYL2dFwXxW2An0az9JTl/ZsqXQeBlkU= github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= @@ -1008,8 +1008,8 @@ golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.4.0 h1:UVQgzMY87xqpKNgb+kDsll2Igd33HszWHFLmpaRMq/8= -golang.org/x/crypto v0.4.0/go.mod h1:3quD/ATkf6oY+rnes5c3ExXTbLc8mueNue5/DoinL80= +golang.org/x/crypto v0.5.0 h1:U/0M97KRkSFvyD/3FSmdP5W5swImpNgle/EHFhOsQPE= +golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1105,8 +1105,8 @@ golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.4.0 h1:Q5QPcMlvfxFTAPV0+07Xz/MpK9NTXu2VDUuy0FeMfaU= -golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= +golang.org/x/net v0.5.0 h1:GyT4nK/YDHSqa1c4753ouYCDajOYKTja9Xb/OHtgvSw= +golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1218,13 +1218,13 @@ golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ= -golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.3.0 h1:qoo4akIqOcDME5bhc/NgxUdovd6BSS2uMsVjB56q1xI= -golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= +golang.org/x/term v0.4.0 h1:O7UWfv5+A2qiuulQk30kVinPoMtoIPeVaKLEgLpVkvg= +golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1234,8 +1234,8 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM= -golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.6.0 h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k= +golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= From d9fd88ffe80de2183f44381e4b608f18421f4367 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 6 Feb 2023 13:29:46 -0600 Subject: [PATCH 14/29] mod tidy price feeder --- price-feeder/go.mod | 21 ++++++++++----------- price-feeder/go.sum | 39 +++++++++++++++++++-------------------- 2 files changed, 29 insertions(+), 31 deletions(-) diff --git a/price-feeder/go.mod b/price-feeder/go.mod index d5ff9ebbe..2aef7e480 100644 --- a/price-feeder/go.mod +++ b/price-feeder/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/CosmosContracts/juno/v13 v13.0.0 github.com/armon/go-metrics v0.4.1 - github.com/cosmos/cosmos-sdk v0.45.12 + github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc github.com/go-playground/validator/v10 v10.11.1 github.com/golangci/golangci-lint v1.50.1 github.com/gorilla/mux v1.8.0 @@ -17,10 +17,10 @@ require ( github.com/spf13/cobra v1.6.1 github.com/spf13/viper v1.15.0 github.com/stretchr/testify v1.8.1 - github.com/tendermint/tendermint v0.34.25 + github.com/tendermint/tendermint v0.34.26 golang.org/x/sync v0.1.0 - golang.org/x/term v0.3.0 - google.golang.org/grpc v1.52.0 + golang.org/x/term v0.4.0 + google.golang.org/grpc v1.52.3 gopkg.in/yaml.v3 v3.0.1 ) @@ -67,10 +67,9 @@ require ( github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/cosmos-proto v1.0.0-beta.1 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect - github.com/cosmos/gogoproto v1.4.3 // indirect + github.com/cosmos/gogoproto v1.4.4 // indirect github.com/cosmos/gorocksdb v1.2.0 // indirect - github.com/cosmos/iavl v0.19.4 // indirect - github.com/cosmos/ibc-go/v3 v3.4.0 // indirect + github.com/cosmos/iavl v0.19.5 // indirect github.com/cosmos/ibc-go/v4 v4.3.0 // indirect github.com/cosmos/interchain-accounts v0.2.5 // indirect github.com/cosmos/ledger-cosmos-go v0.12.2 // indirect @@ -263,13 +262,13 @@ require ( go.uber.org/goleak v1.1.12 // indirect go.uber.org/multierr v1.8.0 // indirect go.uber.org/zap v1.23.0 // indirect - golang.org/x/crypto v0.4.0 // indirect + golang.org/x/crypto v0.5.0 // indirect golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect golang.org/x/exp/typeparams v0.0.0-20220827204233-334a2380cb91 // indirect golang.org/x/mod v0.7.0 // indirect - golang.org/x/net v0.4.0 // indirect - golang.org/x/sys v0.3.0 // indirect - golang.org/x/text v0.5.0 // indirect + golang.org/x/net v0.5.0 // indirect + golang.org/x/sys v0.4.0 // indirect + golang.org/x/text v0.6.0 // indirect golang.org/x/tools v0.4.0 // indirect google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef // indirect google.golang.org/protobuf v1.28.2-0.20220831092852-f930b1dc76e8 // indirect diff --git a/price-feeder/go.sum b/price-feeder/go.sum index 6a10894d7..e1211d35f 100644 --- a/price-feeder/go.sum +++ b/price-feeder/go.sum @@ -239,19 +239,18 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= github.com/cosmos/cosmos-proto v1.0.0-beta.1 h1:iDL5qh++NoXxG8hSy93FdYJut4XfgbShIocllGaXx/0= github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE= -github.com/cosmos/cosmos-sdk v0.45.12 h1:Z0kOOjOfHP+loO42KZZo3Y+PAZsoYycyiSckVXzwOm4= -github.com/cosmos/cosmos-sdk v0.45.12/go.mod h1:ZAdIs09zttoA3aSwQCTK9gecOThUVNnzBSVj3DiS6UY= +github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc h1:xZCxWqCp5iRNy6pm3glqe4K6GIdAC6lms3D3UC31btI= +github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc/go.mod h1:tpDFgc98sgRcLLRiosBSyos8EZoDHv1xab9HPLGLQJ4= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= -github.com/cosmos/gogoproto v1.4.3 h1:RP3yyVREh9snv/lsOvmsAPQt8f44LgL281X0IOIhhcI= -github.com/cosmos/gogoproto v1.4.3/go.mod h1:0hLIG5TR7IvV1fme1HCFKjfzW9X2x0Mo+RooWXCnOWU= +github.com/cosmos/gogoproto v1.4.4 h1:nVAsgLlAf5jeN0fV7hRlkZvf768zU+dy4pG+hxc2P34= +github.com/cosmos/gogoproto v1.4.4/go.mod h1:/yl6/nLwsZcZ2JY3OrqjRqvqCG9InUMcXRfRjQiF9DU= github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y= github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= -github.com/cosmos/iavl v0.19.4 h1:t82sN+Y0WeqxDLJRSpNd8YFX5URIrT+p8n6oJbJ2Dok= -github.com/cosmos/iavl v0.19.4/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= -github.com/cosmos/ibc-go/v3 v3.4.0 h1:ha3cqEG36pqMWqA1D+kxDWBTZXpeFMd/aZIQF7I0xro= -github.com/cosmos/ibc-go/v3 v3.4.0/go.mod h1:VwB/vWu4ysT5DN2aF78d17LYmx3omSAdq6gpKvM7XRA= +github.com/cosmos/iavl v0.19.5 h1:rGA3hOrgNxgRM5wYcSCxgQBap7fW82WZgY78V9po/iY= +github.com/cosmos/iavl v0.19.5/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= +github.com/cosmos/ibc-go/v3 v3.3.0 h1:r8gYUvQreMQrf4R5RgedK9gcbjLk4uE2q6fuZGjf4n0= github.com/cosmos/ibc-go/v4 v4.3.0 h1:yOzVsyZzsv4XPBux8gq+D0LhZn45yGWKjvT+6Vyo5no= github.com/cosmos/ibc-go/v4 v4.3.0/go.mod h1:CcLvIoi9NNtIbNsxs4KjBGjYhlwqtsmXy1AKARKiMzQ= github.com/cosmos/interchain-accounts v0.2.5 h1:LM2+Z0HhP7k6vGmXL/CC5B6SgMxrYDfMYQciD3o9jt8= @@ -1272,8 +1271,8 @@ golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.4.0 h1:UVQgzMY87xqpKNgb+kDsll2Igd33HszWHFLmpaRMq/8= -golang.org/x/crypto v0.4.0/go.mod h1:3quD/ATkf6oY+rnes5c3ExXTbLc8mueNue5/DoinL80= +golang.org/x/crypto v0.5.0 h1:U/0M97KRkSFvyD/3FSmdP5W5swImpNgle/EHFhOsQPE= +golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1379,8 +1378,8 @@ golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.4.0 h1:Q5QPcMlvfxFTAPV0+07Xz/MpK9NTXu2VDUuy0FeMfaU= -golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= +golang.org/x/net v0.5.0 h1:GyT4nK/YDHSqa1c4753ouYCDajOYKTja9Xb/OHtgvSw= +golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1493,13 +1492,13 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ= -golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.3.0 h1:qoo4akIqOcDME5bhc/NgxUdovd6BSS2uMsVjB56q1xI= -golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= +golang.org/x/term v0.4.0 h1:O7UWfv5+A2qiuulQk30kVinPoMtoIPeVaKLEgLpVkvg= +golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1509,8 +1508,8 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM= -golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.6.0 h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k= +golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1716,8 +1715,8 @@ google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTp google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.52.0 h1:kd48UiU7EHsV4rnLyOJRuP/Il/UHE7gdDAQ+SZI7nZk= -google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= +google.golang.org/grpc v1.52.3 h1:pf7sOysg4LdgBqduXveGKrcEwbStiK2rtfghdzlUYDQ= +google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= From df3d1a1541db31f22b0ec3d1e7fc3016cf5190c7 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 6 Feb 2023 13:50:19 -0600 Subject: [PATCH 15/29] REVERTTHIS- remove IBC test temp --- tests/e2e/e2e_test.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go index 5da85ca38..fce543dc8 100644 --- a/tests/e2e/e2e_test.go +++ b/tests/e2e/e2e_test.go @@ -18,17 +18,17 @@ const ( ) // TestIBCTokenTransfer tests that IBC token transfers work as expected. -func (s *IntegrationTestSuite) TestIBCTokenTransfer() { - if s.skipIBC { - s.T().Skip("Skipping IBC tests") - } - chainA := s.configurer.GetChainConfig(0) - chainB := s.configurer.GetChainConfig(1) - chainA.SendIBC(chainB, chainB.NodeConfigs[0].PublicAddress, initialization.JunoToken) - chainB.SendIBC(chainA, chainA.NodeConfigs[0].PublicAddress, initialization.JunoToken) - chainA.SendIBC(chainB, chainB.NodeConfigs[0].PublicAddress, initialization.StakeToken) - chainB.SendIBC(chainA, chainA.NodeConfigs[0].PublicAddress, initialization.StakeToken) -} +// func (s *IntegrationTestSuite) TestIBCTokenTransfer() { +// if s.skipIBC { +// s.T().Skip("Skipping IBC tests") +// } +// chainA := s.configurer.GetChainConfig(0) +// chainB := s.configurer.GetChainConfig(1) +// chainA.SendIBC(chainB, chainB.NodeConfigs[0].PublicAddress, initialization.JunoToken) +// chainB.SendIBC(chainA, chainA.NodeConfigs[0].PublicAddress, initialization.JunoToken) +// chainA.SendIBC(chainB, chainB.NodeConfigs[0].PublicAddress, initialization.StakeToken) +// chainB.SendIBC(chainA, chainA.NodeConfigs[0].PublicAddress, initialization.StakeToken) +// } func (s *IntegrationTestSuite) TestOracle() { if s.skipOracle { From bfc537de93ad33ac4b6d361f3b0d1b320df46ccf Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 6 Feb 2023 14:05:34 -0600 Subject: [PATCH 16/29] REVERT THIS - remove initialization --- tests/e2e/e2e_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go index fce543dc8..751d754ab 100644 --- a/tests/e2e/e2e_test.go +++ b/tests/e2e/e2e_test.go @@ -5,7 +5,7 @@ package e2e import ( // "fmt" - "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" + // "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" // sdk "github.com/cosmos/cosmos-sdk/types" // "strconv" // "strings" From cb638be79c03cbfa06d44f957939d14e9b536325 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 6 Feb 2023 14:18:32 -0600 Subject: [PATCH 17/29] readd df3d1a1 --- tests/e2e/e2e_test.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go index 751d754ab..5da85ca38 100644 --- a/tests/e2e/e2e_test.go +++ b/tests/e2e/e2e_test.go @@ -5,7 +5,7 @@ package e2e import ( // "fmt" - // "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" + "github.com/CosmosContracts/juno/v13/tests/e2e/initialization" // sdk "github.com/cosmos/cosmos-sdk/types" // "strconv" // "strings" @@ -18,17 +18,17 @@ const ( ) // TestIBCTokenTransfer tests that IBC token transfers work as expected. -// func (s *IntegrationTestSuite) TestIBCTokenTransfer() { -// if s.skipIBC { -// s.T().Skip("Skipping IBC tests") -// } -// chainA := s.configurer.GetChainConfig(0) -// chainB := s.configurer.GetChainConfig(1) -// chainA.SendIBC(chainB, chainB.NodeConfigs[0].PublicAddress, initialization.JunoToken) -// chainB.SendIBC(chainA, chainA.NodeConfigs[0].PublicAddress, initialization.JunoToken) -// chainA.SendIBC(chainB, chainB.NodeConfigs[0].PublicAddress, initialization.StakeToken) -// chainB.SendIBC(chainA, chainA.NodeConfigs[0].PublicAddress, initialization.StakeToken) -// } +func (s *IntegrationTestSuite) TestIBCTokenTransfer() { + if s.skipIBC { + s.T().Skip("Skipping IBC tests") + } + chainA := s.configurer.GetChainConfig(0) + chainB := s.configurer.GetChainConfig(1) + chainA.SendIBC(chainB, chainB.NodeConfigs[0].PublicAddress, initialization.JunoToken) + chainB.SendIBC(chainA, chainA.NodeConfigs[0].PublicAddress, initialization.JunoToken) + chainA.SendIBC(chainB, chainB.NodeConfigs[0].PublicAddress, initialization.StakeToken) + chainB.SendIBC(chainA, chainA.NodeConfigs[0].PublicAddress, initialization.StakeToken) +} func (s *IntegrationTestSuite) TestOracle() { if s.skipOracle { From 74f1a6480c81e8e23bd46933b16cd3119bbc2a2f Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 6 Feb 2023 14:45:30 -0600 Subject: [PATCH 18/29] REVERT THIS - prune nothing --- tests/e2e/configurer/factory.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/configurer/factory.go b/tests/e2e/configurer/factory.go index 1bf3193f2..7767abca2 100644 --- a/tests/e2e/configurer/factory.go +++ b/tests/e2e/configurer/factory.go @@ -33,7 +33,7 @@ var ( // this is a node that is used to state-sync from so its snapshot-interval // is frequent. Name: "prune-default-snapshot-state-sync-from", - Pruning: "default", + Pruning: "nothing", PruningKeepRecent: "0", PruningInterval: "0", SnapshotInterval: 1500, @@ -60,7 +60,7 @@ var ( }, { Name: "prune-everything-no-snapshot", - Pruning: "everything", + Pruning: "nothing", PruningKeepRecent: "0", PruningInterval: "0", SnapshotInterval: 0, @@ -71,7 +71,7 @@ var ( validatorConfigsChainB = []*initialization.NodeConfig{ { Name: "prune-default-snapshot", - Pruning: "default", + Pruning: "nothing", PruningKeepRecent: "0", PruningInterval: "0", SnapshotInterval: 1500, From 0e0de287c8272a0a596fbe142a76465a3455629d Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 6 Feb 2023 22:53:21 -0600 Subject: [PATCH 19/29] Revert "REVERT THIS - prune nothing" This reverts commit 74f1a6480c81e8e23bd46933b16cd3119bbc2a2f. --- tests/e2e/configurer/factory.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/configurer/factory.go b/tests/e2e/configurer/factory.go index 7767abca2..1bf3193f2 100644 --- a/tests/e2e/configurer/factory.go +++ b/tests/e2e/configurer/factory.go @@ -33,7 +33,7 @@ var ( // this is a node that is used to state-sync from so its snapshot-interval // is frequent. Name: "prune-default-snapshot-state-sync-from", - Pruning: "nothing", + Pruning: "default", PruningKeepRecent: "0", PruningInterval: "0", SnapshotInterval: 1500, @@ -60,7 +60,7 @@ var ( }, { Name: "prune-everything-no-snapshot", - Pruning: "nothing", + Pruning: "everything", PruningKeepRecent: "0", PruningInterval: "0", SnapshotInterval: 0, @@ -71,7 +71,7 @@ var ( validatorConfigsChainB = []*initialization.NodeConfig{ { Name: "prune-default-snapshot", - Pruning: "nothing", + Pruning: "default", PruningKeepRecent: "0", PruningInterval: "0", SnapshotInterval: 1500, From 19809f557f4781871f9c2e84292a8f67bdc4806a Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 6 Feb 2023 23:05:06 -0600 Subject: [PATCH 20/29] `make all` command added (mod tidy, linting) --- Makefile | 8 ++++++++ go.mod | 5 ----- price-feeder/Makefile | 3 +++ price-feeder/go.mod | 1 - 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index c9ee4544b..9ff6213c9 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,14 @@ endif include contrib/devtools/Makefile all: install + @echo "--> project root: go mod tidy" + @go mod tidy + @echo "--> price-feeder: go mod tidy " + @make -C price-feeder tidy + @echo "--> price-feeder: linting --fix" + @make -C price-feeder lint + @echo "--> project root: linting --fix" + @GOGC=1 golangci-lint run --fix --timeout=8m install: go.sum go install -mod=readonly $(BUILD_FLAGS) ./cmd/junod diff --git a/go.mod b/go.mod index 7f040e4fa..48b3d59e7 100644 --- a/go.mod +++ b/go.mod @@ -32,12 +32,9 @@ require ( github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect github.com/iancoleman/orderedmap v0.2.0 // indirect - github.com/tendermint/btcd v0.1.1 // indirect - github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 // indirect ) require ( ->>>>>>> main filippo.io/edwards25519 v1.0.0-rc.1 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.1 // indirect @@ -50,7 +47,6 @@ require ( github.com/beorn7/perks v1.0.1 // indirect github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect github.com/btcsuite/btcd v0.22.2 // indirect - github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect github.com/cenkalti/backoff/v4 v4.1.3 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.1.2 // indirect @@ -67,7 +63,6 @@ require ( github.com/creachadair/taskgroup v0.3.2 // indirect github.com/danieljoos/wincred v1.1.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect - github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect github.com/dgraph-io/badger/v3 v3.2103.2 // indirect github.com/dgraph-io/ristretto v0.1.0 // indirect diff --git a/price-feeder/Makefile b/price-feeder/Makefile index 730ed2787..30c171f62 100644 --- a/price-feeder/Makefile +++ b/price-feeder/Makefile @@ -43,6 +43,9 @@ install: go.sum @echo "--> Installing..." go install -mod=readonly $(BUILD_FLAGS) ./... +tidy: + go mod tidy + .PHONY: build install ############################################################################### diff --git a/price-feeder/go.mod b/price-feeder/go.mod index 22a534201..1a3c97ac9 100644 --- a/price-feeder/go.mod +++ b/price-feeder/go.mod @@ -193,7 +193,6 @@ require ( github.com/nishanths/exhaustive v0.8.3 // indirect github.com/nishanths/predeclared v0.2.2 // indirect github.com/nxadm/tail v1.4.8 // indirect - github.com/nxadm/tail v1.4.8 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/osmosis-labs/osmosis/osmoutils v0.0.3-rc0 // indirect From ba1fa6b492adadf001b8dc762e905bca88d24880 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 6 Feb 2023 23:27:37 -0600 Subject: [PATCH 21/29] REVERT LATER - try with ibc v4.2.0 & latest SDK --- go.mod | 4 ++-- go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 48b3d59e7..82676b955 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/CosmWasm/wasmd v0.30.0 github.com/CosmWasm/wasmvm v1.1.1 github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc - github.com/cosmos/ibc-go/v4 v4.3.0 + github.com/cosmos/ibc-go/v4 v4.2.0 github.com/cosmos/interchain-accounts v0.2.5 github.com/gogo/protobuf v1.3.3 github.com/golang/protobuf v1.5.2 @@ -164,7 +164,7 @@ replace ( // cosmos keyring github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 // token factory: - github.com/CosmWasm/token-factory => github.com/CosmosContracts/token-factory v0.0.0-20230206185803-325635b64f24 + github.com/CosmWasm/token-factory => github.com/CosmosContracts/token-factory v0.0.0-20230206185033-4357f923daa2 // dgrijalva/jwt-go is deprecated and doesn't receive security updates. // TODO: remove it: https://github.com/cosmos/cosmos-sdk/issues/13134 github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.4.2 diff --git a/go.sum b/go.sum index dd50eb833..1f349f561 100644 --- a/go.sum +++ b/go.sum @@ -58,8 +58,8 @@ github.com/CosmWasm/wasmd v0.30.0 h1:oUVz3TgO/+24JZQdoTOlOv+IK7N9hEa/s3M4eR9i4FQ github.com/CosmWasm/wasmd v0.30.0/go.mod h1:umLGeYyowAMMEdOYfDOf8jsDrQ75Qkm1+ogBXT/w01c= github.com/CosmWasm/wasmvm v1.1.1 h1:0xtdrmmsP9fibe+x42WcMkp5aQ738BICgcH3FNVLzm4= github.com/CosmWasm/wasmvm v1.1.1/go.mod h1:ei0xpvomwSdONsxDuONzV7bL1jSET1M8brEx0FCXc+A= -github.com/CosmosContracts/token-factory v0.0.0-20230206185803-325635b64f24 h1:WDDfYY2ixHSTSaoEIPVwXpQ7dHqOXGVObqgJBav2WOo= -github.com/CosmosContracts/token-factory v0.0.0-20230206185803-325635b64f24/go.mod h1:L6zK+SmhkNRwLqoJlT+29St9ikgof2OLQUEqY8mZDwI= +github.com/CosmosContracts/token-factory v0.0.0-20230206185033-4357f923daa2 h1:oaHvtX6YvL2Iq9bxzHbfoYh/JAao7yHaWq5caim0hvQ= +github.com/CosmosContracts/token-factory v0.0.0-20230206185033-4357f923daa2/go.mod h1:dxyFKOJPhe+4xRa+jpOAVMp3Q69HIZJWysCAHHBTXno= github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.0/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= @@ -208,8 +208,8 @@ github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4 github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= github.com/cosmos/iavl v0.19.5 h1:rGA3hOrgNxgRM5wYcSCxgQBap7fW82WZgY78V9po/iY= github.com/cosmos/iavl v0.19.5/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= -github.com/cosmos/ibc-go/v4 v4.3.0 h1:yOzVsyZzsv4XPBux8gq+D0LhZn45yGWKjvT+6Vyo5no= -github.com/cosmos/ibc-go/v4 v4.3.0/go.mod h1:CcLvIoi9NNtIbNsxs4KjBGjYhlwqtsmXy1AKARKiMzQ= +github.com/cosmos/ibc-go/v4 v4.2.0 h1:Fx/kKq/uvawrAxk6ZrQ6sEIgffLRU5Cs/AUnvpPBrHI= +github.com/cosmos/ibc-go/v4 v4.2.0/go.mod h1:57qWScDtfCx3FOMLYmBIKPbOLE6xiVhrgxHAQmbWYXM= github.com/cosmos/interchain-accounts v0.2.5 h1:LM2+Z0HhP7k6vGmXL/CC5B6SgMxrYDfMYQciD3o9jt8= github.com/cosmos/interchain-accounts v0.2.5/go.mod h1:eaQBOsAeGdFxXnv7c5sR5tQnRDJ7LkffsC3L/THpem4= github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo= From f2a301774bb5a0f2e9f7bd0594fe0f77142fdac4 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Mon, 6 Feb 2023 23:34:22 -0600 Subject: [PATCH 22/29] Revert "REVERT LATER - try with ibc v4.2.0 & latest SDK" This reverts commit ba1fa6b492adadf001b8dc762e905bca88d24880. --- go.mod | 4 ++-- go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 82676b955..48b3d59e7 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/CosmWasm/wasmd v0.30.0 github.com/CosmWasm/wasmvm v1.1.1 github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc - github.com/cosmos/ibc-go/v4 v4.2.0 + github.com/cosmos/ibc-go/v4 v4.3.0 github.com/cosmos/interchain-accounts v0.2.5 github.com/gogo/protobuf v1.3.3 github.com/golang/protobuf v1.5.2 @@ -164,7 +164,7 @@ replace ( // cosmos keyring github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 // token factory: - github.com/CosmWasm/token-factory => github.com/CosmosContracts/token-factory v0.0.0-20230206185033-4357f923daa2 + github.com/CosmWasm/token-factory => github.com/CosmosContracts/token-factory v0.0.0-20230206185803-325635b64f24 // dgrijalva/jwt-go is deprecated and doesn't receive security updates. // TODO: remove it: https://github.com/cosmos/cosmos-sdk/issues/13134 github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.4.2 diff --git a/go.sum b/go.sum index 1f349f561..dd50eb833 100644 --- a/go.sum +++ b/go.sum @@ -58,8 +58,8 @@ github.com/CosmWasm/wasmd v0.30.0 h1:oUVz3TgO/+24JZQdoTOlOv+IK7N9hEa/s3M4eR9i4FQ github.com/CosmWasm/wasmd v0.30.0/go.mod h1:umLGeYyowAMMEdOYfDOf8jsDrQ75Qkm1+ogBXT/w01c= github.com/CosmWasm/wasmvm v1.1.1 h1:0xtdrmmsP9fibe+x42WcMkp5aQ738BICgcH3FNVLzm4= github.com/CosmWasm/wasmvm v1.1.1/go.mod h1:ei0xpvomwSdONsxDuONzV7bL1jSET1M8brEx0FCXc+A= -github.com/CosmosContracts/token-factory v0.0.0-20230206185033-4357f923daa2 h1:oaHvtX6YvL2Iq9bxzHbfoYh/JAao7yHaWq5caim0hvQ= -github.com/CosmosContracts/token-factory v0.0.0-20230206185033-4357f923daa2/go.mod h1:dxyFKOJPhe+4xRa+jpOAVMp3Q69HIZJWysCAHHBTXno= +github.com/CosmosContracts/token-factory v0.0.0-20230206185803-325635b64f24 h1:WDDfYY2ixHSTSaoEIPVwXpQ7dHqOXGVObqgJBav2WOo= +github.com/CosmosContracts/token-factory v0.0.0-20230206185803-325635b64f24/go.mod h1:L6zK+SmhkNRwLqoJlT+29St9ikgof2OLQUEqY8mZDwI= github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.0/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= @@ -208,8 +208,8 @@ github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4 github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= github.com/cosmos/iavl v0.19.5 h1:rGA3hOrgNxgRM5wYcSCxgQBap7fW82WZgY78V9po/iY= github.com/cosmos/iavl v0.19.5/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= -github.com/cosmos/ibc-go/v4 v4.2.0 h1:Fx/kKq/uvawrAxk6ZrQ6sEIgffLRU5Cs/AUnvpPBrHI= -github.com/cosmos/ibc-go/v4 v4.2.0/go.mod h1:57qWScDtfCx3FOMLYmBIKPbOLE6xiVhrgxHAQmbWYXM= +github.com/cosmos/ibc-go/v4 v4.3.0 h1:yOzVsyZzsv4XPBux8gq+D0LhZn45yGWKjvT+6Vyo5no= +github.com/cosmos/ibc-go/v4 v4.3.0/go.mod h1:CcLvIoi9NNtIbNsxs4KjBGjYhlwqtsmXy1AKARKiMzQ= github.com/cosmos/interchain-accounts v0.2.5 h1:LM2+Z0HhP7k6vGmXL/CC5B6SgMxrYDfMYQciD3o9jt8= github.com/cosmos/interchain-accounts v0.2.5/go.mod h1:eaQBOsAeGdFxXnv7c5sR5tQnRDJ7LkffsC3L/THpem4= github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo= From fb8af1122212a36c29be1ef81aae9bc84a747c26 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Tue, 7 Feb 2023 00:16:14 -0600 Subject: [PATCH 23/29] fix IAVL issue with store patch --- go.mod | 3 +++ go.sum | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 48b3d59e7..eefd0df52 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,9 @@ module github.com/CosmosContracts/juno/v13 go 1.20 +# TODO: REMOVE THIS +replace github.com/cosmos/cosmos-sdk => github.com/Reecepbcups/cosmos-sdk v0.45.13-alpha + require ( github.com/CosmWasm/token-factory v0.0.0-00010101000000-000000000000 github.com/CosmWasm/wasmd v0.30.0 diff --git a/go.sum b/go.sum index dd50eb833..22ec1edfa 100644 --- a/go.sum +++ b/go.sum @@ -70,6 +70,8 @@ github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEV github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= +github.com/Reecepbcups/cosmos-sdk v0.45.13-alpha h1:DmLEQssRdink9R2QVEb1aSj6AQzm+VR6JmlPx8hfAJg= +github.com/Reecepbcups/cosmos-sdk v0.45.13-alpha/go.mod h1:4ze6AkyAUwLq4DghwovfgoSLrA3XdLNydrO0JOWVwZE= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= @@ -197,8 +199,6 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= github.com/cosmos/cosmos-proto v1.0.0-beta.1 h1:iDL5qh++NoXxG8hSy93FdYJut4XfgbShIocllGaXx/0= github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE= -github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc h1:xZCxWqCp5iRNy6pm3glqe4K6GIdAC6lms3D3UC31btI= -github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc/go.mod h1:tpDFgc98sgRcLLRiosBSyos8EZoDHv1xab9HPLGLQJ4= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= From f1e7fba7799d0ebf252113b9bc7cd2400bc12c4f Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Tue, 7 Feb 2023 00:33:14 -0600 Subject: [PATCH 24/29] fix go.mod comment --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index eefd0df52..652a5d765 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/CosmosContracts/juno/v13 go 1.20 -# TODO: REMOVE THIS +// TODO: REMOVE THIS replace github.com/cosmos/cosmos-sdk => github.com/Reecepbcups/cosmos-sdk v0.45.13-alpha require ( From 3977c5f65551deeab2845bbe8cf546ae166c5b25 Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Tue, 7 Feb 2023 02:10:46 -0700 Subject: [PATCH 25/29] Bump pfm to v4.0.4 --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index e042e0006..d76e48880 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/prometheus/client_golang v1.14.0 github.com/spf13/cast v1.5.0 github.com/spf13/cobra v1.6.1 - github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.3 + github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.4 github.com/stretchr/testify v1.8.1 github.com/tendermint/tendermint v0.34.25 github.com/tendermint/tm-db v0.6.8-0.20220506192307-f628bb5dc95b diff --git a/go.sum b/go.sum index 71a8a0e76..fca592d07 100644 --- a/go.sum +++ b/go.sum @@ -883,8 +883,8 @@ github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DM github.com/spf13/viper v1.15.0 h1:js3yy885G8xwJa6iOISGFwd+qlUo5AvyXb7CiihdtiU= github.com/spf13/viper v1.15.0/go.mod h1:fFcTBJxvhhzSJiZy8n+PeW6t8l+KeT/uTARa0jHOQLA= github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= -github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.3 h1:3E7I9C+gM7n0+OkI7JmvWH5PGD6pZOIc1+mUUooh6dI= -github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.3/go.mod h1:AG8F5pdk3x1h7PlRvPoMem3623W+w8HJHrWYkVJ51kk= +github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.4 h1:8Tn4Gy/DAq7wzV1CxEGv80ujZ+nUvzgwwdCobO/Gj8Y= +github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.4/go.mod h1:AG8F5pdk3x1h7PlRvPoMem3623W+w8HJHrWYkVJ51kk= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= From c304a69b9638c758bfedc745c1905e2eff751e41 Mon Sep 17 00:00:00 2001 From: vuong177 Date: Tue, 7 Feb 2023 20:47:05 +0700 Subject: [PATCH 26/29] fix-ica --- app/upgrades/v13/constants.go | 2 ++ go.mod | 5 +---- go.sum | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/upgrades/v13/constants.go b/app/upgrades/v13/constants.go index aa420ae77..8e3cfc582 100644 --- a/app/upgrades/v13/constants.go +++ b/app/upgrades/v13/constants.go @@ -6,6 +6,7 @@ import ( feesharetypes "github.com/CosmosContracts/juno/v13/x/feeshare/types" oracletypes "github.com/CosmosContracts/juno/v13/x/oracle/types" store "github.com/cosmos/cosmos-sdk/store/types" + icacontrollertypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/controller/types" ibcfeetypes "github.com/cosmos/ibc-go/v4/modules/apps/29-fee/types" intertxtypes "github.com/cosmos/interchain-accounts/x/inter-tx/types" ibchookstypes "github.com/osmosis-labs/osmosis/x/ibc-hooks/types" @@ -27,6 +28,7 @@ var Upgrade = upgrades.Upgrade{ intertxtypes.ModuleName, ibchookstypes.StoreKey, packetforwardtypes.StoreKey, + icacontrollertypes.StoreKey, }, }, } diff --git a/go.mod b/go.mod index 652a5d765..2d5c01833 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,6 @@ module github.com/CosmosContracts/juno/v13 -go 1.20 - -// TODO: REMOVE THIS -replace github.com/cosmos/cosmos-sdk => github.com/Reecepbcups/cosmos-sdk v0.45.13-alpha +go 1.19 require ( github.com/CosmWasm/token-factory v0.0.0-00010101000000-000000000000 diff --git a/go.sum b/go.sum index 22ec1edfa..dd50eb833 100644 --- a/go.sum +++ b/go.sum @@ -70,8 +70,6 @@ github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEV github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/Reecepbcups/cosmos-sdk v0.45.13-alpha h1:DmLEQssRdink9R2QVEb1aSj6AQzm+VR6JmlPx8hfAJg= -github.com/Reecepbcups/cosmos-sdk v0.45.13-alpha/go.mod h1:4ze6AkyAUwLq4DghwovfgoSLrA3XdLNydrO0JOWVwZE= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= @@ -199,6 +197,8 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= github.com/cosmos/cosmos-proto v1.0.0-beta.1 h1:iDL5qh++NoXxG8hSy93FdYJut4XfgbShIocllGaXx/0= github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE= +github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc h1:xZCxWqCp5iRNy6pm3glqe4K6GIdAC6lms3D3UC31btI= +github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc/go.mod h1:tpDFgc98sgRcLLRiosBSyos8EZoDHv1xab9HPLGLQJ4= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= From 4a655a543c724b166902aab39cd1683a967665a8 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Wed, 8 Feb 2023 00:14:16 +0700 Subject: [PATCH 27/29] tidy price feeder --- price-feeder/go.mod | 2 +- price-feeder/go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/price-feeder/go.mod b/price-feeder/go.mod index 1a3c97ac9..ab7bbf426 100644 --- a/price-feeder/go.mod +++ b/price-feeder/go.mod @@ -236,7 +236,7 @@ require ( github.com/spf13/pflag v1.0.5 // indirect github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect github.com/stbenjam/no-sprintf-host-port v0.1.1 // indirect - github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.3 // indirect + github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.4 // indirect github.com/stretchr/objx v0.5.0 // indirect github.com/subosito/gotenv v1.4.2 // indirect github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect diff --git a/price-feeder/go.sum b/price-feeder/go.sum index 76dba1cb0..6e2134a99 100644 --- a/price-feeder/go.sum +++ b/price-feeder/go.sum @@ -1114,8 +1114,8 @@ github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRk github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= github.com/stbenjam/no-sprintf-host-port v0.1.1 h1:tYugd/yrm1O0dV+ThCbaKZh195Dfm07ysF0U6JQXczc= github.com/stbenjam/no-sprintf-host-port v0.1.1/go.mod h1:TLhvtIvONRzdmkFiio4O8LHsN9N74I+PhRquPsxpL0I= -github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.3 h1:3E7I9C+gM7n0+OkI7JmvWH5PGD6pZOIc1+mUUooh6dI= -github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.3/go.mod h1:AG8F5pdk3x1h7PlRvPoMem3623W+w8HJHrWYkVJ51kk= +github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.4 h1:8Tn4Gy/DAq7wzV1CxEGv80ujZ+nUvzgwwdCobO/Gj8Y= +github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.4/go.mod h1:AG8F5pdk3x1h7PlRvPoMem3623W+w8HJHrWYkVJ51kk= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= From 9c1e895de910f29f88f8daa48c8a8cc27790a21c Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Tue, 7 Feb 2023 14:59:07 -0600 Subject: [PATCH 28/29] remove duplicate tokenfactory.AppModuleBasic --- app/modules.go | 1 - 1 file changed, 1 deletion(-) diff --git a/app/modules.go b/app/modules.go index 91292d16b..566457d56 100644 --- a/app/modules.go +++ b/app/modules.go @@ -103,7 +103,6 @@ var ModuleBasics = module.NewBasicManager( wasm.AppModuleBasic{}, ica.AppModuleBasic{}, intertx.AppModuleBasic{}, - tokenfactory.AppModuleBasic{}, feeshare.AppModuleBasic{}, ibchooks.AppModuleBasic{}, packetforward.AppModuleBasic{}, From f77aa31c1ad54fd1df4075a4742784b7174afe34 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Wed, 8 Feb 2023 13:58:34 -0600 Subject: [PATCH 29/29] Revert to v45.12 not .13-rc1 (debugging) --- go.mod | 4 ++-- go.sum | 8 ++++---- price-feeder/go.mod | 4 ++-- price-feeder/go.sum | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index de2b1ccc4..8d88ded3a 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/CosmWasm/token-factory v0.0.0-00010101000000-000000000000 github.com/CosmWasm/wasmd v0.30.0 github.com/CosmWasm/wasmvm v1.1.1 - github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc + github.com/cosmos/cosmos-sdk v0.45.12 github.com/cosmos/ibc-go/v4 v4.3.0 github.com/cosmos/interchain-accounts v0.2.5 github.com/gogo/protobuf v1.3.3 @@ -58,7 +58,7 @@ require ( github.com/cosmos/go-bip39 v1.0.0 github.com/cosmos/gogoproto v1.4.4 github.com/cosmos/gorocksdb v1.2.0 // indirect - github.com/cosmos/iavl v0.19.5 // indirect + github.com/cosmos/iavl v0.19.4 // indirect github.com/cosmos/ledger-cosmos-go v0.12.2 // indirect github.com/creachadair/taskgroup v0.3.2 // indirect github.com/danieljoos/wincred v1.1.2 // indirect diff --git a/go.sum b/go.sum index 023315512..3c7cb7f3b 100644 --- a/go.sum +++ b/go.sum @@ -197,8 +197,8 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= github.com/cosmos/cosmos-proto v1.0.0-beta.1 h1:iDL5qh++NoXxG8hSy93FdYJut4XfgbShIocllGaXx/0= github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE= -github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc h1:xZCxWqCp5iRNy6pm3glqe4K6GIdAC6lms3D3UC31btI= -github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc/go.mod h1:tpDFgc98sgRcLLRiosBSyos8EZoDHv1xab9HPLGLQJ4= +github.com/cosmos/cosmos-sdk v0.45.12 h1:Z0kOOjOfHP+loO42KZZo3Y+PAZsoYycyiSckVXzwOm4= +github.com/cosmos/cosmos-sdk v0.45.12/go.mod h1:ZAdIs09zttoA3aSwQCTK9gecOThUVNnzBSVj3DiS6UY= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= @@ -206,8 +206,8 @@ github.com/cosmos/gogoproto v1.4.4 h1:nVAsgLlAf5jeN0fV7hRlkZvf768zU+dy4pG+hxc2P3 github.com/cosmos/gogoproto v1.4.4/go.mod h1:/yl6/nLwsZcZ2JY3OrqjRqvqCG9InUMcXRfRjQiF9DU= github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y= github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= -github.com/cosmos/iavl v0.19.5 h1:rGA3hOrgNxgRM5wYcSCxgQBap7fW82WZgY78V9po/iY= -github.com/cosmos/iavl v0.19.5/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= +github.com/cosmos/iavl v0.19.4 h1:t82sN+Y0WeqxDLJRSpNd8YFX5URIrT+p8n6oJbJ2Dok= +github.com/cosmos/iavl v0.19.4/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= github.com/cosmos/ibc-go/v4 v4.3.0 h1:yOzVsyZzsv4XPBux8gq+D0LhZn45yGWKjvT+6Vyo5no= github.com/cosmos/ibc-go/v4 v4.3.0/go.mod h1:CcLvIoi9NNtIbNsxs4KjBGjYhlwqtsmXy1AKARKiMzQ= github.com/cosmos/interchain-accounts v0.2.5 h1:LM2+Z0HhP7k6vGmXL/CC5B6SgMxrYDfMYQciD3o9jt8= diff --git a/price-feeder/go.mod b/price-feeder/go.mod index ab7bbf426..ba8947a28 100644 --- a/price-feeder/go.mod +++ b/price-feeder/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/CosmosContracts/juno/v13 v13.0.0 github.com/armon/go-metrics v0.4.1 - github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc + github.com/cosmos/cosmos-sdk v0.45.12 github.com/go-playground/validator/v10 v10.11.1 github.com/golangci/golangci-lint v1.50.1 github.com/gorilla/mux v1.8.0 @@ -69,7 +69,7 @@ require ( github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogoproto v1.4.4 // indirect github.com/cosmos/gorocksdb v1.2.0 // indirect - github.com/cosmos/iavl v0.19.5 // indirect + github.com/cosmos/iavl v0.19.4 // indirect github.com/cosmos/ibc-go/v4 v4.3.0 // indirect github.com/cosmos/interchain-accounts v0.2.5 // indirect github.com/cosmos/ledger-cosmos-go v0.12.2 // indirect diff --git a/price-feeder/go.sum b/price-feeder/go.sum index 6e2134a99..ef7be9413 100644 --- a/price-feeder/go.sum +++ b/price-feeder/go.sum @@ -239,8 +239,8 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= github.com/cosmos/cosmos-proto v1.0.0-beta.1 h1:iDL5qh++NoXxG8hSy93FdYJut4XfgbShIocllGaXx/0= github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE= -github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc h1:xZCxWqCp5iRNy6pm3glqe4K6GIdAC6lms3D3UC31btI= -github.com/cosmos/cosmos-sdk v0.45.13-rc.1.0.20230205152327-472729e40bfc/go.mod h1:tpDFgc98sgRcLLRiosBSyos8EZoDHv1xab9HPLGLQJ4= +github.com/cosmos/cosmos-sdk v0.45.12 h1:Z0kOOjOfHP+loO42KZZo3Y+PAZsoYycyiSckVXzwOm4= +github.com/cosmos/cosmos-sdk v0.45.12/go.mod h1:ZAdIs09zttoA3aSwQCTK9gecOThUVNnzBSVj3DiS6UY= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= @@ -248,8 +248,8 @@ github.com/cosmos/gogoproto v1.4.4 h1:nVAsgLlAf5jeN0fV7hRlkZvf768zU+dy4pG+hxc2P3 github.com/cosmos/gogoproto v1.4.4/go.mod h1:/yl6/nLwsZcZ2JY3OrqjRqvqCG9InUMcXRfRjQiF9DU= github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y= github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= -github.com/cosmos/iavl v0.19.5 h1:rGA3hOrgNxgRM5wYcSCxgQBap7fW82WZgY78V9po/iY= -github.com/cosmos/iavl v0.19.5/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= +github.com/cosmos/iavl v0.19.4 h1:t82sN+Y0WeqxDLJRSpNd8YFX5URIrT+p8n6oJbJ2Dok= +github.com/cosmos/iavl v0.19.4/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= github.com/cosmos/ibc-go/v3 v3.3.0 h1:r8gYUvQreMQrf4R5RgedK9gcbjLk4uE2q6fuZGjf4n0= github.com/cosmos/ibc-go/v4 v4.3.0 h1:yOzVsyZzsv4XPBux8gq+D0LhZn45yGWKjvT+6Vyo5no= github.com/cosmos/ibc-go/v4 v4.3.0/go.mod h1:CcLvIoi9NNtIbNsxs4KjBGjYhlwqtsmXy1AKARKiMzQ=