From c8a1f7fa0751df45d7815d05b3555ef32d14cb6d Mon Sep 17 00:00:00 2001 From: nghuyenthevinh2000 Date: Thu, 1 Jun 2023 12:22:02 +0700 Subject: [PATCH] naming to v2 on core (#244) --- app/app.go | 24 +- app/encoding.go | 2 +- app/export.go | 2 +- app/keepers/keepers.go | 22 +- app/keepers/keys.go | 8 +- app/keepers/routers.go | 4 +- app/legacy/migrate.go | 4 +- app/legacy/v05/migrate.go | 32 +- app/modules.go | 54 +-- app/sim_test.go | 4 +- app/testing/test_suite.go | 4 +- app/upgrades/types.go | 2 +- app/upgrades/v2/constants.go | 2 +- app/upgrades/v2/upgrades.go | 6 +- app/upgrades/v3/constants.go | 2 +- app/upgrades/v3/upgrades.go | 4 +- app/upgrades/v4/constants.go | 4 +- app/upgrades/v4/upgrades.go | 4 +- cmd/terrad/genaccounts.go | 2 +- cmd/terrad/main.go | 2 +- cmd/terrad/root.go | 10 +- cmd/terrad/testnet.go | 2 +- contrib/updates/prepare_cosmovisor.sh | 3 +- contrib/updates/upgrade-test.sh | 4 +- custom/auth/ante/ante.go | 2 +- custom/auth/ante/ante_test.go | 6 +- custom/auth/ante/burntax.go | 2 +- custom/auth/ante/burntax_test.go | 6 +- custom/auth/ante/expected_keeper.go | 2 +- custom/auth/ante/integration_test.go | 8 +- custom/auth/ante/min_initial_deposit.go | 2 +- custom/auth/ante/min_initial_deposit_test.go | 2 +- custom/auth/ante/spamming_prevention.go | 2 +- custom/auth/ante/spamming_prevention_test.go | 4 +- custom/auth/ante/tax.go | 6 +- custom/auth/ante/tax_test.go | 8 +- custom/auth/client/cli/estimate_fee.go | 2 +- custom/auth/client/rest/estimate_fee.go | 2 +- custom/auth/client/utils/feeutils.go | 4 +- custom/auth/legacy/v040/migrate.go | 6 +- custom/auth/legacy/v040/migrate_test.go | 2 +- custom/auth/module.go | 4 +- custom/auth/simulation/genesis.go | 4 +- custom/auth/tx/service.go | 2 +- custom/auth/tx/service.pb.go | 95 ++--- custom/auth/tx/service.pb.gw.go | 30 +- custom/authz/client/cli/tx.go | 2 +- custom/authz/legacy/v043/migrate.go | 4 +- custom/authz/legacy/v043/migrate_test.go | 8 +- custom/authz/module.go | 4 +- custom/bank/client/cli/tx.go | 2 +- custom/bank/client/rest/tx.go | 2 +- custom/bank/module.go | 8 +- custom/bank/simulation/genesis.go | 2 +- custom/crisis/module.go | 4 +- custom/distribution/module.go | 2 +- custom/distribution/types/codec.go | 2 +- custom/evidence/module.go | 2 +- custom/feegrant/module.go | 2 +- custom/gov/legacy/v043/migrate.go | 2 +- custom/gov/module.go | 4 +- custom/mint/module.go | 2 +- custom/params/module.go | 2 +- custom/params/types/codec.go | 2 +- custom/slashing/module.go | 2 +- custom/staking/module.go | 4 +- custom/upgrade/module.go | 2 +- custom/upgrade/types/codec.go | 2 +- custom/wasm/client/cli/tx.go | 2 +- custom/wasm/keeper/handler_plugin.go | 4 +- custom/wasm/module.go | 2 +- go.mod | 4 +- go.sum | 4 +- proto/terra/feeshare/v1beta1/feeshare.proto | 2 +- proto/terra/feeshare/v1beta1/genesis.proto | 2 +- proto/terra/feeshare/v1beta1/query.proto | 2 +- proto/terra/feeshare/v1beta1/tx.proto | 2 +- proto/terra/market/v1beta1/genesis.proto | 2 +- proto/terra/market/v1beta1/market.proto | 2 +- proto/terra/market/v1beta1/query.proto | 2 +- proto/terra/market/v1beta1/tx.proto | 2 +- proto/terra/oracle/v1beta1/genesis.proto | 2 +- proto/terra/oracle/v1beta1/oracle.proto | 2 +- proto/terra/oracle/v1beta1/query.proto | 2 +- proto/terra/oracle/v1beta1/tx.proto | 2 +- proto/terra/treasury/v1beta1/genesis.proto | 2 +- proto/terra/treasury/v1beta1/gov.proto | 2 +- proto/terra/treasury/v1beta1/query.proto | 2 +- proto/terra/treasury/v1beta1/treasury.proto | 2 +- proto/terra/tx/v1beta1/service.proto | 2 +- proto/terra/vesting/v1beta1/vesting.proto | 2 +- scripts/protocgen.sh | 2 +- types/alias.go | 10 +- wasmbinding/bindings/query.go | 4 +- wasmbinding/message_plugin.go | 6 +- wasmbinding/queries.go | 8 +- wasmbinding/query_plugin.go | 6 +- wasmbinding/test/custom_message_test.go | 10 +- wasmbinding/test/custom_query_test.go | 16 +- wasmbinding/test/custom_test.go | 4 +- wasmbinding/test/helpers_test.go | 2 +- wasmbinding/test/tax_test.go | 4 +- wasmbinding/wasm.go | 6 +- x/feeshare/ante/ante.go | 2 +- x/feeshare/ante/ante_test.go | 10 +- 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 | 8 +- x/feeshare/integration_test.go | 2 +- x/feeshare/keeper/feeshare.go | 2 +- x/feeshare/keeper/grpc_query.go | 2 +- x/feeshare/keeper/keeper.go | 2 +- x/feeshare/keeper/keeper_test.go | 10 +- x/feeshare/keeper/msg_server.go | 2 +- x/feeshare/keeper/params.go | 2 +- x/feeshare/module.go | 8 +- x/feeshare/simulation/genesis.go | 2 +- x/feeshare/simulation/params.go | 2 +- x/feeshare/types/feeshare.pb.go | 32 +- x/feeshare/types/genesis.pb.go | 409 +++++++++---------- x/feeshare/types/params_test.go | 2 +- x/feeshare/types/query.pb.go | 178 +++----- x/feeshare/types/query.pb.gw.go | 48 ++- x/feeshare/types/tx.pb.go | 130 ++---- x/feeshare/types/tx.pb.gw.go | 40 +- x/market/abci.go | 2 +- x/market/abci_test.go | 2 +- x/market/client/cli/query.go | 2 +- x/market/client/cli/tx.go | 4 +- x/market/client/rest/query.go | 2 +- x/market/client/rest/tx.go | 4 +- x/market/common_test.go | 4 +- x/market/exported/alias.go | 2 +- x/market/genesis.go | 4 +- x/market/genesis_test.go | 2 +- x/market/handler.go | 4 +- x/market/handler_test.go | 6 +- x/market/keeper/alias_functions.go | 2 +- x/market/keeper/keeper.go | 2 +- x/market/keeper/keeper_test.go | 2 +- x/market/keeper/legacy_querier.go | 2 +- x/market/keeper/legacy_querier_test.go | 4 +- x/market/keeper/msg_server.go | 6 +- x/market/keeper/params.go | 2 +- x/market/keeper/querier.go | 2 +- x/market/keeper/querier_test.go | 4 +- x/market/keeper/swap.go | 4 +- x/market/keeper/swap_test.go | 2 +- x/market/keeper/test_utils.go | 20 +- x/market/legacy/v05/migrate.go | 4 +- x/market/legacy/v05/migrate_test.go | 8 +- x/market/module.go | 10 +- x/market/simulation/decoder.go | 2 +- x/market/simulation/decoder_test.go | 4 +- x/market/simulation/genesis.go | 2 +- x/market/simulation/operations.go | 4 +- x/market/simulation/params.go | 2 +- x/market/types/genesis.pb.go | 35 +- x/market/types/market.pb.go | 69 ++-- x/market/types/msgs_test.go | 2 +- x/market/types/params.go | 2 +- x/market/types/query.pb.go | 139 +++---- x/market/types/query.pb.gw.go | 32 +- x/market/types/tx.pb.go | 117 ++---- x/oracle/abci.go | 6 +- x/oracle/abci_test.go | 8 +- x/oracle/client/cli/query.go | 2 +- x/oracle/client/cli/tx.go | 2 +- x/oracle/client/rest/query.go | 2 +- x/oracle/client/rest/tx.go | 2 +- x/oracle/common_test.go | 4 +- x/oracle/exported/alias.go | 2 +- x/oracle/genesis.go | 4 +- x/oracle/genesis_test.go | 6 +- x/oracle/handler.go | 4 +- x/oracle/handler_test.go | 6 +- x/oracle/keeper/alias_functions.go | 2 +- x/oracle/keeper/ballot.go | 2 +- x/oracle/keeper/ballot_test.go | 4 +- x/oracle/keeper/keeper.go | 4 +- x/oracle/keeper/keeper_test.go | 4 +- x/oracle/keeper/legacy_querier.go | 2 +- x/oracle/keeper/legacy_querier_test.go | 4 +- x/oracle/keeper/msg_server.go | 2 +- x/oracle/keeper/msg_server_test.go | 4 +- x/oracle/keeper/params.go | 2 +- x/oracle/keeper/querier.go | 2 +- x/oracle/keeper/querier_test.go | 4 +- x/oracle/keeper/reward.go | 4 +- x/oracle/keeper/reward_test.go | 4 +- x/oracle/keeper/test_utils.go | 14 +- x/oracle/legacy/v05/migrate.go | 4 +- x/oracle/legacy/v05/migrate_test.go | 8 +- x/oracle/module.go | 10 +- x/oracle/simulation/decoder.go | 2 +- x/oracle/simulation/decoder_test.go | 8 +- x/oracle/simulation/genesis.go | 4 +- x/oracle/simulation/operations.go | 6 +- x/oracle/simulation/params.go | 2 +- x/oracle/tally.go | 6 +- x/oracle/tally_fuzz_test.go | 4 +- x/oracle/types/ballot_test.go | 4 +- x/oracle/types/denom_test.go | 2 +- x/oracle/types/genesis.pb.go | 114 ++---- x/oracle/types/genesis_test.go | 4 +- x/oracle/types/hash_test.go | 2 +- x/oracle/types/msgs_test.go | 4 +- x/oracle/types/oracle.pb.go | 147 +++---- x/oracle/types/params.go | 2 +- x/oracle/types/params_test.go | 2 +- x/oracle/types/query.pb.go | 374 +++++------------ x/oracle/types/query.pb.gw.go | 70 +++- x/oracle/types/tx.pb.go | 140 +++---- x/oracle/types/vote_test.go | 2 +- x/treasury/abci.go | 6 +- x/treasury/abci_test.go | 6 +- x/treasury/client/cli/gov_tx.go | 2 +- x/treasury/client/cli/query.go | 2 +- x/treasury/client/proposal_handler.go | 2 +- x/treasury/client/rest/query.go | 2 +- x/treasury/exported/alias.go | 2 +- x/treasury/genesis.go | 6 +- x/treasury/genesis_test.go | 4 +- x/treasury/keeper/alias_functions.go | 2 +- x/treasury/keeper/burn_account.go | 2 +- x/treasury/keeper/burn_account_test.go | 2 +- x/treasury/keeper/gov.go | 2 +- x/treasury/keeper/indicator.go | 2 +- x/treasury/keeper/indicator_test.go | 2 +- x/treasury/keeper/keeper.go | 4 +- x/treasury/keeper/keeper_test.go | 4 +- x/treasury/keeper/legacy_querier.go | 4 +- x/treasury/keeper/legacy_querier_test.go | 6 +- x/treasury/keeper/migrations.go | 2 +- x/treasury/keeper/params.go | 2 +- x/treasury/keeper/policy_test.go | 6 +- x/treasury/keeper/querier.go | 4 +- x/treasury/keeper/querier_test.go | 4 +- x/treasury/keeper/seigniorage.go | 4 +- x/treasury/keeper/seigniorage_test.go | 2 +- x/treasury/keeper/test_utils.go | 26 +- x/treasury/legacy/v05/migrate.go | 4 +- x/treasury/legacy/v05/migrate_test.go | 8 +- x/treasury/module.go | 10 +- x/treasury/proposal_handler.go | 4 +- x/treasury/simulation/decoder.go | 2 +- x/treasury/simulation/decoder_test.go | 6 +- x/treasury/simulation/genesis.go | 4 +- x/treasury/simulation/params.go | 2 +- x/treasury/types/exptected_keepers.go | 2 +- x/treasury/types/genesis.pb.go | 106 ++--- x/treasury/types/gov.pb.go | 41 +- x/treasury/types/params.go | 2 +- x/treasury/types/query.pb.go | 303 +++++--------- x/treasury/types/query.pb.gw.go | 58 ++- x/treasury/types/treasury.pb.go | 142 +++---- x/vesting/module.go | 2 +- x/vesting/types/common_test.go | 4 +- x/vesting/types/genesis_test.go | 4 +- x/vesting/types/vesting.pb.go | 99 ++--- x/vesting/types/vesting_account_test.go | 4 +- 263 files changed, 1689 insertions(+), 2286 deletions(-) diff --git a/app/app.go b/app/app.go index d188f6e80..01004ccd2 100644 --- a/app/app.go +++ b/app/app.go @@ -43,24 +43,24 @@ import ( paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/classic-terra/core/app/keepers" - terraappparams "github.com/classic-terra/core/app/params" + "github.com/classic-terra/core/v2/app/keepers" + terraappparams "github.com/classic-terra/core/v2/app/params" // upgrades - "github.com/classic-terra/core/app/upgrades" - v2 "github.com/classic-terra/core/app/upgrades/v2" - v3 "github.com/classic-terra/core/app/upgrades/v3" - v4 "github.com/classic-terra/core/app/upgrades/v4" + "github.com/classic-terra/core/v2/app/upgrades" + v2 "github.com/classic-terra/core/v2/app/upgrades/v2" + v3 "github.com/classic-terra/core/v2/app/upgrades/v3" + v4 "github.com/classic-terra/core/v2/app/upgrades/v4" - customante "github.com/classic-terra/core/custom/auth/ante" - customauthrest "github.com/classic-terra/core/custom/auth/client/rest" - customauthtx "github.com/classic-terra/core/custom/auth/tx" - core "github.com/classic-terra/core/types" + customante "github.com/classic-terra/core/v2/custom/auth/ante" + customauthrest "github.com/classic-terra/core/v2/custom/auth/client/rest" + customauthtx "github.com/classic-terra/core/v2/custom/auth/tx" + core "github.com/classic-terra/core/v2/types" "github.com/CosmWasm/wasmd/x/wasm" // unnamed import of statik for swagger UI support - _ "github.com/classic-terra/core/client/docs/statik" + _ "github.com/classic-terra/core/v2/client/docs/statik" ) const appName = "TerraApp" @@ -303,7 +303,7 @@ func (app *TerraApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abc panic(err) } if ctx.ChainID() == core.ColumbusChainID { - panic("Must use v1.0.x for importing the columbus genesis (https://github.com/classic-terra/core/releases/)") + panic("Must use v1.0.x for importing the columbus genesis (https://github.com/classic-terra/core/v2/releases/)") } app.UpgradeKeeper.SetModuleVersionMap(ctx, app.mm.GetVersionMap()) return app.mm.InitGenesis(ctx, app.appCodec, genesisState) diff --git a/app/encoding.go b/app/encoding.go index b2912408a..4b9220a19 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec/legacy" "github.com/cosmos/cosmos-sdk/std" - "github.com/classic-terra/core/app/params" + "github.com/classic-terra/core/v2/app/params" ) var legacyCodecRegistered = false diff --git a/app/export.go b/app/export.go index c9add528c..df4a3686f 100644 --- a/app/export.go +++ b/app/export.go @@ -12,7 +12,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/staking" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - oracletypes "github.com/classic-terra/core/x/oracle/types" + oracletypes "github.com/classic-terra/core/v2/x/oracle/types" ) // ExportAppStateAndValidators exports the state of the application for a genesis diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 3037744d3..70fb5a38d 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -44,17 +44,17 @@ import ( "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" - customwasmkeeper "github.com/classic-terra/core/custom/wasm/keeper" - terrawasm "github.com/classic-terra/core/wasmbinding" - - feesharekeeper "github.com/classic-terra/core/x/feeshare/keeper" - feesharetypes "github.com/classic-terra/core/x/feeshare/types" - marketkeeper "github.com/classic-terra/core/x/market/keeper" - markettypes "github.com/classic-terra/core/x/market/types" - oraclekeeper "github.com/classic-terra/core/x/oracle/keeper" - oracletypes "github.com/classic-terra/core/x/oracle/types" - treasurykeeper "github.com/classic-terra/core/x/treasury/keeper" - treasurytypes "github.com/classic-terra/core/x/treasury/types" + customwasmkeeper "github.com/classic-terra/core/v2/custom/wasm/keeper" + terrawasm "github.com/classic-terra/core/v2/wasmbinding" + + feesharekeeper "github.com/classic-terra/core/v2/x/feeshare/keeper" + feesharetypes "github.com/classic-terra/core/v2/x/feeshare/types" + marketkeeper "github.com/classic-terra/core/v2/x/market/keeper" + markettypes "github.com/classic-terra/core/v2/x/market/types" + oraclekeeper "github.com/classic-terra/core/v2/x/oracle/keeper" + oracletypes "github.com/classic-terra/core/v2/x/oracle/types" + treasurykeeper "github.com/classic-terra/core/v2/x/treasury/keeper" + treasurytypes "github.com/classic-terra/core/v2/x/treasury/types" ) type AppKeepers struct { diff --git a/app/keepers/keys.go b/app/keepers/keys.go index 024f4cf6b..547c313f3 100644 --- a/app/keepers/keys.go +++ b/app/keepers/keys.go @@ -22,10 +22,10 @@ import ( upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" wasm "github.com/CosmWasm/wasmd/x/wasm" - feesharetypes "github.com/classic-terra/core/x/feeshare/types" - markettypes "github.com/classic-terra/core/x/market/types" - oracletypes "github.com/classic-terra/core/x/oracle/types" - treasurytypes "github.com/classic-terra/core/x/treasury/types" + feesharetypes "github.com/classic-terra/core/v2/x/feeshare/types" + markettypes "github.com/classic-terra/core/v2/x/market/types" + oracletypes "github.com/classic-terra/core/v2/x/oracle/types" + treasurytypes "github.com/classic-terra/core/v2/x/treasury/types" ) func (appKeepers *AppKeepers) GenerateKeys() { diff --git a/app/keepers/routers.go b/app/keepers/routers.go index e79288eb9..aec4640ce 100644 --- a/app/keepers/routers.go +++ b/app/keepers/routers.go @@ -9,8 +9,8 @@ import ( ibcclienttypes "github.com/cosmos/ibc-go/v4/modules/core/02-client/types" porttypes "github.com/cosmos/ibc-go/v4/modules/core/05-port/types" - "github.com/classic-terra/core/x/treasury" - treasurytypes "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury" + treasurytypes "github.com/classic-terra/core/v2/x/treasury/types" distr "github.com/cosmos/cosmos-sdk/x/distribution" distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" diff --git a/app/legacy/migrate.go b/app/legacy/migrate.go index f61bf6b4d..f453b4e6c 100644 --- a/app/legacy/migrate.go +++ b/app/legacy/migrate.go @@ -26,8 +26,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/genutil/types" staking "github.com/cosmos/cosmos-sdk/x/staking/types" - legacy05 "github.com/classic-terra/core/app/legacy/v05" - oracletypes "github.com/classic-terra/core/x/oracle/types" + legacy05 "github.com/classic-terra/core/v2/app/legacy/v05" + oracletypes "github.com/classic-terra/core/v2/x/oracle/types" ) const ( diff --git a/app/legacy/v05/migrate.go b/app/legacy/v05/migrate.go index daa2c41bd..9da83be2d 100644 --- a/app/legacy/v05/migrate.go +++ b/app/legacy/v05/migrate.go @@ -27,22 +27,22 @@ import ( v038staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v038" v040staking "github.com/cosmos/cosmos-sdk/x/staking/legacy/v040" - v039authcustom "github.com/classic-terra/core/custom/auth/legacy/v039" - v040authcustom "github.com/classic-terra/core/custom/auth/legacy/v040" - v036distrcustom "github.com/classic-terra/core/custom/distribution/legacy/v036" - v036govcustom "github.com/classic-terra/core/custom/gov/legacy/v036" - v043govcustom "github.com/classic-terra/core/custom/gov/legacy/v043" - v036paramscustom "github.com/classic-terra/core/custom/params/legacy/v036" - v038upgradecustom "github.com/classic-terra/core/custom/upgrade/legacy/v038" - - v043authz "github.com/classic-terra/core/custom/authz/legacy/v043" - v04market "github.com/classic-terra/core/x/market/legacy/v04" - v05market "github.com/classic-terra/core/x/market/legacy/v05" - v04msgauth "github.com/classic-terra/core/x/msgauth/legacy/v04" - v04oracle "github.com/classic-terra/core/x/oracle/legacy/v04" - v05oracle "github.com/classic-terra/core/x/oracle/legacy/v05" - v04treasury "github.com/classic-terra/core/x/treasury/legacy/v04" - v05treasury "github.com/classic-terra/core/x/treasury/legacy/v05" + v039authcustom "github.com/classic-terra/core/v2/custom/auth/legacy/v039" + v040authcustom "github.com/classic-terra/core/v2/custom/auth/legacy/v040" + v036distrcustom "github.com/classic-terra/core/v2/custom/distribution/legacy/v036" + v036govcustom "github.com/classic-terra/core/v2/custom/gov/legacy/v036" + v043govcustom "github.com/classic-terra/core/v2/custom/gov/legacy/v043" + v036paramscustom "github.com/classic-terra/core/v2/custom/params/legacy/v036" + v038upgradecustom "github.com/classic-terra/core/v2/custom/upgrade/legacy/v038" + + v043authz "github.com/classic-terra/core/v2/custom/authz/legacy/v043" + v04market "github.com/classic-terra/core/v2/x/market/legacy/v04" + v05market "github.com/classic-terra/core/v2/x/market/legacy/v05" + v04msgauth "github.com/classic-terra/core/v2/x/msgauth/legacy/v04" + v04oracle "github.com/classic-terra/core/v2/x/oracle/legacy/v04" + v05oracle "github.com/classic-terra/core/v2/x/oracle/legacy/v05" + v04treasury "github.com/classic-terra/core/v2/x/treasury/legacy/v04" + v05treasury "github.com/classic-terra/core/v2/x/treasury/legacy/v05" ) func migrateGenutil(oldGenState v039genutil.GenesisState) *types.GenesisState { diff --git a/app/modules.go b/app/modules.go index f66f507f6..538db1066 100644 --- a/app/modules.go +++ b/app/modules.go @@ -44,39 +44,39 @@ import ( upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - terraappparams "github.com/classic-terra/core/app/params" + terraappparams "github.com/classic-terra/core/v2/app/params" - customauth "github.com/classic-terra/core/custom/auth" - customauthsim "github.com/classic-terra/core/custom/auth/simulation" - customauthz "github.com/classic-terra/core/custom/authz" - custombank "github.com/classic-terra/core/custom/bank" - customcrisis "github.com/classic-terra/core/custom/crisis" - customdistr "github.com/classic-terra/core/custom/distribution" - customevidence "github.com/classic-terra/core/custom/evidence" - customfeegrant "github.com/classic-terra/core/custom/feegrant" - customgov "github.com/classic-terra/core/custom/gov" - custommint "github.com/classic-terra/core/custom/mint" - customparams "github.com/classic-terra/core/custom/params" - customslashing "github.com/classic-terra/core/custom/slashing" - customstaking "github.com/classic-terra/core/custom/staking" - customupgrade "github.com/classic-terra/core/custom/upgrade" - customwasm "github.com/classic-terra/core/custom/wasm" + customauth "github.com/classic-terra/core/v2/custom/auth" + customauthsim "github.com/classic-terra/core/v2/custom/auth/simulation" + customauthz "github.com/classic-terra/core/v2/custom/authz" + custombank "github.com/classic-terra/core/v2/custom/bank" + customcrisis "github.com/classic-terra/core/v2/custom/crisis" + customdistr "github.com/classic-terra/core/v2/custom/distribution" + customevidence "github.com/classic-terra/core/v2/custom/evidence" + customfeegrant "github.com/classic-terra/core/v2/custom/feegrant" + customgov "github.com/classic-terra/core/v2/custom/gov" + custommint "github.com/classic-terra/core/v2/custom/mint" + customparams "github.com/classic-terra/core/v2/custom/params" + customslashing "github.com/classic-terra/core/v2/custom/slashing" + customstaking "github.com/classic-terra/core/v2/custom/staking" + customupgrade "github.com/classic-terra/core/v2/custom/upgrade" + customwasm "github.com/classic-terra/core/v2/custom/wasm" wasmclient "github.com/CosmWasm/wasmd/x/wasm/client" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/classic-terra/core/x/feeshare" - feesharetypes "github.com/classic-terra/core/x/feeshare/types" - "github.com/classic-terra/core/x/market" - markettypes "github.com/classic-terra/core/x/market/types" - "github.com/classic-terra/core/x/oracle" - oracletypes "github.com/classic-terra/core/x/oracle/types" - "github.com/classic-terra/core/x/treasury" - treasuryclient "github.com/classic-terra/core/x/treasury/client" - treasurytypes "github.com/classic-terra/core/x/treasury/types" - "github.com/classic-terra/core/x/vesting" + "github.com/classic-terra/core/v2/x/feeshare" + feesharetypes "github.com/classic-terra/core/v2/x/feeshare/types" + "github.com/classic-terra/core/v2/x/market" + markettypes "github.com/classic-terra/core/v2/x/market/types" + "github.com/classic-terra/core/v2/x/oracle" + oracletypes "github.com/classic-terra/core/v2/x/oracle/types" + "github.com/classic-terra/core/v2/x/treasury" + treasuryclient "github.com/classic-terra/core/v2/x/treasury/client" + treasurytypes "github.com/classic-terra/core/v2/x/treasury/types" + "github.com/classic-terra/core/v2/x/vesting" // unnamed import of statik for swagger UI support - _ "github.com/classic-terra/core/client/docs/statik" + _ "github.com/classic-terra/core/v2/client/docs/statik" "github.com/CosmWasm/wasmd/x/wasm" ) diff --git a/app/sim_test.go b/app/sim_test.go index cffaf2d14..94a1648b2 100644 --- a/app/sim_test.go +++ b/app/sim_test.go @@ -8,8 +8,8 @@ import ( "time" "github.com/CosmWasm/wasmd/x/wasm" - terraapp "github.com/classic-terra/core/app" - helpers "github.com/classic-terra/core/app/testing" + terraapp "github.com/classic-terra/core/v2/app" + helpers "github.com/classic-terra/core/v2/app/testing" "github.com/cosmos/cosmos-sdk/codec" "github.com/stretchr/testify/require" diff --git a/app/testing/test_suite.go b/app/testing/test_suite.go index 580a7fb68..4ba51bef0 100644 --- a/app/testing/test_suite.go +++ b/app/testing/test_suite.go @@ -6,8 +6,8 @@ import ( "time" "github.com/CosmWasm/wasmd/x/wasm" - "github.com/classic-terra/core/app" - appparams "github.com/classic-terra/core/app/params" + "github.com/classic-terra/core/v2/app" + appparams "github.com/classic-terra/core/v2/app/params" "github.com/cosmos/cosmos-sdk/baseapp" codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" diff --git a/app/upgrades/types.go b/app/upgrades/types.go index a81a82411..fffa87ddf 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -7,7 +7,7 @@ import ( upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" abci "github.com/tendermint/tendermint/abci/types" - "github.com/classic-terra/core/app/keepers" + "github.com/classic-terra/core/v2/app/keepers" ) // BaseAppParamManager defines an interrace that BaseApp is expected to fullfil diff --git a/app/upgrades/v2/constants.go b/app/upgrades/v2/constants.go index f22bf510a..35be5dd93 100644 --- a/app/upgrades/v2/constants.go +++ b/app/upgrades/v2/constants.go @@ -1,7 +1,7 @@ package v2 import ( - "github.com/classic-terra/core/app/upgrades" + "github.com/classic-terra/core/v2/app/upgrades" store "github.com/cosmos/cosmos-sdk/store/types" ) diff --git a/app/upgrades/v2/upgrades.go b/app/upgrades/v2/upgrades.go index b5c358a2f..1cf323d0a 100644 --- a/app/upgrades/v2/upgrades.go +++ b/app/upgrades/v2/upgrades.go @@ -1,13 +1,13 @@ package v2 import ( - "github.com/classic-terra/core/app/keepers" - "github.com/classic-terra/core/app/upgrades" + "github.com/classic-terra/core/v2/app/keepers" + "github.com/classic-terra/core/v2/app/upgrades" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - feesharetypes "github.com/classic-terra/core/x/feeshare/types" + feesharetypes "github.com/classic-terra/core/v2/x/feeshare/types" ) func CreateV2UpgradeHandler( diff --git a/app/upgrades/v3/constants.go b/app/upgrades/v3/constants.go index c49b23324..772869b31 100644 --- a/app/upgrades/v3/constants.go +++ b/app/upgrades/v3/constants.go @@ -1,7 +1,7 @@ package v3 import ( - "github.com/classic-terra/core/app/upgrades" + "github.com/classic-terra/core/v2/app/upgrades" store "github.com/cosmos/cosmos-sdk/store/types" ) diff --git a/app/upgrades/v3/upgrades.go b/app/upgrades/v3/upgrades.go index 04fceebb8..f3db6acd5 100644 --- a/app/upgrades/v3/upgrades.go +++ b/app/upgrades/v3/upgrades.go @@ -1,8 +1,8 @@ package v3 import ( - "github.com/classic-terra/core/app/keepers" - "github.com/classic-terra/core/app/upgrades" + "github.com/classic-terra/core/v2/app/keepers" + "github.com/classic-terra/core/v2/app/upgrades" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" diff --git a/app/upgrades/v4/constants.go b/app/upgrades/v4/constants.go index b83cbbe5f..192c7832f 100644 --- a/app/upgrades/v4/constants.go +++ b/app/upgrades/v4/constants.go @@ -1,8 +1,8 @@ package v3 import ( - "github.com/classic-terra/core/app/upgrades" - feesharetypes "github.com/classic-terra/core/x/feeshare/types" + "github.com/classic-terra/core/v2/app/upgrades" + feesharetypes "github.com/classic-terra/core/v2/x/feeshare/types" store "github.com/cosmos/cosmos-sdk/store/types" icahosttypes "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts/host/types" ) diff --git a/app/upgrades/v4/upgrades.go b/app/upgrades/v4/upgrades.go index d3698d1f7..c2b6dbfb9 100644 --- a/app/upgrades/v4/upgrades.go +++ b/app/upgrades/v4/upgrades.go @@ -1,8 +1,8 @@ package v3 import ( - "github.com/classic-terra/core/app/keepers" - "github.com/classic-terra/core/app/upgrades" + "github.com/classic-terra/core/v2/app/keepers" + "github.com/classic-terra/core/v2/app/upgrades" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/staking/keeper" diff --git a/cmd/terrad/genaccounts.go b/cmd/terrad/genaccounts.go index c7a2dc25c..17be623d8 100644 --- a/cmd/terrad/genaccounts.go +++ b/cmd/terrad/genaccounts.go @@ -21,7 +21,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/genutil" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - vestingtypes "github.com/classic-terra/core/x/vesting/types" + vestingtypes "github.com/classic-terra/core/v2/x/vesting/types" ) const ( diff --git a/cmd/terrad/main.go b/cmd/terrad/main.go index c2d327660..b52c21d2c 100644 --- a/cmd/terrad/main.go +++ b/cmd/terrad/main.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - terraapp "github.com/classic-terra/core/app" + terraapp "github.com/classic-terra/core/v2/app" ) func main() { diff --git a/cmd/terrad/root.go b/cmd/terrad/root.go index ab6dec37d..aa2f9a972 100644 --- a/cmd/terrad/root.go +++ b/cmd/terrad/root.go @@ -30,11 +30,11 @@ import ( "github.com/cosmos/cosmos-sdk/x/crisis" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" - terraapp "github.com/classic-terra/core/app" - terralegacy "github.com/classic-terra/core/app/legacy" - "github.com/classic-terra/core/app/params" - authcustomcli "github.com/classic-terra/core/custom/auth/client/cli" - core "github.com/classic-terra/core/types" + terraapp "github.com/classic-terra/core/v2/app" + terralegacy "github.com/classic-terra/core/v2/app/legacy" + "github.com/classic-terra/core/v2/app/params" + authcustomcli "github.com/classic-terra/core/v2/custom/auth/client/cli" + core "github.com/classic-terra/core/v2/types" "github.com/CosmWasm/wasmd/x/wasm" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" diff --git a/cmd/terrad/testnet.go b/cmd/terrad/testnet.go index e5ba7ce24..050bb1183 100644 --- a/cmd/terrad/testnet.go +++ b/cmd/terrad/testnet.go @@ -36,7 +36,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" ) var ( diff --git a/contrib/updates/prepare_cosmovisor.sh b/contrib/updates/prepare_cosmovisor.sh index 28eed4e47..378e5840f 100644 --- a/contrib/updates/prepare_cosmovisor.sh +++ b/contrib/updates/prepare_cosmovisor.sh @@ -6,7 +6,8 @@ # These fields should be fetched automatically in the future # Need to do more upgrade to see upgrade patterns OLD_VERSION=v2.0.1 -SOFTWARE_UPGRADE_NAME=$(ls -td -- ./app/upgrades/* | head -n 1 | cut -d'/' -f4) +# this command will retrieve the folder with the largest number in format v +SOFTWARE_UPGRADE_NAME=$(ls -d -- ./app/upgrades/v* | sort -Vr | head -n 1 | xargs basename) BUILDDIR=$1 TESTNET_NVAL=$2 TESTNET_CHAINID=$3 diff --git a/contrib/updates/upgrade-test.sh b/contrib/updates/upgrade-test.sh index a9231d000..49429827e 100644 --- a/contrib/updates/upgrade-test.sh +++ b/contrib/updates/upgrade-test.sh @@ -1,8 +1,8 @@ #!/bin/bash # should make this auto fetch upgrade name from app upgrades once many upgrades have been done -# this command will fetch the latest upgrade folder by time modified. So, there could be case that v1 is later modified than v2 which will cause error -SOFTWARE_UPGRADE_NAME=$(ls -td -- ./app/upgrades/*/ | head -n 1 | xargs basename) +# this command will retrieve the folder with the largest number in format v +SOFTWARE_UPGRADE_NAME=$(ls -d -- ./app/upgrades/v* | sort -Vr | head -n 1 | xargs basename) NODE1_HOME=node1/terrad BINARY_OLD="docker exec terradnode1 ./old/terrad" TESTNET_NVAL=${1:-7} diff --git a/custom/auth/ante/ante.go b/custom/auth/ante/ante.go index 90ffef996..6ea61fbcc 100644 --- a/custom/auth/ante/ante.go +++ b/custom/auth/ante/ante.go @@ -6,7 +6,7 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - feehshareante "github.com/classic-terra/core/x/feeshare/ante" + feehshareante "github.com/classic-terra/core/v2/x/feeshare/ante" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" cosmosante "github.com/cosmos/cosmos-sdk/x/auth/ante" diff --git a/custom/auth/ante/ante_test.go b/custom/auth/ante/ante_test.go index d86eacbee..4b2d1ba57 100644 --- a/custom/auth/ante/ante_test.go +++ b/custom/auth/ante/ante_test.go @@ -24,9 +24,9 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - terraapp "github.com/classic-terra/core/app" - feesharetypes "github.com/classic-terra/core/x/feeshare/types" - treasurytypes "github.com/classic-terra/core/x/treasury/types" + terraapp "github.com/classic-terra/core/v2/app" + feesharetypes "github.com/classic-terra/core/v2/x/feeshare/types" + treasurytypes "github.com/classic-terra/core/v2/x/treasury/types" "github.com/CosmWasm/wasmd/x/wasm" ) diff --git a/custom/auth/ante/burntax.go b/custom/auth/ante/burntax.go index 869541790..a511bd6b9 100644 --- a/custom/auth/ante/burntax.go +++ b/custom/auth/ante/burntax.go @@ -1,7 +1,7 @@ package ante import ( - treasury "github.com/classic-terra/core/x/treasury/types" + treasury "github.com/classic-terra/core/v2/x/treasury/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" cosmosante "github.com/cosmos/cosmos-sdk/x/auth/ante" diff --git a/custom/auth/ante/burntax_test.go b/custom/auth/ante/burntax_test.go index 8865e1482..cb9cd8b72 100644 --- a/custom/auth/ante/burntax_test.go +++ b/custom/auth/ante/burntax_test.go @@ -8,14 +8,14 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/classic-terra/core/custom/auth/ante" - core "github.com/classic-terra/core/types" + "github.com/classic-terra/core/v2/custom/auth/ante" + core "github.com/classic-terra/core/v2/types" "github.com/cosmos/cosmos-sdk/types/query" "github.com/cosmos/cosmos-sdk/x/auth/types" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" ) -// go test -v -run ^TestAnteTestSuite/TestSplitTax$ github.com/classic-terra/core/custom/auth/ante +// go test -v -run ^TestAnteTestSuite/TestSplitTax$ github.com/classic-terra/core/v2/custom/auth/ante func (suite *AnteTestSuite) TestSplitTax() { suite.runSplitTaxTest(sdk.NewDecWithPrec(1, 0)) // 100% suite.runSplitTaxTest(sdk.NewDecWithPrec(1, 1)) // 10% diff --git a/custom/auth/ante/expected_keeper.go b/custom/auth/ante/expected_keeper.go index fb75e149a..2dfab926d 100644 --- a/custom/auth/ante/expected_keeper.go +++ b/custom/auth/ante/expected_keeper.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - feesharettypes "github.com/classic-terra/core/x/feeshare/types" + feesharettypes "github.com/classic-terra/core/v2/x/feeshare/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" ) diff --git a/custom/auth/ante/integration_test.go b/custom/auth/ante/integration_test.go index 44e19445c..dbd1a4c83 100644 --- a/custom/auth/ante/integration_test.go +++ b/custom/auth/ante/integration_test.go @@ -4,9 +4,9 @@ import ( "fmt" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - customante "github.com/classic-terra/core/custom/auth/ante" - core "github.com/classic-terra/core/types" - treasurytypes "github.com/classic-terra/core/x/treasury/types" + customante "github.com/classic-terra/core/v2/custom/auth/ante" + core "github.com/classic-terra/core/v2/types" + treasurytypes "github.com/classic-terra/core/v2/x/treasury/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" @@ -15,7 +15,7 @@ import ( minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" ) -// go test -v -run ^TestAnteTestSuite/TestIntegrationTaxExemption$ github.com/classic-terra/core/custom/auth/ante +// go test -v -run ^TestAnteTestSuite/TestIntegrationTaxExemption$ github.com/classic-terra/core/v2/custom/auth/ante func (suite *AnteTestSuite) TestIntegrationTaxExemption() { // keys and addresses var privs []cryptotypes.PrivKey diff --git a/custom/auth/ante/min_initial_deposit.go b/custom/auth/ante/min_initial_deposit.go index c47f9c3d9..893fdf508 100644 --- a/custom/auth/ante/min_initial_deposit.go +++ b/custom/auth/ante/min_initial_deposit.go @@ -3,7 +3,7 @@ package ante import ( "fmt" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" diff --git a/custom/auth/ante/min_initial_deposit_test.go b/custom/auth/ante/min_initial_deposit_test.go index 6b674c7c3..9158c7573 100644 --- a/custom/auth/ante/min_initial_deposit_test.go +++ b/custom/auth/ante/min_initial_deposit_test.go @@ -9,7 +9,7 @@ import ( // banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/classic-terra/core/custom/auth/ante" + "github.com/classic-terra/core/v2/custom/auth/ante" // core "github.com/terra-money/core/types" // treasury "github.com/terra-money/core/x/treasury/types" diff --git a/custom/auth/ante/spamming_prevention.go b/custom/auth/ante/spamming_prevention.go index 3a847f6d5..ea954bdee 100644 --- a/custom/auth/ante/spamming_prevention.go +++ b/custom/auth/ante/spamming_prevention.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - oracleexported "github.com/classic-terra/core/x/oracle/exported" + oracleexported "github.com/classic-terra/core/v2/x/oracle/exported" ) // SpammingPreventionDecorator will check if the transaction's gas is smaller than diff --git a/custom/auth/ante/spamming_prevention_test.go b/custom/auth/ante/spamming_prevention_test.go index 48fcd48d5..9e0063e5d 100644 --- a/custom/auth/ante/spamming_prevention_test.go +++ b/custom/auth/ante/spamming_prevention_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/classic-terra/core/custom/auth/ante" - oracletypes "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/custom/auth/ante" + oracletypes "github.com/classic-terra/core/v2/x/oracle/types" ) func (suite *AnteTestSuite) TestOracleSpamming() { diff --git a/custom/auth/ante/tax.go b/custom/auth/ante/tax.go index a42df9718..7af12c9ee 100644 --- a/custom/auth/ante/tax.go +++ b/custom/auth/ante/tax.go @@ -9,9 +9,9 @@ import ( authz "github.com/cosmos/cosmos-sdk/x/authz" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - core "github.com/classic-terra/core/types" - marketexported "github.com/classic-terra/core/x/market/exported" - oracleexported "github.com/classic-terra/core/x/oracle/exported" + core "github.com/classic-terra/core/v2/types" + marketexported "github.com/classic-terra/core/v2/x/market/exported" + oracleexported "github.com/classic-terra/core/v2/x/oracle/exported" ) // MaxOracleMsgGasUsage is constant expected oracle msg gas cost diff --git a/custom/auth/ante/tax_test.go b/custom/auth/ante/tax_test.go index 02de0a7c9..1faeecba9 100644 --- a/custom/auth/ante/tax_test.go +++ b/custom/auth/ante/tax_test.go @@ -13,9 +13,9 @@ import ( minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - "github.com/classic-terra/core/custom/auth/ante" - core "github.com/classic-terra/core/types" - markettypes "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/custom/auth/ante" + core "github.com/classic-terra/core/v2/types" + markettypes "github.com/classic-terra/core/v2/x/market/types" ) func (suite *AnteTestSuite) TestEnsureMempoolFeesGas() { @@ -768,7 +768,7 @@ func (suite *AnteTestSuite) TestEnsureMempoolFeesExecLunaTax() { suite.Require().NoError(err, "Decorator should not have errored on fee higher than local gasPrice") } -// go test -v -run ^TestAnteTestSuite/TestTaxExemption$ github.com/classic-terra/core/custom/auth/ante +// go test -v -run ^TestAnteTestSuite/TestTaxExemption$ github.com/classic-terra/core/v2/custom/auth/ante func (suite *AnteTestSuite) TestTaxExemption() { // keys and addresses var privs []cryptotypes.PrivKey diff --git a/custom/auth/client/cli/estimate_fee.go b/custom/auth/client/cli/estimate_fee.go index e5bc1e74e..aa0666934 100644 --- a/custom/auth/client/cli/estimate_fee.go +++ b/custom/auth/client/cli/estimate_fee.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" authclient "github.com/cosmos/cosmos-sdk/x/auth/client" - feeutils "github.com/classic-terra/core/custom/auth/client/utils" + feeutils "github.com/classic-terra/core/v2/custom/auth/client/utils" ) // GetTxFeesEstimateCommand will create a send tx and sign it with the given key. diff --git a/custom/auth/client/rest/estimate_fee.go b/custom/auth/client/rest/estimate_fee.go index 821484cf5..f48d8d1a8 100644 --- a/custom/auth/client/rest/estimate_fee.go +++ b/custom/auth/client/rest/estimate_fee.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/types/rest" - feeutils "github.com/classic-terra/core/custom/auth/client/utils" + feeutils "github.com/classic-terra/core/v2/custom/auth/client/utils" ) // EstimateTxFeeRequestHandlerFn returns estimated tx fee. In particular, diff --git a/custom/auth/client/utils/feeutils.go b/custom/auth/client/utils/feeutils.go index 98029eb64..1cd746719 100644 --- a/custom/auth/client/utils/feeutils.go +++ b/custom/auth/client/utils/feeutils.go @@ -18,8 +18,8 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" wasmexported "github.com/CosmWasm/wasmd/x/wasm" - marketexported "github.com/classic-terra/core/x/market/exported" - treasuryexported "github.com/classic-terra/core/x/treasury/exported" + marketexported "github.com/classic-terra/core/v2/x/market/exported" + treasuryexported "github.com/classic-terra/core/v2/x/treasury/exported" ) type ( diff --git a/custom/auth/legacy/v040/migrate.go b/custom/auth/legacy/v040/migrate.go index 31efb3f84..ed3d2b295 100644 --- a/custom/auth/legacy/v040/migrate.go +++ b/custom/auth/legacy/v040/migrate.go @@ -11,9 +11,9 @@ import ( v040authvesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" v40mint "github.com/cosmos/cosmos-sdk/x/mint/types" - v039authcustom "github.com/classic-terra/core/custom/auth/legacy/v039" - v40treasury "github.com/classic-terra/core/x/treasury/types" - v040vesting "github.com/classic-terra/core/x/vesting/types" + v039authcustom "github.com/classic-terra/core/v2/custom/auth/legacy/v039" + v40treasury "github.com/classic-terra/core/v2/x/treasury/types" + v040vesting "github.com/classic-terra/core/v2/x/vesting/types" ) // convertBaseAccount converts a 0.39 BaseAccount to a 0.40 BaseAccount. diff --git a/custom/auth/legacy/v040/migrate_test.go b/custom/auth/legacy/v040/migrate_test.go index ee9fce827..fc2030cfc 100644 --- a/custom/auth/legacy/v040/migrate_test.go +++ b/custom/auth/legacy/v040/migrate_test.go @@ -3,7 +3,7 @@ package v040 import ( "testing" - v039authcustom "github.com/classic-terra/core/custom/auth/legacy/v039" + v039authcustom "github.com/classic-terra/core/v2/custom/auth/legacy/v039" "github.com/stretchr/testify/require" "github.com/cosmos/cosmos-sdk/codec" diff --git a/custom/auth/module.go b/custom/auth/module.go index e77a4cfc5..439c9181b 100644 --- a/custom/auth/module.go +++ b/custom/auth/module.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth/keeper" "github.com/cosmos/cosmos-sdk/x/auth/types" - customsim "github.com/classic-terra/core/custom/auth/simulation" - customtypes "github.com/classic-terra/core/custom/auth/types" + customsim "github.com/classic-terra/core/v2/custom/auth/simulation" + customtypes "github.com/classic-terra/core/v2/custom/auth/types" ) var ( diff --git a/custom/auth/simulation/genesis.go b/custom/auth/simulation/genesis.go index 9bcd731c1..73f50d799 100644 --- a/custom/auth/simulation/genesis.go +++ b/custom/auth/simulation/genesis.go @@ -12,8 +12,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/auth/types" - core "github.com/classic-terra/core/types" - customvestingtypes "github.com/classic-terra/core/x/vesting/types" + core "github.com/classic-terra/core/v2/types" + customvestingtypes "github.com/classic-terra/core/v2/x/vesting/types" ) // Simulation parameter constants diff --git a/custom/auth/tx/service.go b/custom/auth/tx/service.go index 04ac8428d..06997e42d 100644 --- a/custom/auth/tx/service.go +++ b/custom/auth/tx/service.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - customante "github.com/classic-terra/core/custom/auth/ante" + customante "github.com/classic-terra/core/v2/custom/auth/ante" "github.com/cosmos/cosmos-sdk/client" codectypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/custom/auth/tx/service.pb.go b/custom/auth/tx/service.pb.go index ee4b546c3..c1a66334c 100644 --- a/custom/auth/tx/service.pb.go +++ b/custom/auth/tx/service.pb.go @@ -6,10 +6,6 @@ package tx import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" tx "github.com/cosmos/cosmos-sdk/types/tx" @@ -21,15 +17,16 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = golang_proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = golang_proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -53,11 +50,9 @@ func (*ComputeTaxRequest) ProtoMessage() {} func (*ComputeTaxRequest) Descriptor() ([]byte, []int) { return fileDescriptor_0b3c73e5d85273f4, []int{0} } - func (m *ComputeTaxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *ComputeTaxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ComputeTaxRequest.Marshal(b, m, deterministic) @@ -70,15 +65,12 @@ func (m *ComputeTaxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } - func (m *ComputeTaxRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ComputeTaxRequest.Merge(m, src) } - func (m *ComputeTaxRequest) XXX_Size() int { return m.Size() } - func (m *ComputeTaxRequest) XXX_DiscardUnknown() { xxx_messageInfo_ComputeTaxRequest.DiscardUnknown(m) } @@ -113,11 +105,9 @@ func (*ComputeTaxResponse) ProtoMessage() {} func (*ComputeTaxResponse) Descriptor() ([]byte, []int) { return fileDescriptor_0b3c73e5d85273f4, []int{1} } - func (m *ComputeTaxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *ComputeTaxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ComputeTaxResponse.Marshal(b, m, deterministic) @@ -130,15 +120,12 @@ func (m *ComputeTaxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *ComputeTaxResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ComputeTaxResponse.Merge(m, src) } - func (m *ComputeTaxResponse) XXX_Size() int { return m.Size() } - func (m *ComputeTaxResponse) XXX_DiscardUnknown() { xxx_messageInfo_ComputeTaxResponse.DiscardUnknown(m) } @@ -165,40 +152,38 @@ func init() { } var fileDescriptor_0b3c73e5d85273f4 = []byte{ - // 405 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x3f, 0x6f, 0xd4, 0x30, - 0x18, 0xc6, 0xe3, 0x20, 0x51, 0x70, 0x19, 0x20, 0x02, 0x29, 0x8d, 0xc0, 0x3d, 0x05, 0x86, 0x80, - 0xa8, 0x4d, 0x8f, 0x8d, 0x8d, 0x74, 0x63, 0x0c, 0x5d, 0x60, 0x39, 0x39, 0xc6, 0x4a, 0x03, 0x4d, - 0xde, 0x10, 0xbf, 0xa9, 0xdc, 0x0d, 0xd8, 0x91, 0x90, 0xf8, 0x16, 0x7c, 0x0a, 0xc6, 0x8e, 0x95, - 0x58, 0x98, 0x00, 0x5d, 0xf8, 0x20, 0xe8, 0xe2, 0x70, 0x44, 0x9c, 0xd4, 0x29, 0xb1, 0x7e, 0xef, - 0x9f, 0xe7, 0x79, 0x5e, 0xca, 0x50, 0xb7, 0xad, 0x14, 0x68, 0xc5, 0xc9, 0x7e, 0xae, 0x51, 0xee, - 0x0b, 0xa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c, 0x6d, 0xb4, 0x19, 0x1a, 0x4c, 0x76, 0x15, 0xa5, - 0x7d, 0x3a, 0x4c, 0x9f, 0x7f, 0x24, 0x74, 0xeb, 0xb9, 0x4b, 0x3c, 0x78, 0x4f, 0x28, 0xfd, 0x27, - 0x27, 0xb8, 0xcb, 0xff, 0xcf, 0x9e, 0x6f, 0x04, 0x11, 0xdd, 0xbb, 0xb8, 0xc8, 0x39, 0x8a, 0x93, - 0x0f, 0xdf, 0x7e, 0x7f, 0xf6, 0xe3, 0xf8, 0x8e, 0xd8, 0x38, 0xb7, 0x72, 0xd5, 0x0b, 0x94, 0xf6, - 0x09, 0x79, 0x90, 0x3e, 0x3b, 0x5b, 0x32, 0x72, 0xbe, 0x64, 0xe4, 0xd7, 0x92, 0x91, 0x4f, 0x3d, - 0xf3, 0xbe, 0xf6, 0x8c, 0x9c, 0xf7, 0xcc, 0xfb, 0xde, 0x33, 0xef, 0xe5, 0xc3, 0xa9, 0xc5, 0x63, - 0x69, 0x4c, 0xa9, 0xf6, 0xdc, 0x44, 0x05, 0xad, 0x16, 0xaa, 0x33, 0x08, 0x95, 0x90, 0x1d, 0x1e, - 0x09, 0xb4, 0xf9, 0xe5, 0xe1, 0x80, 0x8f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x52, 0x0b, 0xe1, - 0x25, 0x64, 0x02, 0x00, 0x00, + // 406 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xbf, 0x6e, 0xd5, 0x30, + 0x14, 0xc6, 0xe3, 0x20, 0x51, 0x70, 0x19, 0x20, 0x02, 0x29, 0x8d, 0xc0, 0xbd, 0x0a, 0x0c, 0x01, + 0xa9, 0x36, 0x0d, 0x1b, 0x1b, 0xe9, 0xcc, 0x12, 0xba, 0xc0, 0x72, 0xe5, 0x18, 0x2b, 0x0d, 0x34, + 0x39, 0x21, 0x3e, 0xb9, 0x72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6f, 0x30, 0x24, 0x8b, 0x4b, + 0xc9, 0x76, 0xba, 0xf3, 0x67, 0xc9, 0xc6, 0xc2, 0xf9, 0x9a, 0x03, 0xa8, 0x9a, 0xec, 0xe1, 0xe9, + 0xf7, 0x5d, 0xef, 0xf3, 0x8f, 0xdd, 0xa4, 0xac, 0xf0, 0xa8, 0x2f, 0xb8, 0x82, 0x5a, 0x4c, 0x7e, + 0xdc, 0x67, 0xcf, 0xbc, 0x7c, 0x2d, 0xf0, 0xa4, 0xd5, 0x66, 0x6c, 0x30, 0xf9, 0x55, 0x94, 0xf6, + 0xc9, 0x38, 0x3d, 0xfd, 0x40, 0xe8, 0xd6, 0x33, 0x97, 0x78, 0xf0, 0x8e, 0x50, 0xfa, 0x57, 0x4e, + 0x70, 0x97, 0xff, 0x9b, 0x3d, 0xbf, 0x10, 0x44, 0x74, 0xef, 0xff, 0x45, 0xce, 0x51, 0x9c, 0xbc, + 0xff, 0xfa, 0xeb, 0x93, 0x1f, 0xc7, 0x77, 0xc4, 0x85, 0x73, 0x2b, 0x57, 0xbd, 0x44, 0x69, 0x1f, + 0x93, 0x07, 0xd9, 0xd3, 0xd3, 0x35, 0x23, 0x67, 0x6b, 0x46, 0x7e, 0xae, 0x19, 0xf9, 0x38, 0x30, + 0xef, 0xcb, 0xc0, 0xc8, 0xd9, 0xc0, 0xbc, 0x6f, 0x03, 0xf3, 0x5e, 0x88, 0xb9, 0xc5, 0x63, 0x69, + 0x4c, 0xa5, 0xf6, 0xdc, 0x44, 0x05, 0x9d, 0x16, 0xab, 0x54, 0xa8, 0xde, 0x20, 0xd4, 0x42, 0xf6, + 0x78, 0x24, 0xd0, 0x16, 0x97, 0xc7, 0x1b, 0x3e, 0xfa, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xb8, 0x20, + 0xf4, 0xe0, 0x67, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -236,7 +221,8 @@ type ServiceServer interface { } // UnimplementedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedServiceServer struct{} +type UnimplementedServiceServer struct { +} func (*UnimplementedServiceServer) ComputeTax(ctx context.Context, req *ComputeTaxRequest) (*ComputeTaxResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ComputeTax not implemented") @@ -367,7 +353,6 @@ func encodeVarintService(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *ComputeTaxRequest) Size() (n int) { if m == nil { return 0 @@ -403,11 +388,9 @@ func (m *ComputeTaxResponse) Size() (n int) { func sovService(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozService(x uint64) (n int) { return sovService(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *ComputeTaxRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -528,7 +511,6 @@ func (m *ComputeTaxRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *ComputeTaxResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -613,7 +595,6 @@ func (m *ComputeTaxResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipService(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/custom/auth/tx/service.pb.gw.go b/custom/auth/tx/service.pb.gw.go index 0c636666e..5aee1553a 100644 --- a/custom/auth/tx/service.pb.gw.go +++ b/custom/auth/tx/service.pb.gw.go @@ -25,15 +25,13 @@ import ( ) // Suppress "imported and not used" errors -var ( - _ codes.Code - _ io.Reader - _ status.Status - _ = runtime.String - _ = utilities.NewDoubleArray - _ = descriptor.ForMessage - _ = metadata.Join -) +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join func request_Service_ComputeTax_0(ctx context.Context, marshaler runtime.Marshaler, client ServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq ComputeTaxRequest @@ -49,6 +47,7 @@ func request_Service_ComputeTax_0(ctx context.Context, marshaler runtime.Marshal msg, err := client.ComputeTax(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Service_ComputeTax_0(ctx context.Context, marshaler runtime.Marshaler, server ServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -65,6 +64,7 @@ func local_request_Service_ComputeTax_0(ctx context.Context, marshaler runtime.M msg, err := server.ComputeTax(ctx, &protoReq) return msg, metadata, err + } // RegisterServiceHandlerServer registers the http handlers for service Service to "mux". @@ -72,6 +72,7 @@ func local_request_Service_ComputeTax_0(ctx context.Context, marshaler runtime.M // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. // Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterServiceHandlerFromEndpoint instead. func RegisterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ServiceServer) error { + mux.Handle("POST", pattern_Service_ComputeTax_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -92,6 +93,7 @@ func RegisterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, se } forward_Service_ComputeTax_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil @@ -134,6 +136,7 @@ func RegisterServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *gr // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "ServiceClient" to call the correct interceptors. func RegisterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ServiceClient) error { + mux.Handle("POST", pattern_Service_ComputeTax_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -151,11 +154,16 @@ func RegisterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, cl } forward_Service_ComputeTax_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil } -var pattern_Service_ComputeTax_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"terra", "tx", "v1beta1", "compute_tax"}, "", runtime.AssumeColonVerbOpt(false))) +var ( + pattern_Service_ComputeTax_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"terra", "tx", "v1beta1", "compute_tax"}, "", runtime.AssumeColonVerbOpt(false))) +) -var forward_Service_ComputeTax_0 = runtime.ForwardResponseMessage +var ( + forward_Service_ComputeTax_0 = runtime.ForwardResponseMessage +) diff --git a/custom/authz/client/cli/tx.go b/custom/authz/client/cli/tx.go index 4dfe3691c..6b076802c 100644 --- a/custom/authz/client/cli/tx.go +++ b/custom/authz/client/cli/tx.go @@ -15,7 +15,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/authz" "github.com/cosmos/cosmos-sdk/x/authz/client/cli" - feeutils "github.com/classic-terra/core/custom/auth/client/utils" + feeutils "github.com/classic-terra/core/v2/custom/auth/client/utils" ) // GetTxCmd returns the transaction commands for this module diff --git a/custom/authz/legacy/v043/migrate.go b/custom/authz/legacy/v043/migrate.go index 58ac82c85..bbe06aafd 100644 --- a/custom/authz/legacy/v043/migrate.go +++ b/custom/authz/legacy/v043/migrate.go @@ -7,8 +7,8 @@ import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" - v05market "github.com/classic-terra/core/x/market/types" - v04msgauth "github.com/classic-terra/core/x/msgauth/legacy/v04" + v05market "github.com/classic-terra/core/v2/x/market/types" + v04msgauth "github.com/classic-terra/core/v2/x/msgauth/legacy/v04" sdk "github.com/cosmos/cosmos-sdk/types" v043authz "github.com/cosmos/cosmos-sdk/x/authz" diff --git a/custom/authz/legacy/v043/migrate_test.go b/custom/authz/legacy/v043/migrate_test.go index 843d17758..7eb91548a 100644 --- a/custom/authz/legacy/v043/migrate_test.go +++ b/custom/authz/legacy/v043/migrate_test.go @@ -9,10 +9,10 @@ import ( "github.com/cosmos/cosmos-sdk/client" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/classic-terra/core/app" - v043authz "github.com/classic-terra/core/custom/authz/legacy/v043" - core "github.com/classic-terra/core/types" - v04msgauth "github.com/classic-terra/core/x/msgauth/legacy/v04" + "github.com/classic-terra/core/v2/app" + v043authz "github.com/classic-terra/core/v2/custom/authz/legacy/v043" + core "github.com/classic-terra/core/v2/types" + v04msgauth "github.com/classic-terra/core/v2/x/msgauth/legacy/v04" ) func TestMigrate(t *testing.T) { diff --git a/custom/authz/module.go b/custom/authz/module.go index eaf01361e..7c3b91725 100644 --- a/custom/authz/module.go +++ b/custom/authz/module.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" authz "github.com/cosmos/cosmos-sdk/x/authz/module" - customcli "github.com/classic-terra/core/custom/authz/client/cli" - customtypes "github.com/classic-terra/core/custom/authz/types" + customcli "github.com/classic-terra/core/v2/custom/authz/client/cli" + customtypes "github.com/classic-terra/core/v2/custom/authz/types" ) var _ module.AppModuleBasic = AppModuleBasic{} diff --git a/custom/bank/client/cli/tx.go b/custom/bank/client/cli/tx.go index 97ed5b741..848ccfc62 100644 --- a/custom/bank/client/cli/tx.go +++ b/custom/bank/client/cli/tx.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/bank/types" - feeutils "github.com/classic-terra/core/custom/auth/client/utils" + feeutils "github.com/classic-terra/core/v2/custom/auth/client/utils" ) // GetTxCmd returns the transaction commands for this module diff --git a/custom/bank/client/rest/tx.go b/custom/bank/client/rest/tx.go index 5eb33d77e..3c0cb1137 100644 --- a/custom/bank/client/rest/tx.go +++ b/custom/bank/client/rest/tx.go @@ -14,7 +14,7 @@ import ( bankrest "github.com/cosmos/cosmos-sdk/x/bank/client/rest" "github.com/cosmos/cosmos-sdk/x/bank/types" - feeutils "github.com/classic-terra/core/custom/auth/client/utils" + feeutils "github.com/classic-terra/core/v2/custom/auth/client/utils" ) // RegisterRoutes registers bank-related REST handlers to a router diff --git a/custom/bank/module.go b/custom/bank/module.go index dcd92ccff..557cd999d 100644 --- a/custom/bank/module.go +++ b/custom/bank/module.go @@ -12,10 +12,10 @@ import ( "github.com/cosmos/cosmos-sdk/x/bank/keeper" "github.com/cosmos/cosmos-sdk/x/bank/types" - customcli "github.com/classic-terra/core/custom/bank/client/cli" - customrest "github.com/classic-terra/core/custom/bank/client/rest" - customsim "github.com/classic-terra/core/custom/bank/simulation" - customtypes "github.com/classic-terra/core/custom/bank/types" + customcli "github.com/classic-terra/core/v2/custom/bank/client/cli" + customrest "github.com/classic-terra/core/v2/custom/bank/client/rest" + customsim "github.com/classic-terra/core/v2/custom/bank/simulation" + customtypes "github.com/classic-terra/core/v2/custom/bank/types" ) var ( diff --git a/custom/bank/simulation/genesis.go b/custom/bank/simulation/genesis.go index 843ed7a27..cba3f5156 100644 --- a/custom/bank/simulation/genesis.go +++ b/custom/bank/simulation/genesis.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/bank/simulation" "github.com/cosmos/cosmos-sdk/x/bank/types" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" ) // RandomGenesisBalances returns a slice of account balances. Each account has diff --git a/custom/crisis/module.go b/custom/crisis/module.go index a713d1926..05e466add 100644 --- a/custom/crisis/module.go +++ b/custom/crisis/module.go @@ -8,8 +8,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/crisis" "github.com/cosmos/cosmos-sdk/x/crisis/types" - customtypes "github.com/classic-terra/core/custom/crisis/types" - core "github.com/classic-terra/core/types" + customtypes "github.com/classic-terra/core/v2/custom/crisis/types" + core "github.com/classic-terra/core/v2/types" ) var _ module.AppModuleBasic = AppModuleBasic{} diff --git a/custom/distribution/module.go b/custom/distribution/module.go index b157445b1..f031fead0 100644 --- a/custom/distribution/module.go +++ b/custom/distribution/module.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/distribution" "github.com/cosmos/cosmos-sdk/x/distribution/types" - customtypes "github.com/classic-terra/core/custom/distribution/types" + customtypes "github.com/classic-terra/core/v2/custom/distribution/types" ) var _ module.AppModuleBasic = AppModuleBasic{} diff --git a/custom/distribution/types/codec.go b/custom/distribution/types/codec.go index 9dd3ed535..2c2aac2c1 100644 --- a/custom/distribution/types/codec.go +++ b/custom/distribution/types/codec.go @@ -5,7 +5,7 @@ import ( cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" "github.com/cosmos/cosmos-sdk/x/distribution/types" - govtypes "github.com/classic-terra/core/custom/gov/types" + govtypes "github.com/classic-terra/core/v2/custom/gov/types" ) // RegisterLegacyAminoCodec registers the necessary x/distribution interfaces and concrete types diff --git a/custom/evidence/module.go b/custom/evidence/module.go index 381b87d8a..45e026b2d 100644 --- a/custom/evidence/module.go +++ b/custom/evidence/module.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/evidence" "github.com/cosmos/cosmos-sdk/x/evidence/types" - customtypes "github.com/classic-terra/core/custom/evidence/types" + customtypes "github.com/classic-terra/core/v2/custom/evidence/types" ) var _ module.AppModuleBasic = AppModuleBasic{} diff --git a/custom/feegrant/module.go b/custom/feegrant/module.go index 4de3bbe85..c0323b335 100644 --- a/custom/feegrant/module.go +++ b/custom/feegrant/module.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" feegrant "github.com/cosmos/cosmos-sdk/x/feegrant/module" - customtypes "github.com/classic-terra/core/custom/feegrant/types" + customtypes "github.com/classic-terra/core/v2/custom/feegrant/types" ) var _ module.AppModuleBasic = AppModuleBasic{} diff --git a/custom/gov/legacy/v043/migrate.go b/custom/gov/legacy/v043/migrate.go index 4977c66bd..db541707a 100644 --- a/custom/gov/legacy/v043/migrate.go +++ b/custom/gov/legacy/v043/migrate.go @@ -17,7 +17,7 @@ import ( v038upgrade "github.com/cosmos/cosmos-sdk/x/upgrade/legacy/v038" v040upgrade "github.com/cosmos/cosmos-sdk/x/upgrade/types" - v04treasury "github.com/classic-terra/core/x/treasury/legacy/v04" + v04treasury "github.com/classic-terra/core/v2/x/treasury/legacy/v04" ) func migrateVoteOption(oldVoteOption v034gov.VoteOption) v043gov.VoteOption { diff --git a/custom/gov/module.go b/custom/gov/module.go index 754d6e984..dd475f315 100644 --- a/custom/gov/module.go +++ b/custom/gov/module.go @@ -9,8 +9,8 @@ import ( govclient "github.com/cosmos/cosmos-sdk/x/gov/client" "github.com/cosmos/cosmos-sdk/x/gov/types" - customtypes "github.com/classic-terra/core/custom/gov/types" - core "github.com/classic-terra/core/types" + customtypes "github.com/classic-terra/core/v2/custom/gov/types" + core "github.com/classic-terra/core/v2/types" ) var _ module.AppModuleBasic = AppModuleBasic{} diff --git a/custom/mint/module.go b/custom/mint/module.go index 122f1ff91..1a500f8a3 100644 --- a/custom/mint/module.go +++ b/custom/mint/module.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/mint" "github.com/cosmos/cosmos-sdk/x/mint/types" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" ) var _ module.AppModuleBasic = AppModuleBasic{} diff --git a/custom/params/module.go b/custom/params/module.go index 9aa47131b..d03dea6e9 100644 --- a/custom/params/module.go +++ b/custom/params/module.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/params" - customtypes "github.com/classic-terra/core/custom/params/types" + customtypes "github.com/classic-terra/core/v2/custom/params/types" ) var _ module.AppModuleBasic = AppModuleBasic{} diff --git a/custom/params/types/codec.go b/custom/params/types/codec.go index e8dfa6efb..16ac6d2d8 100644 --- a/custom/params/types/codec.go +++ b/custom/params/types/codec.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/x/params/types/proposal" - govtypes "github.com/classic-terra/core/custom/gov/types" + govtypes "github.com/classic-terra/core/v2/custom/gov/types" ) // RegisterLegacyAminoCodec registers all necessary param module types with a given LegacyAmino codec. diff --git a/custom/slashing/module.go b/custom/slashing/module.go index 0f19f9a40..4c6391f62 100644 --- a/custom/slashing/module.go +++ b/custom/slashing/module.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/slashing" "github.com/cosmos/cosmos-sdk/x/slashing/types" - customtypes "github.com/classic-terra/core/custom/slashing/types" + customtypes "github.com/classic-terra/core/v2/custom/slashing/types" ) var _ module.AppModuleBasic = AppModuleBasic{} diff --git a/custom/staking/module.go b/custom/staking/module.go index 9f5a62daa..7364ff12b 100644 --- a/custom/staking/module.go +++ b/custom/staking/module.go @@ -8,8 +8,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/staking" "github.com/cosmos/cosmos-sdk/x/staking/types" - customtypes "github.com/classic-terra/core/custom/staking/types" - core "github.com/classic-terra/core/types" + customtypes "github.com/classic-terra/core/v2/custom/staking/types" + core "github.com/classic-terra/core/v2/types" ) var _ module.AppModuleBasic = AppModuleBasic{} diff --git a/custom/upgrade/module.go b/custom/upgrade/module.go index ead70de64..5b6b77c94 100644 --- a/custom/upgrade/module.go +++ b/custom/upgrade/module.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/upgrade" - customtypes "github.com/classic-terra/core/custom/upgrade/types" + customtypes "github.com/classic-terra/core/v2/custom/upgrade/types" ) var _ module.AppModuleBasic = AppModuleBasic{} diff --git a/custom/upgrade/types/codec.go b/custom/upgrade/types/codec.go index d5c9cd74d..dd89300ea 100644 --- a/custom/upgrade/types/codec.go +++ b/custom/upgrade/types/codec.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/x/upgrade/types" - govtypes "github.com/classic-terra/core/custom/gov/types" + govtypes "github.com/classic-terra/core/v2/custom/gov/types" ) // RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec diff --git a/custom/wasm/client/cli/tx.go b/custom/wasm/client/cli/tx.go index 1da3b3d6d..d7ad2d09c 100644 --- a/custom/wasm/client/cli/tx.go +++ b/custom/wasm/client/cli/tx.go @@ -13,7 +13,7 @@ import ( "github.com/CosmWasm/wasmd/x/wasm/types" "github.com/CosmWasm/wasmd/x/wasm/client/cli" - feeutils "github.com/classic-terra/core/custom/auth/client/utils" + feeutils "github.com/classic-terra/core/v2/custom/auth/client/utils" ) const ( diff --git a/custom/wasm/keeper/handler_plugin.go b/custom/wasm/keeper/handler_plugin.go index db867211a..4f9250420 100644 --- a/custom/wasm/keeper/handler_plugin.go +++ b/custom/wasm/keeper/handler_plugin.go @@ -1,8 +1,8 @@ package keeper import ( - "github.com/classic-terra/core/custom/auth/ante" - treasurykeeper "github.com/classic-terra/core/x/treasury/keeper" + "github.com/classic-terra/core/v2/custom/auth/ante" + treasurykeeper "github.com/classic-terra/core/v2/x/treasury/keeper" wasmvmtypes "github.com/CosmWasm/wasmvm/types" "github.com/cosmos/cosmos-sdk/baseapp" diff --git a/custom/wasm/module.go b/custom/wasm/module.go index 4f4d95b15..c58b4eaed 100644 --- a/custom/wasm/module.go +++ b/custom/wasm/module.go @@ -10,7 +10,7 @@ import ( "github.com/CosmWasm/wasmd/x/wasm/simulation" "github.com/CosmWasm/wasmd/x/wasm/types" - customcli "github.com/classic-terra/core/custom/wasm/client/cli" + customcli "github.com/classic-terra/core/v2/custom/wasm/client/cli" ) var ( diff --git a/go.mod b/go.mod index b40323b24..cec881196 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ go 1.18 -module github.com/classic-terra/core +module github.com/classic-terra/core/v2 require ( github.com/CosmWasm/wasmd v0.30.0 - github.com/CosmWasm/wasmvm v1.1.1 + github.com/CosmWasm/wasmvm v1.1.2 github.com/cosmos/cosmos-sdk v0.45.14 github.com/cosmos/gogoproto v1.4.4 github.com/cosmos/ibc-go/v4 v4.3.1 diff --git a/go.sum b/go.sum index 5bbb580e1..423b92140 100644 --- a/go.sum +++ b/go.sum @@ -59,8 +59,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d h1:nalkkPQcITbvhmL4+C4cKA87NW0tfm3Kl9VXRoPywFg= github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d/go.mod h1:URdX5+vg25ts3aCh8H5IFZybJYKWhJHYMTnf+ULtoC4= -github.com/CosmWasm/wasmvm v1.1.1 h1:0xtdrmmsP9fibe+x42WcMkp5aQ738BICgcH3FNVLzm4= -github.com/CosmWasm/wasmvm v1.1.1/go.mod h1:ei0xpvomwSdONsxDuONzV7bL1jSET1M8brEx0FCXc+A= +github.com/CosmWasm/wasmvm v1.1.2 h1:uvMk0iIJcFFUvdElmV9KQeeqRx7ESspxUrPjfCGki3M= +github.com/CosmWasm/wasmvm v1.1.2/go.mod h1:ei0xpvomwSdONsxDuONzV7bL1jSET1M8brEx0FCXc+A= 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.4.1/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= diff --git a/proto/terra/feeshare/v1beta1/feeshare.proto b/proto/terra/feeshare/v1beta1/feeshare.proto index bf50198d3..f8a536509 100644 --- a/proto/terra/feeshare/v1beta1/feeshare.proto +++ b/proto/terra/feeshare/v1beta1/feeshare.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package terra.feeshare.v1beta1; -option go_package = "github.com/classic-terra/core/x/feeshare/types"; +option go_package = "github.com/classic-terra/core/v2/x/feeshare/types"; // FeeShare defines an instance that organizes fee distribution conditions for // the owner of a given smart contract diff --git a/proto/terra/feeshare/v1beta1/genesis.proto b/proto/terra/feeshare/v1beta1/genesis.proto index ebc523e54..2ae06fcff 100644 --- a/proto/terra/feeshare/v1beta1/genesis.proto +++ b/proto/terra/feeshare/v1beta1/genesis.proto @@ -4,7 +4,7 @@ package terra.feeshare.v1beta1; import "gogoproto/gogo.proto"; import "terra/feeshare/v1beta1/feeshare.proto"; -option go_package = "github.com/classic-terra/core/x/feeshare/types"; +option go_package = "github.com/classic-terra/core/v2/x/feeshare/types"; // Params defines the feeshare module params message Params { diff --git a/proto/terra/feeshare/v1beta1/query.proto b/proto/terra/feeshare/v1beta1/query.proto index 989d2f164..42bbf9d77 100644 --- a/proto/terra/feeshare/v1beta1/query.proto +++ b/proto/terra/feeshare/v1beta1/query.proto @@ -7,7 +7,7 @@ import "terra/feeshare/v1beta1/feeshare.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/classic-terra/core/x/feeshare/types"; +option go_package = "github.com/classic-terra/core/v2/x/feeshare/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/terra/feeshare/v1beta1/tx.proto b/proto/terra/feeshare/v1beta1/tx.proto index 2b113d3d2..dc3fcc321 100644 --- a/proto/terra/feeshare/v1beta1/tx.proto +++ b/proto/terra/feeshare/v1beta1/tx.proto @@ -4,7 +4,7 @@ package terra.feeshare.v1beta1; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -option go_package = "github.com/classic-terra/core/x/feeshare/types"; +option go_package = "github.com/classic-terra/core/v2/x/feeshare/types"; // Msg defines the fees Msg service. service Msg { diff --git a/proto/terra/market/v1beta1/genesis.proto b/proto/terra/market/v1beta1/genesis.proto index 063130275..23a47d4f8 100644 --- a/proto/terra/market/v1beta1/genesis.proto +++ b/proto/terra/market/v1beta1/genesis.proto @@ -4,7 +4,7 @@ package terra.market.v1beta1; import "gogoproto/gogo.proto"; import "terra/market/v1beta1/market.proto"; -option go_package = "github.com/classic-terra/core/x/market/types"; +option go_package = "github.com/classic-terra/core/v2/x/market/types"; // GenesisState defines the market module's genesis state. message GenesisState { diff --git a/proto/terra/market/v1beta1/market.proto b/proto/terra/market/v1beta1/market.proto index cbd5fea6a..756b89197 100644 --- a/proto/terra/market/v1beta1/market.proto +++ b/proto/terra/market/v1beta1/market.proto @@ -3,7 +3,7 @@ package terra.market.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/classic-terra/core/x/market/types"; +option go_package = "github.com/classic-terra/core/v2/x/market/types"; // Params defines the parameters for the market module. message Params { diff --git a/proto/terra/market/v1beta1/query.proto b/proto/terra/market/v1beta1/query.proto index 1ef030314..9c72d1c6f 100644 --- a/proto/terra/market/v1beta1/query.proto +++ b/proto/terra/market/v1beta1/query.proto @@ -6,7 +6,7 @@ import "google/api/annotations.proto"; import "terra/market/v1beta1/market.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/classic-terra/core/x/market/types"; +option go_package = "github.com/classic-terra/core/v2/x/market/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/terra/market/v1beta1/tx.proto b/proto/terra/market/v1beta1/tx.proto index bed653c37..7451f10b6 100644 --- a/proto/terra/market/v1beta1/tx.proto +++ b/proto/terra/market/v1beta1/tx.proto @@ -4,7 +4,7 @@ package terra.market.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/classic-terra/core/x/market/types"; +option go_package = "github.com/classic-terra/core/v2/x/market/types"; // Msg defines the market Msg service. service Msg { diff --git a/proto/terra/oracle/v1beta1/genesis.proto b/proto/terra/oracle/v1beta1/genesis.proto index 5abc154e1..b1ad95e79 100644 --- a/proto/terra/oracle/v1beta1/genesis.proto +++ b/proto/terra/oracle/v1beta1/genesis.proto @@ -4,7 +4,7 @@ package terra.oracle.v1beta1; import "gogoproto/gogo.proto"; import "terra/oracle/v1beta1/oracle.proto"; -option go_package = "github.com/classic-terra/core/x/oracle/types"; +option go_package = "github.com/classic-terra/core/v2/x/oracle/types"; // GenesisState defines the oracle module's genesis state. message GenesisState { diff --git a/proto/terra/oracle/v1beta1/oracle.proto b/proto/terra/oracle/v1beta1/oracle.proto index dab71a2e2..c61ad663d 100644 --- a/proto/terra/oracle/v1beta1/oracle.proto +++ b/proto/terra/oracle/v1beta1/oracle.proto @@ -3,7 +3,7 @@ package terra.oracle.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/classic-terra/core/x/oracle/types"; +option go_package = "github.com/classic-terra/core/v2/x/oracle/types"; // Params defines the parameters for the oracle module. message Params { diff --git a/proto/terra/oracle/v1beta1/query.proto b/proto/terra/oracle/v1beta1/query.proto index 72473b884..3372055d3 100644 --- a/proto/terra/oracle/v1beta1/query.proto +++ b/proto/terra/oracle/v1beta1/query.proto @@ -6,7 +6,7 @@ import "google/api/annotations.proto"; import "terra/oracle/v1beta1/oracle.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/classic-terra/core/x/oracle/types"; +option go_package = "github.com/classic-terra/core/v2/x/oracle/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/terra/oracle/v1beta1/tx.proto b/proto/terra/oracle/v1beta1/tx.proto index e9c0d4eec..c23d3626f 100644 --- a/proto/terra/oracle/v1beta1/tx.proto +++ b/proto/terra/oracle/v1beta1/tx.proto @@ -3,7 +3,7 @@ package terra.oracle.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/classic-terra/core/x/oracle/types"; +option go_package = "github.com/classic-terra/core/v2/x/oracle/types"; // Msg defines the oracle Msg service. service Msg { diff --git a/proto/terra/treasury/v1beta1/genesis.proto b/proto/terra/treasury/v1beta1/genesis.proto index b0848eebb..e1eca82ee 100644 --- a/proto/terra/treasury/v1beta1/genesis.proto +++ b/proto/terra/treasury/v1beta1/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "terra/treasury/v1beta1/treasury.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/classic-terra/core/x/treasury/types"; +option go_package = "github.com/classic-terra/core/v2/x/treasury/types"; // GenesisState defines the oracle module's genesis state. message GenesisState { diff --git a/proto/terra/treasury/v1beta1/gov.proto b/proto/terra/treasury/v1beta1/gov.proto index ee2bbd86f..ede9bfcb4 100644 --- a/proto/terra/treasury/v1beta1/gov.proto +++ b/proto/terra/treasury/v1beta1/gov.proto @@ -3,7 +3,7 @@ package terra.treasury.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/classic-terra/core/x/treasury/types"; +option go_package = "github.com/classic-terra/core/v2/x/treasury/types"; // proposal request structure for adding burn tax exemption address(es) message AddBurnTaxExemptionAddressProposal { diff --git a/proto/terra/treasury/v1beta1/query.proto b/proto/terra/treasury/v1beta1/query.proto index 88a0abfff..3096dd6a3 100644 --- a/proto/terra/treasury/v1beta1/query.proto +++ b/proto/terra/treasury/v1beta1/query.proto @@ -7,7 +7,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "terra/treasury/v1beta1/treasury.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/classic-terra/core/x/treasury/types"; +option go_package = "github.com/classic-terra/core/v2/x/treasury/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/terra/treasury/v1beta1/treasury.proto b/proto/terra/treasury/v1beta1/treasury.proto index 4b7d75c26..56fc6c4a9 100644 --- a/proto/terra/treasury/v1beta1/treasury.proto +++ b/proto/terra/treasury/v1beta1/treasury.proto @@ -4,7 +4,7 @@ package terra.treasury.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/classic-terra/core/x/treasury/types"; +option go_package = "github.com/classic-terra/core/v2/x/treasury/types"; // Params defines the parameters for the oracle module. message Params { diff --git a/proto/terra/tx/v1beta1/service.proto b/proto/terra/tx/v1beta1/service.proto index f40b04d33..d046d0984 100644 --- a/proto/terra/tx/v1beta1/service.proto +++ b/proto/terra/tx/v1beta1/service.proto @@ -7,7 +7,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "cosmos/tx/v1beta1/tx.proto"; option (gogoproto.goproto_registration) = true; -option go_package = "github.com/classic-terra/core/custom/auth/tx"; +option go_package = "github.com/classic-terra/core/v2/custom/auth/tx"; // Service defines a gRPC service for interacting with transactions. service Service { diff --git a/proto/terra/vesting/v1beta1/vesting.proto b/proto/terra/vesting/v1beta1/vesting.proto index 86247616a..c837a6ce6 100644 --- a/proto/terra/vesting/v1beta1/vesting.proto +++ b/proto/terra/vesting/v1beta1/vesting.proto @@ -4,7 +4,7 @@ package terra.vesting.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/vesting/v1beta1/vesting.proto"; -option go_package = "github.com/classic-terra/core/x/vesting/types"; +option go_package = "github.com/classic-terra/core/v2/x/vesting/types"; // LazyGradedVestingAccount implements the LazyGradedVestingAccount interface. It vests all // coins according to a predefined schedule. diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index 9cf7a2e88..9c78f8760 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -19,5 +19,5 @@ done cd .. # move proto files to the right places -cp -r github.com/classic-terra/core/* ./ +cp -r github.com/classic-terra/core/v2/* ./ rm -rf github.com \ No newline at end of file diff --git a/types/alias.go b/types/alias.go index 563cabd35..d9202b54f 100644 --- a/types/alias.go +++ b/types/alias.go @@ -1,14 +1,14 @@ // Package types nolint // autogenerated code using github.com/rigelrozanski/multitool // aliases generated for the following subdirectories: -// ALIASGEN: github.com/classic-terra/core/types/assets/ -// ALIASGEN: github.com/classic-terra/core/types/util/ +// ALIASGEN: github.com/classic-terra/core/v2/types/assets/ +// ALIASGEN: github.com/classic-terra/core/v2/types/util/ package types import ( - "github.com/classic-terra/core/types/assets" - "github.com/classic-terra/core/types/fork" - "github.com/classic-terra/core/types/util" + "github.com/classic-terra/core/v2/types/assets" + "github.com/classic-terra/core/v2/types/fork" + "github.com/classic-terra/core/v2/types/util" ) const ( diff --git a/wasmbinding/bindings/query.go b/wasmbinding/bindings/query.go index c7e6debab..467265eed 100644 --- a/wasmbinding/bindings/query.go +++ b/wasmbinding/bindings/query.go @@ -2,8 +2,8 @@ package bindings import ( wasmvmtypes "github.com/CosmWasm/wasmvm/types" - markettypes "github.com/classic-terra/core/x/market/types" - treasurytypes "github.com/classic-terra/core/x/treasury/types" + markettypes "github.com/classic-terra/core/v2/x/market/types" + treasurytypes "github.com/classic-terra/core/v2/x/treasury/types" ) // ExchangeRateQueryParams query request params for exchange rates diff --git a/wasmbinding/message_plugin.go b/wasmbinding/message_plugin.go index 54b0de5da..6a3fc861d 100644 --- a/wasmbinding/message_plugin.go +++ b/wasmbinding/message_plugin.go @@ -10,9 +10,9 @@ import ( // bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - "github.com/classic-terra/core/wasmbinding/bindings" - marketkeeper "github.com/classic-terra/core/x/market/keeper" - markettypes "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/wasmbinding/bindings" + marketkeeper "github.com/classic-terra/core/v2/x/market/keeper" + markettypes "github.com/classic-terra/core/v2/x/market/types" ) // CustomMessageDecorator returns decorator for custom CosmWasm bindings messages diff --git a/wasmbinding/queries.go b/wasmbinding/queries.go index bdaee0ee9..0fb6580c6 100644 --- a/wasmbinding/queries.go +++ b/wasmbinding/queries.go @@ -5,10 +5,10 @@ import ( // sdk "github.com/cosmos/cosmos-sdk/types" - // "github.com/classic-terra/core/wasmbinding/bindings" - marketkeeper "github.com/classic-terra/core/x/market/keeper" - oraclekeeper "github.com/classic-terra/core/x/oracle/keeper" - treasurykeeper "github.com/classic-terra/core/x/treasury/keeper" + // "github.com/classic-terra/core/v2/wasmbinding/bindings" + marketkeeper "github.com/classic-terra/core/v2/x/market/keeper" + oraclekeeper "github.com/classic-terra/core/v2/x/oracle/keeper" + treasurykeeper "github.com/classic-terra/core/v2/x/treasury/keeper" ) type QueryPlugin struct { diff --git a/wasmbinding/query_plugin.go b/wasmbinding/query_plugin.go index 46bbc706b..3d8ac566b 100644 --- a/wasmbinding/query_plugin.go +++ b/wasmbinding/query_plugin.go @@ -7,9 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/classic-terra/core/wasmbinding/bindings" - marketkeeper "github.com/classic-terra/core/x/market/keeper" - markettypes "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/wasmbinding/bindings" + marketkeeper "github.com/classic-terra/core/v2/x/market/keeper" + markettypes "github.com/classic-terra/core/v2/x/market/types" ) // TaxCapQueryResponse - tax cap query response for wasm module diff --git a/wasmbinding/test/custom_message_test.go b/wasmbinding/test/custom_message_test.go index f15989cec..24088f679 100644 --- a/wasmbinding/test/custom_message_test.go +++ b/wasmbinding/test/custom_message_test.go @@ -7,12 +7,12 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmvmtypes "github.com/CosmWasm/wasmvm/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/wasmbinding/bindings" - markettypes "github.com/classic-terra/core/x/market/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/wasmbinding/bindings" + markettypes "github.com/classic-terra/core/v2/x/market/types" ) -// go test -v -run ^TestSwap$ github.com/classic-terra/core/wasmbinding/test +// go test -v -run ^TestSwap$ github.com/classic-terra/core/v2/wasmbinding/test // oracle rate: 1 uluna = 1.7 usdr // 1000 uluna from trader goes to contract // 1666 usdr (after 2% tax) is swapped into which goes back to contract @@ -59,7 +59,7 @@ func (s *WasmTestSuite) Swap(contractDir string, executeFunc func(contract sdk.A s.Require().Equal(contractBeforeSwap.AmountOf(core.MicroSDRDenom).Add(expectedSwappedSDR.TruncateInt()), contractAfterSwap.AmountOf(core.MicroSDRDenom)) } -// go test -v -run ^TestSwapSend$ github.com/classic-terra/core/wasmbinding/test +// go test -v -run ^TestSwapSend$ github.com/classic-terra/core/v2/wasmbinding/test // oracle rate: 1 uluna = 1.7 usdr // 1000 uluna from trader goes to contract // 1666 usdr (after 2% tax) is swapped into which goes back to contract diff --git a/wasmbinding/test/custom_query_test.go b/wasmbinding/test/custom_query_test.go index 8c87cc196..545671eae 100644 --- a/wasmbinding/test/custom_query_test.go +++ b/wasmbinding/test/custom_query_test.go @@ -5,14 +5,14 @@ import ( wasmvmtypes "github.com/CosmWasm/wasmvm/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/wasmbinding/bindings" - markettypes "github.com/classic-terra/core/x/market/types" - treasurytypes "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/wasmbinding/bindings" + markettypes "github.com/classic-terra/core/v2/x/market/types" + treasurytypes "github.com/classic-terra/core/v2/x/treasury/types" sdk "github.com/cosmos/cosmos-sdk/types" ) -// go test -v -run ^TestQuerySwap$ github.com/classic-terra/core/wasmbinding/test +// go test -v -run ^TestQuerySwap$ github.com/classic-terra/core/v2/wasmbinding/test // oracle rate: 1 uluna = 1.7 usdr // 1000 uluna from trader goes to contract // 1666 usdr (after 2% tax) is swapped into @@ -51,7 +51,7 @@ func (s *WasmTestSuite) QuerySwap(contractDir string, queryFunc func(contract sd s.Require().Equal(expectedSwappedSDR.TruncateInt().String(), resp.Receive.Amount) } -// go test -v -run ^TestQueryExchangeRates$ github.com/classic-terra/core/wasmbinding/test +// go test -v -run ^TestQueryExchangeRates$ github.com/classic-terra/core/v2/wasmbinding/test func (s *WasmTestSuite) QueryExchangeRates(contractDir string, queryFunc func(contract sdk.AccAddress, request bindings.TerraQuery, response interface{})) { s.SetupTest() actor := s.RandomAccountAddress() @@ -79,7 +79,7 @@ func (s *WasmTestSuite) QueryExchangeRates(contractDir string, queryFunc func(co s.Require().Equal(lunaPriceInSDR, sdk.MustNewDecFromStr(resp.ExchangeRates[0].ExchangeRate)) } -// go test -v -run ^TestQueryTaxRate$ github.com/classic-terra/core/wasmbinding/test +// go test -v -run ^TestQueryTaxRate$ github.com/classic-terra/core/v2/wasmbinding/test func (s *WasmTestSuite) QueryTaxRate(contractDir string, queryFunc func(contract sdk.AccAddress, request bindings.TerraQuery, response interface{})) { s.SetupTest() actor := s.RandomAccountAddress() @@ -101,7 +101,7 @@ func (s *WasmTestSuite) QueryTaxRate(contractDir string, queryFunc func(contract s.Require().Equal(treasurytypes.DefaultTaxRate, sdk.MustNewDecFromStr(resp.Rate)) } -// go test -v -run ^TestQueryTaxCap$ github.com/classic-terra/core/wasmbinding/test +// go test -v -run ^TestQueryTaxCap$ github.com/classic-terra/core/v2/wasmbinding/test func (s *WasmTestSuite) QueryTaxCap(contractDir string, queryFunc func(contract sdk.AccAddress, request bindings.TerraQuery, response interface{})) { s.SetupTest() actor := s.RandomAccountAddress() diff --git a/wasmbinding/test/custom_test.go b/wasmbinding/test/custom_test.go index 88e51d6ae..100ac25bf 100644 --- a/wasmbinding/test/custom_test.go +++ b/wasmbinding/test/custom_test.go @@ -1,7 +1,7 @@ package wasmbinding_test import ( - "github.com/classic-terra/core/wasmbinding/bindings" + "github.com/classic-terra/core/v2/wasmbinding/bindings" sdk "github.com/cosmos/cosmos-sdk/types" ) @@ -10,7 +10,7 @@ const ( TERRA_RENOVATED_BINDINGS_DIR = "../testdata/old/bindings_tester.wasm" ) -// go test -v -run ^TestWasmTestSuite/TestBindingsAll$ github.com/classic-terra/core/wasmbinding/test +// go test -v -run ^TestWasmTestSuite/TestBindingsAll$ github.com/classic-terra/core/v2/wasmbinding/test func (s *WasmTestSuite) TestBindingsAll() { cases := []struct { name string diff --git a/wasmbinding/test/helpers_test.go b/wasmbinding/test/helpers_test.go index b8465ee96..5c4acada5 100644 --- a/wasmbinding/test/helpers_test.go +++ b/wasmbinding/test/helpers_test.go @@ -6,7 +6,7 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - apptesting "github.com/classic-terra/core/app/testing" + apptesting "github.com/classic-terra/core/v2/app/testing" "github.com/stretchr/testify/suite" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/wasmbinding/test/tax_test.go b/wasmbinding/test/tax_test.go index 45e2b280e..ed3135cd6 100644 --- a/wasmbinding/test/tax_test.go +++ b/wasmbinding/test/tax_test.go @@ -5,11 +5,11 @@ import ( wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmvmtypes "github.com/CosmWasm/wasmvm/types" - customante "github.com/classic-terra/core/custom/auth/ante" + customante "github.com/classic-terra/core/v2/custom/auth/ante" sdk "github.com/cosmos/cosmos-sdk/types" ) -// go test -v -run ^TestWasmTestSuite/TestTax$ github.com/classic-terra/core/wasmbinding/test +// go test -v -run ^TestWasmTestSuite/TestTax$ github.com/classic-terra/core/v2/wasmbinding/test func (s *WasmTestSuite) TestTax() { s.SetupTest() taxRate := sdk.NewDecWithPrec(11, 2) // 11% diff --git a/wasmbinding/wasm.go b/wasmbinding/wasm.go index a6b3e183e..07f8061a4 100644 --- a/wasmbinding/wasm.go +++ b/wasmbinding/wasm.go @@ -7,9 +7,9 @@ import ( // "github.com/cosmos/cosmos-sdk/baseapp" // "github.com/cosmos/cosmos-sdk/codec" - marketkeeper "github.com/classic-terra/core/x/market/keeper" - oraclekeeper "github.com/classic-terra/core/x/oracle/keeper" - treasurykeeper "github.com/classic-terra/core/x/treasury/keeper" + marketkeeper "github.com/classic-terra/core/v2/x/market/keeper" + oraclekeeper "github.com/classic-terra/core/v2/x/oracle/keeper" + treasurykeeper "github.com/classic-terra/core/v2/x/treasury/keeper" // tokenfactorykeeper "github.com/osmosis-labs/osmosis/v15/x/tokenfactory/keeper" ) diff --git a/x/feeshare/ante/ante.go b/x/feeshare/ante/ante.go index a9624994a..3209a25f8 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/classic-terra/core/x/feeshare/types" + feeshare "github.com/classic-terra/core/v2/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 8973da49e..4c9794c17 100644 --- a/x/feeshare/ante/ante_test.go +++ b/x/feeshare/ante/ante_test.go @@ -9,9 +9,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/tx/signing" "github.com/stretchr/testify/suite" - terraapp "github.com/classic-terra/core/app" - appparams "github.com/classic-terra/core/app/params" - ante "github.com/classic-terra/core/x/feeshare/ante" + terraapp "github.com/classic-terra/core/v2/app" + appparams "github.com/classic-terra/core/v2/app/params" + ante "github.com/classic-terra/core/v2/x/feeshare/ante" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" "github.com/cosmos/cosmos-sdk/testutil/testdata" @@ -27,8 +27,8 @@ import ( "github.com/CosmWasm/wasmd/x/wasm" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - feesharetypes "github.com/classic-terra/core/x/feeshare/types" - treasurytypes "github.com/classic-terra/core/x/treasury/types" + feesharetypes "github.com/classic-terra/core/v2/x/feeshare/types" + treasurytypes "github.com/classic-terra/core/v2/x/treasury/types" ) var emptyWasmOpts []wasm.Option diff --git a/x/feeshare/ante/expected_keepers.go b/x/feeshare/ante/expected_keepers.go index b1fb33c4f..6c1dcf30e 100644 --- a/x/feeshare/ante/expected_keepers.go +++ b/x/feeshare/ante/expected_keepers.go @@ -3,7 +3,7 @@ package ante // Used for the ante handler so we can properly send 50% of fees to dAPP developers via x/feeshare module import ( - revtypes "github.com/classic-terra/core/x/feeshare/types" + revtypes "github.com/classic-terra/core/v2/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 2e9760665..73b35d99c 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/classic-terra/core/x/feeshare/types" + "github.com/classic-terra/core/v2/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 c6cd7d5e3..799bf76fb 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/classic-terra/core/x/feeshare/types" + "github.com/classic-terra/core/v2/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 6bd568ed3..ea7ef84bb 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/classic-terra/core/x/feeshare/keeper" - "github.com/classic-terra/core/x/feeshare/types" + "github.com/classic-terra/core/v2/x/feeshare/keeper" + "github.com/classic-terra/core/v2/x/feeshare/types" ) // InitGenesis import module genesis diff --git a/x/feeshare/genesis_test.go b/x/feeshare/genesis_test.go index 564876361..79865676a 100644 --- a/x/feeshare/genesis_test.go +++ b/x/feeshare/genesis_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/suite" - "github.com/classic-terra/core/app" - appparams "github.com/classic-terra/core/app/params" - "github.com/classic-terra/core/x/feeshare" - "github.com/classic-terra/core/x/feeshare/types" + "github.com/classic-terra/core/v2/app" + appparams "github.com/classic-terra/core/v2/app/params" + "github.com/classic-terra/core/v2/x/feeshare" + "github.com/classic-terra/core/v2/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 15a2b9c67..ff8a8a1b1 100644 --- a/x/feeshare/integration_test.go +++ b/x/feeshare/integration_test.go @@ -8,7 +8,7 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" dbm "github.com/tendermint/tm-db" - app "github.com/classic-terra/core/app" + app "github.com/classic-terra/core/v2/app" "github.com/cosmos/cosmos-sdk/simapp" "github.com/cosmos/cosmos-sdk/x/mint/types" diff --git a/x/feeshare/keeper/feeshare.go b/x/feeshare/keeper/feeshare.go index 473056c49..54654ca81 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/classic-terra/core/x/feeshare/types" + "github.com/classic-terra/core/v2/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 99a25395d..6f42e4b66 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/classic-terra/core/x/feeshare/types" + "github.com/classic-terra/core/v2/x/feeshare/types" ) var _ types.QueryServer = Querier{} diff --git a/x/feeshare/keeper/keeper.go b/x/feeshare/keeper/keeper.go index 6cd739328..a490b3178 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/classic-terra/core/x/feeshare/types" + revtypes "github.com/classic-terra/core/v2/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 c25dc60d3..cdbe848bb 100644 --- a/x/feeshare/keeper/keeper_test.go +++ b/x/feeshare/keeper/keeper_test.go @@ -11,11 +11,11 @@ package keeper_test // tmrand "github.com/tendermint/tendermint/libs/rand" // tmproto "github.com/tendermint/tendermint/proto/tendermint/types" -// "github.com/classic-terra/core/app" -// apphelpers "github.com/classic-terra/core/app/helpers" -// "github.com/classic-terra/core/x/feeshare/keeper" -// "github.com/classic-terra/core/x/feeshare/types" -// wasmtypes "github.com/classic-terra/core/x/wasm/types" +// "github.com/classic-terra/core/v2/app" +// apphelpers "github.com/classic-terra/core/v2/app/helpers" +// "github.com/classic-terra/core/v2/x/feeshare/keeper" +// "github.com/classic-terra/core/v2/x/feeshare/types" +// wasmtypes "github.com/classic-terra/core/v2/x/wasm/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 e49155f13..7cf41768f 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/classic-terra/core/x/feeshare/types" + "github.com/classic-terra/core/v2/x/feeshare/types" ) var _ types.MsgServer = &Keeper{} diff --git a/x/feeshare/keeper/params.go b/x/feeshare/keeper/params.go index ceec95194..156ce455f 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/classic-terra/core/x/feeshare/types" + "github.com/classic-terra/core/v2/x/feeshare/types" ) // GetParams returns the total set of fees parameters. diff --git a/x/feeshare/module.go b/x/feeshare/module.go index 32c292ce4..e2f4f9fa9 100644 --- a/x/feeshare/module.go +++ b/x/feeshare/module.go @@ -18,10 +18,10 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/classic-terra/core/x/feeshare/client/cli" - "github.com/classic-terra/core/x/feeshare/keeper" - "github.com/classic-terra/core/x/feeshare/simulation" - "github.com/classic-terra/core/x/feeshare/types" + "github.com/classic-terra/core/v2/x/feeshare/client/cli" + "github.com/classic-terra/core/v2/x/feeshare/keeper" + "github.com/classic-terra/core/v2/x/feeshare/simulation" + "github.com/classic-terra/core/v2/x/feeshare/types" ) // type check to ensure the interface is properly implemented diff --git a/x/feeshare/simulation/genesis.go b/x/feeshare/simulation/genesis.go index 0e016c61b..35027d258 100644 --- a/x/feeshare/simulation/genesis.go +++ b/x/feeshare/simulation/genesis.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/classic-terra/core/x/feeshare/types" + "github.com/classic-terra/core/v2/x/feeshare/types" ) // Simulation parameter constants diff --git a/x/feeshare/simulation/params.go b/x/feeshare/simulation/params.go index 9e38e4eaa..704323a12 100644 --- a/x/feeshare/simulation/params.go +++ b/x/feeshare/simulation/params.go @@ -7,7 +7,7 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/classic-terra/core/x/feeshare/types" + "github.com/classic-terra/core/v2/x/feeshare/types" ) // ParamChanges defines the parameters that can be modified by param change proposals diff --git a/x/feeshare/types/feeshare.pb.go b/x/feeshare/types/feeshare.pb.go index 7215fbe9b..537f4c7dd 100644 --- a/x/feeshare/types/feeshare.pb.go +++ b/x/feeshare/types/feeshare.pb.go @@ -5,19 +5,16 @@ package types import ( fmt "fmt" + proto "github.com/gogo/protobuf/proto" io "io" math "math" math_bits "math/bits" - - proto "github.com/gogo/protobuf/proto" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -45,11 +42,9 @@ func (*FeeShare) ProtoMessage() {} func (*FeeShare) Descriptor() ([]byte, []int) { return fileDescriptor_2ad55025c97efc46, []int{0} } - func (m *FeeShare) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *FeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_FeeShare.Marshal(b, m, deterministic) @@ -62,15 +57,12 @@ func (m *FeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *FeeShare) XXX_Merge(src proto.Message) { xxx_messageInfo_FeeShare.Merge(m, src) } - func (m *FeeShare) XXX_Size() int { return m.Size() } - func (m *FeeShare) XXX_DiscardUnknown() { xxx_messageInfo_FeeShare.DiscardUnknown(m) } @@ -107,7 +99,7 @@ func init() { } var fileDescriptor_2ad55025c97efc46 = []byte{ - // 217 bytes of a gzipped FileDescriptorProto + // 219 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2d, 0x49, 0x2d, 0x2a, 0x4a, 0xd4, 0x4f, 0x4b, 0x4d, 0x2d, 0xce, 0x48, 0x2c, 0x4a, 0xd5, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0x84, 0x0b, 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x89, 0x81, 0x95, 0xe9, 0xc1, @@ -116,12 +108,12 @@ var fileDescriptor_2ad55025c97efc46 = []byte{ 0xc5, 0xc5, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0xfc, 0x30, 0x71, 0x47, 0x88, 0x30, 0x48, 0x69, 0x4a, 0x6a, 0x41, 0x4e, 0x7e, 0x65, 0x6a, 0x11, 0x5c, 0x29, 0x13, 0x44, 0x29, 0x4c, 0x1c, 0xa6, 0x54, 0x97, 0x4b, 0xa8, 0x3c, 0xb3, 0x24, 0x23, 0xa5, 0x28, 0xb1, 0x1c, 0x49, 0x31, 0x33, - 0x58, 0xb1, 0x20, 0x42, 0x06, 0xaa, 0xdc, 0xc9, 0xed, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, + 0x58, 0xb1, 0x20, 0x42, 0x06, 0xaa, 0xdc, 0xc9, 0xfb, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, - 0xe5, 0x18, 0xa2, 0x74, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0xc1, - 0xde, 0xd1, 0xcd, 0xcd, 0xcf, 0x4b, 0xad, 0xd4, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0xaf, 0x40, 0x04, - 0x41, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0xe3, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xeb, 0xe8, 0x6a, 0xf5, 0x21, 0x01, 0x00, 0x00, + 0xe5, 0x18, 0xa2, 0x0c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x93, + 0x73, 0x12, 0x8b, 0x8b, 0x33, 0x93, 0x75, 0x21, 0xbe, 0x4f, 0xce, 0x07, 0xf9, 0xdc, 0x48, 0xbf, + 0x02, 0x11, 0x0e, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0xdf, 0x1b, 0x03, 0x02, 0x00, + 0x00, 0xff, 0xff, 0x86, 0x31, 0x5e, 0xef, 0x26, 0x01, 0x00, 0x00, } func (m *FeeShare) Marshal() (dAtA []byte, err error) { @@ -179,7 +171,6 @@ func encodeVarintFeeshare(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *FeeShare) Size() (n int) { if m == nil { return 0 @@ -204,11 +195,9 @@ func (m *FeeShare) Size() (n int) { func sovFeeshare(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozFeeshare(x uint64) (n int) { return sovFeeshare(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *FeeShare) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -355,7 +344,6 @@ func (m *FeeShare) Unmarshal(dAtA []byte) error { } return nil } - func skipFeeshare(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/feeshare/types/genesis.pb.go b/x/feeshare/types/genesis.pb.go index a2a5c2c25..532773e6b 100644 --- a/x/feeshare/types/genesis.pb.go +++ b/x/feeshare/types/genesis.pb.go @@ -5,21 +5,18 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -27,28 +24,32 @@ var ( // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// GenesisState defines the module's genesis state. -type GenesisState struct { - // params are the feeshare module parameters - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` - // FeeShare is a slice of active registered contracts for fee distribution - FeeShare []FeeShare `protobuf:"bytes,2,rep,name=fee_share,json=feeShare,proto3" json:"fee_share"` +// Params defines the feeshare module params +type Params struct { + // enable_feeshare defines a parameter to enable the feeshare module + EnableFeeShare bool `protobuf:"varint,1,opt,name=enable_fee_share,json=enableFeeShare,proto3" json:"enable_fee_share,omitempty"` + // developer_shares defines the proportion of the transaction fees to be + // distributed to the registered contract owner + DeveloperShares github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=developer_shares,json=developerShares,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"developer_shares"` + // allowed_denoms defines the list of denoms that are allowed to be paid to + // the contract withdraw addresses. If said denom is not in the list, the fees + // will ONLY be sent to the community pool. + // If this list is empty, all denoms are allowed. + AllowedDenoms []string `protobuf:"bytes,3,rep,name=allowed_denoms,json=allowedDenoms,proto3" json:"allowed_denoms,omitempty"` } -func (m *GenesisState) Reset() { *m = GenesisState{} } -func (m *GenesisState) String() string { return proto.CompactTextString(m) } -func (*GenesisState) ProtoMessage() {} -func (*GenesisState) Descriptor() ([]byte, []int) { +func (m *Params) Reset() { *m = Params{} } +func (m *Params) String() string { return proto.CompactTextString(m) } +func (*Params) ProtoMessage() {} +func (*Params) Descriptor() ([]byte, []int) { return fileDescriptor_0b6781086762d348, []int{0} } - -func (m *GenesisState) XXX_Unmarshal(b []byte) error { +func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - -func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) + return xxx_messageInfo_Params.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -58,63 +59,52 @@ func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } - -func (m *GenesisState) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenesisState.Merge(m, src) +func (m *Params) XXX_Merge(src proto.Message) { + xxx_messageInfo_Params.Merge(m, src) } - -func (m *GenesisState) XXX_Size() int { +func (m *Params) XXX_Size() int { return m.Size() } - -func (m *GenesisState) XXX_DiscardUnknown() { - xxx_messageInfo_GenesisState.DiscardUnknown(m) +func (m *Params) XXX_DiscardUnknown() { + xxx_messageInfo_Params.DiscardUnknown(m) } -var xxx_messageInfo_GenesisState proto.InternalMessageInfo +var xxx_messageInfo_Params proto.InternalMessageInfo -func (m *GenesisState) GetParams() Params { +func (m *Params) GetEnableFeeShare() bool { if m != nil { - return m.Params + return m.EnableFeeShare } - return Params{} + return false } -func (m *GenesisState) GetFeeShare() []FeeShare { +func (m *Params) GetAllowedDenoms() []string { if m != nil { - return m.FeeShare + return m.AllowedDenoms } return nil } -// Params defines the feeshare module params -type Params struct { - // enable_feeshare defines a parameter to enable the feeshare module - EnableFeeShare bool `protobuf:"varint,1,opt,name=enable_fee_share,json=enableFeeShare,proto3" json:"enable_fee_share,omitempty"` - // developer_shares defines the proportion of the transaction fees to be - // distributed to the registered contract owner - DeveloperShares github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=developer_shares,json=developerShares,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"developer_shares"` - // allowed_denoms defines the list of denoms that are allowed to be paid to - // the contract withdraw addresses. If said denom is not in the list, the fees - // will ONLY be sent to the community pool. - // If this list is empty, all denoms are allowed. - AllowedDenoms []string `protobuf:"bytes,3,rep,name=allowed_denoms,json=allowedDenoms,proto3" json:"allowed_denoms,omitempty"` +// GenesisState defines the module's genesis state. +type GenesisState struct { + // params are the feeshare module parameters + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` + // FeeShare is a slice of active registered contracts for fee distribution + FeeShare []FeeShare `protobuf:"bytes,2,rep,name=fee_share,json=feeShare,proto3" json:"fee_share"` } -func (m *Params) Reset() { *m = Params{} } -func (m *Params) String() string { return proto.CompactTextString(m) } -func (*Params) ProtoMessage() {} -func (*Params) Descriptor() ([]byte, []int) { +func (m *GenesisState) Reset() { *m = GenesisState{} } +func (m *GenesisState) String() string { return proto.CompactTextString(m) } +func (*GenesisState) ProtoMessage() {} +func (*GenesisState) Descriptor() ([]byte, []int) { return fileDescriptor_0b6781086762d348, []int{1} } - -func (m *Params) XXX_Unmarshal(b []byte) error { +func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - -func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Params.Marshal(b, m, deterministic) + return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -124,38 +114,35 @@ func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - -func (m *Params) XXX_Merge(src proto.Message) { - xxx_messageInfo_Params.Merge(m, src) +func (m *GenesisState) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenesisState.Merge(m, src) } - -func (m *Params) XXX_Size() int { +func (m *GenesisState) XXX_Size() int { return m.Size() } - -func (m *Params) XXX_DiscardUnknown() { - xxx_messageInfo_Params.DiscardUnknown(m) +func (m *GenesisState) XXX_DiscardUnknown() { + xxx_messageInfo_GenesisState.DiscardUnknown(m) } -var xxx_messageInfo_Params proto.InternalMessageInfo +var xxx_messageInfo_GenesisState proto.InternalMessageInfo -func (m *Params) GetEnableFeeShare() bool { +func (m *GenesisState) GetParams() Params { if m != nil { - return m.EnableFeeShare + return m.Params } - return false + return Params{} } -func (m *Params) GetAllowedDenoms() []string { +func (m *GenesisState) GetFeeShare() []FeeShare { if m != nil { - return m.AllowedDenoms + return m.FeeShare } return nil } func init() { - proto.RegisterType((*GenesisState)(nil), "terra.feeshare.v1beta1.GenesisState") proto.RegisterType((*Params)(nil), "terra.feeshare.v1beta1.Params") + proto.RegisterType((*GenesisState)(nil), "terra.feeshare.v1beta1.GenesisState") } func init() { @@ -163,32 +150,33 @@ func init() { } var fileDescriptor_0b6781086762d348 = []byte{ - // 350 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xc1, 0x4e, 0xf2, 0x40, - 0x10, 0xc7, 0xbb, 0xf0, 0x85, 0xc0, 0xf2, 0x89, 0xa4, 0x31, 0xa6, 0xe1, 0x50, 0x1a, 0x22, 0xa6, - 0x07, 0xd9, 0x0d, 0x78, 0xf5, 0x84, 0x04, 0xaf, 0xa6, 0x9c, 0xf4, 0x42, 0xb6, 0xed, 0x50, 0x88, - 0x6d, 0xb7, 0xe9, 0x56, 0x94, 0xb7, 0xd0, 0x77, 0xf1, 0x21, 0x38, 0x72, 0x34, 0x1e, 0x88, 0x81, - 0x17, 0x31, 0xdd, 0x16, 0xf0, 0x20, 0xa7, 0xdd, 0xfd, 0xe7, 0x37, 0xbf, 0x99, 0xec, 0xe0, 0x8b, - 0x04, 0xe2, 0x98, 0xd1, 0x09, 0x80, 0x98, 0xb2, 0x18, 0xe8, 0xbc, 0x6b, 0x43, 0xc2, 0xba, 0xd4, - 0x83, 0x10, 0xc4, 0x4c, 0x90, 0x28, 0xe6, 0x09, 0x57, 0xcf, 0x25, 0x45, 0x76, 0x14, 0xc9, 0xa9, - 0xc6, 0x99, 0xc7, 0x3d, 0x2e, 0x11, 0x9a, 0xde, 0x32, 0xba, 0xd1, 0x3e, 0xe2, 0xdc, 0x97, 0x4b, - 0xac, 0xf5, 0x8e, 0xf0, 0xff, 0xbb, 0xac, 0xcd, 0x28, 0x61, 0x09, 0xa8, 0x37, 0xb8, 0x14, 0xb1, - 0x98, 0x05, 0x42, 0x43, 0x06, 0x32, 0xab, 0x3d, 0x9d, 0xfc, 0xdd, 0x96, 0xdc, 0x4b, 0xaa, 0xff, - 0x6f, 0xb9, 0x6e, 0x2a, 0x56, 0x5e, 0xa3, 0xde, 0xe2, 0xca, 0x04, 0x60, 0x2c, 0x49, 0xad, 0x60, - 0x14, 0xcd, 0x6a, 0xcf, 0x38, 0x26, 0x18, 0x02, 0x8c, 0xd2, 0x20, 0x57, 0x94, 0x27, 0xf9, 0xbb, - 0xf5, 0x81, 0x70, 0x29, 0xb3, 0xab, 0x26, 0xae, 0x43, 0xc8, 0x6c, 0x1f, 0xc6, 0x07, 0x6d, 0x3a, - 0x57, 0xd9, 0xaa, 0x65, 0xf9, 0x4e, 0xa2, 0x3e, 0xe0, 0xba, 0x0b, 0x73, 0xf0, 0x79, 0x04, 0x71, - 0x06, 0x0a, 0xad, 0x60, 0x20, 0xb3, 0xd2, 0x27, 0xa9, 0xfe, 0x6b, 0xdd, 0xbc, 0xf4, 0x66, 0xc9, - 0xf4, 0xd9, 0x26, 0x0e, 0x0f, 0xa8, 0xc3, 0x45, 0xc0, 0x45, 0x7e, 0x74, 0x84, 0xfb, 0x44, 0x93, - 0x45, 0x04, 0x82, 0x0c, 0xc0, 0xb1, 0x4e, 0xf7, 0x1e, 0x69, 0x16, 0x6a, 0x1b, 0xd7, 0x98, 0xef, - 0xf3, 0x17, 0x70, 0xc7, 0x2e, 0x84, 0x3c, 0x10, 0x5a, 0xd1, 0x28, 0x9a, 0x15, 0xeb, 0x24, 0x4f, - 0x07, 0x32, 0xec, 0x0f, 0x97, 0x1b, 0x1d, 0xad, 0x36, 0x3a, 0xfa, 0xde, 0xe8, 0xe8, 0x6d, 0xab, - 0x2b, 0xab, 0xad, 0xae, 0x7c, 0x6e, 0x75, 0xe5, 0xf1, 0xea, 0x57, 0x67, 0xf9, 0x19, 0x9d, 0x80, - 0x87, 0xb0, 0xa0, 0x0e, 0x8f, 0x81, 0xbe, 0x1e, 0x76, 0x24, 0x67, 0xb0, 0x4b, 0x72, 0x33, 0xd7, - 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x83, 0x20, 0xa9, 0x16, 0x02, 0x00, 0x00, + // 355 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0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9e, 0x88, 0x98, 0x27, 0x64, 0x24, 0x64, 0xfe, 0xe9, 0x4a, 0xff, 0x9e, 0xa9, 0xe7, + 0x18, 0x24, 0x1d, 0x82, 0xe7, 0xfc, 0xdd, 0xfb, 0x68, 0x67, 0x69, 0x76, 0x70, 0x8d, 0x87, 0xa1, + 0x78, 0x04, 0x7f, 0xec, 0xc3, 0x5c, 0x44, 0xb2, 0x51, 0xb4, 0x8a, 0x76, 0xc5, 0xf9, 0x93, 0xab, + 0x43, 0x2d, 0xb6, 0x5f, 0x11, 0xfe, 0x7d, 0x95, 0xa5, 0x33, 0x52, 0x5c, 0x81, 0x79, 0x8e, 0x4b, + 0xb1, 0x3e, 0x43, 0xaf, 0x5c, 0xed, 0x13, 0xfa, 0x73, 0x5a, 0x34, 0x3b, 0x76, 0xf0, 0x2b, 0x5d, + 0xd4, 0xc9, 0x67, 0xcc, 0x0b, 0x5c, 0x39, 0xdc, 0x5c, 0xb0, 0x8a, 0x76, 0xb5, 0x6f, 0x1d, 0x33, + 0xd8, 0xa5, 0x90, 0x5b, 0x94, 0x27, 0xbb, 0xf7, 0xf5, 0x72, 0x43, 0xd0, 0x6a, 0x43, 0xd0, 0xe7, + 0x86, 0xa0, 0x97, 0x2d, 0x31, 0x56, 0x5b, 0x62, 0xbc, 0x6f, 0x89, 0x71, 0xd7, 0xfb, 0x9e, 0x46, + 0xc8, 0xa5, 0x9c, 0x79, 0xdd, 0xac, 0x1e, 0x4f, 0xa4, 0xd5, 0xf4, 0xd9, 0xd3, 0xa1, 0x28, 0x1d, + 0x8e, 0x5b, 0xd2, 0xf5, 0x9c, 0x7d, 0x05, 0x00, 0x00, 0xff, 0xff, 0xf0, 0xc9, 0x87, 0xf1, 0x1b, + 0x02, 0x00, 0x00, } -func (m *GenesisState) Marshal() (dAtA []byte, err error) { +func (m *Params) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -198,44 +186,49 @@ func (m *GenesisState) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) { +func (m *Params) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.FeeShare) > 0 { - for iNdEx := len(m.FeeShare) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.FeeShare[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) - } + if len(m.AllowedDenoms) > 0 { + for iNdEx := len(m.AllowedDenoms) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.AllowedDenoms[iNdEx]) + copy(dAtA[i:], m.AllowedDenoms[iNdEx]) + i = encodeVarintGenesis(dAtA, i, uint64(len(m.AllowedDenoms[iNdEx]))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } } { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { + size := m.DeveloperShares.Size() + i -= size + if _, err := m.DeveloperShares.MarshalTo(dAtA[i:]); err != nil { return 0, err } - i -= size i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + if m.EnableFeeShare { + i-- + if m.EnableFeeShare { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *Params) Marshal() (dAtA []byte, err error) { +func (m *GenesisState) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -245,45 +238,40 @@ func (m *Params) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Params) MarshalTo(dAtA []byte) (int, error) { +func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.AllowedDenoms) > 0 { - for iNdEx := len(m.AllowedDenoms) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AllowedDenoms[iNdEx]) - copy(dAtA[i:], m.AllowedDenoms[iNdEx]) - i = encodeVarintGenesis(dAtA, i, uint64(len(m.AllowedDenoms[iNdEx]))) + if len(m.FeeShare) > 0 { + for iNdEx := len(m.FeeShare) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.FeeShare[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x12 } } { - size := m.DeveloperShares.Size() - i -= size - if _, err := m.DeveloperShares.MarshalTo(dAtA[i:]); err != nil { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { return 0, err } + i -= size i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 - if m.EnableFeeShare { - i-- - if m.EnableFeeShare { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } + dAtA[i] = 0xa return len(dAtA) - i, nil } @@ -298,38 +286,37 @@ func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - -func (m *GenesisState) Size() (n int) { +func (m *Params) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = m.Params.Size() + if m.EnableFeeShare { + n += 2 + } + l = m.DeveloperShares.Size() n += 1 + l + sovGenesis(uint64(l)) - if len(m.FeeShare) > 0 { - for _, e := range m.FeeShare { - l = e.Size() + if len(m.AllowedDenoms) > 0 { + for _, s := range m.AllowedDenoms { + l = len(s) n += 1 + l + sovGenesis(uint64(l)) } } return n } -func (m *Params) Size() (n int) { +func (m *GenesisState) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.EnableFeeShare { - n += 2 - } - l = m.DeveloperShares.Size() + l = m.Params.Size() n += 1 + l + sovGenesis(uint64(l)) - if len(m.AllowedDenoms) > 0 { - for _, s := range m.AllowedDenoms { - l = len(s) + if len(m.FeeShare) > 0 { + for _, e := range m.FeeShare { + l = e.Size() n += 1 + l + sovGenesis(uint64(l)) } } @@ -339,12 +326,10 @@ func (m *Params) Size() (n int) { func sovGenesis(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozGenesis(x uint64) (n int) { return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - -func (m *GenesisState) Unmarshal(dAtA []byte) error { +func (m *Params) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -367,17 +352,37 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GenesisState: wiretype end group for non-group") + return fmt.Errorf("proto: Params: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EnableFeeShare", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.EnableFeeShare = bool(v != 0) + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DeveloperShares", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGenesis @@ -387,30 +392,31 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGenesis } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGenesis } if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.DeveloperShares.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FeeShare", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AllowedDenoms", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGenesis @@ -420,25 +426,23 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthGenesis } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGenesis } if postIndex > l { return io.ErrUnexpectedEOF } - m.FeeShare = append(m.FeeShare, FeeShare{}) - if err := m.FeeShare[len(m.FeeShare)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.AllowedDenoms = append(m.AllowedDenoms, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -461,8 +465,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } return nil } - -func (m *Params) Unmarshal(dAtA []byte) error { +func (m *GenesisState) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -485,37 +488,17 @@ func (m *Params) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Params: wiretype end group for non-group") + return fmt.Errorf("proto: GenesisState: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableFeeShare", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.EnableFeeShare = bool(v != 0) - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DeveloperShares", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGenesis @@ -525,31 +508,30 @@ func (m *Params) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthGenesis } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthGenesis } if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.DeveloperShares.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowedDenoms", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field FeeShare", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGenesis @@ -559,23 +541,25 @@ func (m *Params) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthGenesis } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthGenesis } if postIndex > l { return io.ErrUnexpectedEOF } - m.AllowedDenoms = append(m.AllowedDenoms, string(dAtA[iNdEx:postIndex])) + m.FeeShare = append(m.FeeShare, FeeShare{}) + if err := m.FeeShare[len(m.FeeShare)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -598,7 +582,6 @@ func (m *Params) Unmarshal(dAtA []byte) error { } return nil } - func skipGenesis(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/feeshare/types/params_test.go b/x/feeshare/types/params_test.go index 7afe07bff..427ca3ef7 100644 --- a/x/feeshare/types/params_test.go +++ b/x/feeshare/types/params_test.go @@ -3,7 +3,7 @@ package types import ( "testing" - appparams "github.com/classic-terra/core/app/params" + appparams "github.com/classic-terra/core/v2/app/params" sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/stretchr/testify/require" diff --git a/x/feeshare/types/query.pb.go b/x/feeshare/types/query.pb.go index 9edbeafde..90d70ce1e 100644 --- a/x/feeshare/types/query.pb.go +++ b/x/feeshare/types/query.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" @@ -18,14 +14,15 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -45,11 +42,9 @@ func (*QueryFeeSharesRequest) ProtoMessage() {} func (*QueryFeeSharesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_4e589d86998f9341, []int{0} } - func (m *QueryFeeSharesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryFeeSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryFeeSharesRequest.Marshal(b, m, deterministic) @@ -62,15 +57,12 @@ func (m *QueryFeeSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } - func (m *QueryFeeSharesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryFeeSharesRequest.Merge(m, src) } - func (m *QueryFeeSharesRequest) XXX_Size() int { return m.Size() } - func (m *QueryFeeSharesRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryFeeSharesRequest.DiscardUnknown(m) } @@ -99,11 +91,9 @@ func (*QueryFeeSharesResponse) ProtoMessage() {} func (*QueryFeeSharesResponse) Descriptor() ([]byte, []int) { return fileDescriptor_4e589d86998f9341, []int{1} } - func (m *QueryFeeSharesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryFeeSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryFeeSharesResponse.Marshal(b, m, deterministic) @@ -116,15 +106,12 @@ func (m *QueryFeeSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } - func (m *QueryFeeSharesResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryFeeSharesResponse.Merge(m, src) } - func (m *QueryFeeSharesResponse) XXX_Size() int { return m.Size() } - func (m *QueryFeeSharesResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryFeeSharesResponse.DiscardUnknown(m) } @@ -157,11 +144,9 @@ func (*QueryFeeShareRequest) ProtoMessage() {} func (*QueryFeeShareRequest) Descriptor() ([]byte, []int) { return fileDescriptor_4e589d86998f9341, []int{2} } - func (m *QueryFeeShareRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryFeeShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryFeeShareRequest.Marshal(b, m, deterministic) @@ -174,15 +159,12 @@ func (m *QueryFeeShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } - func (m *QueryFeeShareRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryFeeShareRequest.Merge(m, src) } - func (m *QueryFeeShareRequest) XXX_Size() int { return m.Size() } - func (m *QueryFeeShareRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryFeeShareRequest.DiscardUnknown(m) } @@ -208,11 +190,9 @@ func (*QueryFeeShareResponse) ProtoMessage() {} func (*QueryFeeShareResponse) Descriptor() ([]byte, []int) { return fileDescriptor_4e589d86998f9341, []int{3} } - func (m *QueryFeeShareResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryFeeShareResponse.Marshal(b, m, deterministic) @@ -225,15 +205,12 @@ func (m *QueryFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } - func (m *QueryFeeShareResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryFeeShareResponse.Merge(m, src) } - func (m *QueryFeeShareResponse) XXX_Size() int { return m.Size() } - func (m *QueryFeeShareResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryFeeShareResponse.DiscardUnknown(m) } @@ -248,7 +225,8 @@ func (m *QueryFeeShareResponse) GetFeeshare() FeeShare { } // QueryParamsRequest is the request type for the Query/Params RPC method. -type QueryParamsRequest struct{} +type QueryParamsRequest struct { +} func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } @@ -256,11 +234,9 @@ func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_4e589d86998f9341, []int{4} } - func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) @@ -273,15 +249,12 @@ func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryParamsRequest.Merge(m, src) } - func (m *QueryParamsRequest) XXX_Size() int { return m.Size() } - func (m *QueryParamsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) } @@ -300,11 +273,9 @@ func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_4e589d86998f9341, []int{5} } - func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) @@ -317,15 +288,12 @@ func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryParamsResponse.Merge(m, src) } - func (m *QueryParamsResponse) XXX_Size() int { return m.Size() } - func (m *QueryParamsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) } @@ -354,11 +322,9 @@ func (*QueryDeployerFeeSharesRequest) ProtoMessage() {} func (*QueryDeployerFeeSharesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_4e589d86998f9341, []int{6} } - func (m *QueryDeployerFeeSharesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryDeployerFeeSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryDeployerFeeSharesRequest.Marshal(b, m, deterministic) @@ -371,15 +337,12 @@ func (m *QueryDeployerFeeSharesRequest) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } - func (m *QueryDeployerFeeSharesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryDeployerFeeSharesRequest.Merge(m, src) } - func (m *QueryDeployerFeeSharesRequest) XXX_Size() int { return m.Size() } - func (m *QueryDeployerFeeSharesRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryDeployerFeeSharesRequest.DiscardUnknown(m) } @@ -416,11 +379,9 @@ func (*QueryDeployerFeeSharesResponse) ProtoMessage() {} func (*QueryDeployerFeeSharesResponse) Descriptor() ([]byte, []int) { return fileDescriptor_4e589d86998f9341, []int{7} } - func (m *QueryDeployerFeeSharesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryDeployerFeeSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryDeployerFeeSharesResponse.Marshal(b, m, deterministic) @@ -433,15 +394,12 @@ func (m *QueryDeployerFeeSharesResponse) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } - func (m *QueryDeployerFeeSharesResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryDeployerFeeSharesResponse.Merge(m, src) } - func (m *QueryDeployerFeeSharesResponse) XXX_Size() int { return m.Size() } - func (m *QueryDeployerFeeSharesResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryDeployerFeeSharesResponse.DiscardUnknown(m) } @@ -477,11 +435,9 @@ func (*QueryWithdrawerFeeSharesRequest) ProtoMessage() {} func (*QueryWithdrawerFeeSharesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_4e589d86998f9341, []int{8} } - func (m *QueryWithdrawerFeeSharesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryWithdrawerFeeSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryWithdrawerFeeSharesRequest.Marshal(b, m, deterministic) @@ -494,15 +450,12 @@ func (m *QueryWithdrawerFeeSharesRequest) XXX_Marshal(b []byte, deterministic bo return b[:n], nil } } - func (m *QueryWithdrawerFeeSharesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryWithdrawerFeeSharesRequest.Merge(m, src) } - func (m *QueryWithdrawerFeeSharesRequest) XXX_Size() int { return m.Size() } - func (m *QueryWithdrawerFeeSharesRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryWithdrawerFeeSharesRequest.DiscardUnknown(m) } @@ -539,11 +492,9 @@ func (*QueryWithdrawerFeeSharesResponse) ProtoMessage() {} func (*QueryWithdrawerFeeSharesResponse) Descriptor() ([]byte, []int) { return fileDescriptor_4e589d86998f9341, []int{9} } - func (m *QueryWithdrawerFeeSharesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryWithdrawerFeeSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryWithdrawerFeeSharesResponse.Marshal(b, m, deterministic) @@ -556,15 +507,12 @@ func (m *QueryWithdrawerFeeSharesResponse) XXX_Marshal(b []byte, deterministic b return b[:n], nil } } - func (m *QueryWithdrawerFeeSharesResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryWithdrawerFeeSharesResponse.Merge(m, src) } - func (m *QueryWithdrawerFeeSharesResponse) XXX_Size() int { return m.Size() } - func (m *QueryWithdrawerFeeSharesResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryWithdrawerFeeSharesResponse.DiscardUnknown(m) } @@ -603,57 +551,55 @@ func init() { } var fileDescriptor_4e589d86998f9341 = []byte{ - // 681 bytes of a gzipped FileDescriptorProto + // 686 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x96, 0x4f, 0x4f, 0x13, 0x4f, 0x18, 0xc7, 0x3b, 0xfc, 0x7e, 0x36, 0xf0, 0x70, 0x10, 0x06, 0x24, 0xb8, 0xca, 0x52, 0x37, 0xa2, - 0x80, 0x74, 0x57, 0xea, 0x3f, 0x62, 0xbc, 0x40, 0x0c, 0x5e, 0xb1, 0x1c, 0x4c, 0xf4, 0x40, 0xa6, - 0xed, 0xe3, 0xb2, 0x09, 0xdd, 0x59, 0x76, 0x16, 0xb1, 0x31, 0x5c, 0x8c, 0x2f, 0xc0, 0x3f, 0x17, - 0xe2, 0xcd, 0x83, 0xef, 0xc2, 0xa3, 0x07, 0x0e, 0x1e, 0x48, 0xbc, 0x78, 0x32, 0x06, 0x7c, 0x21, - 0xa6, 0x33, 0xb3, 0xad, 0xdd, 0x76, 0x4b, 0x4b, 0x48, 0xbc, 0x6d, 0x66, 0x9e, 0x67, 0xbe, 0x9f, - 0xe7, 0x3b, 0xcf, 0x3c, 0x59, 0xb0, 0x22, 0x0c, 0x43, 0xe6, 0x3c, 0x47, 0x14, 0x9b, 0x2c, 0x44, - 0xe7, 0xc5, 0x62, 0x09, 0x23, 0xb6, 0xe8, 0x6c, 0xef, 0x60, 0x58, 0xb3, 0x83, 0x90, 0x47, 0x9c, - 0x4e, 0xc8, 0x18, 0x3b, 0x8e, 0xb1, 0x75, 0x8c, 0x31,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, 0x57, 0x04, 0x13, 0x5d, 0xde, 0x07, 0xbe, 0xdb, + 0x93, 0x24, 0xfb, 0xb1, 0x6b, 0xcb, 0x83, 0x27, 0xaa, 0x26, 0xee, 0x89, 0x26, 0x6e, 0x61, 0xfb, + 0x98, 0x26, 0x3a, 0x67, 0x49, 0x6d, 0xf5, 0xd1, 0x61, 0x5d, 0x47, 0x47, 0x75, 0x1d, 0xfd, 0xaa, + 0xeb, 0xe8, 0x6d, 0x43, 0xcf, 0x1d, 0x35, 0xf4, 0xdc, 0x8f, 0x86, 0x9e, 0x7b, 0xba, 0xe4, 0x7a, + 0xd1, 0xd6, 0x5e, 0xd9, 0x74, 0xd8, 0x8e, 0xe5, 0x6c, 0x13, 0xce, 0x3d, 0xa7, 0x28, 0xeb, 0x3b, + 0x2c, 0xae, 0x6d, 0x5b, 0x2f, 0x5b, 0x4a, 0x51, 0x35, 0xa0, 0xbc, 0x9c, 0x17, 0xbf, 0x07, 0x37, + 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x9f, 0xb0, 0xa2, 0xf3, 0x09, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -747,24 +693,21 @@ type QueryServer interface { } // UnimplementedQueryServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServer struct{} +type UnimplementedQueryServer struct { +} func (*UnimplementedQueryServer) FeeShares(ctx context.Context, req *QueryFeeSharesRequest) (*QueryFeeSharesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FeeShares not implemented") } - func (*UnimplementedQueryServer) FeeShare(ctx context.Context, req *QueryFeeShareRequest) (*QueryFeeShareResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FeeShare not implemented") } - func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } - func (*UnimplementedQueryServer) DeployerFeeShares(ctx context.Context, req *QueryDeployerFeeSharesRequest) (*QueryDeployerFeeSharesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeployerFeeShares not implemented") } - func (*UnimplementedQueryServer) WithdrawerFeeShares(ctx context.Context, req *QueryWithdrawerFeeSharesRequest) (*QueryWithdrawerFeeSharesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WithdrawerFeeShares not implemented") } @@ -1278,7 +1221,6 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *QueryFeeSharesRequest) Size() (n int) { if m == nil { return 0 @@ -1430,11 +1372,9 @@ func (m *QueryWithdrawerFeeSharesResponse) Size() (n int) { func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozQuery(x uint64) (n int) { return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *QueryFeeSharesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1521,7 +1461,6 @@ func (m *QueryFeeSharesRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryFeeSharesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1642,7 +1581,6 @@ func (m *QueryFeeSharesResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryFeeShareRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1725,7 +1663,6 @@ func (m *QueryFeeShareRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryFeeShareResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1809,7 +1746,6 @@ func (m *QueryFeeShareResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1860,7 +1796,6 @@ func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1944,7 +1879,6 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryDeployerFeeSharesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2063,7 +1997,6 @@ func (m *QueryDeployerFeeSharesRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryDeployerFeeSharesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2182,7 +2115,6 @@ func (m *QueryDeployerFeeSharesResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryWithdrawerFeeSharesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2301,7 +2233,6 @@ func (m *QueryWithdrawerFeeSharesRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryWithdrawerFeeSharesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2420,7 +2351,6 @@ func (m *QueryWithdrawerFeeSharesResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/feeshare/types/query.pb.gw.go b/x/feeshare/types/query.pb.gw.go index 6c1d14c38..d86a79255 100644 --- a/x/feeshare/types/query.pb.gw.go +++ b/x/feeshare/types/query.pb.gw.go @@ -25,18 +25,18 @@ import ( ) // Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join + var ( - _ codes.Code - _ io.Reader - _ status.Status - _ = runtime.String - _ = utilities.NewDoubleArray - _ = descriptor.ForMessage - _ = metadata.Join + filter_Query_FeeShares_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -var filter_Query_FeeShares_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} - func request_Query_FeeShares_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryFeeSharesRequest var metadata runtime.ServerMetadata @@ -50,6 +50,7 @@ func request_Query_FeeShares_0(ctx context.Context, marshaler runtime.Marshaler, msg, err := client.FeeShares(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_FeeShares_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -65,6 +66,7 @@ func local_request_Query_FeeShares_0(ctx context.Context, marshaler runtime.Mars msg, err := server.FeeShares(ctx, &protoReq) return msg, metadata, err + } func request_Query_FeeShare_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -91,6 +93,7 @@ func request_Query_FeeShare_0(ctx context.Context, marshaler runtime.Marshaler, msg, err := client.FeeShare(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_FeeShare_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -117,6 +120,7 @@ func local_request_Query_FeeShare_0(ctx context.Context, marshaler runtime.Marsh msg, err := server.FeeShare(ctx, &protoReq) return msg, metadata, err + } func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -125,6 +129,7 @@ func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, cl msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -133,9 +138,12 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal msg, err := server.Params(ctx, &protoReq) return msg, metadata, err + } -var filter_Query_DeployerFeeShares_0 = &utilities.DoubleArray{Encoding: map[string]int{"deployer_address": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +var ( + filter_Query_DeployerFeeShares_0 = &utilities.DoubleArray{Encoding: map[string]int{"deployer_address": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) func request_Query_DeployerFeeShares_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryDeployerFeeSharesRequest @@ -168,6 +176,7 @@ func request_Query_DeployerFeeShares_0(ctx context.Context, marshaler runtime.Ma msg, err := client.DeployerFeeShares(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_DeployerFeeShares_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -201,9 +210,12 @@ func local_request_Query_DeployerFeeShares_0(ctx context.Context, marshaler runt msg, err := server.DeployerFeeShares(ctx, &protoReq) return msg, metadata, err + } -var filter_Query_WithdrawerFeeShares_0 = &utilities.DoubleArray{Encoding: map[string]int{"withdrawer_address": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +var ( + filter_Query_WithdrawerFeeShares_0 = &utilities.DoubleArray{Encoding: map[string]int{"withdrawer_address": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) func request_Query_WithdrawerFeeShares_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryWithdrawerFeeSharesRequest @@ -236,6 +248,7 @@ func request_Query_WithdrawerFeeShares_0(ctx context.Context, marshaler runtime. msg, err := client.WithdrawerFeeShares(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_WithdrawerFeeShares_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -269,6 +282,7 @@ func local_request_Query_WithdrawerFeeShares_0(ctx context.Context, marshaler ru msg, err := server.WithdrawerFeeShares(ctx, &protoReq) return msg, metadata, err + } // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". @@ -276,6 +290,7 @@ func local_request_Query_WithdrawerFeeShares_0(ctx context.Context, marshaler ru // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. // Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { + mux.Handle("GET", pattern_Query_FeeShares_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -296,6 +311,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_FeeShares_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_FeeShare_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -318,6 +334,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_FeeShare_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -340,6 +357,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_DeployerFeeShares_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -362,6 +380,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_DeployerFeeShares_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_WithdrawerFeeShares_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -384,6 +403,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_WithdrawerFeeShares_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil @@ -426,6 +446,7 @@ func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "QueryClient" to call the correct interceptors. func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { + mux.Handle("GET", pattern_Query_FeeShares_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -443,6 +464,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_FeeShares_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_FeeShare_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -462,6 +484,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_FeeShare_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -481,6 +504,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_DeployerFeeShares_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -500,6 +524,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_DeployerFeeShares_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_WithdrawerFeeShares_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -519,6 +544,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_WithdrawerFeeShares_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil diff --git a/x/feeshare/types/tx.pb.go b/x/feeshare/types/tx.pb.go index 70d0e3377..bfaafac77 100644 --- a/x/feeshare/types/tx.pb.go +++ b/x/feeshare/types/tx.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" @@ -17,14 +13,15 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -50,11 +47,9 @@ func (*MsgRegisterFeeShare) ProtoMessage() {} func (*MsgRegisterFeeShare) Descriptor() ([]byte, []int) { return fileDescriptor_84f7f11948541b86, []int{0} } - func (m *MsgRegisterFeeShare) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgRegisterFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgRegisterFeeShare.Marshal(b, m, deterministic) @@ -67,15 +62,12 @@ func (m *MsgRegisterFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *MsgRegisterFeeShare) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgRegisterFeeShare.Merge(m, src) } - func (m *MsgRegisterFeeShare) XXX_Size() int { return m.Size() } - func (m *MsgRegisterFeeShare) XXX_DiscardUnknown() { xxx_messageInfo_MsgRegisterFeeShare.DiscardUnknown(m) } @@ -104,7 +96,8 @@ func (m *MsgRegisterFeeShare) GetWithdrawerAddress() string { } // MsgRegisterFeeShareResponse defines the MsgRegisterFeeShare response type -type MsgRegisterFeeShareResponse struct{} +type MsgRegisterFeeShareResponse struct { +} func (m *MsgRegisterFeeShareResponse) Reset() { *m = MsgRegisterFeeShareResponse{} } func (m *MsgRegisterFeeShareResponse) String() string { return proto.CompactTextString(m) } @@ -112,11 +105,9 @@ func (*MsgRegisterFeeShareResponse) ProtoMessage() {} func (*MsgRegisterFeeShareResponse) Descriptor() ([]byte, []int) { return fileDescriptor_84f7f11948541b86, []int{1} } - func (m *MsgRegisterFeeShareResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgRegisterFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgRegisterFeeShareResponse.Marshal(b, m, deterministic) @@ -129,15 +120,12 @@ func (m *MsgRegisterFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } - func (m *MsgRegisterFeeShareResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgRegisterFeeShareResponse.Merge(m, src) } - func (m *MsgRegisterFeeShareResponse) XXX_Size() int { return m.Size() } - func (m *MsgRegisterFeeShareResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgRegisterFeeShareResponse.DiscardUnknown(m) } @@ -163,11 +151,9 @@ func (*MsgUpdateFeeShare) ProtoMessage() {} func (*MsgUpdateFeeShare) Descriptor() ([]byte, []int) { return fileDescriptor_84f7f11948541b86, []int{2} } - func (m *MsgUpdateFeeShare) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgUpdateFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgUpdateFeeShare.Marshal(b, m, deterministic) @@ -180,15 +166,12 @@ func (m *MsgUpdateFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } - func (m *MsgUpdateFeeShare) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgUpdateFeeShare.Merge(m, src) } - func (m *MsgUpdateFeeShare) XXX_Size() int { return m.Size() } - func (m *MsgUpdateFeeShare) XXX_DiscardUnknown() { xxx_messageInfo_MsgUpdateFeeShare.DiscardUnknown(m) } @@ -217,7 +200,8 @@ func (m *MsgUpdateFeeShare) GetWithdrawerAddress() string { } // MsgUpdateFeeShareResponse defines the MsgUpdateFeeShare response type -type MsgUpdateFeeShareResponse struct{} +type MsgUpdateFeeShareResponse struct { +} func (m *MsgUpdateFeeShareResponse) Reset() { *m = MsgUpdateFeeShareResponse{} } func (m *MsgUpdateFeeShareResponse) String() string { return proto.CompactTextString(m) } @@ -225,11 +209,9 @@ func (*MsgUpdateFeeShareResponse) ProtoMessage() {} func (*MsgUpdateFeeShareResponse) Descriptor() ([]byte, []int) { return fileDescriptor_84f7f11948541b86, []int{3} } - func (m *MsgUpdateFeeShareResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgUpdateFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgUpdateFeeShareResponse.Marshal(b, m, deterministic) @@ -242,15 +224,12 @@ func (m *MsgUpdateFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } - func (m *MsgUpdateFeeShareResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgUpdateFeeShareResponse.Merge(m, src) } - func (m *MsgUpdateFeeShareResponse) XXX_Size() int { return m.Size() } - func (m *MsgUpdateFeeShareResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgUpdateFeeShareResponse.DiscardUnknown(m) } @@ -272,11 +251,9 @@ func (*MsgCancelFeeShare) ProtoMessage() {} func (*MsgCancelFeeShare) Descriptor() ([]byte, []int) { return fileDescriptor_84f7f11948541b86, []int{4} } - func (m *MsgCancelFeeShare) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgCancelFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgCancelFeeShare.Marshal(b, m, deterministic) @@ -289,15 +266,12 @@ func (m *MsgCancelFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } - func (m *MsgCancelFeeShare) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgCancelFeeShare.Merge(m, src) } - func (m *MsgCancelFeeShare) XXX_Size() int { return m.Size() } - func (m *MsgCancelFeeShare) XXX_DiscardUnknown() { xxx_messageInfo_MsgCancelFeeShare.DiscardUnknown(m) } @@ -319,7 +293,8 @@ func (m *MsgCancelFeeShare) GetDeployerAddress() string { } // MsgCancelFeeShareResponse defines the MsgCancelFeeShare response type -type MsgCancelFeeShareResponse struct{} +type MsgCancelFeeShareResponse struct { +} func (m *MsgCancelFeeShareResponse) Reset() { *m = MsgCancelFeeShareResponse{} } func (m *MsgCancelFeeShareResponse) String() string { return proto.CompactTextString(m) } @@ -327,11 +302,9 @@ func (*MsgCancelFeeShareResponse) ProtoMessage() {} func (*MsgCancelFeeShareResponse) Descriptor() ([]byte, []int) { return fileDescriptor_84f7f11948541b86, []int{5} } - func (m *MsgCancelFeeShareResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgCancelFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgCancelFeeShareResponse.Marshal(b, m, deterministic) @@ -344,15 +317,12 @@ func (m *MsgCancelFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } - func (m *MsgCancelFeeShareResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgCancelFeeShareResponse.Merge(m, src) } - func (m *MsgCancelFeeShareResponse) XXX_Size() int { return m.Size() } - func (m *MsgCancelFeeShareResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgCancelFeeShareResponse.DiscardUnknown(m) } @@ -371,41 +341,39 @@ func init() { func init() { proto.RegisterFile("terra/feeshare/v1beta1/tx.proto", fileDescriptor_84f7f11948541b86) } var fileDescriptor_84f7f11948541b86 = []byte{ - // 432 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0x41, 0x8f, 0xd2, 0x40, - 0x14, 0xc7, 0x3b, 0x60, 0x4c, 0x9c, 0x83, 0x42, 0x35, 0x46, 0x8b, 0x16, 0xd3, 0xc4, 0x20, 0x51, - 0x3a, 0x41, 0x6e, 0xde, 0xd4, 0x84, 0x1b, 0x17, 0x8c, 0x17, 0x2f, 0x64, 0x68, 0x9f, 0x43, 0x13, - 0xe8, 0x34, 0x33, 0x83, 0xc0, 0xd5, 0x4f, 0x60, 0xe2, 0x59, 0xc3, 0xc5, 0xef, 0xe2, 0x91, 0x64, - 0x2f, 0x7b, 0xdc, 0xc0, 0x1e, 0xf6, 0xb2, 0xdf, 0x61, 0xc3, 0x94, 0x96, 0x2d, 0x34, 0xec, 0xee, - 0x61, 0x93, 0xbd, 0x35, 0x6f, 0x7e, 0xef, 0xbd, 0x5f, 0xfa, 0x9f, 0x16, 0x57, 0x15, 0x08, 0x41, - 0xc9, 0x77, 0x00, 0x39, 0xa0, 0x02, 0xc8, 0x8f, 0x66, 0x1f, 0x14, 0x6d, 0x12, 0x35, 0x75, 0x23, - 0xc1, 0x15, 0x37, 0x9f, 0x6a, 0xc0, 0x4d, 0x00, 0x77, 0x03, 0x58, 0x4f, 0x18, 0x67, 0x5c, 0x23, - 0x64, 0xfd, 0x14, 0xd3, 0xd6, 0x0b, 0xc6, 0x39, 0x1b, 0x02, 0xa1, 0x51, 0x40, 0x68, 0x18, 0x72, - 0x45, 0x55, 0xc0, 0x43, 0x19, 0x9f, 0x3a, 0x73, 0x84, 0x1f, 0x77, 0x24, 0xeb, 0x02, 0x0b, 0xa4, - 0x02, 0xd1, 0x06, 0xf8, 0xb2, 0x9e, 0x69, 0xd6, 0x71, 0xc9, 0xe3, 0xa1, 0x12, 0xd4, 0x53, 0x3d, - 0xea, 0xfb, 0x02, 0xa4, 0x7c, 0x86, 0x5e, 0xa1, 0x37, 0x0f, 0xba, 0x8f, 0x92, 0xfa, 0xc7, 0xb8, - 0xbc, 0x46, 0x7d, 0x88, 0x86, 0x7c, 0x06, 0x22, 0x45, 0x0b, 0x31, 0x9a, 0xd4, 0x13, 0xb4, 0x81, - 0xcd, 0x49, 0xa0, 0x06, 0xbe, 0xa0, 0x93, 0x4b, 0x70, 0x51, 0xc3, 0xe5, 0xed, 0xc9, 0x06, 0xff, - 0x70, 0xef, 0x6c, 0x5e, 0x35, 0x9c, 0x97, 0xb8, 0x92, 0x63, 0xd8, 0x05, 0x19, 0xf1, 0x50, 0x82, - 0xf3, 0x17, 0xe1, 0x72, 0x47, 0xb2, 0xaf, 0x91, 0x4f, 0x15, 0xdc, 0x45, 0xff, 0x0a, 0x7e, 0xbe, - 0xe7, 0x97, 0xda, 0x73, 0x2d, 0xff, 0x99, 0x86, 0x1e, 0x0c, 0x6f, 0x57, 0x3e, 0x63, 0x93, 0x5d, - 0x98, 0xd8, 0xbc, 0x3f, 0x2f, 0xe2, 0x62, 0x47, 0x32, 0xf3, 0x1f, 0xc2, 0xa5, 0xbd, 0x2b, 0xf1, - 0xd6, 0xcd, 0xbf, 0x77, 0x6e, 0x4e, 0x3a, 0x56, 0xeb, 0x06, 0x70, 0xfa, 0x32, 0xc8, 0xcf, 0xa3, - 0xd3, 0xdf, 0x85, 0xba, 0x53, 0x23, 0x7b, 0x9f, 0x00, 0x51, 0x53, 0x22, 0x36, 0x7d, 0xbd, 0x54, - 0xe9, 0x0f, 0xc2, 0x0f, 0x77, 0x83, 0x3f, 0xb0, 0x38, 0x8b, 0x5a, 0xcd, 0x6b, 0xa3, 0xa9, 0x61, - 0x43, 0x1b, 0xd6, 0x9c, 0xd7, 0xf9, 0x86, 0x63, 0xdd, 0x95, 0xf5, 0xdb, 0xcd, 0xf6, 0xc0, 0xd2, - 0x2c, 0x7a, 0xd0, 0x2f, 0x3f, 0xc0, 0xab, 0xfc, 0x3c, 0xdd, 0x95, 0xfa, 0x7d, 0x6a, 0xff, 0x5f, - 0xda, 0x68, 0xb1, 0xb4, 0xd1, 0xc9, 0xd2, 0x46, 0xbf, 0x56, 0xb6, 0xb1, 0x58, 0xd9, 0xc6, 0xf1, - 0xca, 0x36, 0xbe, 0xbd, 0x63, 0x81, 0x1a, 0x8c, 0xfb, 0xae, 0xc7, 0x47, 0xf1, 0xa8, 0xc6, 0x88, - 0x87, 0x30, 0x23, 0x1e, 0x17, 0x40, 0xa6, 0xdb, 0xb9, 0x6a, 0x16, 0x81, 0xec, 0xdf, 0xd7, 0x3f, - 0x93, 0xd6, 0x45, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0a, 0xcd, 0xd2, 0x8e, 0xbb, 0x04, 0x00, 0x00, + // 431 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0xb1, 0xeb, 0xd3, 0x40, + 0x14, 0xc7, 0x73, 0xbf, 0x8a, 0xe0, 0x0d, 0xfa, 0x6b, 0x14, 0xd1, 0x54, 0x53, 0x09, 0x48, 0x2d, + 0xd2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0x53, 0xa5, 0x22, 0xd6, 0xcb, + 0x47, 0x32, 0x91, 0x8d, 0xeb, 0x93, 0xc5, 0x7e, 0xb8, 0x5e, 0xa6, 0xa0, 0x26, 0x17, 0xcd, 0x1f, + 0x65, 0xf0, 0x33, 0x00, 0x00, 0xff, 0xff, 0x70, 0x8f, 0x80, 0x6a, 0xc0, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -471,16 +439,15 @@ type MsgServer interface { } // UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct{} +type UnimplementedMsgServer struct { +} func (*UnimplementedMsgServer) RegisterFeeShare(ctx context.Context, req *MsgRegisterFeeShare) (*MsgRegisterFeeShareResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RegisterFeeShare not implemented") } - func (*UnimplementedMsgServer) UpdateFeeShare(ctx context.Context, req *MsgUpdateFeeShare) (*MsgUpdateFeeShareResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateFeeShare not implemented") } - func (*UnimplementedMsgServer) CancelFeeShare(ctx context.Context, req *MsgCancelFeeShare) (*MsgCancelFeeShareResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CancelFeeShare not implemented") } @@ -769,7 +736,6 @@ func encodeVarintTx(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *MsgRegisterFeeShare) Size() (n int) { if m == nil { return 0 @@ -859,11 +825,9 @@ func (m *MsgCancelFeeShareResponse) Size() (n int) { func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozTx(x uint64) (n int) { return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *MsgRegisterFeeShare) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1010,7 +974,6 @@ func (m *MsgRegisterFeeShare) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgRegisterFeeShareResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1061,7 +1024,6 @@ func (m *MsgRegisterFeeShareResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgUpdateFeeShare) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1208,7 +1170,6 @@ func (m *MsgUpdateFeeShare) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgUpdateFeeShareResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1259,7 +1220,6 @@ func (m *MsgUpdateFeeShareResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgCancelFeeShare) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1374,7 +1334,6 @@ func (m *MsgCancelFeeShare) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgCancelFeeShareResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1425,7 +1384,6 @@ func (m *MsgCancelFeeShareResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/feeshare/types/tx.pb.gw.go b/x/feeshare/types/tx.pb.gw.go index a55f0f94c..7bd87089f 100644 --- a/x/feeshare/types/tx.pb.gw.go +++ b/x/feeshare/types/tx.pb.gw.go @@ -25,18 +25,18 @@ import ( ) // Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join + var ( - _ codes.Code - _ io.Reader - _ status.Status - _ = runtime.String - _ = utilities.NewDoubleArray - _ = descriptor.ForMessage - _ = metadata.Join + filter_Msg_RegisterFeeShare_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -var filter_Msg_RegisterFeeShare_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} - func request_Msg_RegisterFeeShare_0(ctx context.Context, marshaler runtime.Marshaler, client MsgClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq MsgRegisterFeeShare var metadata runtime.ServerMetadata @@ -50,6 +50,7 @@ func request_Msg_RegisterFeeShare_0(ctx context.Context, marshaler runtime.Marsh msg, err := client.RegisterFeeShare(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Msg_RegisterFeeShare_0(ctx context.Context, marshaler runtime.Marshaler, server MsgServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -65,9 +66,12 @@ func local_request_Msg_RegisterFeeShare_0(ctx context.Context, marshaler runtime msg, err := server.RegisterFeeShare(ctx, &protoReq) return msg, metadata, err + } -var filter_Msg_UpdateFeeShare_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +var ( + filter_Msg_UpdateFeeShare_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) func request_Msg_UpdateFeeShare_0(ctx context.Context, marshaler runtime.Marshaler, client MsgClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq MsgUpdateFeeShare @@ -82,6 +86,7 @@ func request_Msg_UpdateFeeShare_0(ctx context.Context, marshaler runtime.Marshal msg, err := client.UpdateFeeShare(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Msg_UpdateFeeShare_0(ctx context.Context, marshaler runtime.Marshaler, server MsgServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -97,9 +102,12 @@ func local_request_Msg_UpdateFeeShare_0(ctx context.Context, marshaler runtime.M msg, err := server.UpdateFeeShare(ctx, &protoReq) return msg, metadata, err + } -var filter_Msg_CancelFeeShare_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +var ( + filter_Msg_CancelFeeShare_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) func request_Msg_CancelFeeShare_0(ctx context.Context, marshaler runtime.Marshaler, client MsgClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq MsgCancelFeeShare @@ -114,6 +122,7 @@ func request_Msg_CancelFeeShare_0(ctx context.Context, marshaler runtime.Marshal msg, err := client.CancelFeeShare(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Msg_CancelFeeShare_0(ctx context.Context, marshaler runtime.Marshaler, server MsgServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -129,6 +138,7 @@ func local_request_Msg_CancelFeeShare_0(ctx context.Context, marshaler runtime.M msg, err := server.CancelFeeShare(ctx, &protoReq) return msg, metadata, err + } // RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". @@ -136,6 +146,7 @@ func local_request_Msg_CancelFeeShare_0(ctx context.Context, marshaler runtime.M // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. // Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMsgHandlerFromEndpoint instead. func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error { + mux.Handle("POST", pattern_Msg_RegisterFeeShare_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -156,6 +167,7 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server } forward_Msg_RegisterFeeShare_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("POST", pattern_Msg_UpdateFeeShare_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -178,6 +190,7 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server } forward_Msg_UpdateFeeShare_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("POST", pattern_Msg_CancelFeeShare_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -200,6 +213,7 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server } forward_Msg_CancelFeeShare_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil @@ -242,6 +256,7 @@ func RegisterMsgHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.C // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "MsgClient" to call the correct interceptors. func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error { + mux.Handle("POST", pattern_Msg_RegisterFeeShare_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -259,6 +274,7 @@ func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client } forward_Msg_RegisterFeeShare_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("POST", pattern_Msg_UpdateFeeShare_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -278,6 +294,7 @@ func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client } forward_Msg_UpdateFeeShare_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("POST", pattern_Msg_CancelFeeShare_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -297,6 +314,7 @@ func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client } forward_Msg_CancelFeeShare_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil diff --git a/x/market/abci.go b/x/market/abci.go index d1dcbf124..91322b508 100644 --- a/x/market/abci.go +++ b/x/market/abci.go @@ -3,7 +3,7 @@ package market import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/classic-terra/core/x/market/keeper" + "github.com/classic-terra/core/v2/x/market/keeper" ) // EndBlocker is called at the end of every block diff --git a/x/market/abci_test.go b/x/market/abci_test.go index 1615ce662..2fba640cf 100644 --- a/x/market/abci_test.go +++ b/x/market/abci_test.go @@ -3,7 +3,7 @@ package market import ( "testing" - "github.com/classic-terra/core/x/market/keeper" + "github.com/classic-terra/core/v2/x/market/keeper" "github.com/stretchr/testify/require" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/market/client/cli/query.go b/x/market/client/cli/query.go index 23ed7dc30..50b1d412a 100644 --- a/x/market/client/cli/query.go +++ b/x/market/client/cli/query.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/market/client/cli/tx.go b/x/market/client/cli/tx.go index f0e7e04ea..fa46365e0 100644 --- a/x/market/client/cli/tx.go +++ b/x/market/client/cli/tx.go @@ -10,8 +10,8 @@ import ( "github.com/spf13/cobra" - feeutils "github.com/classic-terra/core/custom/auth/client/utils" - "github.com/classic-terra/core/x/market/types" + feeutils "github.com/classic-terra/core/v2/custom/auth/client/utils" + "github.com/classic-terra/core/v2/x/market/types" ) // GetTxCmd returns the transaction commands for this module diff --git a/x/market/client/rest/query.go b/x/market/client/rest/query.go index 13c591500..8d7028bf0 100644 --- a/x/market/client/rest/query.go +++ b/x/market/client/rest/query.go @@ -7,7 +7,7 @@ import ( "github.com/gorilla/mux" - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/types" "github.com/cosmos/cosmos-sdk/client" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/market/client/rest/tx.go b/x/market/client/rest/tx.go index 50d2cae11..2c54113ef 100644 --- a/x/market/client/rest/tx.go +++ b/x/market/client/rest/tx.go @@ -11,8 +11,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/rest" - feeutils "github.com/classic-terra/core/custom/auth/client/utils" - "github.com/classic-terra/core/x/market/types" + feeutils "github.com/classic-terra/core/v2/custom/auth/client/utils" + "github.com/classic-terra/core/v2/x/market/types" ) func registerTxHandlers(clientCtx client.Context, rtr *mux.Router) { diff --git a/x/market/common_test.go b/x/market/common_test.go index 8c5e5f265..7a2a34c27 100644 --- a/x/market/common_test.go +++ b/x/market/common_test.go @@ -3,8 +3,8 @@ package market import ( "testing" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/market/keeper" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/market/keeper" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/market/exported/alias.go b/x/market/exported/alias.go index 3e2911661..bffd31f2b 100644 --- a/x/market/exported/alias.go +++ b/x/market/exported/alias.go @@ -1,7 +1,7 @@ // DONTCOVER package exported -import "github.com/classic-terra/core/x/market/types" +import "github.com/classic-terra/core/v2/x/market/types" type ( MsgSwap = types.MsgSwap diff --git a/x/market/genesis.go b/x/market/genesis.go index 8d955c71d..f274e93a4 100644 --- a/x/market/genesis.go +++ b/x/market/genesis.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/classic-terra/core/x/market/keeper" - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/keeper" + "github.com/classic-terra/core/v2/x/market/types" ) // InitGenesis initialize default parameters diff --git a/x/market/genesis_test.go b/x/market/genesis_test.go index c6a76838e..9e7845d0b 100644 --- a/x/market/genesis_test.go +++ b/x/market/genesis_test.go @@ -3,7 +3,7 @@ package market import ( "testing" - "github.com/classic-terra/core/x/market/keeper" + "github.com/classic-terra/core/v2/x/market/keeper" "github.com/stretchr/testify/require" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/market/handler.go b/x/market/handler.go index 6f0cc9307..a1579997c 100644 --- a/x/market/handler.go +++ b/x/market/handler.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/classic-terra/core/x/market/keeper" - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/keeper" + "github.com/classic-terra/core/v2/x/market/types" ) // NewHandler creates a new handler for all market type messages. diff --git a/x/market/handler_test.go b/x/market/handler_test.go index 3c7148ac7..c02ac4e63 100644 --- a/x/market/handler_test.go +++ b/x/market/handler_test.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/market/keeper" - "github.com/classic-terra/core/x/market/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/market/keeper" + "github.com/classic-terra/core/v2/x/market/types" ) func TestMarketFilters(t *testing.T) { diff --git a/x/market/keeper/alias_functions.go b/x/market/keeper/alias_functions.go index eb4f29728..e0f99b6f6 100644 --- a/x/market/keeper/alias_functions.go +++ b/x/market/keeper/alias_functions.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/types" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" diff --git a/x/market/keeper/keeper.go b/x/market/keeper/keeper.go index 15323a655..a757fd207 100644 --- a/x/market/keeper/keeper.go +++ b/x/market/keeper/keeper.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/types" ) // Keeper of the market store diff --git a/x/market/keeper/keeper_test.go b/x/market/keeper/keeper_test.go index 5016c7ac0..4ceea432e 100644 --- a/x/market/keeper/keeper_test.go +++ b/x/market/keeper/keeper_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/market/keeper/legacy_querier.go b/x/market/keeper/legacy_querier.go index 1b95f1030..705da47af 100644 --- a/x/market/keeper/legacy_querier.go +++ b/x/market/keeper/legacy_querier.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/types" abci "github.com/tendermint/tendermint/abci/types" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/market/keeper/legacy_querier_test.go b/x/market/keeper/legacy_querier_test.go index 0af5abfc6..3a03cc0d2 100644 --- a/x/market/keeper/legacy_querier_test.go +++ b/x/market/keeper/legacy_querier_test.go @@ -8,8 +8,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/market/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/market/types" ) func TestNewLegacyQuerier(t *testing.T) { diff --git a/x/market/keeper/msg_server.go b/x/market/keeper/msg_server.go index 0186aa905..a156b830b 100644 --- a/x/market/keeper/msg_server.go +++ b/x/market/keeper/msg_server.go @@ -5,9 +5,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/market/types" - oracletypes "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/market/types" + oracletypes "github.com/classic-terra/core/v2/x/oracle/types" ) type msgServer struct { diff --git a/x/market/keeper/params.go b/x/market/keeper/params.go index 1db903596..ccfe60025 100644 --- a/x/market/keeper/params.go +++ b/x/market/keeper/params.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/market/keeper/querier.go b/x/market/keeper/querier.go index 2cdf50e67..0fcb67f77 100644 --- a/x/market/keeper/querier.go +++ b/x/market/keeper/querier.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/types" ) // querier is used as Keeper will have duplicate methods if used directly, and gRPC names take precedence over q diff --git a/x/market/keeper/querier_test.go b/x/market/keeper/querier_test.go index 8eb726b6f..45f29d242 100644 --- a/x/market/keeper/querier_test.go +++ b/x/market/keeper/querier_test.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/market/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/market/types" "github.com/stretchr/testify/require" ) diff --git a/x/market/keeper/swap.go b/x/market/keeper/swap.go index 2e3d8de07..9dc1ad533 100644 --- a/x/market/keeper/swap.go +++ b/x/market/keeper/swap.go @@ -3,8 +3,8 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/market/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/market/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) diff --git a/x/market/keeper/swap_test.go b/x/market/keeper/swap_test.go index 7c50b2233..82b885555 100644 --- a/x/market/keeper/swap_test.go +++ b/x/market/keeper/swap_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/market/keeper/test_utils.go b/x/market/keeper/test_utils.go index 77e93e6f3..544ba605a 100644 --- a/x/market/keeper/test_utils.go +++ b/x/market/keeper/test_utils.go @@ -9,16 +9,16 @@ import ( "github.com/stretchr/testify/require" - customauth "github.com/classic-terra/core/custom/auth" - custombank "github.com/classic-terra/core/custom/bank" - customdistr "github.com/classic-terra/core/custom/distribution" - customparams "github.com/classic-terra/core/custom/params" - customstaking "github.com/classic-terra/core/custom/staking" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/market/types" - "github.com/classic-terra/core/x/oracle" - oraclekeeper "github.com/classic-terra/core/x/oracle/keeper" - oracletypes "github.com/classic-terra/core/x/oracle/types" + customauth "github.com/classic-terra/core/v2/custom/auth" + custombank "github.com/classic-terra/core/v2/custom/bank" + customdistr "github.com/classic-terra/core/v2/custom/distribution" + customparams "github.com/classic-terra/core/v2/custom/params" + customstaking "github.com/classic-terra/core/v2/custom/staking" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/market/types" + "github.com/classic-terra/core/v2/x/oracle" + oraclekeeper "github.com/classic-terra/core/v2/x/oracle/keeper" + oracletypes "github.com/classic-terra/core/v2/x/oracle/types" "github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto/secp256k1" diff --git a/x/market/legacy/v05/migrate.go b/x/market/legacy/v05/migrate.go index 7330f24c2..60957c28f 100644 --- a/x/market/legacy/v05/migrate.go +++ b/x/market/legacy/v05/migrate.go @@ -3,8 +3,8 @@ package v05 import ( sdk "github.com/cosmos/cosmos-sdk/types" - v04market "github.com/classic-terra/core/x/market/legacy/v04" - v05market "github.com/classic-terra/core/x/market/types" + v04market "github.com/classic-terra/core/v2/x/market/legacy/v04" + v05market "github.com/classic-terra/core/v2/x/market/types" ) // Migrate accepts exported v0.4 x/market and diff --git a/x/market/legacy/v05/migrate_test.go b/x/market/legacy/v05/migrate_test.go index 612134c31..e85a09649 100644 --- a/x/market/legacy/v05/migrate_test.go +++ b/x/market/legacy/v05/migrate_test.go @@ -10,10 +10,10 @@ import ( "github.com/cosmos/cosmos-sdk/client" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/classic-terra/core/app" - core "github.com/classic-terra/core/types" - v04market "github.com/classic-terra/core/x/market/legacy/v04" - v05market "github.com/classic-terra/core/x/market/legacy/v05" + "github.com/classic-terra/core/v2/app" + core "github.com/classic-terra/core/v2/types" + v04market "github.com/classic-terra/core/v2/x/market/legacy/v04" + v05market "github.com/classic-terra/core/v2/x/market/legacy/v05" ) func TestMigrate(t *testing.T) { diff --git a/x/market/module.go b/x/market/module.go index 931b00115..79acae4b1 100644 --- a/x/market/module.go +++ b/x/market/module.go @@ -20,11 +20,11 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/classic-terra/core/x/market/client/cli" - "github.com/classic-terra/core/x/market/client/rest" - "github.com/classic-terra/core/x/market/keeper" - "github.com/classic-terra/core/x/market/simulation" - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/client/cli" + "github.com/classic-terra/core/v2/x/market/client/rest" + "github.com/classic-terra/core/v2/x/market/keeper" + "github.com/classic-terra/core/v2/x/market/simulation" + "github.com/classic-terra/core/v2/x/market/types" ) var ( diff --git a/x/market/simulation/decoder.go b/x/market/simulation/decoder.go index b821bbe7c..1b4ee57a5 100644 --- a/x/market/simulation/decoder.go +++ b/x/market/simulation/decoder.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/market/simulation/decoder_test.go b/x/market/simulation/decoder_test.go index b7373b938..29b8c3510 100644 --- a/x/market/simulation/decoder_test.go +++ b/x/market/simulation/decoder_test.go @@ -9,8 +9,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/classic-terra/core/x/market/keeper" - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/keeper" + "github.com/classic-terra/core/v2/x/market/types" ) func TestDecodeDistributionStore(t *testing.T) { diff --git a/x/market/simulation/genesis.go b/x/market/simulation/genesis.go index 9406a8fb1..612c48fb0 100644 --- a/x/market/simulation/genesis.go +++ b/x/market/simulation/genesis.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/types" ) // Simulation parameter constants diff --git a/x/market/simulation/operations.go b/x/market/simulation/operations.go index 12619e3b2..21e6e4b39 100644 --- a/x/market/simulation/operations.go +++ b/x/market/simulation/operations.go @@ -6,7 +6,7 @@ import ( "math/rand" "strings" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/codec" @@ -16,7 +16,7 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/types" ) // Simulation operation weights constants diff --git a/x/market/simulation/params.go b/x/market/simulation/params.go index 89711d6f9..6a61eb54a 100644 --- a/x/market/simulation/params.go +++ b/x/market/simulation/params.go @@ -9,7 +9,7 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/classic-terra/core/x/market/types" + "github.com/classic-terra/core/v2/x/market/types" ) // ParamChanges defines the parameters that can be modified by param change proposals diff --git a/x/market/types/genesis.pb.go b/x/market/types/genesis.pb.go index d82b5d608..650e43575 100644 --- a/x/market/types/genesis.pb.go +++ b/x/market/types/genesis.pb.go @@ -5,21 +5,18 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -41,11 +38,9 @@ func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { return fileDescriptor_e30414b001901db3, []int{0} } - func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) @@ -58,15 +53,12 @@ func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } - func (m *GenesisState) XXX_Merge(src proto.Message) { xxx_messageInfo_GenesisState.Merge(m, src) } - func (m *GenesisState) XXX_Size() int { return m.Size() } - func (m *GenesisState) XXX_DiscardUnknown() { xxx_messageInfo_GenesisState.DiscardUnknown(m) } @@ -89,7 +81,7 @@ func init() { } var fileDescriptor_e30414b001901db3 = []byte{ - // 271 bytes of a gzipped FileDescriptorProto + // 274 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2a, 0x49, 0x2d, 0x2a, 0x4a, 0xd4, 0xcf, 0x4d, 0x2c, 0xca, 0x4e, 0x2d, 0xd1, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, @@ -102,11 +94,12 @@ var fileDescriptor_e30414b001901db3 = []byte{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ff, 0xff, 0xed, 0x8e, 0x8f, 0x04, 0x6d, 0x01, + 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -163,7 +156,6 @@ func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *GenesisState) Size() (n int) { if m == nil { return 0 @@ -180,11 +172,9 @@ func (m *GenesisState) Size() (n int) { func sovGenesis(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozGenesis(x uint64) (n int) { return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *GenesisState) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -301,7 +291,6 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } return nil } - func skipGenesis(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/market/types/market.pb.go b/x/market/types/market.pb.go index bf5961967..9090e2e61 100644 --- a/x/market/types/market.pb.go +++ b/x/market/types/market.pb.go @@ -5,21 +5,18 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -39,11 +36,9 @@ func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { return fileDescriptor_114ea92c5ae3e66f, []int{0} } - func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Params.Marshal(b, m, deterministic) @@ -56,15 +51,12 @@ func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Params) XXX_Merge(src proto.Message) { xxx_messageInfo_Params.Merge(m, src) } - func (m *Params) XXX_Size() int { return m.Size() } - func (m *Params) XXX_DiscardUnknown() { xxx_messageInfo_Params.DiscardUnknown(m) } @@ -85,28 +77,28 @@ func init() { func init() { proto.RegisterFile("terra/market/v1beta1/market.proto", fileDescriptor_114ea92c5ae3e66f) } var fileDescriptor_114ea92c5ae3e66f = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0x31, 0x4b, 0xf3, 0x40, - 0x18, 0xc7, 0x73, 0x7d, 0x5f, 0x4a, 0x0d, 0x0e, 0x12, 0x32, 0x14, 0x85, 0x5c, 0xcd, 0x20, 0x1d, - 0x6c, 0x42, 0x71, 0xeb, 0x18, 0xc4, 0x4d, 0xa8, 0xe9, 0xe6, 0x12, 0x2e, 0xe9, 0x51, 0x8f, 0xe6, - 0xfa, 0x84, 0xbb, 0xb3, 0x98, 0xc9, 0xaf, 0xe0, 0xe8, 0xd8, 0x6f, 0x63, 0xc7, 0x8e, 0xe2, 0x10, - 0xa4, 0x5d, 0x9c, 0xfb, 0x09, 0x24, 0xd7, 0xab, 0x38, 0x74, 0x71, 0xba, 0xe7, 0x7e, 0xfc, 0xee, - 0xb9, 0x3f, 0xfc, 0xed, 0x73, 0x45, 0x85, 0x20, 0x21, 0x27, 0x62, 0x4a, 0x55, 0x38, 0xef, 0xa7, - 0x54, 0x91, 0xbe, 0xb9, 0x06, 0x85, 0x00, 0x05, 0x8e, 0xab, 0x95, 0xc0, 0x30, 0xa3, 0x9c, 0xba, - 0x13, 0x98, 0x80, 0x16, 0xc2, 0x7a, 0xda, 0xb9, 0xfe, 0x5b, 0xc3, 0x6e, 0x0e, 0x89, 0x20, 0x5c, - 0x3a, 0x89, 0x7d, 0x94, 0x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d2, 0xa6, 0x2e, 0xe6, 0xea, 0x3b, 0x00, - 0x00, 0xff, 0xff, 0xb8, 0x9a, 0x90, 0xc3, 0xe9, 0x01, 0x00, 0x00, + // 334 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0xb1, 0x4e, 0xeb, 0x30, + 0x14, 0x86, 0xe3, 0xde, 0xab, 0xaa, 0x44, 0x0c, 0x28, 0xca, 0x50, 0x81, 0x14, 0x97, 0x0c, 0xa8, + 0x4b, 0x63, 0x15, 0xb6, 0x8e, 0x11, 0x0b, 0x03, 0x52, 0x49, 0x37, 0x96, 0xc8, 0x49, 0xad, 0x62, + 0x35, 0xee, 0x89, 0x6c, 0x53, 0x91, 0x89, 0x57, 0x60, 0x64, 0xec, 0xdb, 0xd0, 0xb1, 0x23, 0x62, + 0x88, 0x50, 0xbb, 0x30, 0xf7, 0x09, 0x50, 0xdc, 0x14, 0x31, 0x74, 0x61, 0xf2, 0xf1, 0xa7, 0xcf, + 0xc7, 0xbf, 0xf4, 0xdb, 0xe7, 0x9a, 0x49, 0x49, 0x89, 0xa0, 0x72, 0xca, 0x34, 0x99, 0xf7, 0x13, + 0xa6, 0x69, 0xbf, 0xbe, 0x06, 0xb9, 0x04, 0x0d, 0x8e, 0x6b, 0x94, 0xa0, 0x66, 0xb5, 0x72, 0xea, + 0x4e, 0x60, 0x02, 0x46, 0x20, 0xd5, 0xb4, 0x73, 0xfd, 0xb7, 0x86, 0xdd, 0x1c, 0x52, 0x49, 0x85, + 0x72, 0x62, 0xfb, 0x28, 0xa1, 0x8a, 0xc5, 0x39, 0x40, 0xd6, 0x46, 0x1d, 0xd4, 0x3d, 0x0e, 0xc3, + 0x65, 0x89, 0xad, 0x8f, 0x12, 0x5f, 0x4c, 0xb8, 0x7e, 0x78, 0x4c, 0x82, 0x14, 0x04, 0x49, 0x41, + 0x09, 0x50, 0xf5, 0xd1, 0x53, 0xe3, 0x29, 0xd1, 0x45, 0xce, 0x54, 0x70, 0xcd, 0xd2, 0x6d, 0x89, + 0x4f, 0x0a, 0x2a, 0xb2, 0x81, 0xff, 0xb3, 0xc8, 0x8f, 0x5a, 0xd5, 0x3c, 0x04, 0xc8, 0x9c, 0x3b, + 0xdb, 0xad, 0x50, 0x2c, 0x59, 0x0a, 0x73, 0x26, 0x8b, 0x38, 0x67, 0x92, 0xc3, 0xb8, 0xdd, 0xe8, + 0xa0, 0xee, 0xff, 0x10, 0x6f, 0x4b, 0x7c, 0xb6, 0x7b, 0x7d, 0xc8, 0xf2, 0x23, 0xa7, 0xc2, 0x51, + 0x4d, 0x87, 0x06, 0x3a, 0xcf, 0xb6, 0x2b, 0xf8, 0x2c, 0x56, 0x9a, 0x26, 0x3c, 0xe3, 0xba, 0x88, + 0x55, 0x2e, 0x19, 0x1d, 0xb7, 0xff, 0x99, 0xf8, 0xb7, 0x7f, 0x8e, 0x5f, 0x07, 0x38, 0xb4, 0xd3, + 0x8f, 0x1c, 0xc1, 0x67, 0xa3, 0x3d, 0x1d, 0x19, 0x38, 0x68, 0xbd, 0x2e, 0xb0, 0xf5, 0xb5, 0xc0, + 0x28, 0xbc, 0x59, 0xae, 0x3d, 0xb4, 0x5a, 0x7b, 0xe8, 0x73, 0xed, 0xa1, 0x97, 0x8d, 0x67, 0xad, + 0x36, 0x9e, 0xf5, 0xbe, 0xf1, 0xac, 0x7b, 0xf2, 0xfb, 0xfb, 0x8c, 0x2a, 0xc5, 0xd3, 0xde, 0xae, + 0xc5, 0x14, 0x24, 0x23, 0xf3, 0x4b, 0xf2, 0xb4, 0xef, 0xd3, 0x64, 0x49, 0x9a, 0xa6, 0x9b, 0xab, + 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xee, 0xb4, 0xbb, 0x6d, 0xec, 0x01, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { @@ -139,7 +131,6 @@ func (this *Params) Equal(that interface{}) bool { } return true } - func (m *Params) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -199,7 +190,6 @@ func encodeVarintMarket(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *Params) Size() (n int) { if m == nil { return 0 @@ -219,11 +209,9 @@ func (m *Params) Size() (n int) { func sovMarket(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozMarket(x uint64) (n int) { return sovMarket(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *Params) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -359,7 +347,6 @@ func (m *Params) Unmarshal(dAtA []byte) error { } return nil } - func skipMarket(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/market/types/msgs_test.go b/x/market/types/msgs_test.go index c5f6313f6..0ad640a92 100644 --- a/x/market/types/msgs_test.go +++ b/x/market/types/msgs_test.go @@ -3,7 +3,7 @@ package types import ( "testing" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" "github.com/stretchr/testify/require" diff --git a/x/market/types/params.go b/x/market/types/params.go index a01c8d22b..5f3ddbe12 100644 --- a/x/market/types/params.go +++ b/x/market/types/params.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" ) // Parameter keys diff --git a/x/market/types/query.pb.go b/x/market/types/query.pb.go index 73a432231..94d784da7 100644 --- a/x/market/types/query.pb.go +++ b/x/market/types/query.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" @@ -19,14 +15,15 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -48,11 +45,9 @@ func (*QuerySwapRequest) ProtoMessage() {} func (*QuerySwapRequest) Descriptor() ([]byte, []int) { return fileDescriptor_c172d0f188bf2fb6, []int{0} } - func (m *QuerySwapRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QuerySwapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QuerySwapRequest.Marshal(b, m, deterministic) @@ -65,15 +60,12 @@ func (m *QuerySwapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } - func (m *QuerySwapRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QuerySwapRequest.Merge(m, src) } - func (m *QuerySwapRequest) XXX_Size() int { return m.Size() } - func (m *QuerySwapRequest) XXX_DiscardUnknown() { xxx_messageInfo_QuerySwapRequest.DiscardUnknown(m) } @@ -92,11 +84,9 @@ func (*QuerySwapResponse) ProtoMessage() {} func (*QuerySwapResponse) Descriptor() ([]byte, []int) { return fileDescriptor_c172d0f188bf2fb6, []int{1} } - func (m *QuerySwapResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QuerySwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QuerySwapResponse.Marshal(b, m, deterministic) @@ -109,15 +99,12 @@ func (m *QuerySwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } - func (m *QuerySwapResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QuerySwapResponse.Merge(m, src) } - func (m *QuerySwapResponse) XXX_Size() int { return m.Size() } - func (m *QuerySwapResponse) XXX_DiscardUnknown() { xxx_messageInfo_QuerySwapResponse.DiscardUnknown(m) } @@ -132,7 +119,8 @@ func (m *QuerySwapResponse) GetReturnCoin() types.Coin { } // QueryTerraPoolDeltaRequest is the request type for the Query/TerraPoolDelta RPC method. -type QueryTerraPoolDeltaRequest struct{} +type QueryTerraPoolDeltaRequest struct { +} func (m *QueryTerraPoolDeltaRequest) Reset() { *m = QueryTerraPoolDeltaRequest{} } func (m *QueryTerraPoolDeltaRequest) String() string { return proto.CompactTextString(m) } @@ -140,11 +128,9 @@ func (*QueryTerraPoolDeltaRequest) ProtoMessage() {} func (*QueryTerraPoolDeltaRequest) Descriptor() ([]byte, []int) { return fileDescriptor_c172d0f188bf2fb6, []int{2} } - func (m *QueryTerraPoolDeltaRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTerraPoolDeltaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTerraPoolDeltaRequest.Marshal(b, m, deterministic) @@ -157,15 +143,12 @@ func (m *QueryTerraPoolDeltaRequest) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } - func (m *QueryTerraPoolDeltaRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTerraPoolDeltaRequest.Merge(m, src) } - func (m *QueryTerraPoolDeltaRequest) XXX_Size() int { return m.Size() } - func (m *QueryTerraPoolDeltaRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryTerraPoolDeltaRequest.DiscardUnknown(m) } @@ -184,11 +167,9 @@ func (*QueryTerraPoolDeltaResponse) ProtoMessage() {} func (*QueryTerraPoolDeltaResponse) Descriptor() ([]byte, []int) { return fileDescriptor_c172d0f188bf2fb6, []int{3} } - func (m *QueryTerraPoolDeltaResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTerraPoolDeltaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTerraPoolDeltaResponse.Marshal(b, m, deterministic) @@ -201,15 +182,12 @@ func (m *QueryTerraPoolDeltaResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } - func (m *QueryTerraPoolDeltaResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTerraPoolDeltaResponse.Merge(m, src) } - func (m *QueryTerraPoolDeltaResponse) XXX_Size() int { return m.Size() } - func (m *QueryTerraPoolDeltaResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryTerraPoolDeltaResponse.DiscardUnknown(m) } @@ -217,7 +195,8 @@ func (m *QueryTerraPoolDeltaResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryTerraPoolDeltaResponse proto.InternalMessageInfo // QueryParamsRequest is the request type for the Query/Params RPC method. -type QueryParamsRequest struct{} +type QueryParamsRequest struct { +} func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } @@ -225,11 +204,9 @@ func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_c172d0f188bf2fb6, []int{4} } - func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) @@ -242,15 +219,12 @@ func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryParamsRequest.Merge(m, src) } - func (m *QueryParamsRequest) XXX_Size() int { return m.Size() } - func (m *QueryParamsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) } @@ -269,11 +243,9 @@ func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_c172d0f188bf2fb6, []int{5} } - func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) @@ -286,15 +258,12 @@ func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryParamsResponse.Merge(m, src) } - func (m *QueryParamsResponse) XXX_Size() int { return m.Size() } - func (m *QueryParamsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) } @@ -320,48 +289,46 @@ func init() { func init() { proto.RegisterFile("terra/market/v1beta1/query.proto", fileDescriptor_c172d0f188bf2fb6) } var fileDescriptor_c172d0f188bf2fb6 = []byte{ - // 537 bytes of a gzipped FileDescriptorProto + // 539 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x3d, 0x6f, 0x13, 0x41, - 0x10, 0xbd, 0x0b, 0xc1, 0x8a, 0x37, 0x28, 0x0a, 0x8b, 0x8b, 0x70, 0x31, 0xe7, 0x70, 0x42, 0xc6, - 0x48, 0x64, 0x17, 0x87, 0x2e, 0x15, 0x32, 0x16, 0x75, 0x62, 0x40, 0x8a, 0x68, 0xac, 0xf5, 0x79, - 0x63, 0x4e, 0xf6, 0xdd, 0x5c, 0x76, 0xd7, 0x84, 0x88, 0x0e, 0x1a, 0x4a, 0x24, 0xfe, 0x40, 0x1a, - 0xfe, 0x00, 0xbf, 0x22, 0x65, 0x24, 0x1a, 0x44, 0x11, 0x21, 0x9b, 0x82, 0x9f, 0x81, 0xf6, 0xc3, - 0x10, 0x47, 0xa7, 0x00, 0x95, 0x7d, 0x33, 0x6f, 0xde, 0x7b, 0xf7, 0x66, 0x0e, 0x6d, 0x28, 0x2e, - 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0xef, 0x1f, 0x90, - 0xce, 0xcf, 0x1d, 0xe3, 0x27, 0xc4, 0xd5, 0x62, 0x3f, 0x76, 0x69, 0xad, 0x27, 0x27, 0x93, 0xd0, - 0x3f, 0x9d, 0x84, 0xfe, 0xf7, 0x49, 0xe8, 0x7f, 0x98, 0x86, 0xde, 0xe9, 0x34, 0xf4, 0xbe, 0x4e, - 0x43, 0xef, 0xc5, 0xfd, 0xf3, 0xf7, 0x36, 0x62, 0x52, 0x26, 0xf1, 0xa6, 0x65, 0x8a, 0x41, 0x70, - 0xfa, 0x7a, 0x46, 0x68, 0x2e, 0xaf, 0x57, 0x32, 0x1f, 0xed, 0xc3, 0x5f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xeb, 0x4e, 0x4a, 0xdc, 0x65, 0x04, 0x00, 0x00, + 0x10, 0xbd, 0x0b, 0x21, 0x8a, 0x37, 0x28, 0x0a, 0x8b, 0x8b, 0x70, 0x31, 0xe7, 0x70, 0x42, 0xc6, + 0x14, 0xd9, 0xc5, 0xa6, 0x4b, 0x85, 0x8c, 0x1b, 0xba, 0xc4, 0x80, 0x14, 0xd1, 0x58, 0xeb, 0xf3, + 0xc6, 0x9c, 0xec, 0xbb, 0xb9, 0xec, 0xae, 0x13, 0x22, 0x3a, 0x68, 0x28, 0x91, 0xf8, 0x03, 0x69, + 0xf8, 0x03, 0xfc, 0x8a, 0x94, 0x91, 0x68, 0x10, 0x45, 0x84, 0x6c, 0x0a, 0x7e, 0x06, 0xda, 0x0f, + 0x43, 0x1c, 0x9d, 0x02, 0x54, 0xf6, 0xcd, 0xbc, 0x79, 0xef, 0xdd, 0x9b, 0x39, 0xb4, 0xa9, 0xb8, + 0x10, 0x8c, 0xa6, 0x4c, 0x0c, 0xb9, 0xa2, 0x87, 0x8d, 0x1e, 0x57, 0xac, 0x41, 0x0f, 0xc6, 0x5c, + 0x1c, 0x93, 0x5c, 0x80, 0x02, 0x5c, 0x36, 0x08, 0x62, 0x11, 0xc4, 0x21, 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, 0xff, 0x30, 0x0d, 0xbd, 0xb3, 0x69, 0xe8, 0x7d, 0x9d, + 0x86, 0xde, 0x4b, 0x7a, 0xf1, 0xde, 0x46, 0x4c, 0xca, 0x24, 0xde, 0xb2, 0x4c, 0x31, 0x08, 0x4e, + 0x0f, 0x9b, 0xf4, 0xf5, 0x8c, 0xd3, 0x1c, 0x5f, 0x6f, 0xc9, 0x7c, 0xb7, 0x8f, 0x7e, 0x05, 0x00, + 0x00, 0xff, 0xff, 0xc9, 0x1f, 0x13, 0x80, 0x68, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -425,16 +392,15 @@ type QueryServer interface { } // UnimplementedQueryServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServer struct{} +type UnimplementedQueryServer struct { +} func (*UnimplementedQueryServer) Swap(ctx context.Context, req *QuerySwapRequest) (*QuerySwapResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Swap not implemented") } - func (*UnimplementedQueryServer) TerraPoolDelta(ctx context.Context, req *QueryTerraPoolDeltaRequest) (*QueryTerraPoolDeltaResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TerraPoolDelta not implemented") } - func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } @@ -711,7 +677,6 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *QuerySwapRequest) Size() (n int) { if m == nil { return 0 @@ -783,11 +748,9 @@ func (m *QueryParamsResponse) Size() (n int) { func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozQuery(x uint64) (n int) { return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *QuerySwapRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -902,7 +865,6 @@ func (m *QuerySwapRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QuerySwapResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -986,7 +948,6 @@ func (m *QuerySwapResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTerraPoolDeltaRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1037,7 +998,6 @@ func (m *QueryTerraPoolDeltaRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTerraPoolDeltaResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1121,7 +1081,6 @@ func (m *QueryTerraPoolDeltaResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1172,7 +1131,6 @@ func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1256,7 +1214,6 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/market/types/query.pb.gw.go b/x/market/types/query.pb.gw.go index dbbbea97f..67f7fef14 100644 --- a/x/market/types/query.pb.gw.go +++ b/x/market/types/query.pb.gw.go @@ -25,18 +25,18 @@ import ( ) // Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join + var ( - _ codes.Code - _ io.Reader - _ status.Status - _ = runtime.String - _ = utilities.NewDoubleArray - _ = descriptor.ForMessage - _ = metadata.Join + filter_Query_Swap_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -var filter_Query_Swap_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} - func request_Query_Swap_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QuerySwapRequest var metadata runtime.ServerMetadata @@ -50,6 +50,7 @@ func request_Query_Swap_0(ctx context.Context, marshaler runtime.Marshaler, clie msg, err := client.Swap(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_Swap_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -65,6 +66,7 @@ func local_request_Query_Swap_0(ctx context.Context, marshaler runtime.Marshaler msg, err := server.Swap(ctx, &protoReq) return msg, metadata, err + } func request_Query_TerraPoolDelta_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -73,6 +75,7 @@ func request_Query_TerraPoolDelta_0(ctx context.Context, marshaler runtime.Marsh msg, err := client.TerraPoolDelta(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_TerraPoolDelta_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -81,6 +84,7 @@ func local_request_Query_TerraPoolDelta_0(ctx context.Context, marshaler runtime msg, err := server.TerraPoolDelta(ctx, &protoReq) return msg, metadata, err + } func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -89,6 +93,7 @@ func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, cl msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -97,6 +102,7 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal msg, err := server.Params(ctx, &protoReq) return msg, metadata, err + } // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". @@ -104,6 +110,7 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. // Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { + mux.Handle("GET", pattern_Query_Swap_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -124,6 +131,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_Swap_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_TerraPoolDelta_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -146,6 +154,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_TerraPoolDelta_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -168,6 +177,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil @@ -210,6 +220,7 @@ func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "QueryClient" to call the correct interceptors. func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { + mux.Handle("GET", pattern_Query_Swap_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -227,6 +238,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_Swap_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_TerraPoolDelta_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -246,6 +258,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_TerraPoolDelta_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -265,6 +278,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil diff --git a/x/market/types/tx.pb.go b/x/market/types/tx.pb.go index 2bcad875b..076d632be 100644 --- a/x/market/types/tx.pb.go +++ b/x/market/types/tx.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" @@ -17,14 +13,15 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -45,11 +42,9 @@ func (*MsgSwap) ProtoMessage() {} func (*MsgSwap) Descriptor() ([]byte, []int) { return fileDescriptor_7dcd4b152743bd0f, []int{0} } - func (m *MsgSwap) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgSwap.Marshal(b, m, deterministic) @@ -62,15 +57,12 @@ func (m *MsgSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *MsgSwap) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgSwap.Merge(m, src) } - func (m *MsgSwap) XXX_Size() int { return m.Size() } - func (m *MsgSwap) XXX_DiscardUnknown() { xxx_messageInfo_MsgSwap.DiscardUnknown(m) } @@ -89,11 +81,9 @@ func (*MsgSwapResponse) ProtoMessage() {} func (*MsgSwapResponse) Descriptor() ([]byte, []int) { return fileDescriptor_7dcd4b152743bd0f, []int{1} } - func (m *MsgSwapResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgSwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgSwapResponse.Marshal(b, m, deterministic) @@ -106,15 +96,12 @@ func (m *MsgSwapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } - func (m *MsgSwapResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgSwapResponse.Merge(m, src) } - func (m *MsgSwapResponse) XXX_Size() int { return m.Size() } - func (m *MsgSwapResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgSwapResponse.DiscardUnknown(m) } @@ -149,11 +136,9 @@ func (*MsgSwapSend) ProtoMessage() {} func (*MsgSwapSend) Descriptor() ([]byte, []int) { return fileDescriptor_7dcd4b152743bd0f, []int{2} } - func (m *MsgSwapSend) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgSwapSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgSwapSend.Marshal(b, m, deterministic) @@ -166,15 +151,12 @@ func (m *MsgSwapSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } - func (m *MsgSwapSend) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgSwapSend.Merge(m, src) } - func (m *MsgSwapSend) XXX_Size() int { return m.Size() } - func (m *MsgSwapSend) XXX_DiscardUnknown() { xxx_messageInfo_MsgSwapSend.DiscardUnknown(m) } @@ -193,11 +175,9 @@ func (*MsgSwapSendResponse) ProtoMessage() {} func (*MsgSwapSendResponse) Descriptor() ([]byte, []int) { return fileDescriptor_7dcd4b152743bd0f, []int{3} } - func (m *MsgSwapSendResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgSwapSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgSwapSendResponse.Marshal(b, m, deterministic) @@ -210,15 +190,12 @@ func (m *MsgSwapSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *MsgSwapSendResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgSwapSendResponse.Merge(m, src) } - func (m *MsgSwapSendResponse) XXX_Size() int { return m.Size() } - func (m *MsgSwapSendResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgSwapSendResponse.DiscardUnknown(m) } @@ -249,46 +226,45 @@ func init() { func init() { proto.RegisterFile("terra/market/v1beta1/tx.proto", fileDescriptor_7dcd4b152743bd0f) } var fileDescriptor_7dcd4b152743bd0f = []byte{ - // 510 bytes of a gzipped FileDescriptorProto + // 513 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x54, 0xbf, 0x6e, 0xd3, 0x40, - 0x18, 0xf7, 0x25, 0x55, 0x9b, 0x5c, 0x40, 0xa5, 0x6e, 0x50, 0xd3, 0x48, 0xb5, 0xcb, 0x49, 0x48, - 0xad, 0x04, 0xb6, 0x52, 0x98, 0xb2, 0x11, 0x50, 0x27, 0x22, 0x21, 0x67, 0x41, 0x2c, 0xd1, 0xc5, - 0xfe, 0x6c, 0xa2, 0xd4, 0x3e, 0xeb, 0xee, 0xa0, 0xed, 0x1b, 0x30, 0xc2, 0x1b, 0xf4, 0x05, 0x58, - 0x18, 0x78, 0x04, 0xd4, 0xb1, 0x23, 0x93, 0x85, 0x92, 0x85, 0x39, 0x4f, 0x80, 0xec, 0xbb, 0x38, - 0x41, 0x42, 0x8d, 0x18, 0x18, 0xd8, 0xbe, 0xf3, 0xef, 0xcf, 0xfd, 0xbe, 0xfb, 0x7c, 0x87, 0x0f, - 0x24, 0x70, 0x4e, 0xdd, 0x98, 0xf2, 0x09, 0x48, 0xf7, 0x7d, 0x67, 0x04, 0x92, 0x76, 0x5c, 0x79, - 0xe1, 0xa4, 0x9c, 0x49, 0x66, 0x36, 0x0b, 0xd8, 0x51, 0xb0, 0xa3, 0xe1, 0x76, 0x33, 0x62, 0x11, - 0x2b, 0x08, 0x6e, 0x5e, 0x29, 0x6e, 0xdb, 0xf2, 0x99, 0x88, 0x99, 0x70, 0x47, 0x54, 0x40, 0xe9, - 0xe4, 0xb3, 0x71, 0xa2, 0x70, 0xf2, 0x0d, 0xe1, 0xad, 0xbe, 0x88, 0x06, 0xe7, 0x34, 0x35, 0x8f, - 0xf1, 0xa6, 0xe4, 0x34, 0x00, 0xde, 0x42, 0x87, 0xe8, 0xa8, 0xde, 0xdb, 0x99, 0x67, 0xf6, 0xdd, - 0x4b, 0x1a, 0x9f, 0x75, 0x89, 0xfa, 0x4e, 0x3c, 0x4d, 0x30, 0x07, 0x18, 0xb3, 0x30, 0x04, 0x3e, - 0xcc, 0xad, 0x5a, 0x95, 0x43, 0x74, 0xd4, 0x38, 0xd9, 0x77, 0xd4, 0x5e, 0x4e, 0xbe, 0xd7, 0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xfb, 0x1c, + 0x27, 0x48, 0x28, 0x11, 0x03, 0x03, 0xdb, 0x77, 0xfe, 0xfd, 0xb9, 0xdf, 0x77, 0x9f, 0xef, 0xf0, + 0x91, 0x04, 0xce, 0xa9, 0x13, 0x51, 0x3e, 0x01, 0xe9, 0x9c, 0xb7, 0x47, 0x20, 0x69, 0xdb, 0x91, + 0x97, 0x76, 0xc2, 0x99, 0x64, 0x46, 0x23, 0x87, 0x6d, 0x05, 0xdb, 0x05, 0xdc, 0x6a, 0x84, 0x2c, + 0x64, 0x39, 0xc1, 0xc9, 0x2a, 0xc5, 0x6d, 0x99, 0x1e, 0x13, 0x11, 0x13, 0xce, 0x88, 0x0a, 0x28, + 0x9d, 0x3c, 0x36, 0x8e, 0x15, 0x4e, 0xbe, 0x21, 0xbc, 0xd3, 0x17, 0xe1, 0xe0, 0x82, 0x26, 0xc6, + 0x29, 0xde, 0x96, 0x9c, 0xfa, 0xc0, 0x9b, 0xe8, 0x18, 0x9d, 0xe8, 0xbd, 0xbd, 0x79, 0x6a, 0xdd, + 0xbd, 0xa2, 0xd1, 0x59, 0x97, 0xa8, 0xef, 0xc4, 0x2d, 0x08, 0xc6, 0x00, 0x63, 0x16, 0x04, 0xc0, + 0x87, 0x99, 0x55, 0xb3, 0x72, 0x8c, 0x4e, 0xea, 0x9d, 0x43, 0x5b, 0xed, 0x65, 0x67, 0x7b, 0x2d, + 0x62, 0xd9, 0xcf, 0xd8, 0x38, 0xee, 0x1d, 0xde, 0xa4, 0x96, 0x36, 0x4f, 0xad, 0x3d, 0xe5, 0xb6, + 0x94, 0x12, 0x57, 0xcf, 0x17, 0x19, 0xcb, 0x68, 0x63, 0x9d, 0x8a, 0xc9, 0xd0, 0x87, 0x98, 0x45, + 0xcd, 0x6a, 0x1e, 0xa1, 0x31, 0x4f, 0xad, 0x7b, 0x4a, 0x54, 0x42, 0xc4, 0xad, 0x51, 0x31, 0x79, + 0x9e, 0x95, 0xdd, 0xda, 0x87, 0x6b, 0x4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 0xa9, 0x89, 0x7e, + 0x4c, 0x4d, 0xf4, 0x71, 0x66, 0x6a, 0xb7, 0x33, 0x53, 0xfb, 0x3e, 0x33, 0xb5, 0xb7, 0x4e, 0x38, + 0x96, 0xef, 0xde, 0x8f, 0x6c, 0x8f, 0x45, 0x8e, 0x77, 0x46, 0x85, 0x18, 0x7b, 0x8f, 0xd4, 0x93, + 0xe4, 0x31, 0x0e, 0xce, 0x79, 0xc7, 0xb9, 0x5c, 0x3c, 0x4e, 0xf2, 0x2a, 0x01, 0x31, 0xda, 0xce, + 0x1f, 0x93, 0xc7, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x72, 0x00, 0x08, 0x9f, 0xb9, 0x04, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -343,12 +319,12 @@ type MsgServer interface { } // UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct{} +type UnimplementedMsgServer struct { +} func (*UnimplementedMsgServer) Swap(ctx context.Context, req *MsgSwap) (*MsgSwapResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Swap not implemented") } - func (*UnimplementedMsgServer) SwapSend(ctx context.Context, req *MsgSwapSend) (*MsgSwapSendResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SwapSend not implemented") } @@ -608,7 +584,6 @@ func encodeVarintTx(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *MsgSwap) Size() (n int) { if m == nil { return 0 @@ -680,11 +655,9 @@ func (m *MsgSwapSendResponse) Size() (n int) { func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozTx(x uint64) (n int) { return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *MsgSwap) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -832,7 +805,6 @@ func (m *MsgSwap) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgSwapResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -949,7 +921,6 @@ func (m *MsgSwapResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgSwapSend) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1129,7 +1100,6 @@ func (m *MsgSwapSend) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgSwapSendResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1246,7 +1216,6 @@ func (m *MsgSwapSendResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/oracle/abci.go b/x/oracle/abci.go index ce3bd3b89..b248d605b 100644 --- a/x/oracle/abci.go +++ b/x/oracle/abci.go @@ -3,9 +3,9 @@ package oracle import ( "time" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/keeper" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/keeper" + "github.com/classic-terra/core/v2/x/oracle/types" "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/oracle/abci_test.go b/x/oracle/abci_test.go index 0bd6ce497..21155bd68 100644 --- a/x/oracle/abci_test.go +++ b/x/oracle/abci_test.go @@ -12,10 +12,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle" - "github.com/classic-terra/core/x/oracle/keeper" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle" + "github.com/classic-terra/core/v2/x/oracle/keeper" + "github.com/classic-terra/core/v2/x/oracle/types" ) func TestOracleThreshold(t *testing.T) { diff --git a/x/oracle/client/cli/query.go b/x/oracle/client/cli/query.go index 120f2dc0b..26e6d3e5f 100644 --- a/x/oracle/client/cli/query.go +++ b/x/oracle/client/cli/query.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" diff --git a/x/oracle/client/cli/tx.go b/x/oracle/client/cli/tx.go index 5cd777e66..df48ba302 100644 --- a/x/oracle/client/cli/tx.go +++ b/x/oracle/client/cli/tx.go @@ -6,7 +6,7 @@ import ( "github.com/pkg/errors" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" diff --git a/x/oracle/client/rest/query.go b/x/oracle/client/rest/query.go index 5f37a2819..2342e8ba0 100644 --- a/x/oracle/client/rest/query.go +++ b/x/oracle/client/rest/query.go @@ -6,7 +6,7 @@ import ( "github.com/gorilla/mux" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" "github.com/cosmos/cosmos-sdk/client" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/oracle/client/rest/tx.go b/x/oracle/client/rest/tx.go index eb3055068..499cb5518 100644 --- a/x/oracle/client/rest/tx.go +++ b/x/oracle/client/rest/tx.go @@ -4,7 +4,7 @@ import ( "fmt" "net/http" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" diff --git a/x/oracle/common_test.go b/x/oracle/common_test.go index b9114017d..dfd31f689 100644 --- a/x/oracle/common_test.go +++ b/x/oracle/common_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/classic-terra/core/x/oracle" - "github.com/classic-terra/core/x/oracle/keeper" + "github.com/classic-terra/core/v2/x/oracle" + "github.com/classic-terra/core/v2/x/oracle/keeper" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/staking" diff --git a/x/oracle/exported/alias.go b/x/oracle/exported/alias.go index 2265fe056..5146a1288 100644 --- a/x/oracle/exported/alias.go +++ b/x/oracle/exported/alias.go @@ -1,7 +1,7 @@ // DONTCOVER package exported -import "github.com/classic-terra/core/x/oracle/types" +import "github.com/classic-terra/core/v2/x/oracle/types" type ( MsgAggregateExchangeRatePrevote = types.MsgAggregateExchangeRatePrevote diff --git a/x/oracle/genesis.go b/x/oracle/genesis.go index 585ee85f2..1fc0768d8 100644 --- a/x/oracle/genesis.go +++ b/x/oracle/genesis.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/classic-terra/core/x/oracle/keeper" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/keeper" + "github.com/classic-terra/core/v2/x/oracle/types" ) // InitGenesis initialize default parameters diff --git a/x/oracle/genesis_test.go b/x/oracle/genesis_test.go index 34062e907..ede1f2edc 100644 --- a/x/oracle/genesis_test.go +++ b/x/oracle/genesis_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/classic-terra/core/x/oracle" - "github.com/classic-terra/core/x/oracle/keeper" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle" + "github.com/classic-terra/core/v2/x/oracle/keeper" + "github.com/classic-terra/core/v2/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/oracle/handler.go b/x/oracle/handler.go index 08014e0bd..b6d48bdb1 100644 --- a/x/oracle/handler.go +++ b/x/oracle/handler.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/classic-terra/core/x/oracle/keeper" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/keeper" + "github.com/classic-terra/core/v2/x/oracle/types" ) // NewHandler returns a handler for "oracle" type messages. diff --git a/x/oracle/handler_test.go b/x/oracle/handler_test.go index 750a07fb1..a3280c4eb 100644 --- a/x/oracle/handler_test.go +++ b/x/oracle/handler_test.go @@ -11,9 +11,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/keeper" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/keeper" + "github.com/classic-terra/core/v2/x/oracle/types" ) func TestOracleFilters(t *testing.T) { diff --git a/x/oracle/keeper/alias_functions.go b/x/oracle/keeper/alias_functions.go index 18355371f..b39706833 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/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" ) // GetOracleAccount returns oracle ModuleAccount diff --git a/x/oracle/keeper/ballot.go b/x/oracle/keeper/ballot.go index 31b7dc618..c58e2622d 100644 --- a/x/oracle/keeper/ballot.go +++ b/x/oracle/keeper/ballot.go @@ -5,7 +5,7 @@ import ( "sort" "strings" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" diff --git a/x/oracle/keeper/ballot_test.go b/x/oracle/keeper/ballot_test.go index bcee2df9b..fed0f84bd 100644 --- a/x/oracle/keeper/ballot_test.go +++ b/x/oracle/keeper/ballot_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/staking" diff --git a/x/oracle/keeper/keeper.go b/x/oracle/keeper/keeper.go index c9d84e87f..e32263094 100644 --- a/x/oracle/keeper/keeper.go +++ b/x/oracle/keeper/keeper.go @@ -13,8 +13,8 @@ import ( paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/types" ) // Keeper of the oracle store diff --git a/x/oracle/keeper/keeper_test.go b/x/oracle/keeper/keeper_test.go index 59b53b5ca..bfde54ad7 100644 --- a/x/oracle/keeper/keeper_test.go +++ b/x/oracle/keeper/keeper_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/address" diff --git a/x/oracle/keeper/legacy_querier.go b/x/oracle/keeper/legacy_querier.go index 47294faf0..f5c24a54c 100644 --- a/x/oracle/keeper/legacy_querier.go +++ b/x/oracle/keeper/legacy_querier.go @@ -8,7 +8,7 @@ import ( abci "github.com/tendermint/tendermint/abci/types" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" ) // NewLegacyQuerier is the module level router for state queries diff --git a/x/oracle/keeper/legacy_querier_test.go b/x/oracle/keeper/legacy_querier_test.go index d2170e584..0f1547b1a 100644 --- a/x/oracle/keeper/legacy_querier_test.go +++ b/x/oracle/keeper/legacy_querier_test.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/types" ) func TestLegacyNewLegacyQuerier(t *testing.T) { diff --git a/x/oracle/keeper/msg_server.go b/x/oracle/keeper/msg_server.go index ec8b52081..53b60c120 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/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/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 38fdf5183..e1e81bc2a 100644 --- a/x/oracle/keeper/msg_server_test.go +++ b/x/oracle/keeper/msg_server_test.go @@ -8,8 +8,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/types" "github.com/cosmos/cosmos-sdk/x/staking" ) diff --git a/x/oracle/keeper/params.go b/x/oracle/keeper/params.go index caae2db81..4527300d0 100644 --- a/x/oracle/keeper/params.go +++ b/x/oracle/keeper/params.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/oracle/keeper/querier.go b/x/oracle/keeper/querier.go index 45324a4f8..248a0c0f2 100644 --- a/x/oracle/keeper/querier.go +++ b/x/oracle/keeper/querier.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" ) // querier is used as Keeper will have duplicate methods if used directly, and gRPC names take precedence over q diff --git a/x/oracle/keeper/querier_test.go b/x/oracle/keeper/querier_test.go index 4aa8bf96e..6ef4cee32 100644 --- a/x/oracle/keeper/querier_test.go +++ b/x/oracle/keeper/querier_test.go @@ -9,8 +9,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/types" ) func TestQueryParams(t *testing.T) { diff --git a/x/oracle/keeper/reward.go b/x/oracle/keeper/reward.go index 558a66ee6..df49ab084 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" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/types" ) // RewardBallotWinners implements diff --git a/x/oracle/keeper/reward_test.go b/x/oracle/keeper/reward_test.go index 0770c6865..1cdc7d884 100644 --- a/x/oracle/keeper/reward_test.go +++ b/x/oracle/keeper/reward_test.go @@ -8,8 +8,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/staking" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/types" ) // Test a reward giving mechanism diff --git a/x/oracle/keeper/test_utils.go b/x/oracle/keeper/test_utils.go index b0947effe..19e0cb901 100644 --- a/x/oracle/keeper/test_utils.go +++ b/x/oracle/keeper/test_utils.go @@ -4,13 +4,13 @@ import ( "testing" "time" - customauth "github.com/classic-terra/core/custom/auth" - custombank "github.com/classic-terra/core/custom/bank" - customdistr "github.com/classic-terra/core/custom/distribution" - customparams "github.com/classic-terra/core/custom/params" - customstaking "github.com/classic-terra/core/custom/staking" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/types" + customauth "github.com/classic-terra/core/v2/custom/auth" + custombank "github.com/classic-terra/core/v2/custom/bank" + customdistr "github.com/classic-terra/core/v2/custom/distribution" + customparams "github.com/classic-terra/core/v2/custom/params" + customstaking "github.com/classic-terra/core/v2/custom/staking" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/types" "github.com/stretchr/testify/require" "github.com/tendermint/tendermint/crypto" diff --git a/x/oracle/legacy/v05/migrate.go b/x/oracle/legacy/v05/migrate.go index 55914b771..970198efa 100644 --- a/x/oracle/legacy/v05/migrate.go +++ b/x/oracle/legacy/v05/migrate.go @@ -3,8 +3,8 @@ package v05 import ( "sort" - v04oracle "github.com/classic-terra/core/x/oracle/legacy/v04" - v05oracle "github.com/classic-terra/core/x/oracle/types" + v04oracle "github.com/classic-terra/core/v2/x/oracle/legacy/v04" + v05oracle "github.com/classic-terra/core/v2/x/oracle/types" ) // Migrate accepts exported v0.4 x/oracle and diff --git a/x/oracle/legacy/v05/migrate_test.go b/x/oracle/legacy/v05/migrate_test.go index 7d1159080..f9a26943a 100644 --- a/x/oracle/legacy/v05/migrate_test.go +++ b/x/oracle/legacy/v05/migrate_test.go @@ -10,10 +10,10 @@ import ( "github.com/cosmos/cosmos-sdk/client" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/classic-terra/core/app" - core "github.com/classic-terra/core/types" - v04oracle "github.com/classic-terra/core/x/oracle/legacy/v04" - v05oracle "github.com/classic-terra/core/x/oracle/legacy/v05" + "github.com/classic-terra/core/v2/app" + core "github.com/classic-terra/core/v2/types" + v04oracle "github.com/classic-terra/core/v2/x/oracle/legacy/v04" + v05oracle "github.com/classic-terra/core/v2/x/oracle/legacy/v05" ) func TestMigrate(t *testing.T) { diff --git a/x/oracle/module.go b/x/oracle/module.go index 7ed10e3c6..5069c858e 100644 --- a/x/oracle/module.go +++ b/x/oracle/module.go @@ -19,11 +19,11 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/classic-terra/core/x/oracle/client/cli" - "github.com/classic-terra/core/x/oracle/client/rest" - "github.com/classic-terra/core/x/oracle/keeper" - "github.com/classic-terra/core/x/oracle/simulation" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/client/cli" + "github.com/classic-terra/core/v2/x/oracle/client/rest" + "github.com/classic-terra/core/v2/x/oracle/keeper" + "github.com/classic-terra/core/v2/x/oracle/simulation" + "github.com/classic-terra/core/v2/x/oracle/types" ) var ( diff --git a/x/oracle/simulation/decoder.go b/x/oracle/simulation/decoder.go index b06110778..eb57a8cf5 100644 --- a/x/oracle/simulation/decoder.go +++ b/x/oracle/simulation/decoder.go @@ -10,7 +10,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/oracle/simulation/decoder_test.go b/x/oracle/simulation/decoder_test.go index 50c5c50e7..29e63561a 100644 --- a/x/oracle/simulation/decoder_test.go +++ b/x/oracle/simulation/decoder_test.go @@ -12,10 +12,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/kv" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/keeper" - sim "github.com/classic-terra/core/x/oracle/simulation" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/keeper" + sim "github.com/classic-terra/core/v2/x/oracle/simulation" + "github.com/classic-terra/core/v2/x/oracle/types" ) var ( diff --git a/x/oracle/simulation/genesis.go b/x/oracle/simulation/genesis.go index d2d9a1207..c07b3ea5f 100644 --- a/x/oracle/simulation/genesis.go +++ b/x/oracle/simulation/genesis.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/types" ) // Simulation parameter constants diff --git a/x/oracle/simulation/operations.go b/x/oracle/simulation/operations.go index dd7a6db93..066810f39 100644 --- a/x/oracle/simulation/operations.go +++ b/x/oracle/simulation/operations.go @@ -14,9 +14,9 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/keeper" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/keeper" + "github.com/classic-terra/core/v2/x/oracle/types" ) // Simulation operation weights constants diff --git a/x/oracle/simulation/params.go b/x/oracle/simulation/params.go index 92387162c..7685764b3 100644 --- a/x/oracle/simulation/params.go +++ b/x/oracle/simulation/params.go @@ -9,7 +9,7 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" ) // ParamChanges defines the parameters that can be modified by param change proposals diff --git a/x/oracle/tally.go b/x/oracle/tally.go index a713dcd64..edc290df6 100644 --- a/x/oracle/tally.go +++ b/x/oracle/tally.go @@ -3,9 +3,9 @@ package oracle import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/keeper" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/keeper" + "github.com/classic-terra/core/v2/x/oracle/types" ) // Tally calculates the median and returns it. Sets the set of voters to be rewarded, i.e. voted within diff --git a/x/oracle/tally_fuzz_test.go b/x/oracle/tally_fuzz_test.go index c5eee3d8e..4782ef9d4 100644 --- a/x/oracle/tally_fuzz_test.go +++ b/x/oracle/tally_fuzz_test.go @@ -10,8 +10,8 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/classic-terra/core/x/oracle" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle" + "github.com/classic-terra/core/v2/x/oracle/types" ) func TestFuzz_Tally(t *testing.T) { diff --git a/x/oracle/types/ballot_test.go b/x/oracle/types/ballot_test.go index fdc208eb3..5a212b6a2 100644 --- a/x/oracle/types/ballot_test.go +++ b/x/oracle/types/ballot_test.go @@ -14,8 +14,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/types" ) func TestToMap(t *testing.T) { diff --git a/x/oracle/types/denom_test.go b/x/oracle/types/denom_test.go index 92dfe60a4..0b8002b06 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/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" "github.com/stretchr/testify/require" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/oracle/types/genesis.pb.go b/x/oracle/types/genesis.pb.go index 0b4416e5d..13302783b 100644 --- a/x/oracle/types/genesis.pb.go +++ b/x/oracle/types/genesis.pb.go @@ -5,21 +5,18 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -44,11 +41,9 @@ func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { return fileDescriptor_7ff46fd82c752f1f, []int{0} } - func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) @@ -61,15 +56,12 @@ func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } - func (m *GenesisState) XXX_Merge(src proto.Message) { xxx_messageInfo_GenesisState.Merge(m, src) } - func (m *GenesisState) XXX_Size() int { return m.Size() } - func (m *GenesisState) XXX_DiscardUnknown() { xxx_messageInfo_GenesisState.DiscardUnknown(m) } @@ -139,11 +131,9 @@ func (*FeederDelegation) ProtoMessage() {} func (*FeederDelegation) Descriptor() ([]byte, []int) { return fileDescriptor_7ff46fd82c752f1f, []int{1} } - func (m *FeederDelegation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *FeederDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_FeederDelegation.Marshal(b, m, deterministic) @@ -156,15 +146,12 @@ func (m *FeederDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } - func (m *FeederDelegation) XXX_Merge(src proto.Message) { xxx_messageInfo_FeederDelegation.Merge(m, src) } - func (m *FeederDelegation) XXX_Size() int { return m.Size() } - func (m *FeederDelegation) XXX_DiscardUnknown() { xxx_messageInfo_FeederDelegation.DiscardUnknown(m) } @@ -198,11 +185,9 @@ func (*MissCounter) ProtoMessage() {} func (*MissCounter) Descriptor() ([]byte, []int) { return fileDescriptor_7ff46fd82c752f1f, []int{2} } - func (m *MissCounter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MissCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MissCounter.Marshal(b, m, deterministic) @@ -215,15 +200,12 @@ func (m *MissCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } - func (m *MissCounter) XXX_Merge(src proto.Message) { xxx_messageInfo_MissCounter.Merge(m, src) } - func (m *MissCounter) XXX_Size() int { return m.Size() } - func (m *MissCounter) XXX_DiscardUnknown() { xxx_messageInfo_MissCounter.DiscardUnknown(m) } @@ -257,11 +239,9 @@ func (*TobinTax) ProtoMessage() {} func (*TobinTax) Descriptor() ([]byte, []int) { return fileDescriptor_7ff46fd82c752f1f, []int{3} } - func (m *TobinTax) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *TobinTax) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_TobinTax.Marshal(b, m, deterministic) @@ -274,15 +254,12 @@ func (m *TobinTax) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *TobinTax) XXX_Merge(src proto.Message) { xxx_messageInfo_TobinTax.Merge(m, src) } - func (m *TobinTax) XXX_Size() int { return m.Size() } - func (m *TobinTax) XXX_DiscardUnknown() { xxx_messageInfo_TobinTax.DiscardUnknown(m) } @@ -308,42 +285,42 @@ func init() { } var fileDescriptor_7ff46fd82c752f1f = []byte{ - // 555 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xc7, 0xe3, 0x7e, 0xd1, 0x6e, 0xda, 0xaa, 0x5d, 0xf5, 0x10, 0x45, 0xd4, 0xf9, 0x90, 0x28, - 0x95, 0xa0, 0xb6, 0x1a, 0x6e, 0xdc, 0x1a, 0xda, 0x72, 0x00, 0xa4, 0xca, 0x44, 0x1c, 0x40, 0xc8, - 0xda, 0xd8, 0x13, 0xd7, 0x10, 0x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, 0xce, 0x70, 0xd0, - 0x87, 0x76, 0x35, 0x53, 0xfe, 0xf6, 0xb3, 0x46, 0xff, 0xba, 0x42, 0x6f, 0x0b, 0x72, 0x31, 0xa4, - 0x2f, 0xc9, 0x56, 0x12, 0x23, 0xfa, 0x01, 0x1f, 0xa6, 0x12, 0x04, 0x56, 0x56, 0x94, 0x55, 0xa3, - 0xd8, 0xea, 0x55, 0x8c, 0xf8, 0x4c, 0x93, 0xa6, 0xfc, 0xcd, 0x64, 0x11, 0x42, 0xfa, 0xd9, 0x22, - 0x75, 0x16, 0x45, 0x22, 0x6b, 0x05, 0xfc, 0x3f, 0x9a, 0xf0, 0x07, 0x02, 0x46, 0x3c, 0x6b, 0x66, - 0x55, 0x39, 0xb4, 0x8a, 0x1d, 0x4e, 0x66, 0xd9, 0xf9, 0xd2, 0x2f, 0x74, 0xaa, 0xb1, 0xdc, 0x67, - 0xff, 0x60, 0x90, 0x8e, 0xc9, 0xfe, 0x5d, 0x25, 0x68, 0xff, 0x35, 0xe5, 0xef, 0xfe, 0x87, 0xff, - 0x9b, 0x85, 0x79, 0x95, 0xdd, 0x05, 0x20, 0x3d, 0x23, 0x65, 0xc9, 0xbb, 0x71, 0xea, 0x4b, 0x36, - 0x06, 0xac, 0xdc, 0x53, 0x3e, 0x76, 0xb1, 0x4f, 0x27, 0x03, 0x3b, 0x6c, 0x6c, 0x64, 0x89, 0x34, - 0x67, 0xc0, 0x66, 0x8f, 0xec, 0xdc, 0x9e, 0x15, 0xfa, 0x80, 0x6c, 0x9b, 0x79, 0x63, 0x61, 0x28, - 0x00, 0xf5, 0xcc, 0x6e, 0x78, 0x5b, 0x3a, 0x7a, 0xa2, 0x83, 0xf4, 0x11, 0xd9, 0x1d, 0xb1, 0x7e, - 0x1c, 0x32, 0xc9, 0x17, 0xe4, 0x92, 0x22, 0x77, 0xe6, 0x17, 0x06, 0x6e, 0xbe, 0x27, 0xe5, 0xdc, - 0xf7, 0x2c, 0xce, 0xb5, 0x8a, 0x73, 0x69, 0x83, 0x6c, 0xe6, 0xc7, 0x46, 0x79, 0xac, 0x78, 0xe5, - 0xdc, 0x30, 0x34, 0x13, 0xb2, 0x3e, 0x6b, 0x92, 0xee, 0x91, 0xd5, 0x10, 0x52, 0x9e, 0x18, 0x3d, - 0x7d, 0xa0, 0x2f, 0xc8, 0xc6, 0xfc, 0xbd, 0x74, 0x95, 0x6d, 0x27, 0x7b, 0x8d, 0x1f, 0x37, 0xb5, - 0x83, 0x28, 0x96, 0x97, 0xc3, 0xae, 0x13, 0xf0, 0xc4, 0x0d, 0x38, 0x26, 0x1c, 0xcd, 0xcf, 0x11, - 0x86, 0x1f, 0x5d, 0xf9, 0x69, 0x00, 0xe8, 0x9c, 0x42, 0xe0, 0xad, 0xcf, 0xde, 0xad, 0x7d, 0x7e, - 0x35, 0xb1, 0xad, 0xeb, 0x89, 0x6d, 0xfd, 0x9a, 0xd8, 0xd6, 0x97, 0xa9, 0x5d, 0xba, 0x9e, 0xda, - 0xa5, 0xef, 0x53, 0xbb, 0xf4, 0xf6, 0x71, 0x5e, 0xab, 0xcf, 0x10, 0xe3, 0xe0, 0x48, 0xaf, 0x8b, - 0x80, 0x0b, 0x70, 0xc7, 0xb3, 0xad, 0xa1, 0x54, 0xbb, 0x6b, 0x6a, 0x5b, 0x3c, 0xf9, 0x1d, 0x00, - 0x00, 0xff, 0xff, 0x42, 0xbe, 0xb8, 0x8e, 0xa2, 0x04, 0x00, 0x00, + // 559 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xcf, 0x6e, 0xd3, 0x4e, + 0x10, 0xc7, 0xe3, 0xfe, 0xfb, 0xb5, 0x9b, 0xb6, 0x6a, 0x57, 0x39, 0x44, 0xd1, 0xaf, 0xce, 0x1f, + 0x89, 0x52, 0x09, 0xd5, 0x56, 0xc3, 0x8d, 0x5b, 0x43, 0x0b, 0x42, 0x80, 0x54, 0x99, 0x88, 0x03, + 0x08, 0x59, 0x1b, 0x7b, 0xe2, 0x1a, 0x62, 0x6f, 0xb4, 0xb3, 0x89, 0xc2, 0x91, 0x37, 0xe0, 0x29, + 0x38, 0xf0, 0x24, 0x3d, 0xf6, 0x88, 0x38, 0x14, 0x94, 0xbc, 0x08, 0xf2, 0xee, 0x26, 0x31, 0xc5, + 0x45, 0xe2, 0x94, 0xec, 0xec, 0x67, 0xbe, 0xdf, 0x99, 0xf5, 0x68, 0x48, 0x4b, 0x82, 0x10, 0xcc, + 0xe5, 0x82, 0x05, 0x03, 0x70, 0xc7, 0x27, 0x3d, 0x90, 0xec, 0xc4, 0x8d, 0x20, 0x05, 0x8c, 0xd1, + 0x19, 0x0a, 0x2e, 0x39, 0xad, 0x28, 0xc6, 0xd1, 0x8c, 0x63, 0x98, 0x5a, 0x25, 0xe2, 0x11, 0x57, + 0x80, 0x9b, 0xfd, 0xd3, 0x6c, 0xad, 0x59, 0xa8, 0x67, 0x52, 0x15, 0xd2, 0xfa, 0xb2, 0x4e, 0xb6, + 0x9f, 0x6a, 0x83, 0x57, 0x92, 0x49, 0xa0, 0x8f, 0xc8, 0xc6, 0x90, 0x09, 0x96, 0x60, 0xd5, 0x6a, + 0x58, 0x47, 0xe5, 0xf6, 0xff, 0x4e, 0x91, 0xa1, 0x73, 0xa1, 0x98, 0xce, 0xda, 0xd5, 0x4d, 0xbd, + 0xe4, 0x99, 0x0c, 0xfa, 0x96, 0xd0, 0x3e, 0x40, 0x08, 0xc2, 0x0f, 0x61, 0x00, 0x11, 0x93, 0x31, + 0x4f, 0xb1, 0xba, 0xd2, 0x58, 0x3d, 0x2a, 0xb7, 0x0f, 0x8b, 0x75, 0x9e, 0x28, 0xfe, 0x6c, 0x81, + 0x1b, 0xc5, 0xfd, 0xfe, 0xad, 0x38, 0xd2, 0xf7, 0x64, 0x17, 0x26, 0xc1, 0x25, 0x4b, 0x23, 0xf0, + 0x05, 0x93, 0x80, 0xd5, 0x55, 0x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5, 0x85, 0x81, 0x5b, 0xef, 0x48, + 0x39, 0xf7, 0x3d, 0x8b, 0x73, 0xad, 0xe2, 0x5c, 0xda, 0x24, 0xdb, 0xf9, 0xb1, 0x51, 0x1e, 0x6b, + 0x5e, 0x39, 0x37, 0x0c, 0xad, 0x84, 0x6c, 0xce, 0x9b, 0xa4, 0x15, 0xb2, 0x1e, 0x42, 0xca, 0x13, + 0xa3, 0xa7, 0x0f, 0xf4, 0x39, 0xd9, 0x5a, 0xbc, 0x97, 0xae, 0xb2, 0xe3, 0x64, 0xaf, 0xf1, 0xfd, + 0xa6, 0x7e, 0x18, 0xc5, 0xf2, 0x72, 0xd4, 0x73, 0x02, 0x9e, 0xb8, 0x01, 0xc7, 0x84, 0xa3, 0xf9, + 0x39, 0xc6, 0xf0, 0x83, 0x2b, 0x3f, 0x0e, 0x01, 0x9d, 0x33, 0x08, 0xbc, 0xcd, 0xf9, 0xbb, 0x75, + 0x9e, 0x5d, 0x4d, 0x6d, 0xeb, 0x7a, 0x6a, 0x5b, 0x3f, 0xa7, 0xb6, 0xf5, 0x79, 0x66, 0x97, 0xae, + 0x67, 0x76, 0xe9, 0xdb, 0xcc, 0x2e, 0xbd, 0x71, 0xf3, 0x5a, 0x03, 0x86, 0x18, 0x07, 0xc7, 0x7a, + 0x5d, 0x04, 0x5c, 0x80, 0x3b, 0x6e, 0xbb, 0x93, 0xf9, 0xe2, 0x50, 0xc2, 0xbd, 0x0d, 0xb5, 0x30, + 0x1e, 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x41, 0x32, 0xa6, 0xa5, 0x04, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -586,7 +563,6 @@ func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *GenesisState) Size() (n int) { if m == nil { return 0 @@ -685,11 +661,9 @@ func (m *TobinTax) Size() (n int) { func sovGenesis(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozGenesis(x uint64) (n int) { return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *GenesisState) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -977,7 +951,6 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } return nil } - func (m *FeederDelegation) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1092,7 +1065,6 @@ func (m *FeederDelegation) Unmarshal(dAtA []byte) error { } return nil } - func (m *MissCounter) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1194,7 +1166,6 @@ func (m *MissCounter) Unmarshal(dAtA []byte) error { } return nil } - func (m *TobinTax) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1311,7 +1282,6 @@ func (m *TobinTax) Unmarshal(dAtA []byte) error { } return nil } - func skipGenesis(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/oracle/types/genesis_test.go b/x/oracle/types/genesis_test.go index 45f3375d3..095f23334 100644 --- a/x/oracle/types/genesis_test.go +++ b/x/oracle/types/genesis_test.go @@ -4,8 +4,8 @@ import ( "encoding/json" "testing" - "github.com/classic-terra/core/app" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/app" + "github.com/classic-terra/core/v2/x/oracle/types" "github.com/stretchr/testify/require" ) diff --git a/x/oracle/types/hash_test.go b/x/oracle/types/hash_test.go index 0b87a821c..300737a35 100644 --- a/x/oracle/types/hash_test.go +++ b/x/oracle/types/hash_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/oracle/types/msgs_test.go b/x/oracle/types/msgs_test.go index 63f4a876b..c982bc9f2 100644 --- a/x/oracle/types/msgs_test.go +++ b/x/oracle/types/msgs_test.go @@ -4,8 +4,8 @@ import ( "math/rand" "testing" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/oracle/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/oracle/types" "github.com/stretchr/testify/require" diff --git a/x/oracle/types/oracle.pb.go b/x/oracle/types/oracle.pb.go index 1a018a3ee..306f40c8f 100644 --- a/x/oracle/types/oracle.pb.go +++ b/x/oracle/types/oracle.pb.go @@ -5,21 +5,18 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -44,11 +41,9 @@ func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { return fileDescriptor_2a008582d55f197f, []int{0} } - func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Params.Marshal(b, m, deterministic) @@ -61,15 +56,12 @@ func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Params) XXX_Merge(src proto.Message) { xxx_messageInfo_Params.Merge(m, src) } - func (m *Params) XXX_Size() int { return m.Size() } - func (m *Params) XXX_DiscardUnknown() { xxx_messageInfo_Params.DiscardUnknown(m) } @@ -115,11 +107,9 @@ func (*Denom) ProtoMessage() {} func (*Denom) Descriptor() ([]byte, []int) { return fileDescriptor_2a008582d55f197f, []int{1} } - func (m *Denom) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Denom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Denom.Marshal(b, m, deterministic) @@ -132,15 +122,12 @@ func (m *Denom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Denom) XXX_Merge(src proto.Message) { xxx_messageInfo_Denom.Merge(m, src) } - func (m *Denom) XXX_Size() int { return m.Size() } - func (m *Denom) XXX_DiscardUnknown() { xxx_messageInfo_Denom.DiscardUnknown(m) } @@ -161,11 +148,9 @@ func (*AggregateExchangeRatePrevote) ProtoMessage() {} func (*AggregateExchangeRatePrevote) Descriptor() ([]byte, []int) { return fileDescriptor_2a008582d55f197f, []int{2} } - func (m *AggregateExchangeRatePrevote) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *AggregateExchangeRatePrevote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_AggregateExchangeRatePrevote.Marshal(b, m, deterministic) @@ -178,15 +163,12 @@ func (m *AggregateExchangeRatePrevote) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } - func (m *AggregateExchangeRatePrevote) XXX_Merge(src proto.Message) { xxx_messageInfo_AggregateExchangeRatePrevote.Merge(m, src) } - func (m *AggregateExchangeRatePrevote) XXX_Size() int { return m.Size() } - func (m *AggregateExchangeRatePrevote) XXX_DiscardUnknown() { xxx_messageInfo_AggregateExchangeRatePrevote.DiscardUnknown(m) } @@ -205,11 +187,9 @@ func (*AggregateExchangeRateVote) ProtoMessage() {} func (*AggregateExchangeRateVote) Descriptor() ([]byte, []int) { return fileDescriptor_2a008582d55f197f, []int{3} } - func (m *AggregateExchangeRateVote) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *AggregateExchangeRateVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_AggregateExchangeRateVote.Marshal(b, m, deterministic) @@ -222,15 +202,12 @@ func (m *AggregateExchangeRateVote) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } - func (m *AggregateExchangeRateVote) XXX_Merge(src proto.Message) { xxx_messageInfo_AggregateExchangeRateVote.Merge(m, src) } - func (m *AggregateExchangeRateVote) XXX_Size() int { return m.Size() } - func (m *AggregateExchangeRateVote) XXX_DiscardUnknown() { xxx_messageInfo_AggregateExchangeRateVote.DiscardUnknown(m) } @@ -248,11 +225,9 @@ func (*ExchangeRateTuple) ProtoMessage() {} func (*ExchangeRateTuple) Descriptor() ([]byte, []int) { return fileDescriptor_2a008582d55f197f, []int{4} } - func (m *ExchangeRateTuple) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *ExchangeRateTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ExchangeRateTuple.Marshal(b, m, deterministic) @@ -265,15 +240,12 @@ func (m *ExchangeRateTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } - func (m *ExchangeRateTuple) XXX_Merge(src proto.Message) { xxx_messageInfo_ExchangeRateTuple.Merge(m, src) } - func (m *ExchangeRateTuple) XXX_Size() int { return m.Size() } - func (m *ExchangeRateTuple) XXX_DiscardUnknown() { xxx_messageInfo_ExchangeRateTuple.DiscardUnknown(m) } @@ -291,55 +263,55 @@ func init() { func init() { proto.RegisterFile("terra/oracle/v1beta1/oracle.proto", fileDescriptor_2a008582d55f197f) } var fileDescriptor_2a008582d55f197f = []byte{ - // 753 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x41, 0x6f, 0xd3, 0x48, - 0x14, 0x8e, 0xb7, 0x6d, 0xb6, 0x99, 0xa4, 0xbb, 0xad, 0x37, 0xbb, 0xeb, 0x6d, 0x57, 0x71, 0x3b, - 0xa8, 0xa5, 0x07, 0x9a, 0xa8, 0x70, 0x40, 0xe4, 0x86, 0x15, 0xca, 0x05, 0xa4, 0x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0x81, 0xff, 0xa6, 0xfa, 0x3e, 0x10, 0xa6, 0xdf, 0x6a, 0xa0, 0x8a, 0x55, 0xd2, 0xa1, 0x48, - 0xfc, 0x07, 0xf4, 0xba, 0x11, 0x66, 0x86, 0x26, 0xf7, 0xe2, 0xf6, 0xf4, 0xbd, 0xc8, 0xd3, 0xec, - 0x8b, 0x7a, 0xeb, 0x81, 0xda, 0x11, 0x35, 0xfd, 0x69, 0x94, 0x62, 0x5d, 0xf4, 0x89, 0x37, 0x99, - 0xad, 0xe3, 0x89, 0xdc, 0xcf, 0xb6, 0xe9, 0xc6, 0x51, 0x3f, 0x6b, 0x60, 0x65, 0x42, 0x40, 0x70, - 0xf9, 0xe2, 0x56, 0xa9, 0xc1, 0xe4, 0xb8, 0x64, 0x1a, 0xda, 0x19, 0xac, 0x1f, 0x82, 0xa5, 0x31, - 0xdb, 0x4a, 0x7b, 0x6f, 0xe6, 0x3b, 0x55, 0x9d, 0xd2, 0x03, 0x68, 0x57, 0xf2, 0xc7, 0x1c, 0x37, - 0x6e, 0xed, 0x9d, 0x9e, 0xd7, 0xb4, 0xb3, 0xf3, 0x9a, 0xf6, 0xfd, 0xbc, 0xa6, 0xbd, 0xb9, 0xa8, - 0x15, 0xce, 0x2e, 0x6a, 0x85, 0x2f, 0x17, 0xb5, 0xc2, 0xf3, 0x3b, 0x79, 0xd5, 0x08, 0x31, 0x16, - 0x7a, 0x3b, 0xd9, 0xd7, 0xc8, 0x23, 0x14, 0x37, 0x06, 0xa3, 0x8f, 0x92, 0xd4, 0x77, 0x8b, 0xf2, - 0x03, 0x73, 0xef, 0x47, 0x00, 0x00, 0x00, 0xff, 0xff, 0x16, 0xce, 0x38, 0xec, 0xb1, 0x06, 0x00, - 0x00, + // 757 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xbf, 0x6f, 0xdb, 0x46, + 0x14, 0x16, 0x6b, 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0x00, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x3d, 0x00, + 0x0f, 0xb4, 0x06, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { @@ -392,7 +364,6 @@ func (this *Params) Equal(that interface{}) bool { } return true } - func (m *Params) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -662,7 +633,6 @@ func encodeVarintOracle(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *Params) Size() (n int) { if m == nil { return 0 @@ -767,11 +737,9 @@ func (m *ExchangeRateTuple) Size() (n int) { func sovOracle(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozOracle(x uint64) (n int) { return sovOracle(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *Params) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1049,7 +1017,6 @@ func (m *Params) Unmarshal(dAtA []byte) error { } return nil } - func (m *Denom) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1166,7 +1133,6 @@ func (m *Denom) Unmarshal(dAtA []byte) error { } return nil } - func (m *AggregateExchangeRatePrevote) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1300,7 +1266,6 @@ func (m *AggregateExchangeRatePrevote) Unmarshal(dAtA []byte) error { } return nil } - func (m *AggregateExchangeRateVote) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1417,7 +1382,6 @@ func (m *AggregateExchangeRateVote) Unmarshal(dAtA []byte) error { } return nil } - func (m *ExchangeRateTuple) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1534,7 +1498,6 @@ func (m *ExchangeRateTuple) Unmarshal(dAtA []byte) error { } return nil } - func skipOracle(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/oracle/types/params.go b/x/oracle/types/params.go index 153eb2a70..f54bf4cea 100644 --- a/x/oracle/types/params.go +++ b/x/oracle/types/params.go @@ -5,7 +5,7 @@ import ( "gopkg.in/yaml.v2" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" sdk "github.com/cosmos/cosmos-sdk/types" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" diff --git a/x/oracle/types/params_test.go b/x/oracle/types/params_test.go index 6aa0f19d1..b9c260bfe 100644 --- a/x/oracle/types/params_test.go +++ b/x/oracle/types/params_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/oracle/types/query.pb.go b/x/oracle/types/query.pb.go index d814050be..c8fa8a28d 100644 --- a/x/oracle/types/query.pb.go +++ b/x/oracle/types/query.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" @@ -19,14 +15,15 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -46,11 +43,9 @@ func (*QueryExchangeRateRequest) ProtoMessage() {} func (*QueryExchangeRateRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{0} } - func (m *QueryExchangeRateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryExchangeRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryExchangeRateRequest.Marshal(b, m, deterministic) @@ -63,15 +58,12 @@ func (m *QueryExchangeRateRequest) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } - func (m *QueryExchangeRateRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryExchangeRateRequest.Merge(m, src) } - func (m *QueryExchangeRateRequest) XXX_Size() int { return m.Size() } - func (m *QueryExchangeRateRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryExchangeRateRequest.DiscardUnknown(m) } @@ -91,11 +83,9 @@ func (*QueryExchangeRateResponse) ProtoMessage() {} func (*QueryExchangeRateResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{1} } - func (m *QueryExchangeRateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryExchangeRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryExchangeRateResponse.Marshal(b, m, deterministic) @@ -108,15 +98,12 @@ func (m *QueryExchangeRateResponse) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } - func (m *QueryExchangeRateResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryExchangeRateResponse.Merge(m, src) } - func (m *QueryExchangeRateResponse) XXX_Size() int { return m.Size() } - func (m *QueryExchangeRateResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryExchangeRateResponse.DiscardUnknown(m) } @@ -124,7 +111,8 @@ func (m *QueryExchangeRateResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryExchangeRateResponse proto.InternalMessageInfo // QueryExchangeRatesRequest is the request type for the Query/ExchangeRates RPC method. -type QueryExchangeRatesRequest struct{} +type QueryExchangeRatesRequest struct { +} func (m *QueryExchangeRatesRequest) Reset() { *m = QueryExchangeRatesRequest{} } func (m *QueryExchangeRatesRequest) String() string { return proto.CompactTextString(m) } @@ -132,11 +120,9 @@ func (*QueryExchangeRatesRequest) ProtoMessage() {} func (*QueryExchangeRatesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{2} } - func (m *QueryExchangeRatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryExchangeRatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryExchangeRatesRequest.Marshal(b, m, deterministic) @@ -149,15 +135,12 @@ func (m *QueryExchangeRatesRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } - func (m *QueryExchangeRatesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryExchangeRatesRequest.Merge(m, src) } - func (m *QueryExchangeRatesRequest) XXX_Size() int { return m.Size() } - func (m *QueryExchangeRatesRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryExchangeRatesRequest.DiscardUnknown(m) } @@ -177,11 +160,9 @@ func (*QueryExchangeRatesResponse) ProtoMessage() {} func (*QueryExchangeRatesResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{3} } - func (m *QueryExchangeRatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryExchangeRatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryExchangeRatesResponse.Marshal(b, m, deterministic) @@ -194,15 +175,12 @@ func (m *QueryExchangeRatesResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } - func (m *QueryExchangeRatesResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryExchangeRatesResponse.Merge(m, src) } - func (m *QueryExchangeRatesResponse) XXX_Size() int { return m.Size() } - func (m *QueryExchangeRatesResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryExchangeRatesResponse.DiscardUnknown(m) } @@ -228,11 +206,9 @@ func (*QueryTobinTaxRequest) ProtoMessage() {} func (*QueryTobinTaxRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{4} } - func (m *QueryTobinTaxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTobinTaxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTobinTaxRequest.Marshal(b, m, deterministic) @@ -245,15 +221,12 @@ func (m *QueryTobinTaxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } - func (m *QueryTobinTaxRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTobinTaxRequest.Merge(m, src) } - func (m *QueryTobinTaxRequest) XXX_Size() int { return m.Size() } - func (m *QueryTobinTaxRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryTobinTaxRequest.DiscardUnknown(m) } @@ -273,11 +246,9 @@ func (*QueryTobinTaxResponse) ProtoMessage() {} func (*QueryTobinTaxResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{5} } - func (m *QueryTobinTaxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTobinTaxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTobinTaxResponse.Marshal(b, m, deterministic) @@ -290,15 +261,12 @@ func (m *QueryTobinTaxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } - func (m *QueryTobinTaxResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTobinTaxResponse.Merge(m, src) } - func (m *QueryTobinTaxResponse) XXX_Size() int { return m.Size() } - func (m *QueryTobinTaxResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryTobinTaxResponse.DiscardUnknown(m) } @@ -306,7 +274,8 @@ func (m *QueryTobinTaxResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryTobinTaxResponse proto.InternalMessageInfo // QueryTobinTaxesRequest is the request type for the Query/TobinTaxes RPC method. -type QueryTobinTaxesRequest struct{} +type QueryTobinTaxesRequest struct { +} func (m *QueryTobinTaxesRequest) Reset() { *m = QueryTobinTaxesRequest{} } func (m *QueryTobinTaxesRequest) String() string { return proto.CompactTextString(m) } @@ -314,11 +283,9 @@ func (*QueryTobinTaxesRequest) ProtoMessage() {} func (*QueryTobinTaxesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{6} } - func (m *QueryTobinTaxesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTobinTaxesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTobinTaxesRequest.Marshal(b, m, deterministic) @@ -331,15 +298,12 @@ func (m *QueryTobinTaxesRequest) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } - func (m *QueryTobinTaxesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTobinTaxesRequest.Merge(m, src) } - func (m *QueryTobinTaxesRequest) XXX_Size() int { return m.Size() } - func (m *QueryTobinTaxesRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryTobinTaxesRequest.DiscardUnknown(m) } @@ -359,11 +323,9 @@ func (*QueryTobinTaxesResponse) ProtoMessage() {} func (*QueryTobinTaxesResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{7} } - func (m *QueryTobinTaxesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTobinTaxesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTobinTaxesResponse.Marshal(b, m, deterministic) @@ -376,15 +338,12 @@ func (m *QueryTobinTaxesResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *QueryTobinTaxesResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTobinTaxesResponse.Merge(m, src) } - func (m *QueryTobinTaxesResponse) XXX_Size() int { return m.Size() } - func (m *QueryTobinTaxesResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryTobinTaxesResponse.DiscardUnknown(m) } @@ -399,7 +358,8 @@ func (m *QueryTobinTaxesResponse) GetTobinTaxes() DenomList { } // QueryActivesRequest is the request type for the Query/Actives RPC method. -type QueryActivesRequest struct{} +type QueryActivesRequest struct { +} func (m *QueryActivesRequest) Reset() { *m = QueryActivesRequest{} } func (m *QueryActivesRequest) String() string { return proto.CompactTextString(m) } @@ -407,11 +367,9 @@ func (*QueryActivesRequest) ProtoMessage() {} func (*QueryActivesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{8} } - func (m *QueryActivesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryActivesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryActivesRequest.Marshal(b, m, deterministic) @@ -424,15 +382,12 @@ func (m *QueryActivesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryActivesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryActivesRequest.Merge(m, src) } - func (m *QueryActivesRequest) XXX_Size() int { return m.Size() } - func (m *QueryActivesRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryActivesRequest.DiscardUnknown(m) } @@ -452,11 +407,9 @@ func (*QueryActivesResponse) ProtoMessage() {} func (*QueryActivesResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{9} } - func (m *QueryActivesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryActivesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryActivesResponse.Marshal(b, m, deterministic) @@ -469,15 +422,12 @@ func (m *QueryActivesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } - func (m *QueryActivesResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryActivesResponse.Merge(m, src) } - func (m *QueryActivesResponse) XXX_Size() int { return m.Size() } - func (m *QueryActivesResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryActivesResponse.DiscardUnknown(m) } @@ -492,7 +442,8 @@ func (m *QueryActivesResponse) GetActives() []string { } // QueryVoteTargetsRequest is the request type for the Query/VoteTargets RPC method. -type QueryVoteTargetsRequest struct{} +type QueryVoteTargetsRequest struct { +} func (m *QueryVoteTargetsRequest) Reset() { *m = QueryVoteTargetsRequest{} } func (m *QueryVoteTargetsRequest) String() string { return proto.CompactTextString(m) } @@ -500,11 +451,9 @@ func (*QueryVoteTargetsRequest) ProtoMessage() {} func (*QueryVoteTargetsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{10} } - func (m *QueryVoteTargetsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryVoteTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryVoteTargetsRequest.Marshal(b, m, deterministic) @@ -517,15 +466,12 @@ func (m *QueryVoteTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *QueryVoteTargetsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryVoteTargetsRequest.Merge(m, src) } - func (m *QueryVoteTargetsRequest) XXX_Size() int { return m.Size() } - func (m *QueryVoteTargetsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryVoteTargetsRequest.DiscardUnknown(m) } @@ -546,11 +492,9 @@ func (*QueryVoteTargetsResponse) ProtoMessage() {} func (*QueryVoteTargetsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{11} } - func (m *QueryVoteTargetsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryVoteTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryVoteTargetsResponse.Marshal(b, m, deterministic) @@ -563,15 +507,12 @@ func (m *QueryVoteTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } - func (m *QueryVoteTargetsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryVoteTargetsResponse.Merge(m, src) } - func (m *QueryVoteTargetsResponse) XXX_Size() int { return m.Size() } - func (m *QueryVoteTargetsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryVoteTargetsResponse.DiscardUnknown(m) } @@ -597,11 +538,9 @@ func (*QueryFeederDelegationRequest) ProtoMessage() {} func (*QueryFeederDelegationRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{12} } - func (m *QueryFeederDelegationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryFeederDelegationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryFeederDelegationRequest.Marshal(b, m, deterministic) @@ -614,15 +553,12 @@ func (m *QueryFeederDelegationRequest) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } - func (m *QueryFeederDelegationRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryFeederDelegationRequest.Merge(m, src) } - func (m *QueryFeederDelegationRequest) XXX_Size() int { return m.Size() } - func (m *QueryFeederDelegationRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryFeederDelegationRequest.DiscardUnknown(m) } @@ -642,11 +578,9 @@ func (*QueryFeederDelegationResponse) ProtoMessage() {} func (*QueryFeederDelegationResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{13} } - func (m *QueryFeederDelegationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryFeederDelegationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryFeederDelegationResponse.Marshal(b, m, deterministic) @@ -659,15 +593,12 @@ func (m *QueryFeederDelegationResponse) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } - func (m *QueryFeederDelegationResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryFeederDelegationResponse.Merge(m, src) } - func (m *QueryFeederDelegationResponse) XXX_Size() int { return m.Size() } - func (m *QueryFeederDelegationResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryFeederDelegationResponse.DiscardUnknown(m) } @@ -693,11 +624,9 @@ func (*QueryMissCounterRequest) ProtoMessage() {} func (*QueryMissCounterRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{14} } - func (m *QueryMissCounterRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryMissCounterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryMissCounterRequest.Marshal(b, m, deterministic) @@ -710,15 +639,12 @@ func (m *QueryMissCounterRequest) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *QueryMissCounterRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryMissCounterRequest.Merge(m, src) } - func (m *QueryMissCounterRequest) XXX_Size() int { return m.Size() } - func (m *QueryMissCounterRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryMissCounterRequest.DiscardUnknown(m) } @@ -738,11 +664,9 @@ func (*QueryMissCounterResponse) ProtoMessage() {} func (*QueryMissCounterResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{15} } - func (m *QueryMissCounterResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryMissCounterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryMissCounterResponse.Marshal(b, m, deterministic) @@ -755,15 +679,12 @@ func (m *QueryMissCounterResponse) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } - func (m *QueryMissCounterResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryMissCounterResponse.Merge(m, src) } - func (m *QueryMissCounterResponse) XXX_Size() int { return m.Size() } - func (m *QueryMissCounterResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryMissCounterResponse.DiscardUnknown(m) } @@ -789,11 +710,9 @@ func (*QueryAggregatePrevoteRequest) ProtoMessage() {} func (*QueryAggregatePrevoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{16} } - func (m *QueryAggregatePrevoteRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryAggregatePrevoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryAggregatePrevoteRequest.Marshal(b, m, deterministic) @@ -806,15 +725,12 @@ func (m *QueryAggregatePrevoteRequest) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } - func (m *QueryAggregatePrevoteRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryAggregatePrevoteRequest.Merge(m, src) } - func (m *QueryAggregatePrevoteRequest) XXX_Size() int { return m.Size() } - func (m *QueryAggregatePrevoteRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryAggregatePrevoteRequest.DiscardUnknown(m) } @@ -834,11 +750,9 @@ func (*QueryAggregatePrevoteResponse) ProtoMessage() {} func (*QueryAggregatePrevoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{17} } - func (m *QueryAggregatePrevoteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryAggregatePrevoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryAggregatePrevoteResponse.Marshal(b, m, deterministic) @@ -851,15 +765,12 @@ func (m *QueryAggregatePrevoteResponse) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } - func (m *QueryAggregatePrevoteResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryAggregatePrevoteResponse.Merge(m, src) } - func (m *QueryAggregatePrevoteResponse) XXX_Size() int { return m.Size() } - func (m *QueryAggregatePrevoteResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryAggregatePrevoteResponse.DiscardUnknown(m) } @@ -874,7 +785,8 @@ func (m *QueryAggregatePrevoteResponse) GetAggregatePrevote() AggregateExchangeR } // QueryAggregatePrevotesRequest is the request type for the Query/AggregatePrevotes RPC method. -type QueryAggregatePrevotesRequest struct{} +type QueryAggregatePrevotesRequest struct { +} func (m *QueryAggregatePrevotesRequest) Reset() { *m = QueryAggregatePrevotesRequest{} } func (m *QueryAggregatePrevotesRequest) String() string { return proto.CompactTextString(m) } @@ -882,11 +794,9 @@ func (*QueryAggregatePrevotesRequest) ProtoMessage() {} func (*QueryAggregatePrevotesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{18} } - func (m *QueryAggregatePrevotesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryAggregatePrevotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryAggregatePrevotesRequest.Marshal(b, m, deterministic) @@ -899,15 +809,12 @@ func (m *QueryAggregatePrevotesRequest) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } - func (m *QueryAggregatePrevotesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryAggregatePrevotesRequest.Merge(m, src) } - func (m *QueryAggregatePrevotesRequest) XXX_Size() int { return m.Size() } - func (m *QueryAggregatePrevotesRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryAggregatePrevotesRequest.DiscardUnknown(m) } @@ -927,11 +834,9 @@ func (*QueryAggregatePrevotesResponse) ProtoMessage() {} func (*QueryAggregatePrevotesResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{19} } - func (m *QueryAggregatePrevotesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryAggregatePrevotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryAggregatePrevotesResponse.Marshal(b, m, deterministic) @@ -944,15 +849,12 @@ func (m *QueryAggregatePrevotesResponse) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } - func (m *QueryAggregatePrevotesResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryAggregatePrevotesResponse.Merge(m, src) } - func (m *QueryAggregatePrevotesResponse) XXX_Size() int { return m.Size() } - func (m *QueryAggregatePrevotesResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryAggregatePrevotesResponse.DiscardUnknown(m) } @@ -978,11 +880,9 @@ func (*QueryAggregateVoteRequest) ProtoMessage() {} func (*QueryAggregateVoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{20} } - func (m *QueryAggregateVoteRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryAggregateVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryAggregateVoteRequest.Marshal(b, m, deterministic) @@ -995,15 +895,12 @@ func (m *QueryAggregateVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } - func (m *QueryAggregateVoteRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryAggregateVoteRequest.Merge(m, src) } - func (m *QueryAggregateVoteRequest) XXX_Size() int { return m.Size() } - func (m *QueryAggregateVoteRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryAggregateVoteRequest.DiscardUnknown(m) } @@ -1023,11 +920,9 @@ func (*QueryAggregateVoteResponse) ProtoMessage() {} func (*QueryAggregateVoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{21} } - func (m *QueryAggregateVoteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryAggregateVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryAggregateVoteResponse.Marshal(b, m, deterministic) @@ -1040,15 +935,12 @@ func (m *QueryAggregateVoteResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } - func (m *QueryAggregateVoteResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryAggregateVoteResponse.Merge(m, src) } - func (m *QueryAggregateVoteResponse) XXX_Size() int { return m.Size() } - func (m *QueryAggregateVoteResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryAggregateVoteResponse.DiscardUnknown(m) } @@ -1063,7 +955,8 @@ func (m *QueryAggregateVoteResponse) GetAggregateVote() AggregateExchangeRateVot } // QueryAggregateVotesRequest is the request type for the Query/AggregateVotes RPC method. -type QueryAggregateVotesRequest struct{} +type QueryAggregateVotesRequest struct { +} func (m *QueryAggregateVotesRequest) Reset() { *m = QueryAggregateVotesRequest{} } func (m *QueryAggregateVotesRequest) String() string { return proto.CompactTextString(m) } @@ -1071,11 +964,9 @@ func (*QueryAggregateVotesRequest) ProtoMessage() {} func (*QueryAggregateVotesRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{22} } - func (m *QueryAggregateVotesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryAggregateVotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryAggregateVotesRequest.Marshal(b, m, deterministic) @@ -1088,15 +979,12 @@ func (m *QueryAggregateVotesRequest) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } - func (m *QueryAggregateVotesRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryAggregateVotesRequest.Merge(m, src) } - func (m *QueryAggregateVotesRequest) XXX_Size() int { return m.Size() } - func (m *QueryAggregateVotesRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryAggregateVotesRequest.DiscardUnknown(m) } @@ -1116,11 +1004,9 @@ func (*QueryAggregateVotesResponse) ProtoMessage() {} func (*QueryAggregateVotesResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{23} } - func (m *QueryAggregateVotesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryAggregateVotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryAggregateVotesResponse.Marshal(b, m, deterministic) @@ -1133,15 +1019,12 @@ func (m *QueryAggregateVotesResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } - func (m *QueryAggregateVotesResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryAggregateVotesResponse.Merge(m, src) } - func (m *QueryAggregateVotesResponse) XXX_Size() int { return m.Size() } - func (m *QueryAggregateVotesResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryAggregateVotesResponse.DiscardUnknown(m) } @@ -1156,7 +1039,8 @@ func (m *QueryAggregateVotesResponse) GetAggregateVotes() []AggregateExchangeRat } // QueryParamsRequest is the request type for the Query/Params RPC method. -type QueryParamsRequest struct{} +type QueryParamsRequest struct { +} func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } @@ -1164,11 +1048,9 @@ func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{24} } - func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) @@ -1181,15 +1063,12 @@ func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryParamsRequest.Merge(m, src) } - func (m *QueryParamsRequest) XXX_Size() int { return m.Size() } - func (m *QueryParamsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) } @@ -1208,11 +1087,9 @@ func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_198b4e80572a772d, []int{25} } - func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) @@ -1225,15 +1102,12 @@ func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryParamsResponse.Merge(m, src) } - func (m *QueryParamsResponse) XXX_Size() int { return m.Size() } - func (m *QueryParamsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) } @@ -1279,92 +1153,90 @@ func init() { func init() { proto.RegisterFile("terra/oracle/v1beta1/query.proto", fileDescriptor_198b4e80572a772d) } var fileDescriptor_198b4e80572a772d = []byte{ - // 1235 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x98, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xc7, 0x3d, 0xd0, 0xa6, 0xc9, 0x73, 0x1c, 0x92, 0x21, 0x85, 0xd4, 0x31, 0x76, 0xba, 0x2a, - 0x25, 0x3f, 0x77, 0x13, 0xa7, 0x44, 0x91, 0x11, 0x28, 0x71, 0xd2, 0x0a, 0xd1, 0x22, 0x5a, 0x13, - 0xe5, 0x80, 0x10, 0xd6, 0xc4, 0x1e, 0xdc, 0x15, 0xb6, 0xc7, 0xdd, 0x99, 0x44, 0x09, 0x55, 0x24, - 0x04, 0x12, 0x82, 0x0b, 0x42, 0x42, 0xe2, 0xc2, 0x81, 0xde, 0x90, 0x0a, 0x12, 0x7f, 0x00, 0xf4, - 0x9e, 0x63, 0x25, 0x2e, 0x88, 0x43, 0x8a, 0x12, 0x0e, 0x9c, 0xf9, 0x0b, 0xd0, 0xce, 0xce, 0xae, - 0x77, 0xed, 0xf5, 0x76, 0x9d, 0x9e, 0x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 0xfb, 0x7f, 0xc0, 0xd6, 0x09, - 0xe7, 0x66, 0x65, 0xc1, 0x89, 0x54, 0x61, 0x16, 0x35, 0xf6, 0xdd, 0x80, 0xf2, 0xa7, 0xec, 0xce, - 0x80, 0xfc, 0x2f, 0xc6, 0xf2, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x46, 0xbb, 0xa8, 0xb2, 0x76, - 0x11, 0x00, 0x00, + // 1239 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x98, 0x4f, 0x6f, 0x1b, 0xc5, + 0x1b, 0xc7, 0x3d, 0xbf, 0x5f, 0x9b, 0x26, 0x8f, 0xe3, 0x90, 0x0c, 0x29, 0xa4, 0x8e, 0xb1, 0xd3, + 0x55, 0x29, 0xf9, 0xd3, 0xec, 0x26, 0x4e, 0x89, 0x22, 0x23, 0x50, 0xe2, 0xa4, 0x08, 0x68, 0x11, + 0xad, 0x89, 0x72, 0x40, 0x08, 0x6b, 0x62, 0x0f, 0xee, 0x0a, 0xdb, 0xe3, 0xee, 0x4c, 0xac, 0x84, + 0x2a, 0x12, 0x02, 0x09, 0xc1, 0x05, 0x21, 0x21, 0x71, 0xe1, 0x40, 0x6f, 0x48, 0x05, 0x89, 0x17, + 0x00, 0xbd, 0xe7, 0x58, 0x89, 0x0b, 0xe2, 0x90, 0xa2, 0x84, 0x03, 0x67, 0x5e, 0x01, 0xda, 0xd9, + 0xd9, 0xf5, 0xae, 0xbd, 0xde, 0xae, 0xc3, 0xc9, 0xf1, 0xcc, 0xf3, 0xe7, 0xf3, 0x7c, 0x67, 0x76, + 0x9f, 0xc7, 0x81, 0x19, 0x41, 0x2d, 0x8b, 0x18, 0xcc, 0x22, 0x95, 0x3a, 0x35, 0xda, 0xcb, 0xbb, + 0x54, 0x90, 0x65, 0xe3, 0xde, 0x1e, 0xb5, 0x0e, 0xf4, 0x96, 0xc5, 0x04, 0xc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, 0xfb, + 0x0d, 0xfb, 0xc1, 0x79, 0x11, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -1558,56 +1430,45 @@ type QueryServer interface { } // UnimplementedQueryServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServer struct{} +type UnimplementedQueryServer struct { +} func (*UnimplementedQueryServer) ExchangeRate(ctx context.Context, req *QueryExchangeRateRequest) (*QueryExchangeRateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ExchangeRate not implemented") } - func (*UnimplementedQueryServer) ExchangeRates(ctx context.Context, req *QueryExchangeRatesRequest) (*QueryExchangeRatesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ExchangeRates not implemented") } - func (*UnimplementedQueryServer) TobinTax(ctx context.Context, req *QueryTobinTaxRequest) (*QueryTobinTaxResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TobinTax not implemented") } - func (*UnimplementedQueryServer) TobinTaxes(ctx context.Context, req *QueryTobinTaxesRequest) (*QueryTobinTaxesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TobinTaxes not implemented") } - func (*UnimplementedQueryServer) Actives(ctx context.Context, req *QueryActivesRequest) (*QueryActivesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Actives not implemented") } - func (*UnimplementedQueryServer) VoteTargets(ctx context.Context, req *QueryVoteTargetsRequest) (*QueryVoteTargetsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VoteTargets not implemented") } - func (*UnimplementedQueryServer) FeederDelegation(ctx context.Context, req *QueryFeederDelegationRequest) (*QueryFeederDelegationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FeederDelegation not implemented") } - func (*UnimplementedQueryServer) MissCounter(ctx context.Context, req *QueryMissCounterRequest) (*QueryMissCounterResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MissCounter not implemented") } - func (*UnimplementedQueryServer) AggregatePrevote(ctx context.Context, req *QueryAggregatePrevoteRequest) (*QueryAggregatePrevoteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AggregatePrevote not implemented") } - func (*UnimplementedQueryServer) AggregatePrevotes(ctx context.Context, req *QueryAggregatePrevotesRequest) (*QueryAggregatePrevotesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AggregatePrevotes not implemented") } - func (*UnimplementedQueryServer) AggregateVote(ctx context.Context, req *QueryAggregateVoteRequest) (*QueryAggregateVoteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AggregateVote not implemented") } - func (*UnimplementedQueryServer) AggregateVotes(ctx context.Context, req *QueryAggregateVotesRequest) (*QueryAggregateVotesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AggregateVotes not implemented") } - func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } @@ -2698,7 +2559,6 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *QueryExchangeRateRequest) Size() (n int) { if m == nil { return 0 @@ -3013,11 +2873,9 @@ func (m *QueryParamsResponse) Size() (n int) { func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozQuery(x uint64) (n int) { return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *QueryExchangeRateRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3100,7 +2958,6 @@ func (m *QueryExchangeRateRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryExchangeRateResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3185,7 +3042,6 @@ func (m *QueryExchangeRateResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryExchangeRatesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3236,7 +3092,6 @@ func (m *QueryExchangeRatesRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryExchangeRatesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3321,7 +3176,6 @@ func (m *QueryExchangeRatesResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTobinTaxRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3404,7 +3258,6 @@ func (m *QueryTobinTaxRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTobinTaxResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3489,7 +3342,6 @@ func (m *QueryTobinTaxResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTobinTaxesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3540,7 +3392,6 @@ func (m *QueryTobinTaxesRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTobinTaxesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3625,7 +3476,6 @@ func (m *QueryTobinTaxesResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryActivesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3676,7 +3526,6 @@ func (m *QueryActivesRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryActivesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3759,7 +3608,6 @@ func (m *QueryActivesResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryVoteTargetsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3810,7 +3658,6 @@ func (m *QueryVoteTargetsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryVoteTargetsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3893,7 +3740,6 @@ func (m *QueryVoteTargetsResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryFeederDelegationRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3976,7 +3822,6 @@ func (m *QueryFeederDelegationRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryFeederDelegationResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4059,7 +3904,6 @@ func (m *QueryFeederDelegationResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryMissCounterRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4142,7 +3986,6 @@ func (m *QueryMissCounterRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryMissCounterResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4212,7 +4055,6 @@ func (m *QueryMissCounterResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryAggregatePrevoteRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4295,7 +4137,6 @@ func (m *QueryAggregatePrevoteRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryAggregatePrevoteResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4379,7 +4220,6 @@ func (m *QueryAggregatePrevoteResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryAggregatePrevotesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4430,7 +4270,6 @@ func (m *QueryAggregatePrevotesRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryAggregatePrevotesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4515,7 +4354,6 @@ func (m *QueryAggregatePrevotesResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryAggregateVoteRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4598,7 +4436,6 @@ func (m *QueryAggregateVoteRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryAggregateVoteResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4682,7 +4519,6 @@ func (m *QueryAggregateVoteResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryAggregateVotesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4733,7 +4569,6 @@ func (m *QueryAggregateVotesRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryAggregateVotesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4818,7 +4653,6 @@ func (m *QueryAggregateVotesResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4869,7 +4703,6 @@ func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4953,7 +4786,6 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/oracle/types/query.pb.gw.go b/x/oracle/types/query.pb.gw.go index fa9043576..662167cc8 100644 --- a/x/oracle/types/query.pb.gw.go +++ b/x/oracle/types/query.pb.gw.go @@ -25,15 +25,13 @@ import ( ) // Suppress "imported and not used" errors -var ( - _ codes.Code - _ io.Reader - _ status.Status - _ = runtime.String - _ = utilities.NewDoubleArray - _ = descriptor.ForMessage - _ = metadata.Join -) +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join func request_Query_ExchangeRate_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryExchangeRateRequest @@ -59,6 +57,7 @@ func request_Query_ExchangeRate_0(ctx context.Context, marshaler runtime.Marshal msg, err := client.ExchangeRate(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_ExchangeRate_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -85,6 +84,7 @@ func local_request_Query_ExchangeRate_0(ctx context.Context, marshaler runtime.M msg, err := server.ExchangeRate(ctx, &protoReq) return msg, metadata, err + } func request_Query_ExchangeRates_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -93,6 +93,7 @@ func request_Query_ExchangeRates_0(ctx context.Context, marshaler runtime.Marsha msg, err := client.ExchangeRates(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_ExchangeRates_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -101,6 +102,7 @@ func local_request_Query_ExchangeRates_0(ctx context.Context, marshaler runtime. msg, err := server.ExchangeRates(ctx, &protoReq) return msg, metadata, err + } func request_Query_TobinTax_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -127,6 +129,7 @@ func request_Query_TobinTax_0(ctx context.Context, marshaler runtime.Marshaler, msg, err := client.TobinTax(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_TobinTax_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -153,6 +156,7 @@ func local_request_Query_TobinTax_0(ctx context.Context, marshaler runtime.Marsh msg, err := server.TobinTax(ctx, &protoReq) return msg, metadata, err + } func request_Query_TobinTaxes_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -161,6 +165,7 @@ func request_Query_TobinTaxes_0(ctx context.Context, marshaler runtime.Marshaler msg, err := client.TobinTaxes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_TobinTaxes_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -169,6 +174,7 @@ func local_request_Query_TobinTaxes_0(ctx context.Context, marshaler runtime.Mar msg, err := server.TobinTaxes(ctx, &protoReq) return msg, metadata, err + } func request_Query_Actives_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -177,6 +183,7 @@ func request_Query_Actives_0(ctx context.Context, marshaler runtime.Marshaler, c msg, err := client.Actives(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_Actives_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -185,6 +192,7 @@ func local_request_Query_Actives_0(ctx context.Context, marshaler runtime.Marsha msg, err := server.Actives(ctx, &protoReq) return msg, metadata, err + } func request_Query_VoteTargets_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -193,6 +201,7 @@ func request_Query_VoteTargets_0(ctx context.Context, marshaler runtime.Marshale msg, err := client.VoteTargets(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_VoteTargets_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -201,6 +210,7 @@ func local_request_Query_VoteTargets_0(ctx context.Context, marshaler runtime.Ma msg, err := server.VoteTargets(ctx, &protoReq) return msg, metadata, err + } func request_Query_FeederDelegation_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -227,6 +237,7 @@ func request_Query_FeederDelegation_0(ctx context.Context, marshaler runtime.Mar msg, err := client.FeederDelegation(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_FeederDelegation_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -253,6 +264,7 @@ func local_request_Query_FeederDelegation_0(ctx context.Context, marshaler runti msg, err := server.FeederDelegation(ctx, &protoReq) return msg, metadata, err + } func request_Query_MissCounter_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -279,6 +291,7 @@ func request_Query_MissCounter_0(ctx context.Context, marshaler runtime.Marshale msg, err := client.MissCounter(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_MissCounter_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -305,6 +318,7 @@ func local_request_Query_MissCounter_0(ctx context.Context, marshaler runtime.Ma msg, err := server.MissCounter(ctx, &protoReq) return msg, metadata, err + } func request_Query_AggregatePrevote_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -331,6 +345,7 @@ func request_Query_AggregatePrevote_0(ctx context.Context, marshaler runtime.Mar msg, err := client.AggregatePrevote(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_AggregatePrevote_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -357,6 +372,7 @@ func local_request_Query_AggregatePrevote_0(ctx context.Context, marshaler runti msg, err := server.AggregatePrevote(ctx, &protoReq) return msg, metadata, err + } func request_Query_AggregatePrevotes_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -365,6 +381,7 @@ func request_Query_AggregatePrevotes_0(ctx context.Context, marshaler runtime.Ma msg, err := client.AggregatePrevotes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_AggregatePrevotes_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -373,6 +390,7 @@ func local_request_Query_AggregatePrevotes_0(ctx context.Context, marshaler runt msg, err := server.AggregatePrevotes(ctx, &protoReq) return msg, metadata, err + } func request_Query_AggregateVote_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -399,6 +417,7 @@ func request_Query_AggregateVote_0(ctx context.Context, marshaler runtime.Marsha msg, err := client.AggregateVote(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_AggregateVote_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -425,6 +444,7 @@ func local_request_Query_AggregateVote_0(ctx context.Context, marshaler runtime. msg, err := server.AggregateVote(ctx, &protoReq) return msg, metadata, err + } func request_Query_AggregateVotes_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -433,6 +453,7 @@ func request_Query_AggregateVotes_0(ctx context.Context, marshaler runtime.Marsh msg, err := client.AggregateVotes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_AggregateVotes_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -441,6 +462,7 @@ func local_request_Query_AggregateVotes_0(ctx context.Context, marshaler runtime msg, err := server.AggregateVotes(ctx, &protoReq) return msg, metadata, err + } func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -449,6 +471,7 @@ func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, cl msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -457,6 +480,7 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal msg, err := server.Params(ctx, &protoReq) return msg, metadata, err + } // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". @@ -464,6 +488,7 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. // Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { + mux.Handle("GET", pattern_Query_ExchangeRate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -484,6 +509,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_ExchangeRate_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_ExchangeRates_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -506,6 +532,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_ExchangeRates_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_TobinTax_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -528,6 +555,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_TobinTax_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_TobinTaxes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -550,6 +578,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_TobinTaxes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Actives_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -572,6 +601,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_Actives_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_VoteTargets_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -594,6 +624,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_VoteTargets_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_FeederDelegation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -616,6 +647,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_FeederDelegation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_MissCounter_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -638,6 +670,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_MissCounter_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_AggregatePrevote_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -660,6 +693,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_AggregatePrevote_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_AggregatePrevotes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -682,6 +716,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_AggregatePrevotes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_AggregateVote_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -704,6 +739,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_AggregateVote_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_AggregateVotes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -726,6 +762,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_AggregateVotes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -748,6 +785,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil @@ -790,6 +828,7 @@ func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "QueryClient" to call the correct interceptors. func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { + mux.Handle("GET", pattern_Query_ExchangeRate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -807,6 +846,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_ExchangeRate_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_ExchangeRates_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -826,6 +866,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_ExchangeRates_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_TobinTax_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -845,6 +886,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_TobinTax_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_TobinTaxes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -864,6 +906,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_TobinTaxes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Actives_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -883,6 +926,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_Actives_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_VoteTargets_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -902,6 +946,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_VoteTargets_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_FeederDelegation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -921,6 +966,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_FeederDelegation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_MissCounter_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -940,6 +986,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_MissCounter_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_AggregatePrevote_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -959,6 +1006,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_AggregatePrevote_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_AggregatePrevotes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -978,6 +1026,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_AggregatePrevotes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_AggregateVote_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -997,6 +1046,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_AggregateVote_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_AggregateVotes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -1016,6 +1066,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_AggregateVotes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -1035,6 +1086,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil diff --git a/x/oracle/types/tx.pb.go b/x/oracle/types/tx.pb.go index a6ea08988..0b4ede785 100644 --- a/x/oracle/types/tx.pb.go +++ b/x/oracle/types/tx.pb.go @@ -6,24 +6,21 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -45,11 +42,9 @@ func (*MsgAggregateExchangeRatePrevote) ProtoMessage() {} func (*MsgAggregateExchangeRatePrevote) Descriptor() ([]byte, []int) { return fileDescriptor_ade38ec3545c6da7, []int{0} } - func (m *MsgAggregateExchangeRatePrevote) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgAggregateExchangeRatePrevote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgAggregateExchangeRatePrevote.Marshal(b, m, deterministic) @@ -62,15 +57,12 @@ func (m *MsgAggregateExchangeRatePrevote) XXX_Marshal(b []byte, deterministic bo return b[:n], nil } } - func (m *MsgAggregateExchangeRatePrevote) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgAggregateExchangeRatePrevote.Merge(m, src) } - func (m *MsgAggregateExchangeRatePrevote) XXX_Size() int { return m.Size() } - func (m *MsgAggregateExchangeRatePrevote) XXX_DiscardUnknown() { xxx_messageInfo_MsgAggregateExchangeRatePrevote.DiscardUnknown(m) } @@ -78,7 +70,8 @@ func (m *MsgAggregateExchangeRatePrevote) XXX_DiscardUnknown() { var xxx_messageInfo_MsgAggregateExchangeRatePrevote proto.InternalMessageInfo // MsgAggregateExchangeRatePrevoteResponse defines the Msg/AggregateExchangeRatePrevote response type. -type MsgAggregateExchangeRatePrevoteResponse struct{} +type MsgAggregateExchangeRatePrevoteResponse struct { +} func (m *MsgAggregateExchangeRatePrevoteResponse) Reset() { *m = MsgAggregateExchangeRatePrevoteResponse{} @@ -88,11 +81,9 @@ func (*MsgAggregateExchangeRatePrevoteResponse) ProtoMessage() {} func (*MsgAggregateExchangeRatePrevoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor_ade38ec3545c6da7, []int{1} } - func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgAggregateExchangeRatePrevoteResponse.Marshal(b, m, deterministic) @@ -105,15 +96,12 @@ func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Marshal(b []byte, determin return b[:n], nil } } - func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgAggregateExchangeRatePrevoteResponse.Merge(m, src) } - func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_Size() int { return m.Size() } - func (m *MsgAggregateExchangeRatePrevoteResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgAggregateExchangeRatePrevoteResponse.DiscardUnknown(m) } @@ -135,11 +123,9 @@ func (*MsgAggregateExchangeRateVote) ProtoMessage() {} func (*MsgAggregateExchangeRateVote) Descriptor() ([]byte, []int) { return fileDescriptor_ade38ec3545c6da7, []int{2} } - func (m *MsgAggregateExchangeRateVote) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgAggregateExchangeRateVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgAggregateExchangeRateVote.Marshal(b, m, deterministic) @@ -152,15 +138,12 @@ func (m *MsgAggregateExchangeRateVote) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } - func (m *MsgAggregateExchangeRateVote) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgAggregateExchangeRateVote.Merge(m, src) } - func (m *MsgAggregateExchangeRateVote) XXX_Size() int { return m.Size() } - func (m *MsgAggregateExchangeRateVote) XXX_DiscardUnknown() { xxx_messageInfo_MsgAggregateExchangeRateVote.DiscardUnknown(m) } @@ -168,7 +151,8 @@ func (m *MsgAggregateExchangeRateVote) XXX_DiscardUnknown() { var xxx_messageInfo_MsgAggregateExchangeRateVote proto.InternalMessageInfo // MsgAggregateExchangeRateVoteResponse defines the Msg/AggregateExchangeRateVote response type. -type MsgAggregateExchangeRateVoteResponse struct{} +type MsgAggregateExchangeRateVoteResponse struct { +} func (m *MsgAggregateExchangeRateVoteResponse) Reset() { *m = MsgAggregateExchangeRateVoteResponse{} } func (m *MsgAggregateExchangeRateVoteResponse) String() string { return proto.CompactTextString(m) } @@ -176,11 +160,9 @@ func (*MsgAggregateExchangeRateVoteResponse) ProtoMessage() {} func (*MsgAggregateExchangeRateVoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor_ade38ec3545c6da7, []int{3} } - func (m *MsgAggregateExchangeRateVoteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgAggregateExchangeRateVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgAggregateExchangeRateVoteResponse.Marshal(b, m, deterministic) @@ -193,15 +175,12 @@ func (m *MsgAggregateExchangeRateVoteResponse) XXX_Marshal(b []byte, determinist return b[:n], nil } } - func (m *MsgAggregateExchangeRateVoteResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgAggregateExchangeRateVoteResponse.Merge(m, src) } - func (m *MsgAggregateExchangeRateVoteResponse) XXX_Size() int { return m.Size() } - func (m *MsgAggregateExchangeRateVoteResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgAggregateExchangeRateVoteResponse.DiscardUnknown(m) } @@ -221,11 +200,9 @@ func (*MsgDelegateFeedConsent) ProtoMessage() {} func (*MsgDelegateFeedConsent) Descriptor() ([]byte, []int) { return fileDescriptor_ade38ec3545c6da7, []int{4} } - func (m *MsgDelegateFeedConsent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgDelegateFeedConsent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgDelegateFeedConsent.Marshal(b, m, deterministic) @@ -238,15 +215,12 @@ func (m *MsgDelegateFeedConsent) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } - func (m *MsgDelegateFeedConsent) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgDelegateFeedConsent.Merge(m, src) } - func (m *MsgDelegateFeedConsent) XXX_Size() int { return m.Size() } - func (m *MsgDelegateFeedConsent) XXX_DiscardUnknown() { xxx_messageInfo_MsgDelegateFeedConsent.DiscardUnknown(m) } @@ -254,7 +228,8 @@ func (m *MsgDelegateFeedConsent) XXX_DiscardUnknown() { var xxx_messageInfo_MsgDelegateFeedConsent proto.InternalMessageInfo // MsgDelegateFeedConsentResponse defines the Msg/DelegateFeedConsent response type. -type MsgDelegateFeedConsentResponse struct{} +type MsgDelegateFeedConsentResponse struct { +} func (m *MsgDelegateFeedConsentResponse) Reset() { *m = MsgDelegateFeedConsentResponse{} } func (m *MsgDelegateFeedConsentResponse) String() string { return proto.CompactTextString(m) } @@ -262,11 +237,9 @@ func (*MsgDelegateFeedConsentResponse) ProtoMessage() {} func (*MsgDelegateFeedConsentResponse) Descriptor() ([]byte, []int) { return fileDescriptor_ade38ec3545c6da7, []int{5} } - func (m *MsgDelegateFeedConsentResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgDelegateFeedConsentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgDelegateFeedConsentResponse.Marshal(b, m, deterministic) @@ -279,15 +252,12 @@ func (m *MsgDelegateFeedConsentResponse) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } - func (m *MsgDelegateFeedConsentResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgDelegateFeedConsentResponse.Merge(m, src) } - func (m *MsgDelegateFeedConsentResponse) XXX_Size() int { return m.Size() } - func (m *MsgDelegateFeedConsentResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgDelegateFeedConsentResponse.DiscardUnknown(m) } @@ -306,46 +276,44 @@ func init() { func init() { proto.RegisterFile("terra/oracle/v1beta1/tx.proto", fileDescriptor_ade38ec3545c6da7) } var fileDescriptor_ade38ec3545c6da7 = []byte{ - // 501 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x31, 0x6f, 0xd3, 0x40, - 0x14, 0xc7, 0x7d, 0xa4, 0xaa, 0xda, 0x43, 0xa5, 0xe0, 0x16, 0x94, 0x46, 0xc5, 0xae, 0x0e, 0x04, - 0x54, 0x2a, 0xb6, 0x1a, 0x60, 0x89, 0x84, 0x04, 0x05, 0xba, 0x45, 0x42, 0x37, 0x30, 0xb0, 0xa0, - 0x8b, 0xf3, 0xb8, 0x44, 0x72, 0x73, 0xd1, 0xdd, 0x11, 0x25, 0x3b, 0x03, 0x12, 0x0b, 0x03, 0x1f, - 0xa0, 0x0b, 0x33, 0x5f, 0x83, 0xb1, 0x23, 0x93, 0x85, 0x92, 0x85, 0x89, 0xc1, 0x9f, 0x00, 0xf9, - 0xce, 0x36, 0x41, 0x24, 0xad, 0xcc, 0x66, 0xdd, 0xff, 0xf7, 0xee, 0xfd, 0xdf, 0xdf, 0x4f, 0x87, - 0x6f, 0x6a, 0x90, 0x92, 0x85, 0x42, 0xb2, 0x28, 0x86, 0x70, 0x74, 0xd8, 0x01, 0xcd, 0x0e, 0x43, - 0x3d, 0x0e, 0x86, 0x52, 0x68, 0xe1, 0x6e, 0x1b, 0x39, 0xb0, 0x72, 0x90, 0xcb, 0x8d, 0x6d, 0x2e, - 0xb8, 0x30, 0x40, 0x98, 0x7d, 0x59, 0x96, 0x7c, 0x45, 0xd8, 0x6f, 0x2b, 0xfe, 0x94, 0x73, 0x09, - 0x9c, 0x69, 0x78, 0x31, 0x8e, 0x7a, 0x6c, 0xc0, 0x81, 0x32, 0x0d, 0x2f, 0x25, 0x8c, 0x84, 0x06, - 0xf7, 0x16, 0x5e, 0xe9, 0x31, 0xd5, 0xab, 0xa3, 0x3d, 0x74, 0x6f, 0xfd, 0x68, 0x33, 0x4d, 0xfc, - 0xcb, 0x13, 0x76, 0x12, 0xb7, 0x48, 0x76, 0x4a, 0xa8, 0x11, 0xdd, 0x7d, 0xbc, 0xfa, 0x16, 0xa0, - 0x0b, 0xb2, 0x7e, 0xc9, 0x60, 0xd7, 0xd2, 0xc4, 0xdf, 0xb0, 0x98, 0x3d, 0x27, 0x34, 0x07, 0xdc, - 0x26, 0x5e, 0x1f, 0xb1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e, 0xaf, 0xb2, 0xc2, 0x9e, 0xfb, 0x11, 0xe1, 0x9d, - 0xe5, 0xdb, 0xd5, 0xac, 0x76, 0x79, 0x56, 0xd3, 0x68, 0x55, 0xaf, 0x29, 0xdd, 0x4c, 0xf0, 0xd6, - 0xa2, 0x3f, 0x7a, 0xb0, 0xf4, 0xca, 0x05, 0x74, 0xe3, 0x61, 0x15, 0xba, 0x68, 0x7d, 0x74, 0xfc, - 0x6d, 0xea, 0xa1, 0xb3, 0xa9, 0x87, 0x7e, 0x4c, 0x3d, 0xf4, 0x69, 0xe6, 0x39, 0x67, 0x33, 0xcf, - 0xf9, 0x3e, 0xf3, 0x9c, 0xd7, 0x07, 0xbc, 0xaf, 0x7b, 0xef, 0x3a, 0x41, 0x24, 0x4e, 0xc2, 0x28, - 0x66, 0x4a, 0xf5, 0xa3, 0xfb, 0xf6, 0xf9, 0x8a, 0x84, 0x84, 0x70, 0x5c, 0xbc, 0x62, 0x7a, 0x32, - 0x04, 0xd5, 0x59, 0x35, 0xaf, 0xd2, 0x83, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x97, 0xa2, - 0x10, 0xe2, 0x04, 0x00, 0x00, + // 506 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x3f, 0x6f, 0xd3, 0x4e, + 0x18, 0xc7, 0x7d, 0xbf, 0x54, 0x55, 0x7b, 0x3f, 0x95, 0x82, 0x1b, 0x50, 0x1a, 0x15, 0xbb, 0x3a, + 0x10, 0x50, 0x09, 0x6c, 0x35, 0xc0, 0x12, 0x09, 0x09, 0xca, 0x1f, 0x89, 0x21, 0x12, 0xba, 0x81, + 0x81, 0x05, 0x5d, 0x9c, 0x87, 0x4b, 0x24, 0x37, 0x17, 0xdd, 0x1d, 0x51, 0xb2, 0x33, 0x20, 0xb1, + 0x30, 0xf0, 0x02, 0xba, 0x30, 0xf3, 0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, + 0xfa, 0xe8, 0xf9, 0xd7, 0x99, 0x87, 0x4e, 0x67, 0x1e, 0xfa, 0x3e, 0xf3, 0xd0, 0xc7, 0xb9, 0xe7, + 0x9c, 0xce, 0x3d, 0xe7, 0xdb, 0xdc, 0x73, 0x5e, 0x85, 0x7c, 0xa0, 0xfb, 0x6f, 0xbb, 0x41, 0x24, + 0x8e, 0xc3, 0x28, 0x66, 0x4a, 0x0d, 0xa2, 0x3b, 0xf6, 0xf9, 0x8a, 0x84, 0x84, 0x70, 0xdc, 0x0a, + 0x27, 0xc5, 0x43, 0xa6, 0xa7, 0x23, 0x50, 0xdd, 0x75, 0xf3, 0x30, 0xdd, 0xfd, 0x15, 0x00, 0x00, + 0xff, 0xff, 0x86, 0xf2, 0x83, 0x2f, 0xe5, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -413,16 +381,15 @@ type MsgServer interface { } // UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct{} +type UnimplementedMsgServer struct { +} func (*UnimplementedMsgServer) AggregateExchangeRatePrevote(ctx context.Context, req *MsgAggregateExchangeRatePrevote) (*MsgAggregateExchangeRatePrevoteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AggregateExchangeRatePrevote not implemented") } - func (*UnimplementedMsgServer) AggregateExchangeRateVote(ctx context.Context, req *MsgAggregateExchangeRateVote) (*MsgAggregateExchangeRateVoteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AggregateExchangeRateVote not implemented") } - func (*UnimplementedMsgServer) DelegateFeedConsent(ctx context.Context, req *MsgDelegateFeedConsent) (*MsgDelegateFeedConsentResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DelegateFeedConsent not implemented") } @@ -718,7 +685,6 @@ func encodeVarintTx(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *MsgAggregateExchangeRatePrevote) Size() (n int) { if m == nil { return 0 @@ -812,11 +778,9 @@ func (m *MsgDelegateFeedConsentResponse) Size() (n int) { func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozTx(x uint64) (n int) { return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *MsgAggregateExchangeRatePrevote) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -963,7 +927,6 @@ func (m *MsgAggregateExchangeRatePrevote) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgAggregateExchangeRatePrevoteResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1014,7 +977,6 @@ func (m *MsgAggregateExchangeRatePrevoteResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgAggregateExchangeRateVote) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1193,7 +1155,6 @@ func (m *MsgAggregateExchangeRateVote) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgAggregateExchangeRateVoteResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1244,7 +1205,6 @@ func (m *MsgAggregateExchangeRateVoteResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgDelegateFeedConsent) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1359,7 +1319,6 @@ func (m *MsgDelegateFeedConsent) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgDelegateFeedConsentResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1410,7 +1369,6 @@ func (m *MsgDelegateFeedConsentResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/oracle/types/vote_test.go b/x/oracle/types/vote_test.go index 50a64236c..3bc4d7119 100644 --- a/x/oracle/types/vote_test.go +++ b/x/oracle/types/vote_test.go @@ -3,7 +3,7 @@ package types_test import ( "testing" - "github.com/classic-terra/core/x/oracle/types" + "github.com/classic-terra/core/v2/x/oracle/types" "github.com/stretchr/testify/require" ) diff --git a/x/treasury/abci.go b/x/treasury/abci.go index 4051898a9..cd4d5ee81 100644 --- a/x/treasury/abci.go +++ b/x/treasury/abci.go @@ -6,9 +6,9 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/treasury/keeper" - "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/treasury/keeper" + "github.com/classic-terra/core/v2/x/treasury/types" ) // EndBlocker is called at the end of every block diff --git a/x/treasury/abci_test.go b/x/treasury/abci_test.go index 453e032ba..90dd6c3c2 100644 --- a/x/treasury/abci_test.go +++ b/x/treasury/abci_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/treasury/keeper" - "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/treasury/keeper" + "github.com/classic-terra/core/v2/x/treasury/types" ) func TestBurnAddress(t *testing.T) { diff --git a/x/treasury/client/cli/gov_tx.go b/x/treasury/client/cli/gov_tx.go index 3daf08524..de88a8ca4 100644 --- a/x/treasury/client/cli/gov_tx.go +++ b/x/treasury/client/cli/gov_tx.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/treasury/client/cli/query.go b/x/treasury/client/cli/query.go index 5831a53db..c1fd4db1b 100644 --- a/x/treasury/client/cli/query.go +++ b/x/treasury/client/cli/query.go @@ -4,7 +4,7 @@ import ( "context" "strings" - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" "github.com/spf13/cobra" diff --git a/x/treasury/client/proposal_handler.go b/x/treasury/client/proposal_handler.go index e7561a4a0..45a8029f3 100644 --- a/x/treasury/client/proposal_handler.go +++ b/x/treasury/client/proposal_handler.go @@ -3,7 +3,7 @@ package client import ( "net/http" - "github.com/classic-terra/core/x/treasury/client/cli" + "github.com/classic-terra/core/v2/x/treasury/client/cli" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/types/rest" govclient "github.com/cosmos/cosmos-sdk/x/gov/client" diff --git a/x/treasury/client/rest/query.go b/x/treasury/client/rest/query.go index 82403699e..1b4b2e30d 100644 --- a/x/treasury/client/rest/query.go +++ b/x/treasury/client/rest/query.go @@ -4,7 +4,7 @@ import ( "fmt" "net/http" - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" "github.com/gorilla/mux" diff --git a/x/treasury/exported/alias.go b/x/treasury/exported/alias.go index 43747c651..817375cf8 100644 --- a/x/treasury/exported/alias.go +++ b/x/treasury/exported/alias.go @@ -2,7 +2,7 @@ package exported import ( - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" ) var NewQueryClient = types.NewQueryClient diff --git a/x/treasury/genesis.go b/x/treasury/genesis.go index bc8435262..8157be12b 100644 --- a/x/treasury/genesis.go +++ b/x/treasury/genesis.go @@ -5,9 +5,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/treasury/keeper" - "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/treasury/keeper" + "github.com/classic-terra/core/v2/x/treasury/types" ) // InitGenesis initializes default parameters diff --git a/x/treasury/genesis_test.go b/x/treasury/genesis_test.go index fcdc56729..22780ee41 100644 --- a/x/treasury/genesis_test.go +++ b/x/treasury/genesis_test.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/treasury/keeper" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/treasury/keeper" ) func TestExportInitGenesis(t *testing.T) { diff --git a/x/treasury/keeper/alias_functions.go b/x/treasury/keeper/alias_functions.go index 12a455bc9..87a06c4a3 100644 --- a/x/treasury/keeper/alias_functions.go +++ b/x/treasury/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/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" ) // GetTreasuryModuleAccount returns treasury ModuleAccount diff --git a/x/treasury/keeper/burn_account.go b/x/treasury/keeper/burn_account.go index e13e98cbb..7db0cfb68 100644 --- a/x/treasury/keeper/burn_account.go +++ b/x/treasury/keeper/burn_account.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/treasury/keeper/burn_account_test.go b/x/treasury/keeper/burn_account_test.go index 4a9397171..7ae3cb7b0 100644 --- a/x/treasury/keeper/burn_account_test.go +++ b/x/treasury/keeper/burn_account_test.go @@ -3,7 +3,7 @@ package keeper import ( "testing" - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" "github.com/stretchr/testify/require" ) diff --git a/x/treasury/keeper/gov.go b/x/treasury/keeper/gov.go index 539a65928..444d9ec91 100644 --- a/x/treasury/keeper/gov.go +++ b/x/treasury/keeper/gov.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/treasury/keeper/indicator.go b/x/treasury/keeper/indicator.go index 806cee902..037d81a94 100644 --- a/x/treasury/keeper/indicator.go +++ b/x/treasury/keeper/indicator.go @@ -1,7 +1,7 @@ package keeper import ( - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/treasury/keeper/indicator_test.go b/x/treasury/keeper/indicator_test.go index 05291ea8b..44e5d24b2 100644 --- a/x/treasury/keeper/indicator_test.go +++ b/x/treasury/keeper/indicator_test.go @@ -3,7 +3,7 @@ package keeper import ( "testing" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" "github.com/stretchr/testify/require" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/treasury/keeper/keeper.go b/x/treasury/keeper/keeper.go index 9aded0aec..535349490 100644 --- a/x/treasury/keeper/keeper.go +++ b/x/treasury/keeper/keeper.go @@ -8,11 +8,11 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" "github.com/tendermint/tendermint/libs/log" - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" ) // TaxPowerUpgradeHeight is when taxes are allowed to go into effect diff --git a/x/treasury/keeper/keeper_test.go b/x/treasury/keeper/keeper_test.go index f85063fb1..5809bd9b5 100644 --- a/x/treasury/keeper/keeper_test.go +++ b/x/treasury/keeper/keeper_test.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/treasury/types" ) func TestRewardWeight(t *testing.T) { diff --git a/x/treasury/keeper/legacy_querier.go b/x/treasury/keeper/legacy_querier.go index 7d1a1f03d..44c20e851 100644 --- a/x/treasury/keeper/legacy_querier.go +++ b/x/treasury/keeper/legacy_querier.go @@ -11,8 +11,8 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/types/query" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/treasury/types" ) // NewLegacyQuerier is the module level router for state queries diff --git a/x/treasury/keeper/legacy_querier_test.go b/x/treasury/keeper/legacy_querier_test.go index 58c353a7c..4ec481404 100644 --- a/x/treasury/keeper/legacy_querier_test.go +++ b/x/treasury/keeper/legacy_querier_test.go @@ -4,8 +4,8 @@ import ( "strings" "testing" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/treasury/types" "github.com/stretchr/testify/require" abci "github.com/tendermint/tendermint/abci/types" @@ -328,7 +328,7 @@ func TestLegacyQueryIndicators(t *testing.T) { require.Equal(t, targetIndicators, queriedIndicators) } -// go test -v -run ^TestLegacyQueryBurnTaxExemptionList$ github.com/classic-terra/core/x/treasury/keeper +// go test -v -run ^TestLegacyQueryBurnTaxExemptionList$ github.com/classic-terra/core/v2/x/treasury/keeper func TestLegacyQueryBurnTaxExemptionList(t *testing.T) { input := CreateTestInput(t) querier := NewLegacyQuerier(input.TreasuryKeeper, input.Cdc) diff --git a/x/treasury/keeper/migrations.go b/x/treasury/keeper/migrations.go index 8dbe3f016..45dc9b32e 100644 --- a/x/treasury/keeper/migrations.go +++ b/x/treasury/keeper/migrations.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/treasury/keeper/params.go b/x/treasury/keeper/params.go index f8f6f5541..962431da5 100644 --- a/x/treasury/keeper/params.go +++ b/x/treasury/keeper/params.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/treasury/keeper/policy_test.go b/x/treasury/keeper/policy_test.go index 1b2797eca..01c8517ca 100644 --- a/x/treasury/keeper/policy_test.go +++ b/x/treasury/keeper/policy_test.go @@ -3,9 +3,9 @@ package keeper import ( "testing" - core "github.com/classic-terra/core/types" - oracletypes "github.com/classic-terra/core/x/oracle/types" - "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + oracletypes "github.com/classic-terra/core/v2/x/oracle/types" + "github.com/classic-terra/core/v2/x/treasury/types" "github.com/stretchr/testify/require" diff --git a/x/treasury/keeper/querier.go b/x/treasury/keeper/querier.go index 9fd465edf..4bac36c92 100644 --- a/x/treasury/keeper/querier.go +++ b/x/treasury/keeper/querier.go @@ -11,8 +11,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/treasury/types" ) // querier is used as Keeper will have duplicate methods if used directly, and gRPC names take precedence over q diff --git a/x/treasury/keeper/querier_test.go b/x/treasury/keeper/querier_test.go index ef71a964b..af2d321b2 100644 --- a/x/treasury/keeper/querier_test.go +++ b/x/treasury/keeper/querier_test.go @@ -3,8 +3,8 @@ package keeper import ( "testing" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/treasury/types" "github.com/stretchr/testify/require" diff --git a/x/treasury/keeper/seigniorage.go b/x/treasury/keeper/seigniorage.go index fe3c2c436..dbedbc8f9 100644 --- a/x/treasury/keeper/seigniorage.go +++ b/x/treasury/keeper/seigniorage.go @@ -3,8 +3,8 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/treasury/types" ) // SettleSeigniorage computes seigniorage and distributes it to oracle and distribution(community-pool) account diff --git a/x/treasury/keeper/seigniorage_test.go b/x/treasury/keeper/seigniorage_test.go index 330fed1d1..b4c72b347 100644 --- a/x/treasury/keeper/seigniorage_test.go +++ b/x/treasury/keeper/seigniorage_test.go @@ -4,7 +4,7 @@ import ( "math/rand" "testing" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" "github.com/stretchr/testify/require" diff --git a/x/treasury/keeper/test_utils.go b/x/treasury/keeper/test_utils.go index 9c4abd7cd..e450c7d8e 100644 --- a/x/treasury/keeper/test_utils.go +++ b/x/treasury/keeper/test_utils.go @@ -6,19 +6,19 @@ import ( "github.com/stretchr/testify/require" - customauth "github.com/classic-terra/core/custom/auth" - custombank "github.com/classic-terra/core/custom/bank" - customdistr "github.com/classic-terra/core/custom/distribution" - customparams "github.com/classic-terra/core/custom/params" - customstaking "github.com/classic-terra/core/custom/staking" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/market" - marketkeeper "github.com/classic-terra/core/x/market/keeper" - markettypes "github.com/classic-terra/core/x/market/types" - "github.com/classic-terra/core/x/oracle" - oraclekeeper "github.com/classic-terra/core/x/oracle/keeper" - oracletypes "github.com/classic-terra/core/x/oracle/types" - "github.com/classic-terra/core/x/treasury/types" + customauth "github.com/classic-terra/core/v2/custom/auth" + custombank "github.com/classic-terra/core/v2/custom/bank" + customdistr "github.com/classic-terra/core/v2/custom/distribution" + customparams "github.com/classic-terra/core/v2/custom/params" + customstaking "github.com/classic-terra/core/v2/custom/staking" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/market" + marketkeeper "github.com/classic-terra/core/v2/x/market/keeper" + markettypes "github.com/classic-terra/core/v2/x/market/types" + "github.com/classic-terra/core/v2/x/oracle" + oraclekeeper "github.com/classic-terra/core/v2/x/oracle/keeper" + oracletypes "github.com/classic-terra/core/v2/x/oracle/types" + "github.com/classic-terra/core/v2/x/treasury/types" "github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto/secp256k1" diff --git a/x/treasury/legacy/v05/migrate.go b/x/treasury/legacy/v05/migrate.go index f95963f44..d221bff37 100644 --- a/x/treasury/legacy/v05/migrate.go +++ b/x/treasury/legacy/v05/migrate.go @@ -3,8 +3,8 @@ package v05 import ( "sort" - v04treasury "github.com/classic-terra/core/x/treasury/legacy/v04" - v05treasury "github.com/classic-terra/core/x/treasury/types" + v04treasury "github.com/classic-terra/core/v2/x/treasury/legacy/v04" + v05treasury "github.com/classic-terra/core/v2/x/treasury/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/treasury/legacy/v05/migrate_test.go b/x/treasury/legacy/v05/migrate_test.go index 73155886f..637dabb04 100644 --- a/x/treasury/legacy/v05/migrate_test.go +++ b/x/treasury/legacy/v05/migrate_test.go @@ -10,10 +10,10 @@ import ( "github.com/cosmos/cosmos-sdk/client" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/classic-terra/core/app" - core "github.com/classic-terra/core/types" - v04treasury "github.com/classic-terra/core/x/treasury/legacy/v04" - v05treasury "github.com/classic-terra/core/x/treasury/legacy/v05" + "github.com/classic-terra/core/v2/app" + core "github.com/classic-terra/core/v2/types" + v04treasury "github.com/classic-terra/core/v2/x/treasury/legacy/v04" + v05treasury "github.com/classic-terra/core/v2/x/treasury/legacy/v05" ) func TestMigrate(t *testing.T) { diff --git a/x/treasury/module.go b/x/treasury/module.go index 16df23855..018278f27 100644 --- a/x/treasury/module.go +++ b/x/treasury/module.go @@ -6,8 +6,8 @@ import ( "fmt" "math/rand" - "github.com/classic-terra/core/x/treasury/keeper" - "github.com/classic-terra/core/x/treasury/simulation" + "github.com/classic-terra/core/v2/x/treasury/keeper" + "github.com/classic-terra/core/v2/x/treasury/simulation" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/gorilla/mux" @@ -22,9 +22,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/classic-terra/core/x/treasury/client/cli" - "github.com/classic-terra/core/x/treasury/client/rest" - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/client/cli" + "github.com/classic-terra/core/v2/x/treasury/client/rest" + "github.com/classic-terra/core/v2/x/treasury/types" ) var ( diff --git a/x/treasury/proposal_handler.go b/x/treasury/proposal_handler.go index fcc299db6..b05ddff9b 100644 --- a/x/treasury/proposal_handler.go +++ b/x/treasury/proposal_handler.go @@ -1,8 +1,8 @@ package treasury import ( - "github.com/classic-terra/core/x/treasury/keeper" - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/keeper" + "github.com/classic-terra/core/v2/x/treasury/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/treasury/simulation/decoder.go b/x/treasury/simulation/decoder.go index 2ae0d2246..1f1e994fa 100644 --- a/x/treasury/simulation/decoder.go +++ b/x/treasury/simulation/decoder.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/treasury/simulation/decoder_test.go b/x/treasury/simulation/decoder_test.go index d1fe24e2d..8be8d55f1 100644 --- a/x/treasury/simulation/decoder_test.go +++ b/x/treasury/simulation/decoder_test.go @@ -9,9 +9,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/kv" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/treasury/keeper" - "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/treasury/keeper" + "github.com/classic-terra/core/v2/x/treasury/types" ) func TestDecodeDistributionStore(t *testing.T) { diff --git a/x/treasury/simulation/genesis.go b/x/treasury/simulation/genesis.go index ee170a941..5c910d004 100644 --- a/x/treasury/simulation/genesis.go +++ b/x/treasury/simulation/genesis.go @@ -10,8 +10,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/treasury/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/treasury/types" ) // Simulation parameter constants diff --git a/x/treasury/simulation/params.go b/x/treasury/simulation/params.go index a4313dd59..a23419298 100644 --- a/x/treasury/simulation/params.go +++ b/x/treasury/simulation/params.go @@ -10,7 +10,7 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/classic-terra/core/x/treasury/types" + "github.com/classic-terra/core/v2/x/treasury/types" ) // ParamChanges defines the parameters that can be modified by param change proposals diff --git a/x/treasury/types/exptected_keepers.go b/x/treasury/types/exptected_keepers.go index 99b375e60..86d27fc75 100644 --- a/x/treasury/types/exptected_keepers.go +++ b/x/treasury/types/exptected_keepers.go @@ -5,7 +5,7 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - oracletypes "github.com/classic-terra/core/x/oracle/types" + oracletypes "github.com/classic-terra/core/v2/x/oracle/types" ) // AccountKeeper expected account keeper diff --git a/x/treasury/types/genesis.pb.go b/x/treasury/types/genesis.pb.go index c083f424c..e01ba5e69 100644 --- a/x/treasury/types/genesis.pb.go +++ b/x/treasury/types/genesis.pb.go @@ -5,22 +5,19 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -45,11 +42,9 @@ func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { return fileDescriptor_c440a3f50aabab34, []int{0} } - func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) @@ -62,15 +57,12 @@ func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } - func (m *GenesisState) XXX_Merge(src proto.Message) { xxx_messageInfo_GenesisState.Merge(m, src) } - func (m *GenesisState) XXX_Size() int { return m.Size() } - func (m *GenesisState) XXX_DiscardUnknown() { xxx_messageInfo_GenesisState.DiscardUnknown(m) } @@ -124,11 +116,9 @@ func (*TaxCap) ProtoMessage() {} func (*TaxCap) Descriptor() ([]byte, []int) { return fileDescriptor_c440a3f50aabab34, []int{1} } - func (m *TaxCap) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *TaxCap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_TaxCap.Marshal(b, m, deterministic) @@ -141,15 +131,12 @@ func (m *TaxCap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *TaxCap) XXX_Merge(src proto.Message) { xxx_messageInfo_TaxCap.Merge(m, src) } - func (m *TaxCap) XXX_Size() int { return m.Size() } - func (m *TaxCap) XXX_DiscardUnknown() { xxx_messageInfo_TaxCap.DiscardUnknown(m) } @@ -177,11 +164,9 @@ func (*EpochState) ProtoMessage() {} func (*EpochState) Descriptor() ([]byte, []int) { return fileDescriptor_c440a3f50aabab34, []int{2} } - func (m *EpochState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *EpochState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_EpochState.Marshal(b, m, deterministic) @@ -194,15 +179,12 @@ func (m *EpochState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *EpochState) XXX_Merge(src proto.Message) { xxx_messageInfo_EpochState.Merge(m, src) } - func (m *EpochState) XXX_Size() int { return m.Size() } - func (m *EpochState) XXX_DiscardUnknown() { xxx_messageInfo_EpochState.DiscardUnknown(m) } @@ -227,42 +209,42 @@ func init() { } var fileDescriptor_c440a3f50aabab34 = []byte{ - // 555 bytes of a gzipped FileDescriptorProto + // 559 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xc1, 0x6a, 0x13, 0x41, - 0x1c, 0xc6, 0xb3, 0x6d, 0x9a, 0xda, 0x69, 0x44, 0x3a, 0x84, 0xb2, 0xf6, 0xb0, 0x09, 0x41, 0x25, - 0x97, 0xce, 0x5a, 0xbd, 0x0a, 0x42, 0xa2, 0xd4, 0xa0, 0x42, 0xd9, 0x08, 0x42, 0x41, 0xc2, 0x3f, - 0x9b, 0x3f, 0x9b, 0xa1, 0xc9, 0xcc, 0x32, 0x33, 0xb1, 0xe9, 0xd1, 0x37, 0xf0, 0x39, 0xc4, 0x07, - 0xe9, 0xb1, 0x47, 0xf1, 0x50, 0x25, 0xb9, 0xfb, 0x0c, 0x32, 0x33, 0xdb, 0xb4, 0x07, 0x2b, 0x12, - 0x3c, 0x25, 0xbb, 0xfb, 0xcd, 0xef, 0xfb, 0xe6, 0x3f, 0x1f, 0x43, 0x1e, 0x18, 0x54, 0x0a, 0x62, - 0xa3, 0x10, 0xf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x52, 0x81, 0x3f, 0x26, 0x3b, 0x46, 0x1a, 0x18, 0xdb, 0x83, 0x38, 0xc1, 0x61, 0x7f, 0x3c, - 0x15, 0x10, 0x96, 0x57, 0x9a, 0xd2, 0x3d, 0x07, 0xea, 0x39, 0xce, 0x9b, 0xa9, 0x80, 0xf6, 0xab, - 0xf3, 0x79, 0x14, 0x5c, 0xcc, 0xa3, 0xe0, 0xe7, 0x3c, 0x0a, 0x3e, 0x2f, 0xa2, 0xd2, 0xc5, 0x22, - 0x2a, 0x7d, 0x5b, 0x44, 0xa5, 0x63, 0x76, 0x13, 0x39, 0x06, 0xad, 0x79, 0xba, 0xef, 0x2f, 0x9f, - 0x54, 0x2a, 0x8c, 0x67, 0xd7, 0x77, 0x90, 0xc3, 0x0f, 0x2a, 0xee, 0x66, 0x79, 0xfa, 0x3b, 0x00, - 0x00, 0xff, 0xff, 0xde, 0x95, 0xa3, 0x09, 0xf6, 0x04, 0x00, 0x00, + 0x1c, 0xc6, 0xb3, 0x6d, 0x9a, 0x9a, 0x49, 0x44, 0x3a, 0x84, 0xb2, 0xf6, 0xb0, 0x09, 0x41, 0x25, + 0x97, 0xee, 0x9a, 0x7a, 0x15, 0x84, 0x44, 0x29, 0xa1, 0x0a, 0x65, 0x23, 0x08, 0x05, 0x09, 0xff, + 0x6c, 0xfe, 0x6c, 0x86, 0x26, 0x33, 0xcb, 0xcc, 0xa4, 0x4d, 0x8f, 0xbe, 0x81, 0xcf, 0x21, 0x3e, + 0x48, 0x8f, 0x3d, 0x8a, 0x87, 0x2a, 0xc9, 0xdd, 0x67, 0x90, 0x99, 0xd9, 0xa6, 0x3d, 0x58, 0x91, + 0xe0, 0x29, 0xd9, 0xdd, 0x6f, 0x7e, 0xdf, 0x37, 0xff, 0xf9, 0x18, 0xf2, 0x44, 0xa3, 0x94, 0x10, + 0x69, 0x89, 0xa0, 0x66, 0xf2, 0x22, 0x3a, 0x6b, 0x0f, 0x51, 0x43, 0x3b, 0x4a, 0x91, 0x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62, 0x0e, 0xe2, 0x14, 0x47, 0x83, 0xc9, + 0x8c, 0x83, 0x5f, 0x5c, 0x6b, 0x4a, 0x8f, 0x2c, 0xa8, 0x6f, 0x39, 0x6f, 0x67, 0x1c, 0x3a, 0x47, + 0x97, 0x8b, 0xc0, 0xbb, 0x5a, 0x04, 0xde, 0xcf, 0x45, 0xe0, 0x7d, 0x5e, 0x06, 0x85, 0xab, 0x65, + 0x50, 0xf8, 0xb6, 0x0c, 0x0a, 0x27, 0xed, 0xbb, 0xc8, 0x09, 0x28, 0xc5, 0x92, 0x7d, 0x77, 0xf9, + 0x24, 0x42, 0x62, 0x74, 0x76, 0x10, 0xcd, 0x6f, 0xaf, 0x21, 0xeb, 0x30, 0x2c, 0xd9, 0xcb, 0xe5, + 0xc5, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xce, 0xcd, 0x01, 0x1e, 0xf9, 0x04, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -483,7 +465,6 @@ func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *GenesisState) Size() (n int) { if m == nil { return 0 @@ -559,11 +540,9 @@ func (m *EpochState) Size() (n int) { func sovGenesis(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozGenesis(x uint64) (n int) { return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *GenesisState) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -851,7 +830,6 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } return nil } - func (m *TaxCap) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -968,7 +946,6 @@ func (m *TaxCap) Unmarshal(dAtA []byte) error { } return nil } - func (m *EpochState) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1140,7 +1117,6 @@ func (m *EpochState) Unmarshal(dAtA []byte) error { } return nil } - func skipGenesis(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/treasury/types/gov.pb.go b/x/treasury/types/gov.pb.go index cb333b184..18b243451 100644 --- a/x/treasury/types/gov.pb.go +++ b/x/treasury/types/gov.pb.go @@ -5,20 +5,17 @@ package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/gogo/protobuf/proto" io "io" math "math" math_bits "math/bits" - - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/gogo/protobuf/proto" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -38,11 +35,9 @@ func (*AddBurnTaxExemptionAddressProposal) ProtoMessage() {} func (*AddBurnTaxExemptionAddressProposal) Descriptor() ([]byte, []int) { return fileDescriptor_a71b37663a441645, []int{0} } - func (m *AddBurnTaxExemptionAddressProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *AddBurnTaxExemptionAddressProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_AddBurnTaxExemptionAddressProposal.Marshal(b, m, deterministic) @@ -55,15 +50,12 @@ func (m *AddBurnTaxExemptionAddressProposal) XXX_Marshal(b []byte, deterministic return b[:n], nil } } - func (m *AddBurnTaxExemptionAddressProposal) XXX_Merge(src proto.Message) { xxx_messageInfo_AddBurnTaxExemptionAddressProposal.Merge(m, src) } - func (m *AddBurnTaxExemptionAddressProposal) XXX_Size() int { return m.Size() } - func (m *AddBurnTaxExemptionAddressProposal) XXX_DiscardUnknown() { xxx_messageInfo_AddBurnTaxExemptionAddressProposal.DiscardUnknown(m) } @@ -82,11 +74,9 @@ func (*RemoveBurnTaxExemptionAddressProposal) ProtoMessage() {} func (*RemoveBurnTaxExemptionAddressProposal) Descriptor() ([]byte, []int) { return fileDescriptor_a71b37663a441645, []int{1} } - func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_RemoveBurnTaxExemptionAddressProposal.Marshal(b, m, deterministic) @@ -99,15 +89,12 @@ func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Marshal(b []byte, determinis return b[:n], nil } } - func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Merge(src proto.Message) { xxx_messageInfo_RemoveBurnTaxExemptionAddressProposal.Merge(m, src) } - func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Size() int { return m.Size() } - func (m *RemoveBurnTaxExemptionAddressProposal) XXX_DiscardUnknown() { xxx_messageInfo_RemoveBurnTaxExemptionAddressProposal.DiscardUnknown(m) } @@ -122,7 +109,7 @@ func init() { func init() { proto.RegisterFile("terra/treasury/v1beta1/gov.proto", fileDescriptor_a71b37663a441645) } var fileDescriptor_a71b37663a441645 = []byte{ - // 287 bytes of a gzipped FileDescriptorProto + // 290 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x28, 0x49, 0x2d, 0x2a, 0x4a, 0xd4, 0x2f, 0x29, 0x4a, 0x4d, 0x2c, 0x2e, 0x2d, 0xaa, 0xd4, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0xcf, 0x2f, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x03, 0xab, @@ -135,12 +122,13 @@ var fileDescriptor_a71b37663a441645 = []byte{ 0x2e, 0xce, 0x44, 0x88, 0x51, 0xa9, 0xc5, 0x12, 0xcc, 0x0a, 0xcc, 0x1a, 0x9c, 0x4e, 0x22, 0x9f, 0xee, 0xc9, 0x0b, 0x54, 0x26,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f, 0xea, 0x01, + 0x00, 0x00, } func (this *AddBurnTaxExemptionAddressProposal) Equal(that interface{}) bool { @@ -178,7 +166,6 @@ func (this *AddBurnTaxExemptionAddressProposal) Equal(that interface{}) bool { } return true } - func (this *RemoveBurnTaxExemptionAddressProposal) Equal(that interface{}) bool { if that == nil { return this == nil @@ -214,7 +201,6 @@ func (this *RemoveBurnTaxExemptionAddressProposal) Equal(that interface{}) bool } return true } - func (m *AddBurnTaxExemptionAddressProposal) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -318,7 +304,6 @@ func encodeVarintGov(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *AddBurnTaxExemptionAddressProposal) Size() (n int) { if m == nil { return 0 @@ -368,11 +353,9 @@ func (m *RemoveBurnTaxExemptionAddressProposal) Size() (n int) { func sovGov(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozGov(x uint64) (n int) { return sovGov(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *AddBurnTaxExemptionAddressProposal) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -519,7 +502,6 @@ func (m *AddBurnTaxExemptionAddressProposal) Unmarshal(dAtA []byte) error { } return nil } - func (m *RemoveBurnTaxExemptionAddressProposal) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -666,7 +648,6 @@ func (m *RemoveBurnTaxExemptionAddressProposal) Unmarshal(dAtA []byte) error { } return nil } - func skipGov(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/treasury/types/params.go b/x/treasury/types/params.go index 9174321ab..5bdf497dd 100644 --- a/x/treasury/types/params.go +++ b/x/treasury/types/params.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - core "github.com/classic-terra/core/types" + core "github.com/classic-terra/core/v2/types" ) // Parameter keys diff --git a/x/treasury/types/query.pb.go b/x/treasury/types/query.pb.go index bb2e7ed38..e485160fe 100644 --- a/x/treasury/types/query.pb.go +++ b/x/treasury/types/query.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" query "github.com/cosmos/cosmos-sdk/types/query" @@ -20,14 +16,15 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -36,7 +33,8 @@ var ( const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // QueryTaxRateRequest is the request type for the Query/TaxRate RPC method. -type QueryTaxRateRequest struct{} +type QueryTaxRateRequest struct { +} func (m *QueryTaxRateRequest) Reset() { *m = QueryTaxRateRequest{} } func (m *QueryTaxRateRequest) String() string { return proto.CompactTextString(m) } @@ -44,11 +42,9 @@ func (*QueryTaxRateRequest) ProtoMessage() {} func (*QueryTaxRateRequest) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{0} } - func (m *QueryTaxRateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTaxRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTaxRateRequest.Marshal(b, m, deterministic) @@ -61,15 +57,12 @@ func (m *QueryTaxRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryTaxRateRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTaxRateRequest.Merge(m, src) } - func (m *QueryTaxRateRequest) XXX_Size() int { return m.Size() } - func (m *QueryTaxRateRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryTaxRateRequest.DiscardUnknown(m) } @@ -88,11 +81,9 @@ func (*QueryTaxRateResponse) ProtoMessage() {} func (*QueryTaxRateResponse) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{1} } - func (m *QueryTaxRateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTaxRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTaxRateResponse.Marshal(b, m, deterministic) @@ -105,15 +96,12 @@ func (m *QueryTaxRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } - func (m *QueryTaxRateResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTaxRateResponse.Merge(m, src) } - func (m *QueryTaxRateResponse) XXX_Size() int { return m.Size() } - func (m *QueryTaxRateResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryTaxRateResponse.DiscardUnknown(m) } @@ -132,11 +120,9 @@ func (*QueryTaxCapRequest) ProtoMessage() {} func (*QueryTaxCapRequest) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{2} } - func (m *QueryTaxCapRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTaxCapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTaxCapRequest.Marshal(b, m, deterministic) @@ -149,15 +135,12 @@ func (m *QueryTaxCapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryTaxCapRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTaxCapRequest.Merge(m, src) } - func (m *QueryTaxCapRequest) XXX_Size() int { return m.Size() } - func (m *QueryTaxCapRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryTaxCapRequest.DiscardUnknown(m) } @@ -176,11 +159,9 @@ func (*QueryTaxCapResponse) ProtoMessage() {} func (*QueryTaxCapResponse) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{3} } - func (m *QueryTaxCapResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTaxCapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTaxCapResponse.Marshal(b, m, deterministic) @@ -193,15 +174,12 @@ func (m *QueryTaxCapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryTaxCapResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTaxCapResponse.Merge(m, src) } - func (m *QueryTaxCapResponse) XXX_Size() int { return m.Size() } - func (m *QueryTaxCapResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryTaxCapResponse.DiscardUnknown(m) } @@ -209,7 +187,8 @@ func (m *QueryTaxCapResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryTaxCapResponse proto.InternalMessageInfo // QueryTaxCapsRequest is the request type for the Query/TaxCaps RPC method. -type QueryTaxCapsRequest struct{} +type QueryTaxCapsRequest struct { +} func (m *QueryTaxCapsRequest) Reset() { *m = QueryTaxCapsRequest{} } func (m *QueryTaxCapsRequest) String() string { return proto.CompactTextString(m) } @@ -217,11 +196,9 @@ func (*QueryTaxCapsRequest) ProtoMessage() {} func (*QueryTaxCapsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{4} } - func (m *QueryTaxCapsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTaxCapsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTaxCapsRequest.Marshal(b, m, deterministic) @@ -234,15 +211,12 @@ func (m *QueryTaxCapsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryTaxCapsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTaxCapsRequest.Merge(m, src) } - func (m *QueryTaxCapsRequest) XXX_Size() int { return m.Size() } - func (m *QueryTaxCapsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryTaxCapsRequest.DiscardUnknown(m) } @@ -262,11 +236,9 @@ func (*QueryTaxCapsResponseItem) ProtoMessage() {} func (*QueryTaxCapsResponseItem) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{5} } - func (m *QueryTaxCapsResponseItem) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTaxCapsResponseItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTaxCapsResponseItem.Marshal(b, m, deterministic) @@ -279,15 +251,12 @@ func (m *QueryTaxCapsResponseItem) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } - func (m *QueryTaxCapsResponseItem) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTaxCapsResponseItem.Merge(m, src) } - func (m *QueryTaxCapsResponseItem) XXX_Size() int { return m.Size() } - func (m *QueryTaxCapsResponseItem) XXX_DiscardUnknown() { xxx_messageInfo_QueryTaxCapsResponseItem.DiscardUnknown(m) } @@ -313,11 +282,9 @@ func (*QueryTaxCapsResponse) ProtoMessage() {} func (*QueryTaxCapsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{6} } - func (m *QueryTaxCapsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTaxCapsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTaxCapsResponse.Marshal(b, m, deterministic) @@ -330,15 +297,12 @@ func (m *QueryTaxCapsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } - func (m *QueryTaxCapsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTaxCapsResponse.Merge(m, src) } - func (m *QueryTaxCapsResponse) XXX_Size() int { return m.Size() } - func (m *QueryTaxCapsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryTaxCapsResponse.DiscardUnknown(m) } @@ -353,7 +317,8 @@ func (m *QueryTaxCapsResponse) GetTaxCaps() []QueryTaxCapsResponseItem { } // QueryRewardWeightRequest is the request type for the Query/RewardWeight RPC method. -type QueryRewardWeightRequest struct{} +type QueryRewardWeightRequest struct { +} func (m *QueryRewardWeightRequest) Reset() { *m = QueryRewardWeightRequest{} } func (m *QueryRewardWeightRequest) String() string { return proto.CompactTextString(m) } @@ -361,11 +326,9 @@ func (*QueryRewardWeightRequest) ProtoMessage() {} func (*QueryRewardWeightRequest) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{7} } - func (m *QueryRewardWeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryRewardWeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryRewardWeightRequest.Marshal(b, m, deterministic) @@ -378,15 +341,12 @@ func (m *QueryRewardWeightRequest) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } - func (m *QueryRewardWeightRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryRewardWeightRequest.Merge(m, src) } - func (m *QueryRewardWeightRequest) XXX_Size() int { return m.Size() } - func (m *QueryRewardWeightRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryRewardWeightRequest.DiscardUnknown(m) } @@ -405,11 +365,9 @@ func (*QueryRewardWeightResponse) ProtoMessage() {} func (*QueryRewardWeightResponse) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{8} } - func (m *QueryRewardWeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryRewardWeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryRewardWeightResponse.Marshal(b, m, deterministic) @@ -422,15 +380,12 @@ func (m *QueryRewardWeightResponse) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } - func (m *QueryRewardWeightResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryRewardWeightResponse.Merge(m, src) } - func (m *QueryRewardWeightResponse) XXX_Size() int { return m.Size() } - func (m *QueryRewardWeightResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryRewardWeightResponse.DiscardUnknown(m) } @@ -438,7 +393,8 @@ func (m *QueryRewardWeightResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryRewardWeightResponse proto.InternalMessageInfo // QueryTaxProceedsRequest is the request type for the Query/TaxProceeds RPC method. -type QueryTaxProceedsRequest struct{} +type QueryTaxProceedsRequest struct { +} func (m *QueryTaxProceedsRequest) Reset() { *m = QueryTaxProceedsRequest{} } func (m *QueryTaxProceedsRequest) String() string { return proto.CompactTextString(m) } @@ -446,11 +402,9 @@ func (*QueryTaxProceedsRequest) ProtoMessage() {} func (*QueryTaxProceedsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{9} } - func (m *QueryTaxProceedsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTaxProceedsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTaxProceedsRequest.Marshal(b, m, deterministic) @@ -463,15 +417,12 @@ func (m *QueryTaxProceedsRequest) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *QueryTaxProceedsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTaxProceedsRequest.Merge(m, src) } - func (m *QueryTaxProceedsRequest) XXX_Size() int { return m.Size() } - func (m *QueryTaxProceedsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryTaxProceedsRequest.DiscardUnknown(m) } @@ -490,11 +441,9 @@ func (*QueryTaxProceedsResponse) ProtoMessage() {} func (*QueryTaxProceedsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{10} } - func (m *QueryTaxProceedsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryTaxProceedsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryTaxProceedsResponse.Marshal(b, m, deterministic) @@ -507,15 +456,12 @@ func (m *QueryTaxProceedsResponse) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } - func (m *QueryTaxProceedsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryTaxProceedsResponse.Merge(m, src) } - func (m *QueryTaxProceedsResponse) XXX_Size() int { return m.Size() } - func (m *QueryTaxProceedsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryTaxProceedsResponse.DiscardUnknown(m) } @@ -530,7 +476,8 @@ func (m *QueryTaxProceedsResponse) GetTaxProceeds() github_com_cosmos_cosmos_sdk } // QuerySeigniorageProceedsRequest is the request type for the Query/SeigniorageProceeds RPC method. -type QuerySeigniorageProceedsRequest struct{} +type QuerySeigniorageProceedsRequest struct { +} func (m *QuerySeigniorageProceedsRequest) Reset() { *m = QuerySeigniorageProceedsRequest{} } func (m *QuerySeigniorageProceedsRequest) String() string { return proto.CompactTextString(m) } @@ -538,11 +485,9 @@ func (*QuerySeigniorageProceedsRequest) ProtoMessage() {} func (*QuerySeigniorageProceedsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{11} } - func (m *QuerySeigniorageProceedsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QuerySeigniorageProceedsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QuerySeigniorageProceedsRequest.Marshal(b, m, deterministic) @@ -555,15 +500,12 @@ func (m *QuerySeigniorageProceedsRequest) XXX_Marshal(b []byte, deterministic bo return b[:n], nil } } - func (m *QuerySeigniorageProceedsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QuerySeigniorageProceedsRequest.Merge(m, src) } - func (m *QuerySeigniorageProceedsRequest) XXX_Size() int { return m.Size() } - func (m *QuerySeigniorageProceedsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QuerySeigniorageProceedsRequest.DiscardUnknown(m) } @@ -582,11 +524,9 @@ func (*QuerySeigniorageProceedsResponse) ProtoMessage() {} func (*QuerySeigniorageProceedsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{12} } - func (m *QuerySeigniorageProceedsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QuerySeigniorageProceedsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QuerySeigniorageProceedsResponse.Marshal(b, m, deterministic) @@ -599,15 +539,12 @@ func (m *QuerySeigniorageProceedsResponse) XXX_Marshal(b []byte, deterministic b return b[:n], nil } } - func (m *QuerySeigniorageProceedsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QuerySeigniorageProceedsResponse.Merge(m, src) } - func (m *QuerySeigniorageProceedsResponse) XXX_Size() int { return m.Size() } - func (m *QuerySeigniorageProceedsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QuerySeigniorageProceedsResponse.DiscardUnknown(m) } @@ -615,7 +552,8 @@ func (m *QuerySeigniorageProceedsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QuerySeigniorageProceedsResponse proto.InternalMessageInfo // QueryIndicatorsRequest is the request type for the Query/Indicators RPC method. -type QueryIndicatorsRequest struct{} +type QueryIndicatorsRequest struct { +} func (m *QueryIndicatorsRequest) Reset() { *m = QueryIndicatorsRequest{} } func (m *QueryIndicatorsRequest) String() string { return proto.CompactTextString(m) } @@ -623,11 +561,9 @@ func (*QueryIndicatorsRequest) ProtoMessage() {} func (*QueryIndicatorsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{13} } - func (m *QueryIndicatorsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryIndicatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryIndicatorsRequest.Marshal(b, m, deterministic) @@ -640,15 +576,12 @@ func (m *QueryIndicatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } - func (m *QueryIndicatorsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryIndicatorsRequest.Merge(m, src) } - func (m *QueryIndicatorsRequest) XXX_Size() int { return m.Size() } - func (m *QueryIndicatorsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryIndicatorsRequest.DiscardUnknown(m) } @@ -668,11 +601,9 @@ func (*QueryIndicatorsResponse) ProtoMessage() {} func (*QueryIndicatorsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{14} } - func (m *QueryIndicatorsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryIndicatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryIndicatorsResponse.Marshal(b, m, deterministic) @@ -685,15 +616,12 @@ func (m *QueryIndicatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *QueryIndicatorsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryIndicatorsResponse.Merge(m, src) } - func (m *QueryIndicatorsResponse) XXX_Size() int { return m.Size() } - func (m *QueryIndicatorsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryIndicatorsResponse.DiscardUnknown(m) } @@ -701,7 +629,8 @@ func (m *QueryIndicatorsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryIndicatorsResponse proto.InternalMessageInfo // QueryParamsRequest is the request type for the Query/Params RPC method. -type QueryParamsRequest struct{} +type QueryParamsRequest struct { +} func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } @@ -709,11 +638,9 @@ func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{15} } - func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) @@ -726,15 +653,12 @@ func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryParamsRequest.Merge(m, src) } - func (m *QueryParamsRequest) XXX_Size() int { return m.Size() } - func (m *QueryParamsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) } @@ -753,11 +677,9 @@ func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{16} } - func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) @@ -770,15 +692,12 @@ func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryParamsResponse.Merge(m, src) } - func (m *QueryParamsResponse) XXX_Size() int { return m.Size() } - func (m *QueryParamsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) } @@ -803,11 +722,9 @@ func (*QueryBurnTaxExemptionListRequest) ProtoMessage() {} func (*QueryBurnTaxExemptionListRequest) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{17} } - func (m *QueryBurnTaxExemptionListRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryBurnTaxExemptionListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryBurnTaxExemptionListRequest.Marshal(b, m, deterministic) @@ -820,15 +737,12 @@ func (m *QueryBurnTaxExemptionListRequest) XXX_Marshal(b []byte, deterministic b return b[:n], nil } } - func (m *QueryBurnTaxExemptionListRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryBurnTaxExemptionListRequest.Merge(m, src) } - func (m *QueryBurnTaxExemptionListRequest) XXX_Size() int { return m.Size() } - func (m *QueryBurnTaxExemptionListRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryBurnTaxExemptionListRequest.DiscardUnknown(m) } @@ -854,11 +768,9 @@ func (*QueryBurnTaxExemptionListResponse) ProtoMessage() {} func (*QueryBurnTaxExemptionListResponse) Descriptor() ([]byte, []int) { return fileDescriptor_699c8c29293c9a9b, []int{18} } - func (m *QueryBurnTaxExemptionListResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryBurnTaxExemptionListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryBurnTaxExemptionListResponse.Marshal(b, m, deterministic) @@ -871,15 +783,12 @@ func (m *QueryBurnTaxExemptionListResponse) XXX_Marshal(b []byte, deterministic return b[:n], nil } } - func (m *QueryBurnTaxExemptionListResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryBurnTaxExemptionListResponse.Merge(m, src) } - func (m *QueryBurnTaxExemptionListResponse) XXX_Size() int { return m.Size() } - func (m *QueryBurnTaxExemptionListResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryBurnTaxExemptionListResponse.DiscardUnknown(m) } @@ -927,79 +836,78 @@ func init() { } var fileDescriptor_699c8c29293c9a9b = []byte{ - // 1037 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 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x67, 0x88, 0x71, 0xe5, 0xce, 0x05, 0x32, 0x0d, 0xf9, - 0x6d, 0x45, 0xbe, 0x0b, 0x9d, 0x2c, 0xf2, 0xce, 0x80, 0x85, 0x6d, 0xb9, 0xb9, 0x24, 0xce, 0x6f, - 0xf7, 0x24, 0xed, 0x37, 0x16, 0x28, 0x6a, 0xf7, 0x98, 0x23, 0x48, 0x13, 0x86, 0x35, 0x47, 0x90, - 0x26, 0x6d, 0x0c, 0xad, 0x2b, 0xb8, 0x3a, 0xac, 0x66, 0xc1, 0x69, 0xc3, 0x6a, 0xbe, 0x7f, 0x7c, - 0x5a, 0xb5, 0x9e, 0x9f, 0x56, 0xad, 0xbf, 0x4f, 0xab, 0xd6, 0xf7, 0x67, 0xd5, 0xc2, 0xf3, 0xb3, - 0x6a, 0xe1, 0x8f, 0xb3, 0x6a, 0xe1, 0x23, 0x3b, 0xed, 0xb9, 0x3d, 0xcc, 0x79, 0xe0, 0x6d, 0xeb, - 0x5a, 0x1e, 0x65, 0xc4, 0x19, 0x26, 0x25, 0x95, 0xff, 0x76, 0x8a, 0xea, 0x97, 0xc4, 0x9b, 0xff, - 0x05, 0x00, 0x00, 0xff, 0xff, 0xcc, 0xe4, 0x0b, 0xdc, 0x2e, 0x0d, 0x00, 0x00, + // 1042 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x97, 0xcd, 0x6f, 0x1b, 0x45, + 0x1f, 0xc7, 0xbd, 0x7d, 0x9e, 0x3a, 0xc9, 0x38, 0x5c, 0x26, 0xa6, 0x24, 0x56, 0xb5, 0x76, 0x57, + 0x6d, 0x6a, 0xe5, 0x65, 0x37, 0x36, 0x95, 0x4a, 0x2b, 0x4e, 0x2e, 0x50, 0x45, 0x04, 0xa9, 0xdd, + 0x58, 0xaa, 0xe0, 0x80, 0x35, 0x5e, 0x8f, 0x36, 0x0b, 0xf6, 0xce, 0x76, 0x66, 0xdc, 0xda, 0x42, + 0x5c, 0x90, 0x90, 0x80, 0x03, 0x42, 0xea, 0x89, 0x0b, 0xaa, 0x38, 0x72, 0xe7, 0xca, 0x89, 0x43, + 0x8e, 0x95, 0xb8, 0x20, 0x0e, 0x01, 0x25, 0x1c, 0xf8, 0x33, 0xd0, 0xbc, 0xac, 0x77, 0xdd, 0x7a, + 0xed, 0x4d, 0x38, 0x65, 0x33, 0xf3, 0x7b, 0xf9, 0xcc, 0xdb, 0xf7, 0x2b, 0x03, 0x8b, 0x63, 0x4a, + 0x91, 0xc3, 0x29, 0x46, 0x6c, 0x48, 0xc7, 0xce, 0x93, 0x46, 0x17, 0x73, 0xd4, 0x70, 0x1e, 0x0f, + 0x31, 0x1d, 0xdb, 0x11, 0x25, 0x9c, 0xc0, 0x2b, 0x32, 0xc6, 0x8e, 0x63, 0x6c, 0x1d, 0x53, 0x29, + 0xfb, 0xc4, 0x27, 0x32, 0xc4, 0x11, 0x5f, 0x2a, 0xba, 0x72, 0xd5, 0x27, 0xc4, 0xef, 0x63, 0x07, + 0x45, 0x81, 0x83, 0xc2, 0x90, 0x70, 0xc4, 0x03, 0x12, 0x32, 0x3d, 0xbb, 0xe5, 0x11, 0x36, 0x20, + 0xcc, 0xe9, 0x22, 0x86, 0x55, 0x93, 0x49, 0xcb, 0x08, 0xf9, 0x41, 0x28, 0x83, 0x75, 0xec, 0x8d, + 0x0c, 0xb6, 0x09, 0x88, 0x0a, 0x33, 0xd3, 0x25, 0xe3, 0x18, 0x8f, 0x04, 0xba, 0x8c, 0xf5, 0x3a, + 0x58, 0x7b, 0x28, 0x1a, 0xb5, 0xd1, 0xc8, 0x45, 0x1c, 0xbb, 0xf8, 0xf1, 0x10, 0x33, 0x6e, 0x21, + 0x50, 0x9e, 0x1e, 0x66, 0x11, 0x09, 0x19, 0x86, 0xfb, 0x60, 0x99, 0xa3, 0x51, 0x87, 0x22, 0x8e, + 0xd7, 0x8d, 0x9a, 0x51, 0x5f, 0x69, 0xd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65, 0x58, 0xad, + 0xf7, 0x8f, 0x4f, 0x4d, 0xe3, 0xc5, 0xa9, 0x69, 0xfc, 0x75, 0x6a, 0x1a, 0xdf, 0x9d, 0x99, 0x85, + 0x17, 0x67, 0x66, 0xe1, 0xf7, 0x33, 0xb3, 0xf0, 0x51, 0x23, 0xed, 0xb9, 0x7d, 0xc4, 0x58, 0xe0, + 0xed, 0xaa, 0x5a, 0x1e, 0xa1, 0xd8, 0x79, 0xd2, 0x74, 0x46, 0x49, 0x55, 0x69, 0xc1, 0xdd, 0xa2, + 0xfc, 0x31, 0xf1, 0xe6, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x68, 0xd9, 0x8a, 0xef, 0x31, 0x0d, + 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -1141,40 +1049,33 @@ type QueryServer interface { } // UnimplementedQueryServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServer struct{} +type UnimplementedQueryServer struct { +} func (*UnimplementedQueryServer) TaxRate(ctx context.Context, req *QueryTaxRateRequest) (*QueryTaxRateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TaxRate not implemented") } - func (*UnimplementedQueryServer) TaxCap(ctx context.Context, req *QueryTaxCapRequest) (*QueryTaxCapResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TaxCap not implemented") } - func (*UnimplementedQueryServer) TaxCaps(ctx context.Context, req *QueryTaxCapsRequest) (*QueryTaxCapsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TaxCaps not implemented") } - func (*UnimplementedQueryServer) RewardWeight(ctx context.Context, req *QueryRewardWeightRequest) (*QueryRewardWeightResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RewardWeight not implemented") } - func (*UnimplementedQueryServer) SeigniorageProceeds(ctx context.Context, req *QuerySeigniorageProceedsRequest) (*QuerySeigniorageProceedsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SeigniorageProceeds not implemented") } - func (*UnimplementedQueryServer) TaxProceeds(ctx context.Context, req *QueryTaxProceedsRequest) (*QueryTaxProceedsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TaxProceeds not implemented") } - func (*UnimplementedQueryServer) Indicators(ctx context.Context, req *QueryIndicatorsRequest) (*QueryIndicatorsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Indicators not implemented") } - func (*UnimplementedQueryServer) BurnTaxExemptionList(ctx context.Context, req *QueryBurnTaxExemptionListRequest) (*QueryBurnTaxExemptionListResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BurnTaxExemptionList not implemented") } - func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } @@ -1993,7 +1894,6 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *QueryTaxRateRequest) Size() (n int) { if m == nil { return 0 @@ -2218,11 +2118,9 @@ func (m *QueryBurnTaxExemptionListResponse) Size() (n int) { func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozQuery(x uint64) (n int) { return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *QueryTaxRateRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2273,7 +2171,6 @@ func (m *QueryTaxRateRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTaxRateResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2358,7 +2255,6 @@ func (m *QueryTaxRateResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTaxCapRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2441,7 +2337,6 @@ func (m *QueryTaxCapRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTaxCapResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2526,7 +2421,6 @@ func (m *QueryTaxCapResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTaxCapsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2577,7 +2471,6 @@ func (m *QueryTaxCapsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTaxCapsResponseItem) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2694,7 +2587,6 @@ func (m *QueryTaxCapsResponseItem) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTaxCapsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2779,7 +2671,6 @@ func (m *QueryTaxCapsResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryRewardWeightRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2830,7 +2721,6 @@ func (m *QueryRewardWeightRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryRewardWeightResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2915,7 +2805,6 @@ func (m *QueryRewardWeightResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTaxProceedsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2966,7 +2855,6 @@ func (m *QueryTaxProceedsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryTaxProceedsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3051,7 +2939,6 @@ func (m *QueryTaxProceedsResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QuerySeigniorageProceedsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3102,7 +2989,6 @@ func (m *QuerySeigniorageProceedsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QuerySeigniorageProceedsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3187,7 +3073,6 @@ func (m *QuerySeigniorageProceedsResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryIndicatorsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3238,7 +3123,6 @@ func (m *QueryIndicatorsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryIndicatorsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3357,7 +3241,6 @@ func (m *QueryIndicatorsResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3408,7 +3291,6 @@ func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3492,7 +3374,6 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryBurnTaxExemptionListRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3579,7 +3460,6 @@ func (m *QueryBurnTaxExemptionListRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryBurnTaxExemptionListResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -3698,7 +3578,6 @@ func (m *QueryBurnTaxExemptionListResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/treasury/types/query.pb.gw.go b/x/treasury/types/query.pb.gw.go index 5052b12a6..3078960c4 100644 --- a/x/treasury/types/query.pb.gw.go +++ b/x/treasury/types/query.pb.gw.go @@ -25,15 +25,13 @@ import ( ) // Suppress "imported and not used" errors -var ( - _ codes.Code - _ io.Reader - _ status.Status - _ = runtime.String - _ = utilities.NewDoubleArray - _ = descriptor.ForMessage - _ = metadata.Join -) +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join func request_Query_TaxRate_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryTaxRateRequest @@ -41,6 +39,7 @@ func request_Query_TaxRate_0(ctx context.Context, marshaler runtime.Marshaler, c msg, err := client.TaxRate(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_TaxRate_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -49,6 +48,7 @@ func local_request_Query_TaxRate_0(ctx context.Context, marshaler runtime.Marsha msg, err := server.TaxRate(ctx, &protoReq) return msg, metadata, err + } func request_Query_TaxCap_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -75,6 +75,7 @@ func request_Query_TaxCap_0(ctx context.Context, marshaler runtime.Marshaler, cl msg, err := client.TaxCap(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_TaxCap_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -101,6 +102,7 @@ func local_request_Query_TaxCap_0(ctx context.Context, marshaler runtime.Marshal msg, err := server.TaxCap(ctx, &protoReq) return msg, metadata, err + } func request_Query_TaxCaps_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -109,6 +111,7 @@ func request_Query_TaxCaps_0(ctx context.Context, marshaler runtime.Marshaler, c msg, err := client.TaxCaps(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_TaxCaps_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -117,6 +120,7 @@ func local_request_Query_TaxCaps_0(ctx context.Context, marshaler runtime.Marsha msg, err := server.TaxCaps(ctx, &protoReq) return msg, metadata, err + } func request_Query_RewardWeight_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -125,6 +129,7 @@ func request_Query_RewardWeight_0(ctx context.Context, marshaler runtime.Marshal msg, err := client.RewardWeight(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_RewardWeight_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -133,6 +138,7 @@ func local_request_Query_RewardWeight_0(ctx context.Context, marshaler runtime.M msg, err := server.RewardWeight(ctx, &protoReq) return msg, metadata, err + } func request_Query_SeigniorageProceeds_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -141,6 +147,7 @@ func request_Query_SeigniorageProceeds_0(ctx context.Context, marshaler runtime. msg, err := client.SeigniorageProceeds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_SeigniorageProceeds_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -149,6 +156,7 @@ func local_request_Query_SeigniorageProceeds_0(ctx context.Context, marshaler ru msg, err := server.SeigniorageProceeds(ctx, &protoReq) return msg, metadata, err + } func request_Query_TaxProceeds_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -157,6 +165,7 @@ func request_Query_TaxProceeds_0(ctx context.Context, marshaler runtime.Marshale msg, err := client.TaxProceeds(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_TaxProceeds_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -165,6 +174,7 @@ func local_request_Query_TaxProceeds_0(ctx context.Context, marshaler runtime.Ma msg, err := server.TaxProceeds(ctx, &protoReq) return msg, metadata, err + } func request_Query_Indicators_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -173,6 +183,7 @@ func request_Query_Indicators_0(ctx context.Context, marshaler runtime.Marshaler msg, err := client.Indicators(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_Indicators_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -181,9 +192,12 @@ func local_request_Query_Indicators_0(ctx context.Context, marshaler runtime.Mar msg, err := server.Indicators(ctx, &protoReq) return msg, metadata, err + } -var filter_Query_BurnTaxExemptionList_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +var ( + filter_Query_BurnTaxExemptionList_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) func request_Query_BurnTaxExemptionList_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryBurnTaxExemptionListRequest @@ -198,6 +212,7 @@ func request_Query_BurnTaxExemptionList_0(ctx context.Context, marshaler runtime msg, err := client.BurnTaxExemptionList(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_BurnTaxExemptionList_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -213,6 +228,7 @@ func local_request_Query_BurnTaxExemptionList_0(ctx context.Context, marshaler r msg, err := server.BurnTaxExemptionList(ctx, &protoReq) return msg, metadata, err + } func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -221,6 +237,7 @@ func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, cl msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -229,6 +246,7 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal msg, err := server.Params(ctx, &protoReq) return msg, metadata, err + } // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". @@ -236,6 +254,7 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. // Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { + mux.Handle("GET", pattern_Query_TaxRate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -256,6 +275,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_TaxRate_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_TaxCap_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -278,6 +298,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_TaxCap_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_TaxCaps_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -300,6 +321,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_TaxCaps_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_RewardWeight_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -322,6 +344,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_RewardWeight_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_SeigniorageProceeds_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -344,6 +367,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_SeigniorageProceeds_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_TaxProceeds_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -366,6 +390,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_TaxProceeds_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Indicators_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -388,6 +413,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_Indicators_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_BurnTaxExemptionList_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -410,6 +436,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_BurnTaxExemptionList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -432,6 +459,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil @@ -474,6 +502,7 @@ func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "QueryClient" to call the correct interceptors. func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { + mux.Handle("GET", pattern_Query_TaxRate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -491,6 +520,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_TaxRate_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_TaxCap_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -510,6 +540,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_TaxCap_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_TaxCaps_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -529,6 +560,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_TaxCaps_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_RewardWeight_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -548,6 +580,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_RewardWeight_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_SeigniorageProceeds_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -567,6 +600,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_SeigniorageProceeds_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_TaxProceeds_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -586,6 +620,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_TaxProceeds_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Indicators_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -605,6 +640,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_Indicators_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_BurnTaxExemptionList_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -624,6 +660,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_BurnTaxExemptionList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -643,6 +680,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil diff --git a/x/treasury/types/treasury.pb.go b/x/treasury/types/treasury.pb.go index 8fb8e4165..b119e353b 100644 --- a/x/treasury/types/treasury.pb.go +++ b/x/treasury/types/treasury.pb.go @@ -5,22 +5,19 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -46,11 +43,9 @@ func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { return fileDescriptor_353bb3a9c554268e, []int{0} } - func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Params.Marshal(b, m, deterministic) @@ -63,15 +58,12 @@ func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Params) XXX_Merge(src proto.Message) { xxx_messageInfo_Params.Merge(m, src) } - func (m *Params) XXX_Size() int { return m.Size() } - func (m *Params) XXX_DiscardUnknown() { xxx_messageInfo_Params.DiscardUnknown(m) } @@ -126,11 +118,9 @@ func (*PolicyConstraints) ProtoMessage() {} func (*PolicyConstraints) Descriptor() ([]byte, []int) { return fileDescriptor_353bb3a9c554268e, []int{1} } - func (m *PolicyConstraints) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *PolicyConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_PolicyConstraints.Marshal(b, m, deterministic) @@ -143,15 +133,12 @@ func (m *PolicyConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } - func (m *PolicyConstraints) XXX_Merge(src proto.Message) { xxx_messageInfo_PolicyConstraints.Merge(m, src) } - func (m *PolicyConstraints) XXX_Size() int { return m.Size() } - func (m *PolicyConstraints) XXX_DiscardUnknown() { xxx_messageInfo_PolicyConstraints.DiscardUnknown(m) } @@ -177,11 +164,9 @@ func (*EpochTaxProceeds) ProtoMessage() {} func (*EpochTaxProceeds) Descriptor() ([]byte, []int) { return fileDescriptor_353bb3a9c554268e, []int{2} } - func (m *EpochTaxProceeds) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *EpochTaxProceeds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_EpochTaxProceeds.Marshal(b, m, deterministic) @@ -194,15 +179,12 @@ func (m *EpochTaxProceeds) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } - func (m *EpochTaxProceeds) XXX_Merge(src proto.Message) { xxx_messageInfo_EpochTaxProceeds.Merge(m, src) } - func (m *EpochTaxProceeds) XXX_Size() int { return m.Size() } - func (m *EpochTaxProceeds) XXX_DiscardUnknown() { xxx_messageInfo_EpochTaxProceeds.DiscardUnknown(m) } @@ -228,11 +210,9 @@ func (*EpochInitialIssuance) ProtoMessage() {} func (*EpochInitialIssuance) Descriptor() ([]byte, []int) { return fileDescriptor_353bb3a9c554268e, []int{3} } - func (m *EpochInitialIssuance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *EpochInitialIssuance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_EpochInitialIssuance.Marshal(b, m, deterministic) @@ -245,15 +225,12 @@ func (m *EpochInitialIssuance) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } - func (m *EpochInitialIssuance) XXX_Merge(src proto.Message) { xxx_messageInfo_EpochInitialIssuance.Merge(m, src) } - func (m *EpochInitialIssuance) XXX_Size() int { return m.Size() } - func (m *EpochInitialIssuance) XXX_DiscardUnknown() { xxx_messageInfo_EpochInitialIssuance.DiscardUnknown(m) } @@ -279,56 +256,56 @@ func init() { } var fileDescriptor_353bb3a9c554268e = []byte{ - // 772 bytes of a gzipped FileDescriptorProto + // 775 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4d, 0x8f, 0x1b, 0x35, - 0x18, 0xc7, 0x33, 0xa4, 0xec, 0x26, 0x4e, 0x4a, 0xb6, 0xee, 0x92, 0x9d, 0x14, 0x94, 0x89, 0x2c, - 0x81, 0xc2, 0xa1, 0x13, 0xb5, 0x1c, 0x90, 0xf6, 0x82, 0xc8, 0x16, 0xda, 0x48, 0x20, 0x45, 0xee, - 0x9e, 0x10, 0xd2, 0xc8, 0x99, 0x58, 0x13, 0x8b, 0x8c, 0x3d, 0xb2, 0x1d, 0x76, 0xc2, 0x9d, 0x1b, - 0x20, 0xc4, 0x09, 0x71, 0xea, 0x11, 0xf1, 0x49, 0x7a, 0xec, 0x11, 0x71, 0x08, 0x68, 0xf7, 0xc2, - 0x39, 0x9f, 0x00, 0x8d, 0xed, 0xbc, 0x15, 0x16, 0x1a, 0xed, 0x29, 0x7e, 0xde, 0x7e, 0xcf, 0xdf, - 0xce, 0x3c, 0x36, 0x78, 0x47, 0x53, 0x29, 0x49, 0x4f, 0x4b, 0x4a, 0xd4, 0x4c, 0xce, 0x7b, 0x5f, - 0x3d, 0x18, 0x51, 0x4d, 0x1e, 0xac, 0x1d, 0x61, 0x26, 0x85, 0x16, 0xb0, 0x69, 0xd2, 0xc2, 0xb5, - 0xd7, 0xa5, 0xdd, 0x3b, 0x4e, 0x44, 0x22, 0x4c, 0x4a, 0xaf, 0x58, 0xd9, 0xec, 0x7b, 0xed, 0x58, - 0xa8, 0x54,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xf7, 0x7f, 0x6c, 0xa0, 0xe4, 0x28, 0x5c, 0xd3, + 0x6b, 0x1d, 0xe8, 0x07, 0x0f, 0x1c, 0x1b, 0x71, 0xee, 0x93, 0xea, 0x2b, 0x35, 0x25, 0x3c, 0xa1, + 0xf0, 0x2b, 0x70, 0xc8, 0xdc, 0xfa, 0xbf, 0xb5, 0x5d, 0x38, 0x6d, 0xee, 0x1f, 0x5c, 0x16, 0xee, + 0xa6, 0x6b, 0xd5, 0xaf, 0xf7, 0xc9, 0xd3, 0xeb, 0xb6, 0xf7, 0xec, 0xba, 0xed, 0xfd, 0x71, 0xdd, + 0xf6, 0xbe, 0xbf, 0x69, 0x57, 0x9e, 0xdd, 0xb4, 0x2b, 0xbf, 0xde, 0xb4, 0x2b, 0x9f, 0x9f, 0x6e, + 0xd2, 0x26, 0x44, 0x29, 0x96, 0xdc, 0xb7, 0xaf, 0x61, 0x22, 0x24, 0x8d, 0x1e, 0x9f, 0x45, 0xc5, + 0xfa, 0x5d, 0x34, 0xf0, 0xe1, 0xbe, 0x79, 0xbf, 0xde, 0xfd, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x20, + 0x39, 0xc8, 0xee, 0x36, 0x07, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { @@ -379,7 +356,6 @@ func (this *Params) Equal(that interface{}) bool { } return true } - func (this *PolicyConstraints) Equal(that interface{}) bool { if that == nil { return this == nil @@ -413,7 +389,6 @@ func (this *PolicyConstraints) Equal(that interface{}) bool { } return true } - func (m *Params) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -660,7 +635,6 @@ func encodeVarintTreasury(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *Params) Size() (n int) { if m == nil { return 0 @@ -741,11 +715,9 @@ func (m *EpochInitialIssuance) Size() (n int) { func sovTreasury(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozTreasury(x uint64) (n int) { return sovTreasury(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *Params) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1055,7 +1027,6 @@ func (m *Params) Unmarshal(dAtA []byte) error { } return nil } - func (m *PolicyConstraints) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1241,7 +1212,6 @@ func (m *PolicyConstraints) Unmarshal(dAtA []byte) error { } return nil } - func (m *EpochTaxProceeds) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1326,7 +1296,6 @@ func (m *EpochTaxProceeds) Unmarshal(dAtA []byte) error { } return nil } - func (m *EpochInitialIssuance) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1411,7 +1380,6 @@ func (m *EpochInitialIssuance) Unmarshal(dAtA []byte) error { } return nil } - func skipTreasury(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/vesting/module.go b/x/vesting/module.go index f6da73130..8b296daf6 100644 --- a/x/vesting/module.go +++ b/x/vesting/module.go @@ -12,7 +12,7 @@ import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/classic-terra/core/x/vesting/types" + "github.com/classic-terra/core/v2/x/vesting/types" ) var _ module.AppModuleBasic = AppModuleBasic{} diff --git a/x/vesting/types/common_test.go b/x/vesting/types/common_test.go index 616ca4e2f..9b6833d06 100644 --- a/x/vesting/types/common_test.go +++ b/x/vesting/types/common_test.go @@ -3,8 +3,8 @@ package types_test import ( "testing" - "github.com/classic-terra/core/custom/auth" - "github.com/classic-terra/core/x/vesting/types" + "github.com/classic-terra/core/v2/custom/auth" + "github.com/classic-terra/core/v2/x/vesting/types" "github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto/secp256k1" diff --git a/x/vesting/types/genesis_test.go b/x/vesting/types/genesis_test.go index 40224d7cc..e556ff7ec 100644 --- a/x/vesting/types/genesis_test.go +++ b/x/vesting/types/genesis_test.go @@ -10,8 +10,8 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" authvesttypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/vesting/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/vesting/types" ) var ( diff --git a/x/vesting/types/vesting.pb.go b/x/vesting/types/vesting.pb.go index 8db72ac97..412f9ec4b 100644 --- a/x/vesting/types/vesting.pb.go +++ b/x/vesting/types/vesting.pb.go @@ -5,22 +5,19 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -40,11 +37,9 @@ func (*LazyGradedVestingAccount) ProtoMessage() {} func (*LazyGradedVestingAccount) Descriptor() ([]byte, []int) { return fileDescriptor_c4a9bc06e563192a, []int{0} } - func (m *LazyGradedVestingAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *LazyGradedVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_LazyGradedVestingAccount.Marshal(b, m, deterministic) @@ -57,15 +52,12 @@ func (m *LazyGradedVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } - func (m *LazyGradedVestingAccount) XXX_Merge(src proto.Message) { xxx_messageInfo_LazyGradedVestingAccount.Merge(m, src) } - func (m *LazyGradedVestingAccount) XXX_Size() int { return m.Size() } - func (m *LazyGradedVestingAccount) XXX_DiscardUnknown() { xxx_messageInfo_LazyGradedVestingAccount.DiscardUnknown(m) } @@ -85,11 +77,9 @@ func (*Schedule) ProtoMessage() {} func (*Schedule) Descriptor() ([]byte, []int) { return fileDescriptor_c4a9bc06e563192a, []int{1} } - func (m *Schedule) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Schedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Schedule.Marshal(b, m, deterministic) @@ -102,15 +92,12 @@ func (m *Schedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Schedule) XXX_Merge(src proto.Message) { xxx_messageInfo_Schedule.Merge(m, src) } - func (m *Schedule) XXX_Size() int { return m.Size() } - func (m *Schedule) XXX_DiscardUnknown() { xxx_messageInfo_Schedule.DiscardUnknown(m) } @@ -129,11 +116,9 @@ func (*VestingSchedule) ProtoMessage() {} func (*VestingSchedule) Descriptor() ([]byte, []int) { return fileDescriptor_c4a9bc06e563192a, []int{2} } - func (m *VestingSchedule) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *VestingSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_VestingSchedule.Marshal(b, m, deterministic) @@ -146,15 +131,12 @@ func (m *VestingSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } - func (m *VestingSchedule) XXX_Merge(src proto.Message) { xxx_messageInfo_VestingSchedule.Merge(m, src) } - func (m *VestingSchedule) XXX_Size() int { return m.Size() } - func (m *VestingSchedule) XXX_DiscardUnknown() { xxx_messageInfo_VestingSchedule.DiscardUnknown(m) } @@ -172,37 +154,38 @@ func init() { } var fileDescriptor_c4a9bc06e563192a = []byte{ - // 478 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xb1, 0x6e, 0xd3, 0x40, - 0x18, 0xc7, 0x7d, 0x49, 0x0b, 0xf1, 0x15, 0xa9, 0xa9, 0x69, 0x25, 0xab, 0x83, 0x2f, 0x32, 0x50, - 0x45, 0xa0, 0x9c, 0xd5, 0xd2, 0x29, 0x03, 0x12, 0x16, 0x52, 0x17, 0x26, 0x53, 0x31, 0xb0, 0x44, - 0x67, 0xfb, 0x53, 0x6a, 0x11, 0xfb, 0x2a, 0xdf, 0x25, 0x22, 0x3c, 0x01, 0x6c, 0x0c, 0x0c, 0x8c, - 0x9d, 0xfb, 0x24, 0x1d, 0x18, 0x32, 0x22, 0x06, 0x83, 0x92, 0x37, 0xc8, 0x13, 0xa0, 0xdc, 0xd9, - 0x4d, 0x71, 0x29, 0x53, 0x72, 0xdf, 0xf7, 0xff, 0x7e, 0x77, 0xff, 0xfb, 0x9f, 0xf1, 0x23, 0x09, - 0x79, 0xce, 0xbc, 0x09, 0x08, 0x99, 0x64, 0x43, 0x6f, 0x72, 0x18, 0x82, 0x64, 0x87, 0xd5, 0x9a, - 0x9e, 0xe7, 0x5c, 0x72, 0x6b, 0x4f, 0x89, 0x68, 0x55, 0x2c, 0x45, 0xfb, 0xbb, 0x43, 0x3e, 0xe4, - 0x4a, 0xe1, 0xad, 0xfe, 0x69, 0xf1, 0xfe, 0xe3, 0x88, 0x8b, 0x94, 0x8b, 0xff, 0x23, 0xdd, 0xaf, - 0x0d, 0x6c, 0xbf, 0x66, 0x1f, 0xa7, 0x27, 0x39, 0x8b, 0x21, 0x7e, 0xab, 0x7b, 0x2f, 0xa3, 0x88, - 0x8f, 0x33, 0x69, 0x85, 0x78, 0x37, 0x64, 0x02, 0x06, 0xe5, 0xc8, 0x80, 0xe9, 0xba, 0x8d, 0x3a, - 0xa8, 0xbb, 0x75, 0xf4, 0x94, 0xea, 0x1d, 0xea, 0xe7, 0xa1, 0x3e, 0x13, 0xf0, 0x37, 0xc9, 0xdf, - 0x98, 0x15, 0x04, 0x05, 0x56, 0x78, 0xab, 0x63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e3, - 0xa9, 0x32, 0x64, 0xde, 0x65, 0x48, 0x6b, 0xac, 0x18, 0x9b, 0xf5, 0x70, 0xc8, 0x1d, 0xe1, 0x5c, - 0xa7, 0xf2, 0xa4, 0x4c, 0xa5, 0x5d, 0x52, 0x6f, 0xa6, 0x61, 0xae, 0x63, 0x58, 0x83, 0xf5, 0x61, - 0xfd, 0x93, 0xab, 0xb9, 0x83, 0x66, 0x73, 0x07, 0xfd, 0x9e, 0x3b, 0xe8, 0xcb, 0xc2, 0x31, 0x66, - 0x0b, 0xc7, 0xf8, 0xb1, 0x70, 0x8c, 0x77, 0xbd, 0x9b, 0x77, 0x31, 0x62, 0x42, 0x24, 0x51, 0x4f, - 0x7f, 0x37, 0x11, 0xcf, 0xc1, 0xfb, 0x70, 0xfd, 0xd6, 0xd5, 0xb5, 0x84, 0xf7, 0xd4, 0x13, 0x7f, - 0xfe, 0x27, 0x00, 0x00, 0xff, 0xff, 0xf5, 0x5b, 0xc5, 0xeb, 0x5c, 0x03, 0x00, 0x00, + // 482 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xc1, 0x6e, 0xd3, 0x30, + 0x18, 0xc7, 0xe3, 0x76, 0x83, 0xc6, 0x43, 0x5a, 0x17, 0x36, 0x29, 0xda, 0x21, 0xae, 0x02, 0x4c, + 0x15, 0x68, 0x0e, 0x2b, 0x3b, 0xf5, 0x80, 0x44, 0x84, 0x84, 0x84, 0x38, 0x85, 0x89, 0x03, 0x97, + 0xca, 0x89, 0xad, 0x2e, 0xa2, 0x89, 0xa7, 0xd8, 0xad, 0x28, 0x4f, 0x00, 0x37, 0x0e, 0x1c, 0x38, + 0xee, 0xbc, 0x27, 0xd9, 0x81, 0x43, 0x8f, 0x88, 0x43, 0x40, 0xed, 0x1b, 0xe4, 0x09, 0x50, 0xed, + 0x64, 0x1d, 0x19, 0xdd, 0xa9, 0xf5, 0xf7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0x4d, 0xc4, 0x33, 0xe6, 0x4d, 0x7a, 0xde, 0xc7, 0xab, 0xe7, 0xae, 0x6e, 0x26, 0xbc, + 0xa3, 0x5e, 0xf9, 0xb3, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x5c, 0x52, 0x15, 0x5f, 0x03, + 0x00, 0x00, } func (m *LazyGradedVestingAccount) Marshal() (dAtA []byte, err error) { @@ -352,7 +335,6 @@ func encodeVarintVesting(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *LazyGradedVestingAccount) Size() (n int) { if m == nil { return 0 @@ -411,11 +393,9 @@ func (m *VestingSchedule) Size() (n int) { func sovVesting(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozVesting(x uint64) (n int) { return sovVesting(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *LazyGradedVestingAccount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -536,7 +516,6 @@ func (m *LazyGradedVestingAccount) Unmarshal(dAtA []byte) error { } return nil } - func (m *Schedule) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -659,7 +638,6 @@ func (m *Schedule) Unmarshal(dAtA []byte) error { } return nil } - func (m *VestingSchedule) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -776,7 +754,6 @@ func (m *VestingSchedule) Unmarshal(dAtA []byte) error { } return nil } - func skipVesting(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/vesting/types/vesting_account_test.go b/x/vesting/types/vesting_account_test.go index e39b4a9f2..a645530ea 100644 --- a/x/vesting/types/vesting_account_test.go +++ b/x/vesting/types/vesting_account_test.go @@ -14,8 +14,8 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" authvestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - core "github.com/classic-terra/core/types" - "github.com/classic-terra/core/x/vesting/types" + core "github.com/classic-terra/core/v2/types" + "github.com/classic-terra/core/v2/x/vesting/types" ) var (