From 7d2ebbc5712d11e5c0f342c2b75e8a64ee8337b2 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 9 Apr 2024 01:06:14 +0200 Subject: [PATCH 01/40] Remove broadcast mode block wip --- cmd/zetacored/root.go | 2 +- e2e/txserver/zeta_tx_server.go | 57 ++++++++++++++++++++++++++++++++-- 2 files changed, 55 insertions(+), 4 deletions(-) diff --git a/cmd/zetacored/root.go b/cmd/zetacored/root.go index 9f1835c9bb..0254602289 100644 --- a/cmd/zetacored/root.go +++ b/cmd/zetacored/root.go @@ -64,7 +64,7 @@ func NewRootCmd() (*cobra.Command, appparams.EncodingConfig) { WithLegacyAmino(encodingConfig.Amino). WithInput(os.Stdin). WithAccountRetriever(authtypes.AccountRetriever{}). - WithBroadcastMode(flags.BroadcastBlock). + WithBroadcastMode(flags.BroadcastSync). WithHomeDir(app.DefaultNodeHome). WithKeyringOptions(hd.EthSecp256k1Option()). WithViper(EnvPrefix) diff --git a/e2e/txserver/zeta_tx_server.go b/e2e/txserver/zeta_tx_server.go index f3d946ff5c..a14841c282 100644 --- a/e2e/txserver/zeta_tx_server.go +++ b/e2e/txserver/zeta_tx_server.go @@ -2,12 +2,14 @@ package txserver import ( "context" + "encoding/hex" "encoding/json" "errors" "fmt" "math/big" "os" "strings" + "time" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" @@ -33,6 +35,7 @@ import ( etherminttypes "github.com/evmos/ethermint/types" evmtypes "github.com/evmos/ethermint/x/evm/types" rpchttp "github.com/tendermint/tendermint/rpc/client/http" + coretypes "github.com/tendermint/tendermint/rpc/core/types" "github.com/zeta-chain/zetacore/cmd/zetacored/config" "github.com/zeta-chain/zetacore/pkg/chains" "github.com/zeta-chain/zetacore/pkg/coin" @@ -188,8 +191,56 @@ func (zts ZetaTxServer) BroadcastTx(account string, msg sdktypes.Msg) (*sdktypes return nil, err } - // Broadcast tx - return zts.clientCtx.BroadcastTx(txBytes) + // Broadcast tx and wait 10 mins to be included in block + res, err := zts.clientCtx.BroadcastTx(txBytes) + if err != nil { + if res == nil { + return nil, err + } + return &sdktypes.TxResponse{ + Code: res.Code, + Codespace: res.Codespace, + TxHash: res.TxHash, + }, err + } + + var blockTimeout time.Duration = 10 * time.Minute + exitAfter := time.After(blockTimeout) + hash, err := hex.DecodeString(res.TxHash) + if err != nil { + return nil, err + } + for { + select { + case <-exitAfter: + return nil, fmt.Errorf("timed out after waiting for tx to get included in the block: %d", blockTimeout) + case <-time.After(time.Millisecond * 100): + resTx, err := zts.clientCtx.Client.Tx(context.TODO(), hash, false) + if err == nil { + resBlock, err := zts.clientCtx.Client.Block(context.TODO(), &resTx.Height) + if err == nil { + return mkTxResult(zts.clientCtx.TxConfig, resTx, resBlock) + } + } + } + } +} + +func mkTxResult(txConfig client.TxConfig, resTx *coretypes.ResultTx, resBlock *coretypes.ResultBlock) (*sdktypes.TxResponse, error) { + txb, err := txConfig.TxDecoder()(resTx.Tx) + if err != nil { + return nil, err + } + p, ok := txb.(intoAny) + if !ok { + return nil, fmt.Errorf("expecting a type implementing intoAny, got: %T", txb) + } + any := p.AsAny() + return sdktypes.NewResponseResultTx(resTx, any, resBlock.Block.Time.Format(time.RFC3339)), nil +} + +type intoAny interface { + AsAny() *codectypes.Any } // DeploySystemContractsAndZRC20 deploys the system contracts and ZRC20 contracts @@ -373,7 +424,7 @@ func newContext( WithLegacyAmino(codec.NewLegacyAmino()). WithInput(os.Stdin). WithOutput(os.Stdout). - WithBroadcastMode(flags.BroadcastBlock). + WithBroadcastMode(flags.BroadcastSync). WithClient(rpc). WithSkipConfirmation(true). WithFromName("creator"). From 253a1b8b9f2dc8418cd2ed83c4ed407f30c84e72 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 9 Apr 2024 17:27:16 +0200 Subject: [PATCH 02/40] Fixes --- e2e/txserver/zeta_tx_server.go | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/e2e/txserver/zeta_tx_server.go b/e2e/txserver/zeta_tx_server.go index a14841c282..b2918aef1e 100644 --- a/e2e/txserver/zeta_tx_server.go +++ b/e2e/txserver/zeta_tx_server.go @@ -217,17 +217,17 @@ func (zts ZetaTxServer) BroadcastTx(account string, msg sdktypes.Msg) (*sdktypes case <-time.After(time.Millisecond * 100): resTx, err := zts.clientCtx.Client.Tx(context.TODO(), hash, false) if err == nil { - resBlock, err := zts.clientCtx.Client.Block(context.TODO(), &resTx.Height) + txRes, err := mkTxResult(zts.clientCtx, resTx) if err == nil { - return mkTxResult(zts.clientCtx.TxConfig, resTx, resBlock) + return txRes, nil } } } } } -func mkTxResult(txConfig client.TxConfig, resTx *coretypes.ResultTx, resBlock *coretypes.ResultBlock) (*sdktypes.TxResponse, error) { - txb, err := txConfig.TxDecoder()(resTx.Tx) +func mkTxResult(clientCtx client.Context, resTx *coretypes.ResultTx) (*sdktypes.TxResponse, error) { + txb, err := clientCtx.TxConfig.TxDecoder()(resTx.Tx) if err != nil { return nil, err } @@ -236,6 +236,10 @@ func mkTxResult(txConfig client.TxConfig, resTx *coretypes.ResultTx, resBlock *c return nil, fmt.Errorf("expecting a type implementing intoAny, got: %T", txb) } any := p.AsAny() + resBlock, err := clientCtx.Client.Block(context.TODO(), &resTx.Height) + if err != nil { + return nil, err + } return sdktypes.NewResponseResultTx(resTx, any, resBlock.Block.Time.Format(time.RFC3339)), nil } From 717fc3f3d10b94e6b53cdda64e957095bb8633fe Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 9 Apr 2024 21:08:12 +0200 Subject: [PATCH 03/40] Changelog --- changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.md b/changelog.md index 1fa1f6d681..340d81987a 100644 --- a/changelog.md +++ b/changelog.md @@ -59,6 +59,7 @@ * [1941](https://github.com/zeta-chain/node/pull/1941) - add unit tests for zetabridge package * [1985](https://github.com/zeta-chain/node/pull/1985) - improve fungible module coverage * [1992](https://github.com/zeta-chain/node/pull/1992) - remove setupKeeper from crosschain module +* [2001](https://github.com/zeta-chain/node/pull/2001) - replace broadcast mode block with sync ### Fixes From 04916f637c69ecb9bbc91e1dc425497543952fc8 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 9 Apr 2024 22:46:46 +0200 Subject: [PATCH 04/40] PR comments --- changelog.md | 2 +- e2e/txserver/zeta_tx_server.go | 33 +++++++++++++++++++-------------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/changelog.md b/changelog.md index 340d81987a..6957804246 100644 --- a/changelog.md +++ b/changelog.md @@ -26,6 +26,7 @@ * [1936](https://github.com/zeta-chain/node/pull/1936) - refactor common package into subpackages and rename to pkg * [1966](https://github.com/zeta-chain/node/pull/1966) - move TSS vote message from crosschain to observer * [1853](https://github.com/zeta-chain/node/pull/1853) - refactor vote inbound tx and vote outbound tx +* [2001](https://github.com/zeta-chain/node/pull/2001) - replace broadcast mode block with sync ### Features @@ -59,7 +60,6 @@ * [1941](https://github.com/zeta-chain/node/pull/1941) - add unit tests for zetabridge package * [1985](https://github.com/zeta-chain/node/pull/1985) - improve fungible module coverage * [1992](https://github.com/zeta-chain/node/pull/1992) - remove setupKeeper from crosschain module -* [2001](https://github.com/zeta-chain/node/pull/2001) - replace broadcast mode block with sync ### Fixes diff --git a/e2e/txserver/zeta_tx_server.go b/e2e/txserver/zeta_tx_server.go index b2918aef1e..a06920a714 100644 --- a/e2e/txserver/zeta_tx_server.go +++ b/e2e/txserver/zeta_tx_server.go @@ -51,11 +51,12 @@ const EmissionsPoolAddress = "zeta1w43fn2ze2wyhu5hfmegr6vp52c3dgn0srdgymy" // ZetaTxServer is a ZetaChain tx server for E2E test type ZetaTxServer struct { - clientCtx client.Context - txFactory tx.Factory - name []string - mnemonic []string - address []string + clientCtx client.Context + txFactory tx.Factory + name []string + mnemonic []string + address []string + blockTimeout time.Duration } // NewZetaTxServer returns a new TxServer with provided account @@ -105,11 +106,12 @@ func NewZetaTxServer(rpcAddr string, names []string, mnemonics []string, chainID txf := newFactory(clientCtx) return ZetaTxServer{ - clientCtx: clientCtx, - txFactory: txf, - name: names, - mnemonic: mnemonics, - address: addresses, + clientCtx: clientCtx, + txFactory: txf, + name: names, + mnemonic: mnemonics, + address: addresses, + blockTimeout: 1 * time.Minute, }, nil } @@ -160,6 +162,7 @@ func (zts ZetaTxServer) GetAccountMnemonic(index int) string { } // BroadcastTx broadcasts a tx to ZetaChain with the provided msg from the account +// and waiting for blockTime for tx to be included in the block func (zts ZetaTxServer) BroadcastTx(account string, msg sdktypes.Msg) (*sdktypes.TxResponse, error) { // Find number and sequence and set it acc, err := zts.clientCtx.Keyring.Key(account) @@ -191,7 +194,10 @@ func (zts ZetaTxServer) BroadcastTx(account string, msg sdktypes.Msg) (*sdktypes return nil, err } - // Broadcast tx and wait 10 mins to be included in block + return broadcastWithBlockTimeout(zts, txBytes) +} + +func broadcastWithBlockTimeout(zts ZetaTxServer, txBytes []byte) (*sdktypes.TxResponse, error) { res, err := zts.clientCtx.BroadcastTx(txBytes) if err != nil { if res == nil { @@ -204,8 +210,7 @@ func (zts ZetaTxServer) BroadcastTx(account string, msg sdktypes.Msg) (*sdktypes }, err } - var blockTimeout time.Duration = 10 * time.Minute - exitAfter := time.After(blockTimeout) + exitAfter := time.After(zts.blockTimeout) hash, err := hex.DecodeString(res.TxHash) if err != nil { return nil, err @@ -213,7 +218,7 @@ func (zts ZetaTxServer) BroadcastTx(account string, msg sdktypes.Msg) (*sdktypes for { select { case <-exitAfter: - return nil, fmt.Errorf("timed out after waiting for tx to get included in the block: %d", blockTimeout) + return nil, fmt.Errorf("timed out after waiting for tx to get included in the block: %d", zts.blockTimeout) case <-time.After(time.Millisecond * 100): resTx, err := zts.clientCtx.Client.Tx(context.TODO(), hash, false) if err == nil { From e74ae5f4916e30150392022e339f1819797af4be Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 9 Apr 2024 23:02:25 +0200 Subject: [PATCH 05/40] Lint fix --- e2e/txserver/zeta_tx_server.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/e2e/txserver/zeta_tx_server.go b/e2e/txserver/zeta_tx_server.go index a06920a714..7c8b53038b 100644 --- a/e2e/txserver/zeta_tx_server.go +++ b/e2e/txserver/zeta_tx_server.go @@ -240,12 +240,11 @@ func mkTxResult(clientCtx client.Context, resTx *coretypes.ResultTx) (*sdktypes. if !ok { return nil, fmt.Errorf("expecting a type implementing intoAny, got: %T", txb) } - any := p.AsAny() resBlock, err := clientCtx.Client.Block(context.TODO(), &resTx.Height) if err != nil { return nil, err } - return sdktypes.NewResponseResultTx(resTx, any, resBlock.Block.Time.Format(time.RFC3339)), nil + return sdktypes.NewResponseResultTx(resTx, p.AsAny(), resBlock.Block.Time.Format(time.RFC3339)), nil } type intoAny interface { From 93d07cb34efd1410cfabed502c6860ed230d76ad Mon Sep 17 00:00:00 2001 From: skosito Date: Thu, 11 Apr 2024 08:22:22 +0100 Subject: [PATCH 06/40] refactor: remove fungible params (#2004) * Remove unused params from fungible module * Make generate * Changelog * Lint fix * Lint fix --- app/app.go | 2 - changelog.md | 1 + .../cli/zetacored/zetacored_query_fungible.md | 1 - .../zetacored_query_fungible_params.md | 33 -- docs/openapi/openapi.swagger.yaml | 25 - proto/fungible/genesis.proto | 6 +- proto/fungible/params.proto | 11 - proto/fungible/query.proto | 15 - testutil/keeper/crosschain.go | 2 - testutil/keeper/fungible.go | 4 - typescript/fungible/genesis_pb.d.ts | 10 +- typescript/fungible/index.d.ts | 1 - typescript/fungible/params_pb.d.ts | 29 -- typescript/fungible/query_pb.d.ts | 50 -- x/crosschain/keeper/keeper.go | 4 - x/fungible/client/cli/query.go | 1 - x/fungible/client/cli/query_params.go | 34 -- x/fungible/genesis.go | 2 - x/fungible/genesis_test.go | 1 - x/fungible/keeper/grpc_query_params.go | 19 - x/fungible/keeper/grpc_query_params_test.go | 21 - x/fungible/keeper/keeper.go | 9 - x/fungible/keeper/params.go | 16 - x/fungible/keeper/params_test.go | 18 - x/fungible/module_simulation.go | 4 +- x/fungible/types/genesis.go | 3 +- x/fungible/types/genesis.pb.go | 93 +--- x/fungible/types/params.go | 42 -- x/fungible/types/params.pb.go | 265 ---------- x/fungible/types/query.pb.go | 476 +++--------------- x/fungible/types/query.pb.gw.go | 65 --- 31 files changed, 96 insertions(+), 1167 deletions(-) delete mode 100644 docs/cli/zetacored/zetacored_query_fungible_params.md delete mode 100644 proto/fungible/params.proto delete mode 100644 typescript/fungible/params_pb.d.ts delete mode 100644 x/fungible/client/cli/query_params.go delete mode 100644 x/fungible/keeper/grpc_query_params.go delete mode 100644 x/fungible/keeper/grpc_query_params_test.go delete mode 100644 x/fungible/keeper/params.go delete mode 100644 x/fungible/keeper/params_test.go delete mode 100644 x/fungible/types/params.go delete mode 100644 x/fungible/types/params.pb.go diff --git a/app/app.go b/app/app.go index 0625df5f08..bbb50a7802 100644 --- a/app/app.go +++ b/app/app.go @@ -419,7 +419,6 @@ func New( appCodec, keys[fungibletypes.StoreKey], keys[fungibletypes.MemStoreKey], - app.GetSubspace(fungibletypes.ModuleName), app.AccountKeeper, app.EvmKeeper, app.BankKeeper, @@ -432,7 +431,6 @@ func New( keys[crosschaintypes.StoreKey], keys[crosschaintypes.MemStoreKey], &stakingKeeper, - app.GetSubspace(crosschaintypes.ModuleName), app.AccountKeeper, app.BankKeeper, app.ObserverKeeper, diff --git a/changelog.md b/changelog.md index 6957804246..cd70a82586 100644 --- a/changelog.md +++ b/changelog.md @@ -27,6 +27,7 @@ * [1966](https://github.com/zeta-chain/node/pull/1966) - move TSS vote message from crosschain to observer * [1853](https://github.com/zeta-chain/node/pull/1853) - refactor vote inbound tx and vote outbound tx * [2001](https://github.com/zeta-chain/node/pull/2001) - replace broadcast mode block with sync +* [2004](https://github.com/zeta-chain/node/pull/2004) - remove fungible params ### Features diff --git a/docs/cli/zetacored/zetacored_query_fungible.md b/docs/cli/zetacored/zetacored_query_fungible.md index 52d7ccc81e..9ac579947a 100644 --- a/docs/cli/zetacored/zetacored_query_fungible.md +++ b/docs/cli/zetacored/zetacored_query_fungible.md @@ -30,7 +30,6 @@ zetacored query fungible [flags] * [zetacored query fungible gas-stability-pool-balance](zetacored_query_fungible_gas-stability-pool-balance.md) - query the balance of a gas stability pool for a chain * [zetacored query fungible gas-stability-pool-balances](zetacored_query_fungible_gas-stability-pool-balances.md) - query all gas stability pool balances * [zetacored query fungible list-foreign-coins](zetacored_query_fungible_list-foreign-coins.md) - list all ForeignCoins -* [zetacored query fungible params](zetacored_query_fungible_params.md) - shows the parameters of the module * [zetacored query fungible show-foreign-coins](zetacored_query_fungible_show-foreign-coins.md) - shows a ForeignCoins * [zetacored query fungible system-contract](zetacored_query_fungible_system-contract.md) - query system contract diff --git a/docs/cli/zetacored/zetacored_query_fungible_params.md b/docs/cli/zetacored/zetacored_query_fungible_params.md deleted file mode 100644 index 9845c39cf3..0000000000 --- a/docs/cli/zetacored/zetacored_query_fungible_params.md +++ /dev/null @@ -1,33 +0,0 @@ -# query fungible params - -shows the parameters of the module - -``` -zetacored query fungible params [flags] -``` - -### Options - -``` - --grpc-addr string the gRPC endpoint to use for this chain - --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS - --height int Use a specific height to query state at (this can error if the node is pruning state) - -h, --help help for params - --node string [host]:[port] to Tendermint RPC interface for this chain - -o, --output string Output format (text|json) -``` - -### Options inherited from parent commands - -``` - --chain-id string The network chain ID - --home string directory for config and data - --log_format string The logging format (json|plain) - --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) - --trace print out full stack trace on errors -``` - -### SEE ALSO - -* [zetacored query fungible](zetacored_query_fungible.md) - Querying commands for the fungible module - diff --git a/docs/openapi/openapi.swagger.yaml b/docs/openapi/openapi.swagger.yaml index faf3e60692..65191e5d7f 100644 --- a/docs/openapi/openapi.swagger.yaml +++ b/docs/openapi/openapi.swagger.yaml @@ -27401,21 +27401,6 @@ paths: format: int64 tags: - Query - /zeta-chain/fungible/params: - get: - summary: Parameters queries the parameters of the module. - operationId: Query_Params - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/zetacorefungibleQueryParamsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query /zeta-chain/fungible/system_contract: get: summary: Queries SystemContract @@ -54764,16 +54749,6 @@ definitions: $ref: '#/definitions/zetacoreemissionsParams' description: params holds all the parameters of this module. description: QueryParamsResponse is response type for the Query/Params RPC method. - zetacorefungibleParams: - type: object - description: Params defines the parameters for the module. - zetacorefungibleQueryParamsResponse: - type: object - properties: - params: - $ref: '#/definitions/zetacorefungibleParams' - description: params holds all the parameters of this module. - description: QueryParamsResponse is response type for the Query/Params RPC method. zetacoreobserverParams: type: object properties: diff --git a/proto/fungible/genesis.proto b/proto/fungible/genesis.proto index bc6f804145..20c9cadd2b 100644 --- a/proto/fungible/genesis.proto +++ b/proto/fungible/genesis.proto @@ -2,7 +2,6 @@ syntax = "proto3"; package zetachain.zetacore.fungible; import "fungible/foreign_coins.proto"; -import "fungible/params.proto"; import "fungible/system_contract.proto"; import "gogoproto/gogo.proto"; @@ -10,7 +9,6 @@ option go_package = "github.com/zeta-chain/zetacore/x/fungible/types"; // GenesisState defines the fungible module's genesis state. message GenesisState { - Params params = 1 [(gogoproto.nullable) = false]; - repeated ForeignCoins foreignCoinsList = 2 [(gogoproto.nullable) = false]; - SystemContract systemContract = 3; + repeated ForeignCoins foreignCoinsList = 1 [(gogoproto.nullable) = false]; + SystemContract systemContract = 2; } diff --git a/proto/fungible/params.proto b/proto/fungible/params.proto deleted file mode 100644 index 2615f0b14f..0000000000 --- a/proto/fungible/params.proto +++ /dev/null @@ -1,11 +0,0 @@ -syntax = "proto3"; -package zetachain.zetacore.fungible; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/zeta-chain/zetacore/x/fungible/types"; - -// Params defines the parameters for the module. -message Params { - option (gogoproto.goproto_stringer) = false; -} diff --git a/proto/fungible/query.proto b/proto/fungible/query.proto index 94e4165cdd..17c3779512 100644 --- a/proto/fungible/query.proto +++ b/proto/fungible/query.proto @@ -3,7 +3,6 @@ package zetachain.zetacore.fungible; import "cosmos/base/query/v1beta1/pagination.proto"; import "fungible/foreign_coins.proto"; -import "fungible/params.proto"; import "fungible/system_contract.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; @@ -12,11 +11,6 @@ option go_package = "github.com/zeta-chain/zetacore/x/fungible/types"; // Query defines the gRPC querier service. service Query { - // Parameters queries the parameters of the module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/zeta-chain/fungible/params"; - } - // Queries a ForeignCoins by index. rpc ForeignCoins(QueryGetForeignCoinsRequest) returns (QueryGetForeignCoinsResponse) { option (google.api.http).get = "/zeta-chain/fungible/foreign_coins/{index}"; @@ -53,15 +47,6 @@ service Query { } } -// QueryParamsRequest is request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is response type for the Query/Params RPC method. -message QueryParamsResponse { - // params holds all the parameters of this module. - Params params = 1 [(gogoproto.nullable) = false]; -} - message QueryGetForeignCoinsRequest { string index = 1; } diff --git a/testutil/keeper/crosschain.go b/testutil/keeper/crosschain.go index 3fb8f81823..3f52ed1e4d 100644 --- a/testutil/keeper/crosschain.go +++ b/testutil/keeper/crosschain.go @@ -75,7 +75,6 @@ func CrosschainKeeperWithMocks( cdc, db, stateStore, - sdkKeepers.ParamsKeeper, sdkKeepers.AuthKeeper, sdkKeepers.BankKeeper, sdkKeepers.EvmKeeper, @@ -134,7 +133,6 @@ func CrosschainKeeperWithMocks( storeKey, memStoreKey, stakingKeeper, - sdkKeepers.ParamsKeeper.Subspace(types.ModuleName), authKeeper, bankKeeper, observerKeeper, diff --git a/testutil/keeper/fungible.go b/testutil/keeper/fungible.go index 5097a208d2..ae61439c1a 100644 --- a/testutil/keeper/fungible.go +++ b/testutil/keeper/fungible.go @@ -8,7 +8,6 @@ import ( "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" "github.com/evmos/ethermint/x/evm/statedb" evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/stretchr/testify/mock" @@ -44,7 +43,6 @@ func initFungibleKeeper( cdc codec.Codec, db *tmdb.MemDB, ss store.CommitMultiStore, - paramKeeper paramskeeper.Keeper, authKeeper types.AccountKeeper, bankKeepr types.BankKeeper, evmKeeper types.EVMKeeper, @@ -60,7 +58,6 @@ func initFungibleKeeper( cdc, storeKey, memKey, - paramKeeper.Subspace(types.ModuleName), authKeeper, evmKeeper, bankKeepr, @@ -145,7 +142,6 @@ func FungibleKeeperWithMocks(t testing.TB, mockOptions FungibleMockOptions) (*ke cdc, storeKey, memStoreKey, - sdkKeepers.ParamsKeeper.Subspace(types.ModuleName), authKeeper, evmKeeper, bankKeeper, diff --git a/typescript/fungible/genesis_pb.d.ts b/typescript/fungible/genesis_pb.d.ts index 1a338d01c8..dd979f05a2 100644 --- a/typescript/fungible/genesis_pb.d.ts +++ b/typescript/fungible/genesis_pb.d.ts @@ -5,7 +5,6 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; -import type { Params } from "./params_pb.js"; import type { ForeignCoins } from "./foreign_coins_pb.js"; import type { SystemContract } from "./system_contract_pb.js"; @@ -16,17 +15,12 @@ import type { SystemContract } from "./system_contract_pb.js"; */ export declare class GenesisState extends Message { /** - * @generated from field: zetachain.zetacore.fungible.Params params = 1; - */ - params?: Params; - - /** - * @generated from field: repeated zetachain.zetacore.fungible.ForeignCoins foreignCoinsList = 2; + * @generated from field: repeated zetachain.zetacore.fungible.ForeignCoins foreignCoinsList = 1; */ foreignCoinsList: ForeignCoins[]; /** - * @generated from field: zetachain.zetacore.fungible.SystemContract systemContract = 3; + * @generated from field: zetachain.zetacore.fungible.SystemContract systemContract = 2; */ systemContract?: SystemContract; diff --git a/typescript/fungible/index.d.ts b/typescript/fungible/index.d.ts index ca17377759..1c8f51dade 100644 --- a/typescript/fungible/index.d.ts +++ b/typescript/fungible/index.d.ts @@ -1,7 +1,6 @@ export * from "./events_pb"; export * from "./foreign_coins_pb"; export * from "./genesis_pb"; -export * from "./params_pb"; export * from "./query_pb"; export * from "./system_contract_pb"; export * from "./tx_pb"; diff --git a/typescript/fungible/params_pb.d.ts b/typescript/fungible/params_pb.d.ts deleted file mode 100644 index a9f83a1d01..0000000000 --- a/typescript/fungible/params_pb.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -// @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file fungible/params.proto (package zetachain.zetacore.fungible, syntax proto3) -/* eslint-disable */ -// @ts-nocheck - -import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; -import { Message, proto3 } from "@bufbuild/protobuf"; - -/** - * Params defines the parameters for the module. - * - * @generated from message zetachain.zetacore.fungible.Params - */ -export declare class Params extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.fungible.Params"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): Params; - - static fromJson(jsonValue: JsonValue, options?: Partial): Params; - - static fromJsonString(jsonString: string, options?: Partial): Params; - - static equals(a: Params | PlainMessage | undefined, b: Params | PlainMessage | undefined): boolean; -} - diff --git a/typescript/fungible/query_pb.d.ts b/typescript/fungible/query_pb.d.ts index 57b15066b9..df76823dc6 100644 --- a/typescript/fungible/query_pb.d.ts +++ b/typescript/fungible/query_pb.d.ts @@ -5,60 +5,10 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; -import type { Params } from "./params_pb.js"; import type { ForeignCoins } from "./foreign_coins_pb.js"; import type { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination_pb.js"; import type { SystemContract } from "./system_contract_pb.js"; -/** - * QueryParamsRequest is request type for the Query/Params RPC method. - * - * @generated from message zetachain.zetacore.fungible.QueryParamsRequest - */ -export declare class QueryParamsRequest extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.fungible.QueryParamsRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest; - - static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest; - - static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean; -} - -/** - * QueryParamsResponse is response type for the Query/Params RPC method. - * - * @generated from message zetachain.zetacore.fungible.QueryParamsResponse - */ -export declare class QueryParamsResponse extends Message { - /** - * params holds all the parameters of this module. - * - * @generated from field: zetachain.zetacore.fungible.Params params = 1; - */ - params?: Params; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.fungible.QueryParamsResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse; - - static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse; - - static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean; -} - /** * @generated from message zetachain.zetacore.fungible.QueryGetForeignCoinsRequest */ diff --git a/x/crosschain/keeper/keeper.go b/x/crosschain/keeper/keeper.go index 5ed6084983..0962323ca5 100644 --- a/x/crosschain/keeper/keeper.go +++ b/x/crosschain/keeper/keeper.go @@ -6,7 +6,6 @@ import ( "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/x/crosschain/types" ) @@ -18,7 +17,6 @@ type ( memKey storetypes.StoreKey stakingKeeper types.StakingKeeper - paramstore paramtypes.Subspace authKeeper types.AccountKeeper bankKeeper types.BankKeeper zetaObserverKeeper types.ObserverKeeper @@ -32,7 +30,6 @@ func NewKeeper( storeKey, memKey storetypes.StoreKey, stakingKeeper types.StakingKeeper, // custom - paramstore paramtypes.Subspace, authKeeper types.AccountKeeper, bankKeeper types.BankKeeper, zetaObserverKeeper types.ObserverKeeper, @@ -50,7 +47,6 @@ func NewKeeper( storeKey: storeKey, memKey: memKey, stakingKeeper: stakingKeeper, - paramstore: paramstore, authKeeper: authKeeper, bankKeeper: bankKeeper, zetaObserverKeeper: zetaObserverKeeper, diff --git a/x/fungible/client/cli/query.go b/x/fungible/client/cli/query.go index 2fcda320d5..e5f0033532 100644 --- a/x/fungible/client/cli/query.go +++ b/x/fungible/client/cli/query.go @@ -20,7 +20,6 @@ func GetQueryCmd(_ string) *cobra.Command { } cmd.AddCommand( - CmdQueryParams(), CmdListForeignCoins(), CmdShowForeignCoins(), CmdGasStabilityPoolAddress(), diff --git a/x/fungible/client/cli/query_params.go b/x/fungible/client/cli/query_params.go deleted file mode 100644 index fad97be7dd..0000000000 --- a/x/fungible/client/cli/query_params.go +++ /dev/null @@ -1,34 +0,0 @@ -package cli - -import ( - "context" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/spf13/cobra" - "github.com/zeta-chain/zetacore/x/fungible/types" -) - -func CmdQueryParams() *cobra.Command { - cmd := &cobra.Command{ - Use: "params", - Short: "shows the parameters of the module", - Args: cobra.NoArgs, - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) - - queryClient := types.NewQueryClient(clientCtx) - - res, err := queryClient.Params(context.Background(), &types.QueryParamsRequest{}) - if err != nil { - return err - } - - return clientCtx.PrintProto(res) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} diff --git a/x/fungible/genesis.go b/x/fungible/genesis.go index 59b54fe6da..4f19c7cebd 100644 --- a/x/fungible/genesis.go +++ b/x/fungible/genesis.go @@ -18,14 +18,12 @@ func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) k.SetSystemContract(ctx, *genState.SystemContract) } - k.SetParams(ctx, genState.Params) } // ExportGenesis returns the fungible module's exported genesis. func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { var genesis types.GenesisState - genesis.Params = k.GetParams(ctx) genesis.ForeignCoinsList = k.GetAllForeignCoins(ctx) // Get all zetaDepositAndCallContract diff --git a/x/fungible/genesis_test.go b/x/fungible/genesis_test.go index 119e862a18..ba57014f6b 100644 --- a/x/fungible/genesis_test.go +++ b/x/fungible/genesis_test.go @@ -13,7 +13,6 @@ import ( func TestGenesis(t *testing.T) { genesisState := types.GenesisState{ - Params: types.DefaultParams(), ForeignCoinsList: []types.ForeignCoins{ sample.ForeignCoins(t, sample.EthAddress().String()), sample.ForeignCoins(t, sample.EthAddress().String()), diff --git a/x/fungible/keeper/grpc_query_params.go b/x/fungible/keeper/grpc_query_params.go deleted file mode 100644 index e6bebfb779..0000000000 --- a/x/fungible/keeper/grpc_query_params.go +++ /dev/null @@ -1,19 +0,0 @@ -package keeper - -import ( - "context" - - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/zeta-chain/zetacore/x/fungible/types" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" -) - -func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { - if req == nil { - return nil, status.Error(codes.InvalidArgument, "invalid request") - } - ctx := sdk.UnwrapSDKContext(c) - - return &types.QueryParamsResponse{Params: k.GetParams(ctx)}, nil -} diff --git a/x/fungible/keeper/grpc_query_params_test.go b/x/fungible/keeper/grpc_query_params_test.go deleted file mode 100644 index 634c6a38f6..0000000000 --- a/x/fungible/keeper/grpc_query_params_test.go +++ /dev/null @@ -1,21 +0,0 @@ -package keeper_test - -import ( - "testing" - - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/stretchr/testify/require" - testkeeper "github.com/zeta-chain/zetacore/testutil/keeper" - "github.com/zeta-chain/zetacore/x/fungible/types" -) - -func TestParamsQuery(t *testing.T) { - keeper, ctx, _, _ := testkeeper.FungibleKeeper(t) - wctx := sdk.WrapSDKContext(ctx) - params := types.DefaultParams() - keeper.SetParams(ctx, params) - - response, err := keeper.Params(wctx, &types.QueryParamsRequest{}) - require.NoError(t, err) - require.Equal(t, &types.QueryParamsResponse{Params: params}, response) -} diff --git a/x/fungible/keeper/keeper.go b/x/fungible/keeper/keeper.go index b25e466099..74b5f37730 100644 --- a/x/fungible/keeper/keeper.go +++ b/x/fungible/keeper/keeper.go @@ -6,7 +6,6 @@ import ( "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/x/fungible/types" ) @@ -16,7 +15,6 @@ type ( cdc codec.BinaryCodec storeKey storetypes.StoreKey memKey storetypes.StoreKey - paramstore paramtypes.Subspace authKeeper types.AccountKeeper evmKeeper types.EVMKeeper bankKeeper types.BankKeeper @@ -29,23 +27,16 @@ func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, - ps paramtypes.Subspace, authKeeper types.AccountKeeper, evmKeeper types.EVMKeeper, bankKeeper types.BankKeeper, observerKeeper types.ObserverKeeper, authorityKeeper types.AuthorityKeeper, ) *Keeper { - // set KeyTable if it has not already been set - if !ps.HasKeyTable() { - ps = ps.WithKeyTable(types.ParamKeyTable()) - } - return &Keeper{ cdc: cdc, storeKey: storeKey, memKey: memKey, - paramstore: ps, authKeeper: authKeeper, evmKeeper: evmKeeper, bankKeeper: bankKeeper, diff --git a/x/fungible/keeper/params.go b/x/fungible/keeper/params.go deleted file mode 100644 index 18b311c264..0000000000 --- a/x/fungible/keeper/params.go +++ /dev/null @@ -1,16 +0,0 @@ -package keeper - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/zeta-chain/zetacore/x/fungible/types" -) - -// GetParams get all parameters as types.Params -func (k Keeper) GetParams(_ sdk.Context) types.Params { - return types.NewParams() -} - -// SetParams set the params -func (k Keeper) SetParams(ctx sdk.Context, params types.Params) { - k.paramstore.SetParamSet(ctx, ¶ms) -} diff --git a/x/fungible/keeper/params_test.go b/x/fungible/keeper/params_test.go deleted file mode 100644 index b3b9497a74..0000000000 --- a/x/fungible/keeper/params_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package keeper_test - -import ( - "testing" - - "github.com/stretchr/testify/require" - testkeeper "github.com/zeta-chain/zetacore/testutil/keeper" - "github.com/zeta-chain/zetacore/x/fungible/types" -) - -func TestGetParams(t *testing.T) { - k, ctx, _, _ := testkeeper.FungibleKeeper(t) - params := types.DefaultParams() - - k.SetParams(ctx, params) - - require.EqualValues(t, params, k.GetParams(ctx)) -} diff --git a/x/fungible/module_simulation.go b/x/fungible/module_simulation.go index 0754216df7..5280860006 100644 --- a/x/fungible/module_simulation.go +++ b/x/fungible/module_simulation.go @@ -15,9 +15,7 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) { for i, acc := range simState.Accounts { accs[i] = acc.Address.String() } - fungibleGenesis := types.GenesisState{ - Params: types.DefaultParams(), - } + fungibleGenesis := types.GenesisState{} simState.GenState[types.ModuleName] = simState.Cdc.MustMarshalJSON(&fungibleGenesis) } diff --git a/x/fungible/types/genesis.go b/x/fungible/types/genesis.go index ccec34a914..859a19b3de 100644 --- a/x/fungible/types/genesis.go +++ b/x/fungible/types/genesis.go @@ -9,7 +9,6 @@ func DefaultGenesis() *GenesisState { return &GenesisState{ ForeignCoinsList: []ForeignCoins{}, SystemContract: nil, - Params: DefaultParams(), } } @@ -27,5 +26,5 @@ func (gs GenesisState) Validate() error { foreignCoinsIndexMap[index] = struct{}{} } - return gs.Params.Validate() + return nil } diff --git a/x/fungible/types/genesis.pb.go b/x/fungible/types/genesis.pb.go index 01a6e80047..718300f224 100644 --- a/x/fungible/types/genesis.pb.go +++ b/x/fungible/types/genesis.pb.go @@ -26,9 +26,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the fungible module's genesis state. type GenesisState struct { - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` - ForeignCoinsList []ForeignCoins `protobuf:"bytes,2,rep,name=foreignCoinsList,proto3" json:"foreignCoinsList"` - SystemContract *SystemContract `protobuf:"bytes,3,opt,name=systemContract,proto3" json:"systemContract,omitempty"` + ForeignCoinsList []ForeignCoins `protobuf:"bytes,1,rep,name=foreignCoinsList,proto3" json:"foreignCoinsList"` + SystemContract *SystemContract `protobuf:"bytes,2,opt,name=systemContract,proto3" json:"systemContract,omitempty"` } func (m *GenesisState) Reset() { *m = GenesisState{} } @@ -64,13 +63,6 @@ func (m *GenesisState) XXX_DiscardUnknown() { var xxx_messageInfo_GenesisState proto.InternalMessageInfo -func (m *GenesisState) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - func (m *GenesisState) GetForeignCoinsList() []ForeignCoins { if m != nil { return m.ForeignCoinsList @@ -92,26 +84,24 @@ func init() { func init() { proto.RegisterFile("fungible/genesis.proto", fileDescriptor_11e46382f3a6d0c2) } var fileDescriptor_11e46382f3a6d0c2 = []byte{ - // 291 bytes of a gzipped FileDescriptorProto + // 261 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4b, 0x2b, 0xcd, 0x4b, 0xcf, 0x4c, 0xca, 0x49, 0xd5, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0xae, 0x4a, 0x2d, 0x49, 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x03, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x60, 0x4a, 0xa5, 0x64, 0xe0, 0x9a, 0xd2, 0xf2, 0x8b, 0x52, 0x33, 0xd3, - 0xf3, 0xe2, 0x93, 0xf3, 0x33, 0xf3, 0xa0, 0x5a, 0xa5, 0x44, 0xe1, 0xb2, 0x05, 0x89, 0x45, 0x89, - 0xb9, 0x30, 0x61, 0x39, 0xb8, 0x70, 0x71, 0x65, 0x71, 0x49, 0x6a, 0x6e, 0x7c, 0x72, 0x7e, 0x5e, - 0x49, 0x51, 0x62, 0x72, 0x09, 0x54, 0x5e, 0x24, 0x3d, 0x3f, 0x3d, 0x1f, 0xcc, 0xd4, 0x07, 0xb1, - 0x20, 0xa2, 0x4a, 0xcd, 0x4c, 0x5c, 0x3c, 0xee, 0x10, 0x97, 0x05, 0x97, 0x24, 0x96, 0xa4, 0x0a, - 0x39, 0x72, 0xb1, 0x41, 0x8c, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x36, 0x52, 0xd6, 0xc3, 0xe3, - 0x52, 0xbd, 0x00, 0xb0, 0x52, 0x27, 0x96, 0x13, 0xf7, 0xe4, 0x19, 0x82, 0xa0, 0x1a, 0x85, 0xa2, - 0xb9, 0x04, 0xa0, 0xee, 0x76, 0x06, 0x39, 0xdb, 0x27, 0xb3, 0xb8, 0x44, 0x82, 0x49, 0x81, 0x59, - 0x83, 0xdb, 0x48, 0x13, 0xaf, 0x61, 0x6e, 0x48, 0x9a, 0xa0, 0x46, 0x62, 0x18, 0x24, 0x14, 0xcc, - 0xc5, 0x07, 0xf1, 0x9f, 0x33, 0xd4, 0x7b, 0x12, 0xcc, 0x60, 0x77, 0x6a, 0xe3, 0x35, 0x3a, 0x18, - 0x45, 0x4b, 0x10, 0x9a, 0x11, 0x4e, 0x9e, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, - 0xe0, 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, 0x46, 0x38, 0x79, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, + 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, + 0x1c, 0x43, 0x94, 0x7e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc8, + 0x58, 0x5d, 0xb0, 0x0d, 0xfa, 0x30, 0x1b, 0xf4, 0x2b, 0xf4, 0xe1, 0x61, 0x56, 0x52, 0x59, 0x90, + 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x14, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x2a, 0xc7, + 0x57, 0x9f, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -144,7 +134,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x12 } if len(m.ForeignCoinsList) > 0 { for iNdEx := len(m.ForeignCoinsList) - 1; iNdEx >= 0; iNdEx-- { @@ -157,19 +147,9 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 - } - } - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + dAtA[i] = 0xa } - i -= size - i = encodeVarintGenesis(dAtA, i, uint64(size)) } - i-- - dAtA[i] = 0xa return len(dAtA) - i, nil } @@ -190,8 +170,6 @@ func (m *GenesisState) Size() (n int) { } var l int _ = l - l = m.Params.Size() - n += 1 + l + sovGenesis(uint64(l)) if len(m.ForeignCoinsList) > 0 { for _, e := range m.ForeignCoinsList { l = e.Size() @@ -241,39 +219,6 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ForeignCoinsList", wireType) } @@ -307,7 +252,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 3: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SystemContract", wireType) } diff --git a/x/fungible/types/params.go b/x/fungible/types/params.go deleted file mode 100644 index 4b348397da..0000000000 --- a/x/fungible/types/params.go +++ /dev/null @@ -1,42 +0,0 @@ -package types - -import ( - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "gopkg.in/yaml.v2" -) - -var _ paramtypes.ParamSet = (*Params)(nil) - -// ParamKeyTable the param key table for launch module -func ParamKeyTable() paramtypes.KeyTable { - return paramtypes.NewKeyTable().RegisterParamSet(&Params{}) -} - -// NewParams creates a new Params instance -func NewParams() Params { - return Params{} -} - -// DefaultParams returns a default set of parameters -func DefaultParams() Params { - return NewParams() -} - -// ParamSetPairs get the params.ParamSet -func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs { - return paramtypes.ParamSetPairs{} -} - -// Validate validates the set of params -func (p Params) Validate() error { - return nil -} - -// String implements the Stringer interface. -func (p Params) String() string { - out, err := yaml.Marshal(p) - if err != nil { - return "" - } - return string(out) -} diff --git a/x/fungible/types/params.pb.go b/x/fungible/types/params.pb.go deleted file mode 100644 index 7d485a75b0..0000000000 --- a/x/fungible/types/params.pb.go +++ /dev/null @@ -1,265 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: fungible/params.proto - -package types - -import ( - fmt "fmt" - 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 -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. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// Params defines the parameters for the module. -type Params struct { -} - -func (m *Params) Reset() { *m = Params{} } -func (*Params) ProtoMessage() {} -func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_8285013990d8e1cf, []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) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - 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) -} - -var xxx_messageInfo_Params proto.InternalMessageInfo - -func init() { - proto.RegisterType((*Params)(nil), "zetachain.zetacore.fungible.Params") -} - -func init() { proto.RegisterFile("fungible/params.proto", fileDescriptor_8285013990d8e1cf) } - -var fileDescriptor_8285013990d8e1cf = []byte{ - // 157 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0x2b, 0xcd, 0x4b, - 0xcf, 0x4c, 0xca, 0x49, 0xd5, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, - 0xc9, 0x17, 0x92, 0xae, 0x4a, 0x2d, 0x49, 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x03, 0xb3, 0xf2, - 0x8b, 0x52, 0xf5, 0x60, 0x2a, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0xea, 0xf4, 0x41, 0x2c, - 0x88, 0x16, 0x25, 0x3e, 0x2e, 0xb6, 0x00, 0xb0, 0x11, 0x56, 0x2c, 0x33, 0x16, 0xc8, 0x33, 0x38, - 0x79, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, - 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x7e, 0x7a, 0x66, 0x49, - 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc8, 0x74, 0x5d, 0xb0, 0x45, 0xfa, 0x30, 0x8b, - 0xf4, 0x2b, 0xf4, 0xe1, 0x8e, 0x2a, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xdb, 0x60, 0x0c, - 0x08, 0x00, 0x00, 0xff, 0xff, 0x61, 0x4b, 0x42, 0x58, 0xad, 0x00, 0x00, 0x00, -} - -func (m *Params) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Params) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func encodeVarintParams(dAtA []byte, offset int, v uint64) int { - offset -= sovParams(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Params) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func sovParams(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozParams(x uint64) (n int) { - return sovParams(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *Params) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Params: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipParams(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthParams - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipParams(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowParams - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowParams - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowParams - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthParams - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupParams - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthParams - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") -) diff --git a/x/fungible/types/query.pb.go b/x/fungible/types/query.pb.go index 89ad3937b2..f30691101c 100644 --- a/x/fungible/types/query.pb.go +++ b/x/fungible/types/query.pb.go @@ -31,89 +31,6 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// QueryParamsRequest is request type for the Query/Params RPC method. -type QueryParamsRequest struct { -} - -func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } -func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryParamsRequest) ProtoMessage() {} -func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{0} -} -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) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - 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) -} - -var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo - -// QueryParamsResponse is response type for the Query/Params RPC method. -type QueryParamsResponse struct { - // params holds all the parameters of this module. - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` -} - -func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } -func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } -func (*QueryParamsResponse) ProtoMessage() {} -func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{1} -} -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) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - 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) -} - -var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo - -func (m *QueryParamsResponse) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - type QueryGetForeignCoinsRequest struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` } @@ -122,7 +39,7 @@ func (m *QueryGetForeignCoinsRequest) Reset() { *m = QueryGetForeignCoin func (m *QueryGetForeignCoinsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetForeignCoinsRequest) ProtoMessage() {} func (*QueryGetForeignCoinsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{2} + return fileDescriptor_d671b6e9298b37cd, []int{0} } func (m *QueryGetForeignCoinsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -166,7 +83,7 @@ func (m *QueryGetForeignCoinsResponse) Reset() { *m = QueryGetForeignCoi func (m *QueryGetForeignCoinsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetForeignCoinsResponse) ProtoMessage() {} func (*QueryGetForeignCoinsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{3} + return fileDescriptor_d671b6e9298b37cd, []int{1} } func (m *QueryGetForeignCoinsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -210,7 +127,7 @@ func (m *QueryAllForeignCoinsRequest) Reset() { *m = QueryAllForeignCoin func (m *QueryAllForeignCoinsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllForeignCoinsRequest) ProtoMessage() {} func (*QueryAllForeignCoinsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{4} + return fileDescriptor_d671b6e9298b37cd, []int{2} } func (m *QueryAllForeignCoinsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -255,7 +172,7 @@ func (m *QueryAllForeignCoinsResponse) Reset() { *m = QueryAllForeignCoi func (m *QueryAllForeignCoinsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllForeignCoinsResponse) ProtoMessage() {} func (*QueryAllForeignCoinsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{5} + return fileDescriptor_d671b6e9298b37cd, []int{3} } func (m *QueryAllForeignCoinsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -305,7 +222,7 @@ func (m *QueryGetSystemContractRequest) Reset() { *m = QueryGetSystemCon func (m *QueryGetSystemContractRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetSystemContractRequest) ProtoMessage() {} func (*QueryGetSystemContractRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{6} + return fileDescriptor_d671b6e9298b37cd, []int{4} } func (m *QueryGetSystemContractRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -342,7 +259,7 @@ func (m *QueryGetSystemContractResponse) Reset() { *m = QueryGetSystemCo func (m *QueryGetSystemContractResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetSystemContractResponse) ProtoMessage() {} func (*QueryGetSystemContractResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{7} + return fileDescriptor_d671b6e9298b37cd, []int{5} } func (m *QueryGetSystemContractResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -385,7 +302,7 @@ func (m *QueryGetGasStabilityPoolAddress) Reset() { *m = QueryGetGasStab func (m *QueryGetGasStabilityPoolAddress) String() string { return proto.CompactTextString(m) } func (*QueryGetGasStabilityPoolAddress) ProtoMessage() {} func (*QueryGetGasStabilityPoolAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{8} + return fileDescriptor_d671b6e9298b37cd, []int{6} } func (m *QueryGetGasStabilityPoolAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -425,7 +342,7 @@ func (m *QueryGetGasStabilityPoolAddressResponse) Reset() { func (m *QueryGetGasStabilityPoolAddressResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetGasStabilityPoolAddressResponse) ProtoMessage() {} func (*QueryGetGasStabilityPoolAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{9} + return fileDescriptor_d671b6e9298b37cd, []int{7} } func (m *QueryGetGasStabilityPoolAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -476,7 +393,7 @@ func (m *QueryGetGasStabilityPoolBalance) Reset() { *m = QueryGetGasStab func (m *QueryGetGasStabilityPoolBalance) String() string { return proto.CompactTextString(m) } func (*QueryGetGasStabilityPoolBalance) ProtoMessage() {} func (*QueryGetGasStabilityPoolBalance) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{10} + return fileDescriptor_d671b6e9298b37cd, []int{8} } func (m *QueryGetGasStabilityPoolBalance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -522,7 +439,7 @@ func (m *QueryGetGasStabilityPoolBalanceResponse) Reset() { func (m *QueryGetGasStabilityPoolBalanceResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetGasStabilityPoolBalanceResponse) ProtoMessage() {} func (*QueryGetGasStabilityPoolBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{11} + return fileDescriptor_d671b6e9298b37cd, []int{9} } func (m *QueryGetGasStabilityPoolBalanceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -565,7 +482,7 @@ func (m *QueryAllGasStabilityPoolBalance) Reset() { *m = QueryAllGasStab func (m *QueryAllGasStabilityPoolBalance) String() string { return proto.CompactTextString(m) } func (*QueryAllGasStabilityPoolBalance) ProtoMessage() {} func (*QueryAllGasStabilityPoolBalance) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{12} + return fileDescriptor_d671b6e9298b37cd, []int{10} } func (m *QueryAllGasStabilityPoolBalance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -604,7 +521,7 @@ func (m *QueryAllGasStabilityPoolBalanceResponse) Reset() { func (m *QueryAllGasStabilityPoolBalanceResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllGasStabilityPoolBalanceResponse) ProtoMessage() {} func (*QueryAllGasStabilityPoolBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{13} + return fileDescriptor_d671b6e9298b37cd, []int{11} } func (m *QueryAllGasStabilityPoolBalanceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -653,7 +570,7 @@ func (m *QueryAllGasStabilityPoolBalanceResponse_Balance) String() string { } func (*QueryAllGasStabilityPoolBalanceResponse_Balance) ProtoMessage() {} func (*QueryAllGasStabilityPoolBalanceResponse_Balance) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{13, 0} + return fileDescriptor_d671b6e9298b37cd, []int{11, 0} } func (m *QueryAllGasStabilityPoolBalanceResponse_Balance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -704,7 +621,7 @@ func (m *QueryCodeHashRequest) Reset() { *m = QueryCodeHashRequest{} } func (m *QueryCodeHashRequest) String() string { return proto.CompactTextString(m) } func (*QueryCodeHashRequest) ProtoMessage() {} func (*QueryCodeHashRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{14} + return fileDescriptor_d671b6e9298b37cd, []int{12} } func (m *QueryCodeHashRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -748,7 +665,7 @@ func (m *QueryCodeHashResponse) Reset() { *m = QueryCodeHashResponse{} } func (m *QueryCodeHashResponse) String() string { return proto.CompactTextString(m) } func (*QueryCodeHashResponse) ProtoMessage() {} func (*QueryCodeHashResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{15} + return fileDescriptor_d671b6e9298b37cd, []int{13} } func (m *QueryCodeHashResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -785,8 +702,6 @@ func (m *QueryCodeHashResponse) GetCodeHash() string { } func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "zetachain.zetacore.fungible.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "zetachain.zetacore.fungible.QueryParamsResponse") proto.RegisterType((*QueryGetForeignCoinsRequest)(nil), "zetachain.zetacore.fungible.QueryGetForeignCoinsRequest") proto.RegisterType((*QueryGetForeignCoinsResponse)(nil), "zetachain.zetacore.fungible.QueryGetForeignCoinsResponse") proto.RegisterType((*QueryAllForeignCoinsRequest)(nil), "zetachain.zetacore.fungible.QueryAllForeignCoinsRequest") @@ -807,65 +722,61 @@ func init() { func init() { proto.RegisterFile("fungible/query.proto", fileDescriptor_d671b6e9298b37cd) } var fileDescriptor_d671b6e9298b37cd = []byte{ - // 927 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0xa6, 0x34, 0x49, 0x5f, 0x43, 0x91, 0x06, 0x57, 0x84, 0x4d, 0xbb, 0x81, 0x69, 0x69, - 0x4b, 0x28, 0xbb, 0x49, 0x8a, 0x44, 0x09, 0x11, 0xc2, 0x31, 0x6a, 0xa8, 0xc4, 0x21, 0x38, 0x17, - 0xe0, 0x62, 0x8d, 0xd7, 0x93, 0xf5, 0x4a, 0xeb, 0x1d, 0xc7, 0xb3, 0x8e, 0x6a, 0xac, 0x5c, 0xb8, - 0x72, 0xa9, 0xc4, 0x4f, 0xe0, 0x1f, 0x70, 0xe1, 0xc2, 0x0f, 0xe8, 0xb1, 0x12, 0x12, 0x82, 0x0b, - 0x02, 0x87, 0x1f, 0x82, 0x3c, 0xfb, 0x66, 0xe3, 0x35, 0xbb, 0xde, 0xc5, 0xb9, 0xed, 0xcc, 0xbc, - 0xef, 0xbd, 0xef, 0x7b, 0xf3, 0xfc, 0x8d, 0xa1, 0x72, 0xdc, 0x0f, 0x3d, 0xbf, 0x19, 0x70, 0xe7, - 0xa4, 0xcf, 0x7b, 0x03, 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0xce, 0xff, 0x81, 0x20, 0xeb, - 0x2d, 0xc5, 0x7a, 0x93, 0x3c, 0xc8, 0xbc, 0x9c, 0xe4, 0x4d, 0x70, 0x86, 0x38, 0x6d, 0x67, 0xfb, - 0x4f, 0x5f, 0x8c, 0x2c, 0xe3, 0xe5, 0xc8, 0x32, 0xfe, 0x1a, 0x59, 0xc6, 0xf3, 0x73, 0x6b, 0xe1, - 0xe5, 0xb9, 0xb5, 0xf0, 0xfb, 0xb9, 0xb5, 0xf0, 0x8d, 0xe3, 0xf9, 0x51, 0xbb, 0xdf, 0xb4, 0x5d, - 0xd1, 0xc9, 0xec, 0xc1, 0xb3, 0x8b, 0xc4, 0xd1, 0xa0, 0xcb, 0x65, 0x73, 0x49, 0xfd, 0x7b, 0x7f, - 0xf4, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x10, 0x51, 0x58, 0xac, 0xa7, 0x0c, 0x00, 0x00, + // 857 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xc1, 0x6e, 0xd3, 0x48, + 0x18, 0x8e, 0xdb, 0xed, 0x26, 0x9d, 0x76, 0xbb, 0xd2, 0x28, 0xab, 0xed, 0xba, 0x5d, 0x67, 0xd7, + 0xea, 0xb6, 0xdd, 0x50, 0xec, 0x26, 0x45, 0xa2, 0x94, 0x08, 0x91, 0x04, 0xb5, 0x54, 0xe2, 0x50, + 0xd2, 0x13, 0x5c, 0xa2, 0x89, 0x33, 0x75, 0x2c, 0x39, 0x9e, 0x34, 0xe3, 0x54, 0x0d, 0x51, 0x2f, + 0x3c, 0x01, 0x12, 0x8f, 0xc0, 0x1b, 0x70, 0xe1, 0xc2, 0x03, 0xf4, 0x58, 0x09, 0x09, 0xc1, 0x05, + 0x41, 0xca, 0x43, 0x70, 0x44, 0x19, 0xcf, 0xb8, 0x49, 0xb0, 0x13, 0x93, 0xde, 0x3c, 0x9e, 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 0x51, 0xe1, 0x97, 0xf3, 0x4f, 0xa9, 0x58, 0x69, 0x80, 0x44, 0xc5, + 0x5c, 0x69, 0xde, 0xb6, 0x83, 0x94, 0xee, 0x02, 0x70, 0x35, 0x4e, 0xde, 0x71, 0x55, 0xf3, 0x66, + 0xaf, 0xf5, 0x66, 0xaf, 0x79, 0x27, 0xc6, 0x67, 0xaf, 0x1d, 0x20, 0x13, 0x73, 0x6c, 0xa9, 0x0f, + 0xa9, 0xbe, 0x95, 0xb8, 0xb9, 0x1f, 0xfa, 0x84, 0x9a, 0x9b, 0xbe, 0xb6, 0x39, 0xb8, 0x37, 0xa0, + 0x7e, 0x8a, 0xa9, 0x5f, 0x1b, 0xab, 0xde, 0x53, 0x34, 0x20, 0x3f, 0x05, 0xfe, 0x16, 0x47, 0x73, + 0xc8, 0x2e, 0x49, 0x91, 0xdf, 0x11, 0xee, 0x55, 0xed, 0x00, 0x25, 0xac, 0x80, 0x1b, 0x7c, 0x02, + 0x16, 0x06, 0x77, 0xf8, 0x34, 0x6f, 0x8c, 0xb4, 0x38, 0x08, 0xe1, 0x26, 0x87, 0x88, 0xd4, 0x7f, + 0x41, 0x4a, 0x34, 0xdf, 0x43, 0xf4, 0xd0, 0x45, 0x15, 0xcb, 0xb6, 0xdc, 0xf6, 0x01, 0x21, 0x76, + 0xbe, 0x5a, 0x6d, 0x62, 0x4a, 0xd5, 0x63, 0xb0, 0x36, 0xa6, 0xc4, 0x17, 0xfa, 0x1f, 0x58, 0xf0, + 0x26, 0x54, 0x46, 0xde, 0x0e, 0xbf, 0xa5, 0xbf, 0x79, 0x6f, 0x79, 0x39, 0x4c, 0x81, 0x39, 0x7c, + 0x52, 0xf7, 0x6b, 0xa6, 0x58, 0x0d, 0xc0, 0x27, 0x75, 0xd1, 0x32, 0x17, 0xae, 0xaa, 0x80, 0x6c, + 0xe4, 0x18, 0x18, 0xfe, 0x05, 0x12, 0xcc, 0x78, 0xd9, 0xaa, 0xb2, 0x26, 0xd3, 0x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, 0xea, 0x81, 0x33, 0x38, 0xbd, + 0x22, 0x76, 0xdb, 0x0d, 0x4c, 0x2b, 0xbf, 0xb2, 0xbf, 0xae, 0x5b, 0xdf, 0x03, 0x00, 0x00, 0xff, + 0xff, 0xad, 0xf6, 0x9f, 0xa6, 0x8d, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -880,8 +791,6 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { - // Parameters queries the parameters of the module. - Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a ForeignCoins by index. ForeignCoins(ctx context.Context, in *QueryGetForeignCoinsRequest, opts ...grpc.CallOption) (*QueryGetForeignCoinsResponse, error) // Queries a list of ForeignCoins items. @@ -906,15 +815,6 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { return &queryClient{cc} } -func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { - out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/zetachain.zetacore.fungible.Query/Params", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *queryClient) ForeignCoins(ctx context.Context, in *QueryGetForeignCoinsRequest, opts ...grpc.CallOption) (*QueryGetForeignCoinsResponse, error) { out := new(QueryGetForeignCoinsResponse) err := c.cc.Invoke(ctx, "/zetachain.zetacore.fungible.Query/ForeignCoins", in, out, opts...) @@ -980,8 +880,6 @@ func (c *queryClient) CodeHash(ctx context.Context, in *QueryCodeHashRequest, op // QueryServer is the server API for Query service. type QueryServer interface { - // Parameters queries the parameters of the module. - Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a ForeignCoins by index. ForeignCoins(context.Context, *QueryGetForeignCoinsRequest) (*QueryGetForeignCoinsResponse, error) // Queries a list of ForeignCoins items. @@ -1002,9 +900,6 @@ type QueryServer interface { type UnimplementedQueryServer struct { } -func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") -} func (*UnimplementedQueryServer) ForeignCoins(ctx context.Context, req *QueryGetForeignCoinsRequest) (*QueryGetForeignCoinsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ForeignCoins not implemented") } @@ -1031,24 +926,6 @@ func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) } -func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryParamsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).Params(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/zetachain.zetacore.fungible.Query/Params", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _Query_ForeignCoins_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryGetForeignCoinsRequest) if err := dec(in); err != nil { @@ -1179,10 +1056,6 @@ var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "zetachain.zetacore.fungible.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ - { - MethodName: "Params", - Handler: _Query_Params_Handler, - }, { MethodName: "ForeignCoins", Handler: _Query_ForeignCoins_Handler, @@ -1216,62 +1089,6 @@ var _Query_serviceDesc = grpc.ServiceDesc{ Metadata: "fungible/query.proto", } -func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - func (m *QueryGetForeignCoinsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1759,26 +1576,6 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } -func (m *QueryParamsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *QueryParamsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Params.Size() - n += 1 + l + sovQuery(uint64(l)) - return n -} - func (m *QueryGetForeignCoinsRequest) Size() (n int) { if m == nil { return 0 @@ -1978,139 +1775,6 @@ func sovQuery(x uint64) (n int) { func sozQuery(x uint64) (n int) { return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *QueryGetForeignCoinsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/fungible/types/query.pb.gw.go b/x/fungible/types/query.pb.gw.go index c971723b1b..f007d04b3e 100644 --- a/x/fungible/types/query.pb.gw.go +++ b/x/fungible/types/query.pb.gw.go @@ -33,24 +33,6 @@ var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage var _ = metadata.Join -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) { - var protoReq QueryParamsRequest - var metadata runtime.ServerMetadata - - 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) { - var protoReq QueryParamsRequest - var metadata runtime.ServerMetadata - - msg, err := server.Params(ctx, &protoReq) - return msg, metadata, err - -} - func request_Query_ForeignCoins_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryGetForeignCoinsRequest var metadata runtime.ServerMetadata @@ -309,29 +291,6 @@ func local_request_Query_CodeHash_0(ctx context.Context, marshaler runtime.Marsh // 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_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_ForeignCoins_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -534,26 +493,6 @@ func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc // "QueryClient" to call the correct interceptors. func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { - mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_Params_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_ForeignCoins_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -698,8 +637,6 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"zeta-chain", "fungible", "params"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ForeignCoins_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"zeta-chain", "fungible", "foreign_coins", "index"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_ForeignCoinsAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"zeta-chain", "fungible", "foreign_coins"}, "", runtime.AssumeColonVerbOpt(false))) @@ -716,8 +653,6 @@ var ( ) var ( - forward_Query_Params_0 = runtime.ForwardResponseMessage - forward_Query_ForeignCoins_0 = runtime.ForwardResponseMessage forward_Query_ForeignCoinsAll_0 = runtime.ForwardResponseMessage From ec54aa3785135e1e2fa2d7d8a7998512409ef130 Mon Sep 17 00:00:00 2001 From: skosito Date: Thu, 11 Apr 2024 17:49:44 +0200 Subject: [PATCH 07/40] Fix changelog --- changelog.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index cd70a82586..b14f2426a1 100644 --- a/changelog.md +++ b/changelog.md @@ -26,8 +26,7 @@ * [1936](https://github.com/zeta-chain/node/pull/1936) - refactor common package into subpackages and rename to pkg * [1966](https://github.com/zeta-chain/node/pull/1966) - move TSS vote message from crosschain to observer * [1853](https://github.com/zeta-chain/node/pull/1853) - refactor vote inbound tx and vote outbound tx -* [2001](https://github.com/zeta-chain/node/pull/2001) - replace broadcast mode block with sync -* [2004](https://github.com/zeta-chain/node/pull/2004) - remove fungible params +* [2001](https://github.com/zeta-chain/node/pull/2001) - replace broadcast mode block with sync and remove fungible params ### Features From a1be78dcaaa8d07a6426668bd19f09668deaef9c Mon Sep 17 00:00:00 2001 From: skosito Date: Wed, 17 Apr 2024 15:24:12 +0200 Subject: [PATCH 08/40] Revert proto indexes --- proto/crosschain/genesis.proto | 16 ++--- proto/fungible/genesis.proto | 4 +- x/crosschain/types/genesis.pb.go | 108 ++++++++++++++++--------------- x/fungible/types/genesis.pb.go | 20 +++--- 4 files changed, 75 insertions(+), 73 deletions(-) diff --git a/proto/crosschain/genesis.proto b/proto/crosschain/genesis.proto index 87c3875b14..2d5d96c3a9 100644 --- a/proto/crosschain/genesis.proto +++ b/proto/crosschain/genesis.proto @@ -13,12 +13,12 @@ option go_package = "github.com/zeta-chain/zetacore/x/crosschain/types"; // GenesisState defines the metacore module's genesis state. message GenesisState { - repeated OutTxTracker outTxTrackerList = 1 [(gogoproto.nullable) = false]; - repeated GasPrice gasPriceList = 2; - repeated CrossChainTx CrossChainTxs = 3; - repeated LastBlockHeight lastBlockHeightList = 4; - repeated InTxHashToCctx inTxHashToCctxList = 5 [(gogoproto.nullable) = false]; - repeated InTxTracker in_tx_tracker_list = 6 [(gogoproto.nullable) = false]; - ZetaAccounting zeta_accounting = 7 [(gogoproto.nullable) = false]; - repeated string FinalizedInbounds = 8; + repeated OutTxTracker outTxTrackerList = 2 [(gogoproto.nullable) = false]; + repeated GasPrice gasPriceList = 5; + repeated CrossChainTx CrossChainTxs = 7; + repeated LastBlockHeight lastBlockHeightList = 8; + repeated InTxHashToCctx inTxHashToCctxList = 9 [(gogoproto.nullable) = false]; + repeated InTxTracker in_tx_tracker_list = 11 [(gogoproto.nullable) = false]; + ZetaAccounting zeta_accounting = 12 [(gogoproto.nullable) = false]; + repeated string FinalizedInbounds = 16; } diff --git a/proto/fungible/genesis.proto b/proto/fungible/genesis.proto index 20c9cadd2b..d630ff482f 100644 --- a/proto/fungible/genesis.proto +++ b/proto/fungible/genesis.proto @@ -9,6 +9,6 @@ option go_package = "github.com/zeta-chain/zetacore/x/fungible/types"; // GenesisState defines the fungible module's genesis state. message GenesisState { - repeated ForeignCoins foreignCoinsList = 1 [(gogoproto.nullable) = false]; - SystemContract systemContract = 2; + repeated ForeignCoins foreignCoinsList = 2 [(gogoproto.nullable) = false]; + SystemContract systemContract = 3; } diff --git a/x/crosschain/types/genesis.pb.go b/x/crosschain/types/genesis.pb.go index c6358ad693..d7511b155d 100644 --- a/x/crosschain/types/genesis.pb.go +++ b/x/crosschain/types/genesis.pb.go @@ -26,14 +26,14 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the metacore module's genesis state. type GenesisState struct { - OutTxTrackerList []OutTxTracker `protobuf:"bytes,1,rep,name=outTxTrackerList,proto3" json:"outTxTrackerList"` - GasPriceList []*GasPrice `protobuf:"bytes,2,rep,name=gasPriceList,proto3" json:"gasPriceList,omitempty"` - CrossChainTxs []*CrossChainTx `protobuf:"bytes,3,rep,name=CrossChainTxs,proto3" json:"CrossChainTxs,omitempty"` - LastBlockHeightList []*LastBlockHeight `protobuf:"bytes,4,rep,name=lastBlockHeightList,proto3" json:"lastBlockHeightList,omitempty"` - InTxHashToCctxList []InTxHashToCctx `protobuf:"bytes,5,rep,name=inTxHashToCctxList,proto3" json:"inTxHashToCctxList"` - InTxTrackerList []InTxTracker `protobuf:"bytes,6,rep,name=in_tx_tracker_list,json=inTxTrackerList,proto3" json:"in_tx_tracker_list"` - ZetaAccounting ZetaAccounting `protobuf:"bytes,7,opt,name=zeta_accounting,json=zetaAccounting,proto3" json:"zeta_accounting"` - FinalizedInbounds []string `protobuf:"bytes,8,rep,name=FinalizedInbounds,proto3" json:"FinalizedInbounds,omitempty"` + OutTxTrackerList []OutTxTracker `protobuf:"bytes,2,rep,name=outTxTrackerList,proto3" json:"outTxTrackerList"` + GasPriceList []*GasPrice `protobuf:"bytes,5,rep,name=gasPriceList,proto3" json:"gasPriceList,omitempty"` + CrossChainTxs []*CrossChainTx `protobuf:"bytes,7,rep,name=CrossChainTxs,proto3" json:"CrossChainTxs,omitempty"` + LastBlockHeightList []*LastBlockHeight `protobuf:"bytes,8,rep,name=lastBlockHeightList,proto3" json:"lastBlockHeightList,omitempty"` + InTxHashToCctxList []InTxHashToCctx `protobuf:"bytes,9,rep,name=inTxHashToCctxList,proto3" json:"inTxHashToCctxList"` + InTxTrackerList []InTxTracker `protobuf:"bytes,11,rep,name=in_tx_tracker_list,json=inTxTrackerList,proto3" json:"in_tx_tracker_list"` + ZetaAccounting ZetaAccounting `protobuf:"bytes,12,opt,name=zeta_accounting,json=zetaAccounting,proto3" json:"zeta_accounting"` + FinalizedInbounds []string `protobuf:"bytes,16,rep,name=FinalizedInbounds,proto3" json:"FinalizedInbounds,omitempty"` } func (m *GenesisState) Reset() { *m = GenesisState{} } @@ -134,34 +134,34 @@ func init() { proto.RegisterFile("crosschain/genesis.proto", fileDescriptor_dd51 var fileDescriptor_dd51403692d571f4 = []byte{ // 465 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x41, 0x6f, 0xd3, 0x30, - 0x14, 0xc7, 0x1b, 0xba, 0x0d, 0x30, 0x83, 0x81, 0xe1, 0x10, 0x55, 0x22, 0xab, 0xc6, 0x81, 0x09, - 0x58, 0x22, 0xe0, 0x13, 0xd0, 0x4a, 0x6c, 0xd3, 0x26, 0x01, 0xa1, 0xa7, 0x89, 0xc9, 0x38, 0x9e, - 0x95, 0x58, 0x0b, 0x76, 0x15, 0xbf, 0x48, 0xa1, 0x9f, 0x82, 0x6f, 0xc4, 0x75, 0xc7, 0x1d, 0x39, - 0x21, 0xd4, 0x7e, 0x11, 0x64, 0x27, 0x0c,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x95, + 0x12, 0x84, 0x4c, 0xbd, 0xc1, 0xa8, 0xbf, 0xc2, 0x07, 0x9c, 0x72, 0xa0, 0x6f, 0xaf, 0x45, 0x0d, + 0xfe, 0xc1, 0xac, 0x75, 0x8a, 0x5f, 0xa2, 0x87, 0xef, 0x84, 0xa4, 0xb9, 0x98, 0xf1, 0xf3, 0x23, + 0x99, 0xa8, 0x52, 0x9e, 0x6b, 0x6f, 0x7b, 0xb4, 0xb6, 0xb7, 0x11, 0x75, 0x1b, 0xe3, 0xe3, 0xcb, + 0xb9, 0xdf, 0xbf, 0x9a, 0xfb, 0xfd, 0xdf, 0x73, 0xbf, 0xff, 0x7d, 0xe1, 0xf7, 0xae, 0x16, 0x7e, + 0xef, 0xe7, 0xc2, 0xef, 0x9d, 0xbe, 0x4a, 0x05, 0x64, 0x65, 0x12, 0x30, 0xf5, 0x35, 0x34, 0x16, + 0xfb, 0xf5, 0xeb, 0xf8, 0xbb, 0x57, 0x58, 0x85, 0xce, 0x9b, 0x81, 0x6f, 0x53, 0xae, 0x93, 0x3b, + 0xf6, 0x55, 0xbc, 0xf9, 0x13, 0x00, 0x00, 0xff, 0xff, 0x28, 0xc8, 0xb0, 0x72, 0x2d, 0x04, 0x00, 0x00, } @@ -191,7 +191,9 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.FinalizedInbounds[iNdEx]) i = encodeVarintGenesis(dAtA, i, uint64(len(m.FinalizedInbounds[iNdEx]))) i-- - dAtA[i] = 0x42 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 } } { @@ -203,7 +205,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x3a + dAtA[i] = 0x62 if len(m.InTxTrackerList) > 0 { for iNdEx := len(m.InTxTrackerList) - 1; iNdEx >= 0; iNdEx-- { { @@ -215,7 +217,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x5a } } if len(m.InTxHashToCctxList) > 0 { @@ -229,7 +231,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x4a } } if len(m.LastBlockHeightList) > 0 { @@ -243,7 +245,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0x42 } } if len(m.CrossChainTxs) > 0 { @@ -257,7 +259,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x3a } } if len(m.GasPriceList) > 0 { @@ -271,7 +273,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x2a } } if len(m.OutTxTrackerList) > 0 { @@ -285,7 +287,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 } } return len(dAtA) - i, nil @@ -349,7 +351,7 @@ func (m *GenesisState) Size() (n int) { if len(m.FinalizedInbounds) > 0 { for _, s := range m.FinalizedInbounds { l = len(s) - n += 1 + l + sovGenesis(uint64(l)) + n += 2 + l + sovGenesis(uint64(l)) } } return n @@ -390,7 +392,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field OutTxTrackerList", wireType) } @@ -424,7 +426,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 2: + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field GasPriceList", wireType) } @@ -458,7 +460,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 3: + case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field CrossChainTxs", wireType) } @@ -492,7 +494,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 4: + case 8: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field LastBlockHeightList", wireType) } @@ -526,7 +528,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 5: + case 9: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field InTxHashToCctxList", wireType) } @@ -560,7 +562,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 6: + case 11: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field InTxTrackerList", wireType) } @@ -594,7 +596,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 7: + case 12: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ZetaAccounting", wireType) } @@ -627,7 +629,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 8: + case 16: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field FinalizedInbounds", wireType) } diff --git a/x/fungible/types/genesis.pb.go b/x/fungible/types/genesis.pb.go index 718300f224..56634c414b 100644 --- a/x/fungible/types/genesis.pb.go +++ b/x/fungible/types/genesis.pb.go @@ -26,8 +26,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the fungible module's genesis state. type GenesisState struct { - ForeignCoinsList []ForeignCoins `protobuf:"bytes,1,rep,name=foreignCoinsList,proto3" json:"foreignCoinsList"` - SystemContract *SystemContract `protobuf:"bytes,2,opt,name=systemContract,proto3" json:"systemContract,omitempty"` + ForeignCoinsList []ForeignCoins `protobuf:"bytes,2,rep,name=foreignCoinsList,proto3" json:"foreignCoinsList"` + SystemContract *SystemContract `protobuf:"bytes,3,opt,name=systemContract,proto3" json:"systemContract,omitempty"` } func (m *GenesisState) Reset() { *m = GenesisState{} } @@ -93,15 +93,15 @@ var fileDescriptor_11e46382f3a6d0c2 = []byte{ 0xa9, 0xb9, 0xf1, 0xc9, 0xf9, 0x79, 0x25, 0x45, 0x89, 0xc9, 0x25, 0x50, 0x79, 0x91, 0xf4, 0xfc, 0xf4, 0x7c, 0x30, 0x53, 0x1f, 0xc4, 0x82, 0x88, 0x2a, 0x1d, 0x60, 0xe4, 0xe2, 0x71, 0x87, 0x38, 0x21, 0xb8, 0x24, 0xb1, 0x24, 0x55, 0x28, 0x9a, 0x4b, 0x00, 0x6a, 0xba, 0x33, 0xc8, 0x70, 0x9f, - 0xcc, 0xe2, 0x12, 0x09, 0x46, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x4d, 0x3d, 0x3c, 0x8e, 0xd3, 0x73, + 0xcc, 0xe2, 0x12, 0x09, 0x26, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x4d, 0x3d, 0x3c, 0x8e, 0xd3, 0x73, 0x43, 0xd2, 0xe4, 0xc4, 0x72, 0xe2, 0x9e, 0x3c, 0x43, 0x10, 0x86, 0x41, 0x42, 0xc1, 0x5c, 0x7c, - 0x10, 0xc7, 0x39, 0x43, 0xdd, 0x26, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x6d, 0xa4, 0x8d, 0xd7, 0xe8, + 0x10, 0xc7, 0x39, 0x43, 0xdd, 0x26, 0xc1, 0xac, 0xc0, 0xa8, 0xc1, 0x6d, 0xa4, 0x8d, 0xd7, 0xe8, 0x60, 0x14, 0x2d, 0x41, 0x68, 0x46, 0x38, 0x79, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x7e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc8, 0x58, 0x5d, 0xb0, 0x0d, 0xfa, 0x30, 0x1b, 0xf4, 0x2b, 0xf4, 0xe1, 0x61, 0x56, 0x52, 0x59, 0x90, - 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x14, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x2a, 0xc7, - 0x57, 0x9f, 0x01, 0x00, 0x00, + 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x14, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x94, 0x92, 0xf7, + 0x47, 0x9f, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -134,7 +134,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } if len(m.ForeignCoinsList) > 0 { for iNdEx := len(m.ForeignCoinsList) - 1; iNdEx >= 0; iNdEx-- { @@ -147,7 +147,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 } } return len(dAtA) - i, nil @@ -218,7 +218,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ForeignCoinsList", wireType) } @@ -252,7 +252,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 2: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SystemContract", wireType) } From 87403f0b57d6919e31a316d3c9217a90e0ece6d9 Mon Sep 17 00:00:00 2001 From: skosito Date: Thu, 18 Apr 2024 18:14:38 +0200 Subject: [PATCH 09/40] Make generate --- typescript/fungible/genesis_pb.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/fungible/genesis_pb.d.ts b/typescript/fungible/genesis_pb.d.ts index 6e4f6a2bdd..da2d610c10 100644 --- a/typescript/fungible/genesis_pb.d.ts +++ b/typescript/fungible/genesis_pb.d.ts @@ -20,7 +20,7 @@ export declare class GenesisState extends Message { foreignCoinsList: ForeignCoins[]; /** - * @generated from field: zetachain.zetacore.fungible.SystemContract systemContract = 2; + * @generated from field: zetachain.zetacore.fungible.SystemContract systemContract = 3; */ systemContract?: SystemContract; From 27b9e0ecda919050857dcca050e1f81e4cf3aa1f Mon Sep 17 00:00:00 2001 From: skosito Date: Thu, 25 Apr 2024 13:38:10 +0100 Subject: [PATCH 10/40] refactor: deprecate x/params (#2014) * Remove unused params from fungible module * Make generate * Changelog * Lint fix * Lint fix * Migrate emissions params to store * Migrate observer params to its own store * Make generate * Changelog * Lint fixes * Add observer slash amount param to migrate script * Fix tests * Lint fixes * Fixes * Lint fixes * Fixes * Tests * Small cleanup * Remove not needed params store mock * Fixes after merge * Add found flag to get params method * Move ballot maturity blocks param to emissions module * Remove params from observer module * Fix build * PR comments * PR comment * PR comments * PR comments --- app/app.go | 8 +- app/setup_handlers.go | 14 +- changelog.md | 5 + codecov.yml | 1 + contrib/localnet/scripts/start-zetacored.sh | 2 - .../cli/zetacored/zetacored_query_observer.md | 1 - .../zetacored_query_observer_params.md | 33 - docs/openapi/openapi.swagger.yaml | 133 +--- docs/spec/emissions/messages.md | 12 + proto/emissions/params.proto | 1 + proto/emissions/tx.proto | 9 + proto/observer/genesis.proto | 1 - proto/observer/params.proto | 26 - proto/observer/query.proto | 12 - testutil/keeper/crosschain.go | 1 - testutil/keeper/emissions.go | 27 +- testutil/keeper/fungible.go | 1 - testutil/keeper/mocks/crosschain/account.go | 2 +- testutil/keeper/mocks/crosschain/authority.go | 2 +- testutil/keeper/mocks/crosschain/bank.go | 2 +- testutil/keeper/mocks/crosschain/fungible.go | 2 +- .../keeper/mocks/crosschain/lightclient.go | 2 +- testutil/keeper/mocks/crosschain/observer.go | 2 +- testutil/keeper/mocks/crosschain/staking.go | 2 +- testutil/keeper/mocks/emissions/account.go | 2 +- testutil/keeper/mocks/emissions/bank.go | 2 +- testutil/keeper/mocks/emissions/observer.go | 32 +- .../keeper/mocks/emissions/param_store.go | 76 -- testutil/keeper/mocks/emissions/staking.go | 2 +- testutil/keeper/mocks/fungible/account.go | 2 +- testutil/keeper/mocks/fungible/authority.go | 2 +- testutil/keeper/mocks/fungible/bank.go | 2 +- testutil/keeper/mocks/fungible/evm.go | 2 +- testutil/keeper/mocks/fungible/observer.go | 2 +- .../keeper/mocks/lightclient/authority.go | 2 +- testutil/keeper/mocks/mocks.go | 5 - testutil/keeper/mocks/observer/authority.go | 2 +- testutil/keeper/mocks/observer/lightclient.go | 2 +- testutil/keeper/mocks/observer/slashing.go | 2 +- testutil/keeper/mocks/observer/staking.go | 2 +- testutil/keeper/observer.go | 10 +- testutil/network/genesis_state.go | 1 - typescript/emissions/params_pb.d.ts | 5 + typescript/emissions/tx_pb.d.ts | 49 ++ typescript/observer/genesis_pb.d.ts | 7 +- typescript/observer/params_pb.d.ts | 88 --- typescript/observer/query_pb.d.ts | 49 +- .../keeper/msg_server_vote_inbound_tx_test.go | 6 - x/emissions/abci.go | 26 +- x/emissions/abci_test.go | 13 +- x/emissions/exported/exported.go | 18 + x/emissions/genesis.go | 12 +- x/emissions/genesis_test.go | 67 +- .../keeper/block_rewards_components.go | 46 +- .../keeper/block_rewards_components_test.go | 82 +-- .../keeper/grpc_query_get_emmisons_factors.go | 9 +- .../grpc_query_get_emmisons_factors_test.go | 33 +- x/emissions/keeper/grpc_query_params.go | 6 +- x/emissions/keeper/keeper.go | 17 +- x/emissions/keeper/migrator.go | 26 + .../keeper/msg_server_update_params.go | 26 + .../keeper/msg_server_update_params_test.go | 54 ++ x/emissions/keeper/params.go | 33 +- x/emissions/keeper/params_test.go | 76 +- x/emissions/migrations/v3/migrate.go | 62 ++ x/emissions/migrations/v3/migrate_test.go | 89 +++ x/emissions/module.go | 19 +- x/emissions/types/errors.go | 1 + x/emissions/types/expected_keepers.go | 11 +- x/emissions/types/genesis_test.go | 5 - x/emissions/types/keys.go | 14 +- x/emissions/types/message_update_params.go | 40 ++ .../types/message_update_params_test.go | 81 +++ x/emissions/types/params.go | 130 +++- x/emissions/types/params.pb.go | 91 ++- x/emissions/types/params_legacy.go | 28 + x/emissions/types/params_test.go | 177 +++-- x/emissions/types/tx.pb.go | 420 ++++++++++- x/observer/client/cli/query.go | 1 - x/observer/client/cli/query_params.go | 34 - x/observer/genesis.go | 10 - x/observer/genesis_test.go | 8 - x/observer/keeper/ballot.go | 14 +- x/observer/keeper/ballot_test.go | 89 +-- x/observer/keeper/grpc_query_params.go | 19 - x/observer/keeper/grpc_query_params_test.go | 21 - x/observer/keeper/keeper.go | 17 +- x/observer/keeper/migrator.go | 30 +- x/observer/keeper/params.go | 16 - x/observer/keeper/params_test.go | 36 - x/observer/migrations/v2/migrate.go | 27 - x/observer/migrations/v3/migrate.go | 36 - x/observer/migrations/v3/migrate_test.go | 51 -- x/observer/migrations/v4/migrate.go | 43 -- x/observer/migrations/v4/migrate_test.go | 31 - x/observer/migrations/v5/migrate.go | 82 --- x/observer/migrations/v5/migrate_test.go | 115 --- x/observer/migrations/v6/migrate.go | 39 -- x/observer/migrations/v6/migrate_test.go | 87 --- x/observer/migrations/v7/migrate.go | 61 -- x/observer/migrations/v7/migrate_test.go | 167 ----- x/observer/module_simulation.go | 5 +- x/observer/types/genesis.go | 8 - x/observer/types/genesis.pb.go | 142 ++-- x/observer/types/keys.go | 2 + x/observer/types/params.go | 111 --- x/observer/types/params.pb.go | 607 ++-------------- x/observer/types/params_test.go | 74 -- x/observer/types/query.pb.go | 657 +++++------------- x/observer/types/query.pb.gw.go | 65 -- 110 files changed, 1818 insertions(+), 3254 deletions(-) delete mode 100644 docs/cli/zetacored/zetacored_query_observer_params.md delete mode 100644 testutil/keeper/mocks/emissions/param_store.go create mode 100644 x/emissions/exported/exported.go create mode 100644 x/emissions/keeper/migrator.go create mode 100644 x/emissions/keeper/msg_server_update_params.go create mode 100644 x/emissions/keeper/msg_server_update_params_test.go create mode 100644 x/emissions/migrations/v3/migrate.go create mode 100644 x/emissions/migrations/v3/migrate_test.go create mode 100644 x/emissions/types/message_update_params.go create mode 100644 x/emissions/types/message_update_params_test.go create mode 100644 x/emissions/types/params_legacy.go delete mode 100644 x/observer/client/cli/query_params.go delete mode 100644 x/observer/keeper/grpc_query_params.go delete mode 100644 x/observer/keeper/grpc_query_params_test.go delete mode 100644 x/observer/keeper/params.go delete mode 100644 x/observer/keeper/params_test.go delete mode 100644 x/observer/migrations/v2/migrate.go delete mode 100644 x/observer/migrations/v3/migrate.go delete mode 100644 x/observer/migrations/v3/migrate_test.go delete mode 100644 x/observer/migrations/v4/migrate.go delete mode 100644 x/observer/migrations/v4/migrate_test.go delete mode 100644 x/observer/migrations/v5/migrate.go delete mode 100644 x/observer/migrations/v5/migrate_test.go delete mode 100644 x/observer/migrations/v6/migrate.go delete mode 100644 x/observer/migrations/v6/migrate_test.go delete mode 100644 x/observer/migrations/v7/migrate.go delete mode 100644 x/observer/migrations/v7/migrate_test.go delete mode 100644 x/observer/types/params.go delete mode 100644 x/observer/types/params_test.go diff --git a/app/app.go b/app/app.go index 27300a47d9..a1dbdf9d08 100644 --- a/app/app.go +++ b/app/app.go @@ -382,11 +382,11 @@ func New( appCodec, keys[observertypes.StoreKey], keys[observertypes.MemStoreKey], - app.GetSubspace(observertypes.ModuleName), &stakingKeeper, app.SlashingKeeper, app.AuthorityKeeper, app.LightclientKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) // register the staking hooks @@ -406,12 +406,12 @@ func New( appCodec, keys[emissionstypes.StoreKey], keys[emissionstypes.MemStoreKey], - app.GetSubspace(emissionstypes.ModuleName), authtypes.FeeCollectorName, app.BankKeeper, app.StakingKeeper, app.ObserverKeeper, app.AccountKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) // Create Ethermint keepers @@ -527,7 +527,7 @@ func New( crosschainmodule.NewAppModule(appCodec, app.CrosschainKeeper), observermodule.NewAppModule(appCodec, *app.ObserverKeeper), fungiblemodule.NewAppModule(appCodec, app.FungibleKeeper), - emissionsmodule.NewAppModule(appCodec, app.EmissionsKeeper), + emissionsmodule.NewAppModule(appCodec, app.EmissionsKeeper, app.GetSubspace(emissionstypes.ModuleName)), authzmodule.NewAppModule(appCodec, app.AuthzKeeper, app.AccountKeeper, app.BankKeeper, app.interfaceRegistry), ) @@ -821,9 +821,7 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino paramsKeeper.Subspace(evmtypes.ModuleName) paramsKeeper.Subspace(feemarkettypes.ModuleName) paramsKeeper.Subspace(group.ModuleName) - paramsKeeper.Subspace(crosschaintypes.ModuleName) paramsKeeper.Subspace(observertypes.ModuleName) - paramsKeeper.Subspace(fungibletypes.ModuleName) paramsKeeper.Subspace(emissionstypes.ModuleName) return paramsKeeper } diff --git a/app/setup_handlers.go b/app/setup_handlers.go index 5501a5b6cc..a3bd0dd76d 100644 --- a/app/setup_handlers.go +++ b/app/setup_handlers.go @@ -6,20 +6,30 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/x/upgrade/types" authoritytypes "github.com/zeta-chain/zetacore/x/authority/types" + emissionstypes "github.com/zeta-chain/zetacore/x/emissions/types" lightclienttypes "github.com/zeta-chain/zetacore/x/lightclient/types" - observertypes "github.com/zeta-chain/zetacore/x/observer/types" ) const releaseVersion = "v15" func SetupHandlers(app *App) { + // Set param key table for params module migration + for _, subspace := range app.ParamsKeeper.GetSubspaces() { + subspace := subspace + + switch subspace.Name() { + // TODO: add all modules when cosmos-sdk is updated + case emissionstypes.ModuleName: + subspace.WithKeyTable(emissionstypes.ParamKeyTable()) + } + } app.UpgradeKeeper.SetUpgradeHandler(releaseVersion, func(ctx sdk.Context, plan types.Plan, vm module.VersionMap) (module.VersionMap, error) { app.Logger().Info("Running upgrade handler for " + releaseVersion) // Updated version map to the latest consensus versions from each module for m, mb := range app.mm.Modules { vm[m] = mb.ConsensusVersion() } - VersionMigrator{v: vm}.TriggerMigration(observertypes.ModuleName) + VersionMigrator{v: vm}.TriggerMigration(emissionstypes.ModuleName) return app.mm.RunMigrations(ctx, app.configurator, vm) }) diff --git a/changelog.md b/changelog.md index 3c13ec7bee..1ab76e6bd7 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # CHANGELOG +## Unreleased + +### Refactor +* [2014](https://github.com/zeta-chain/node/pull/2014) - remove params module + ## Unreleased ### Breaking Changes diff --git a/codecov.yml b/codecov.yml index bbdb628387..99fe33e09e 100644 --- a/codecov.yml +++ b/codecov.yml @@ -61,6 +61,7 @@ ignore: - "**/*.yaml" - "**/*.pb.go" - "**/*.pb.gw.go" + - "**/*_legacy.go" - "**/*.json" - ".github/**/*" - "app/**/*" diff --git a/contrib/localnet/scripts/start-zetacored.sh b/contrib/localnet/scripts/start-zetacored.sh index d28f6ae446..41c1b1920f 100755 --- a/contrib/localnet/scripts/start-zetacored.sh +++ b/contrib/localnet/scripts/start-zetacored.sh @@ -121,8 +121,6 @@ then cat $HOME/.zetacored/config/genesis.json | jq '.app_state["authority"]["policies"]["items"][0]["address"]="zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"' > $HOME/.zetacored/config/tmp_genesis.json && mv $HOME/.zetacored/config/tmp_genesis.json $HOME/.zetacored/config/genesis.json cat $HOME/.zetacored/config/genesis.json | jq '.app_state["authority"]["policies"]["items"][1]["address"]="zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"' > $HOME/.zetacored/config/tmp_genesis.json && mv $HOME/.zetacored/config/tmp_genesis.json $HOME/.zetacored/config/genesis.json cat $HOME/.zetacored/config/genesis.json | jq '.app_state["authority"]["policies"]["items"][2]["address"]="zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"' > $HOME/.zetacored/config/tmp_genesis.json && mv $HOME/.zetacored/config/tmp_genesis.json $HOME/.zetacored/config/genesis.json - cat $HOME/.zetacored/config/genesis.json | jq '.app_state["observer"]["params"]["admin_policy"][0]["address"]="zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"' > $HOME/.zetacored/config/tmp_genesis.json && mv $HOME/.zetacored/config/tmp_genesis.json $HOME/.zetacored/config/genesis.json - cat $HOME/.zetacored/config/genesis.json | jq '.app_state["observer"]["params"]["admin_policy"][1]["address"]="zeta1srsq755t654agc0grpxj4y3w0znktrpr9tcdgk"' > $HOME/.zetacored/config/tmp_genesis.json && mv $HOME/.zetacored/config/tmp_genesis.json $HOME/.zetacored/config/genesis.json # give balance to runner accounts to deploy contracts directly on zEVM # deployer diff --git a/docs/cli/zetacored/zetacored_query_observer.md b/docs/cli/zetacored/zetacored_query_observer.md index 47e5951c7c..c6d0763b89 100644 --- a/docs/cli/zetacored/zetacored_query_observer.md +++ b/docs/cli/zetacored/zetacored_query_observer.md @@ -36,7 +36,6 @@ zetacored query observer [flags] * [zetacored query observer list-observer-set](zetacored_query_observer_list-observer-set.md) - Query observer set * [zetacored query observer list-pending-nonces](zetacored_query_observer_list-pending-nonces.md) - shows a chainNonces * [zetacored query observer list-tss-history](zetacored_query_observer_list-tss-history.md) - show historical list of TSS -* [zetacored query observer params](zetacored_query_observer_params.md) - shows the parameters of the module * [zetacored query observer show-ballot](zetacored_query_observer_show-ballot.md) - Query BallotByIdentifier * [zetacored query observer show-blame](zetacored_query_observer_show-blame.md) - Query BlameByIdentifier * [zetacored query observer show-chain-nonces](zetacored_query_observer_show-chain-nonces.md) - shows a chainNonces diff --git a/docs/cli/zetacored/zetacored_query_observer_params.md b/docs/cli/zetacored/zetacored_query_observer_params.md deleted file mode 100644 index 96f5f2eca1..0000000000 --- a/docs/cli/zetacored/zetacored_query_observer_params.md +++ /dev/null @@ -1,33 +0,0 @@ -# query observer params - -shows the parameters of the module - -``` -zetacored query observer params [flags] -``` - -### Options - -``` - --grpc-addr string the gRPC endpoint to use for this chain - --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS - --height int Use a specific height to query state at (this can error if the node is pruning state) - -h, --help help for params - --node string [host]:[port] to Tendermint RPC interface for this chain - -o, --output string Output format (text|json) -``` - -### Options inherited from parent commands - -``` - --chain-id string The network chain ID - --home string directory for config and data - --log_format string The logging format (json|plain) - --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) - --trace print out full stack trace on errors -``` - -### SEE ALSO - -* [zetacored query observer](zetacored_query_observer.md) - Querying commands for the observer module - diff --git a/docs/openapi/openapi.swagger.yaml b/docs/openapi/openapi.swagger.yaml index a35e40ae93..7c0a031c2a 100644 --- a/docs/openapi/openapi.swagger.yaml +++ b/docs/openapi/openapi.swagger.yaml @@ -27239,7 +27239,7 @@ paths: "200": description: A successful response. schema: - $ref: '#/definitions/zetacoreemissionsQueryParamsResponse' + $ref: '#/definitions/emissionsQueryParamsResponse' default: description: An unexpected error response. schema: @@ -28098,21 +28098,6 @@ paths: $ref: '#/definitions/googlerpcStatus' tags: - Query - /zeta-chain/observer/params: - get: - summary: Parameters queries the parameters of the module. - operationId: Query_Params - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/zetacoreobserverQueryParamsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query /zeta-chain/observer/pendingNonces: get: operationId: Query_PendingNoncesAll @@ -53995,8 +53980,35 @@ definitions: ed25519: type: string title: PubKeySet contains two pub keys , secp256k1 and ed25519 + emissionsMsgUpdateParamsResponse: + type: object emissionsMsgWithdrawEmissionResponse: type: object + emissionsParams: + type: object + properties: + max_bond_factor: + type: string + min_bond_factor: + type: string + avg_block_time: + type: string + target_bond_ratio: + type: string + validator_emission_percentage: + type: string + observer_emission_percentage: + type: string + tss_signer_emission_percentage: + type: string + duration_factor_constant: + type: string + observer_slash_amount: + type: string + ballot_maturity_blocks: + type: string + format: int64 + description: Params defines the parameters for the module. emissionsQueryGetEmissionsFactorsResponse: type: object properties: @@ -54015,6 +54027,13 @@ definitions: type: string emission_module_address: type: string + emissionsQueryParamsResponse: + type: object + properties: + params: + $ref: '#/definitions/emissionsParams' + description: params holds all the parameters of this module. + description: QueryParamsResponse is response type for the Query/Params RPC method. emissionsQueryShowAvailableEmissionsResponse: type: object properties: @@ -54228,14 +54247,6 @@ definitions: btcTypeChainEnabled: type: boolean title: VerificationFlags is a structure containing information which chain types are enabled for block header verification - observerAdmin_Policy: - type: object - properties: - policy_type: - $ref: '#/definitions/observerPolicy_Type' - address: - type: string - title: Deprecated(v14):Moved into the authority module observerBallotStatus: type: string enum: @@ -54466,18 +54477,6 @@ definitions: - TSSKeyGen - TSSKeySign default: EmptyObserverType - observerObserverParams: - type: object - properties: - chain: - $ref: '#/definitions/chainsChain' - ballot_threshold: - type: string - min_observer_delegation: - type: string - is_supported: - type: boolean - title: 'Deprecated(v13): Use ChainParamsList' observerObserverUpdateReason: type: string enum: @@ -54500,13 +54499,6 @@ definitions: tss: type: string title: store key is tss+chainid - observerPolicy_Type: - type: string - enum: - - group1 - - group2 - default: group1 - title: Deprecated(v14):Moved into the authority module observerQueryAllBlameRecordsResponse: type: object properties: @@ -54819,61 +54811,6 @@ definitions: format: int64 isAbortRefunded: type: boolean - zetacoreemissionsParams: - type: object - properties: - max_bond_factor: - type: string - min_bond_factor: - type: string - avg_block_time: - type: string - target_bond_ratio: - type: string - validator_emission_percentage: - type: string - observer_emission_percentage: - type: string - tss_signer_emission_percentage: - type: string - duration_factor_constant: - type: string - observer_slash_amount: - type: string - description: Params defines the parameters for the module. - zetacoreemissionsQueryParamsResponse: - type: object - properties: - params: - $ref: '#/definitions/zetacoreemissionsParams' - description: params holds all the parameters of this module. - description: QueryParamsResponse is response type for the Query/Params RPC method. - zetacoreobserverParams: - type: object - properties: - observer_params: - type: array - items: - type: object - $ref: '#/definitions/observerObserverParams' - title: 'Deprecated(v13): Use ChainParamsList' - admin_policy: - type: array - items: - type: object - $ref: '#/definitions/observerAdmin_Policy' - title: Deprecated(v14):Moved into the authority module - ballot_maturity_blocks: - type: string - format: int64 - description: Params defines the parameters for the module. - zetacoreobserverQueryParamsResponse: - type: object - properties: - params: - $ref: '#/definitions/zetacoreobserverParams' - description: params holds all the parameters of this module. - description: QueryParamsResponse is response type for the Query/Params RPC method. ethermint.evm.v1.ChainConfig: type: object properties: diff --git a/docs/spec/emissions/messages.md b/docs/spec/emissions/messages.md index c5fc4a4520..b3549681bd 100644 --- a/docs/spec/emissions/messages.md +++ b/docs/spec/emissions/messages.md @@ -1,5 +1,17 @@ # Messages +## MsgUpdateParams + +UpdateParams defines a governance operation for updating the x/emissions module parameters. +The authority is hard-coded to the x/gov module account. + +```proto +message MsgUpdateParams { + string authority = 1; + Params params = 2; +} +``` + ## MsgWithdrawEmission WithdrawEmission allows the user to withdraw from their withdrawable emissions. diff --git a/proto/emissions/params.proto b/proto/emissions/params.proto index a3168f859f..26f0fb5464 100644 --- a/proto/emissions/params.proto +++ b/proto/emissions/params.proto @@ -20,4 +20,5 @@ message Params { (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; + int64 ballot_maturity_blocks = 10; } diff --git a/proto/emissions/tx.proto b/proto/emissions/tx.proto index 7ea3bba01d..90e8acd4aa 100644 --- a/proto/emissions/tx.proto +++ b/proto/emissions/tx.proto @@ -1,12 +1,14 @@ syntax = "proto3"; package zetachain.zetacore.emissions; +import "emissions/params.proto"; import "gogoproto/gogo.proto"; option go_package = "github.com/zeta-chain/zetacore/x/emissions/types"; // Msg defines the Msg service. service Msg { + rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); rpc WithdrawEmission(MsgWithdrawEmission) returns (MsgWithdrawEmissionResponse); } @@ -19,3 +21,10 @@ message MsgWithdrawEmission { } message MsgWithdrawEmissionResponse {} + +message MsgUpdateParams { + string authority = 1; + Params params = 2 [(gogoproto.nullable) = false]; +} + +message MsgUpdateParamsResponse {} diff --git a/proto/observer/genesis.proto b/proto/observer/genesis.proto index 2501c5120f..942a2be931 100644 --- a/proto/observer/genesis.proto +++ b/proto/observer/genesis.proto @@ -22,7 +22,6 @@ message GenesisState { ObserverSet observers = 2 [(gogoproto.nullable) = false]; repeated NodeAccount nodeAccountList = 3; CrosschainFlags crosschain_flags = 4; - Params params = 5; Keygen keygen = 6; LastObserverCount last_observer_count = 7; ChainParamsList chain_params_list = 8 [(gogoproto.nullable) = false]; diff --git a/proto/observer/params.proto b/proto/observer/params.proto index 8c26206ff6..9d8f12ac9d 100644 --- a/proto/observer/params.proto +++ b/proto/observer/params.proto @@ -47,29 +47,3 @@ message ObserverParams { ]; bool is_supported = 5; } - -// Deprecated(v14):Moved into the authority module -enum Policy_Type { - option (gogoproto.goproto_enum_stringer) = true; - group1 = 0; - group2 = 1; -} - -// Deprecated(v14):Moved into the authority module -message Admin_Policy { - Policy_Type policy_type = 1; - string address = 2; -} - -// Params defines the parameters for the module. -message Params { - option (gogoproto.goproto_stringer) = false; - - // Deprecated(v13): Use ChainParamsList - repeated ObserverParams observer_params = 1; - - // Deprecated(v14):Moved into the authority module - repeated Admin_Policy admin_policy = 2; - - int64 ballot_maturity_blocks = 3; -} diff --git a/proto/observer/query.proto b/proto/observer/query.proto index 7aafc2c799..9aceb6cdf1 100644 --- a/proto/observer/query.proto +++ b/proto/observer/query.proto @@ -21,10 +21,6 @@ option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; // Query defines the gRPC querier service. service Query { - // Parameters queries the parameters of the module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/zeta-chain/observer/params"; - } // Query if a voter has voted for a ballot rpc HasVoted(QueryHasVotedRequest) returns (QueryHasVotedResponse) { option (google.api.http).get = "/zeta-chain/observer/has_voted/{ballot_identifier}/{voter_address}"; @@ -197,14 +193,6 @@ message QueryTssHistoryResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -message QueryParamsRequest {} - -// QueryParamsResponse is response type for the Query/Params RPC method. -message QueryParamsResponse { - // params holds all the parameters of this module. - Params params = 1 [(gogoproto.nullable) = false]; -} - message QueryHasVotedRequest { string ballot_identifier = 1; string voter_address = 2; diff --git a/testutil/keeper/crosschain.go b/testutil/keeper/crosschain.go index 531af3c7b1..0f371c46ea 100644 --- a/testutil/keeper/crosschain.go +++ b/testutil/keeper/crosschain.go @@ -71,7 +71,6 @@ func CrosschainKeeperWithMocks( stateStore, sdkKeepers.StakingKeeper, sdkKeepers.SlashingKeeper, - sdkKeepers.ParamsKeeper, authorityKeeperTmp, lightclientKeeperTmp, ) diff --git a/testutil/keeper/emissions.go b/testutil/keeper/emissions.go index a799b94edb..5a0d190e8b 100644 --- a/testutil/keeper/emissions.go +++ b/testutil/keeper/emissions.go @@ -7,6 +7,7 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/stretchr/testify/require" tmdb "github.com/tendermint/tm-db" emissionsmocks "github.com/zeta-chain/zetacore/testutil/keeper/mocks/emissions" @@ -19,7 +20,7 @@ type EmissionMockOptions struct { UseStakingMock bool UseObserverMock bool UseAccountMock bool - UseParamStoreMock bool + SkipSettingParams bool } func EmissionsKeeper(t testing.TB) (*keeper.Keeper, sdk.Context, SDKKeepers, ZetaKeepers) { @@ -50,7 +51,6 @@ func EmissionKeeperWithMockOptions( stateStore, sdkKeepers.StakingKeeper, sdkKeepers.SlashingKeeper, - sdkKeepers.ParamsKeeper, authorityKeeper, initLightclientKeeper(cdc, db, stateStore, authorityKeeper), ) @@ -91,30 +91,21 @@ func EmissionKeeperWithMockOptions( observerKeeper = emissionsmocks.NewEmissionObserverKeeper(t) } - var paramStore types.ParamStore - if mockOptions.UseParamStoreMock { - mock := emissionsmocks.NewEmissionParamStore(t) - // mock this method for the keeper constructor - mock.On("HasKeyTable").Maybe().Return(true) - paramStore = mock - } else { - paramStore = sdkKeepers.ParamsKeeper.Subspace(types.ModuleName) - } - k := keeper.NewKeeper( cdc, storeKey, memStoreKey, - paramStore, authtypes.FeeCollectorName, bankKeeper, stakingKeeper, observerKeeper, authKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) - if !mockOptions.UseParamStoreMock { - k.SetParams(ctx, types.DefaultParams()) + if !mockOptions.SkipSettingParams { + err := k.SetParams(ctx, types.DefaultParams()) + require.NoError(t, err) } return k, ctx, sdkKeepers, zetaKeepers @@ -126,12 +117,6 @@ func GetEmissionsBankMock(t testing.TB, keeper *keeper.Keeper) *emissionsmocks.E return cbk } -func GetEmissionsParamStoreMock(t testing.TB, keeper *keeper.Keeper) *emissionsmocks.EmissionParamStore { - m, ok := keeper.GetParamStore().(*emissionsmocks.EmissionParamStore) - require.True(t, ok) - return m -} - func GetEmissionsStakingMock(t testing.TB, keeper *keeper.Keeper) *emissionsmocks.EmissionStakingKeeper { cbk, ok := keeper.GetStakingKeeper().(*emissionsmocks.EmissionStakingKeeper) require.True(t, ok) diff --git a/testutil/keeper/fungible.go b/testutil/keeper/fungible.go index ff5f79192a..956ad1e432 100644 --- a/testutil/keeper/fungible.go +++ b/testutil/keeper/fungible.go @@ -101,7 +101,6 @@ func FungibleKeeperWithMocks(t testing.TB, mockOptions FungibleMockOptions) (*ke stateStore, sdkKeepers.StakingKeeper, sdkKeepers.SlashingKeeper, - sdkKeepers.ParamsKeeper, authorityKeeperTmp, lightclientKeeperTmp, ) diff --git a/testutil/keeper/mocks/crosschain/account.go b/testutil/keeper/mocks/crosschain/account.go index 99b7f1cf5b..fbd7c0377b 100644 --- a/testutil/keeper/mocks/crosschain/account.go +++ b/testutil/keeper/mocks/crosschain/account.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/crosschain/authority.go b/testutil/keeper/mocks/crosschain/authority.go index fd6ceefa47..9f08c9d673 100644 --- a/testutil/keeper/mocks/crosschain/authority.go +++ b/testutil/keeper/mocks/crosschain/authority.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/crosschain/bank.go b/testutil/keeper/mocks/crosschain/bank.go index 267f2b45b4..90f4e17e29 100644 --- a/testutil/keeper/mocks/crosschain/bank.go +++ b/testutil/keeper/mocks/crosschain/bank.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/crosschain/fungible.go b/testutil/keeper/mocks/crosschain/fungible.go index 0b7fc53c89..54b7e54a03 100644 --- a/testutil/keeper/mocks/crosschain/fungible.go +++ b/testutil/keeper/mocks/crosschain/fungible.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/crosschain/lightclient.go b/testutil/keeper/mocks/crosschain/lightclient.go index 53eaf7c398..d5ee740bc3 100644 --- a/testutil/keeper/mocks/crosschain/lightclient.go +++ b/testutil/keeper/mocks/crosschain/lightclient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/crosschain/observer.go b/testutil/keeper/mocks/crosschain/observer.go index aa05e13226..6c283e45ad 100644 --- a/testutil/keeper/mocks/crosschain/observer.go +++ b/testutil/keeper/mocks/crosschain/observer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/crosschain/staking.go b/testutil/keeper/mocks/crosschain/staking.go index 64bbe0fed6..5b7d3c501f 100644 --- a/testutil/keeper/mocks/crosschain/staking.go +++ b/testutil/keeper/mocks/crosschain/staking.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/emissions/account.go b/testutil/keeper/mocks/emissions/account.go index 265c291e1b..a660d40e72 100644 --- a/testutil/keeper/mocks/emissions/account.go +++ b/testutil/keeper/mocks/emissions/account.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/emissions/bank.go b/testutil/keeper/mocks/emissions/bank.go index 10bc77649b..8149b5e6af 100644 --- a/testutil/keeper/mocks/emissions/bank.go +++ b/testutil/keeper/mocks/emissions/bank.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/emissions/observer.go b/testutil/keeper/mocks/emissions/observer.go index ce36c71f69..594f090907 100644 --- a/testutil/keeper/mocks/emissions/observer.go +++ b/testutil/keeper/mocks/emissions/observer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks @@ -43,24 +43,32 @@ func (_m *EmissionObserverKeeper) GetBallot(ctx types.Context, index string) (ob return r0, r1 } -// GetMaturedBallotList provides a mock function with given fields: ctx -func (_m *EmissionObserverKeeper) GetMaturedBallotList(ctx types.Context) []string { - ret := _m.Called(ctx) +// GetMaturedBallots provides a mock function with given fields: ctx, maturityBlocks +func (_m *EmissionObserverKeeper) GetMaturedBallots(ctx types.Context, maturityBlocks int64) (observertypes.BallotListForHeight, bool) { + ret := _m.Called(ctx, maturityBlocks) if len(ret) == 0 { - panic("no return value specified for GetMaturedBallotList") + panic("no return value specified for GetMaturedBallots") } - var r0 []string - if rf, ok := ret.Get(0).(func(types.Context) []string); ok { - r0 = rf(ctx) + var r0 observertypes.BallotListForHeight + var r1 bool + if rf, ok := ret.Get(0).(func(types.Context, int64) (observertypes.BallotListForHeight, bool)); ok { + return rf(ctx, maturityBlocks) + } + if rf, ok := ret.Get(0).(func(types.Context, int64) observertypes.BallotListForHeight); ok { + r0 = rf(ctx, maturityBlocks) } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]string) - } + r0 = ret.Get(0).(observertypes.BallotListForHeight) } - return r0 + if rf, ok := ret.Get(1).(func(types.Context, int64) bool); ok { + r1 = rf(ctx, maturityBlocks) + } else { + r1 = ret.Get(1).(bool) + } + + return r0, r1 } // NewEmissionObserverKeeper creates a new instance of EmissionObserverKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. diff --git a/testutil/keeper/mocks/emissions/param_store.go b/testutil/keeper/mocks/emissions/param_store.go deleted file mode 100644 index 4b5a1751cd..0000000000 --- a/testutil/keeper/mocks/emissions/param_store.go +++ /dev/null @@ -1,76 +0,0 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. - -package mocks - -import ( - mock "github.com/stretchr/testify/mock" - - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" - - types "github.com/cosmos/cosmos-sdk/types" -) - -// EmissionParamStore is an autogenerated mock type for the EmissionParamStore type -type EmissionParamStore struct { - mock.Mock -} - -// GetParamSetIfExists provides a mock function with given fields: ctx, ps -func (_m *EmissionParamStore) GetParamSetIfExists(ctx types.Context, ps paramstypes.ParamSet) { - _m.Called(ctx, ps) -} - -// HasKeyTable provides a mock function with given fields: -func (_m *EmissionParamStore) HasKeyTable() bool { - ret := _m.Called() - - if len(ret) == 0 { - panic("no return value specified for HasKeyTable") - } - - var r0 bool - if rf, ok := ret.Get(0).(func() bool); ok { - r0 = rf() - } else { - r0 = ret.Get(0).(bool) - } - - return r0 -} - -// SetParamSet provides a mock function with given fields: ctx, ps -func (_m *EmissionParamStore) SetParamSet(ctx types.Context, ps paramstypes.ParamSet) { - _m.Called(ctx, ps) -} - -// WithKeyTable provides a mock function with given fields: table -func (_m *EmissionParamStore) WithKeyTable(table paramstypes.KeyTable) paramstypes.Subspace { - ret := _m.Called(table) - - if len(ret) == 0 { - panic("no return value specified for WithKeyTable") - } - - var r0 paramstypes.Subspace - if rf, ok := ret.Get(0).(func(paramstypes.KeyTable) paramstypes.Subspace); ok { - r0 = rf(table) - } else { - r0 = ret.Get(0).(paramstypes.Subspace) - } - - return r0 -} - -// NewEmissionParamStore creates a new instance of EmissionParamStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -// The first argument is typically a *testing.T value. -func NewEmissionParamStore(t interface { - mock.TestingT - Cleanup(func()) -}) *EmissionParamStore { - mock := &EmissionParamStore{} - mock.Mock.Test(t) - - t.Cleanup(func() { mock.AssertExpectations(t) }) - - return mock -} diff --git a/testutil/keeper/mocks/emissions/staking.go b/testutil/keeper/mocks/emissions/staking.go index bcfff21c40..7c58333bb5 100644 --- a/testutil/keeper/mocks/emissions/staking.go +++ b/testutil/keeper/mocks/emissions/staking.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/fungible/account.go b/testutil/keeper/mocks/fungible/account.go index 94b7a84d75..0522e833b4 100644 --- a/testutil/keeper/mocks/fungible/account.go +++ b/testutil/keeper/mocks/fungible/account.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/fungible/authority.go b/testutil/keeper/mocks/fungible/authority.go index b87791c784..929a99021c 100644 --- a/testutil/keeper/mocks/fungible/authority.go +++ b/testutil/keeper/mocks/fungible/authority.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/fungible/bank.go b/testutil/keeper/mocks/fungible/bank.go index 20a2590911..db14226310 100644 --- a/testutil/keeper/mocks/fungible/bank.go +++ b/testutil/keeper/mocks/fungible/bank.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/fungible/evm.go b/testutil/keeper/mocks/fungible/evm.go index f0dcd01094..28fd46e25c 100644 --- a/testutil/keeper/mocks/fungible/evm.go +++ b/testutil/keeper/mocks/fungible/evm.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/fungible/observer.go b/testutil/keeper/mocks/fungible/observer.go index 5e0aca6a0f..bbe76b1afa 100644 --- a/testutil/keeper/mocks/fungible/observer.go +++ b/testutil/keeper/mocks/fungible/observer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/lightclient/authority.go b/testutil/keeper/mocks/lightclient/authority.go index f86b893f9c..03dd6972de 100644 --- a/testutil/keeper/mocks/lightclient/authority.go +++ b/testutil/keeper/mocks/lightclient/authority.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/mocks.go b/testutil/keeper/mocks/mocks.go index e8001ab81d..a18893ca68 100644 --- a/testutil/keeper/mocks/mocks.go +++ b/testutil/keeper/mocks/mocks.go @@ -100,11 +100,6 @@ type EmissionObserverKeeper interface { emissionstypes.ObserverKeeper } -//go:generate mockery --name EmissionParamStore --filename param_store.go --case underscore --output ./emissions -type EmissionParamStore interface { - emissionstypes.ParamStore -} - /** * Observer Mocks */ diff --git a/testutil/keeper/mocks/observer/authority.go b/testutil/keeper/mocks/observer/authority.go index 4787b99b8a..76e5e0566c 100644 --- a/testutil/keeper/mocks/observer/authority.go +++ b/testutil/keeper/mocks/observer/authority.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/observer/lightclient.go b/testutil/keeper/mocks/observer/lightclient.go index b25f440330..442d006a5f 100644 --- a/testutil/keeper/mocks/observer/lightclient.go +++ b/testutil/keeper/mocks/observer/lightclient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/observer/slashing.go b/testutil/keeper/mocks/observer/slashing.go index d3f64ff726..a7793ef8dc 100644 --- a/testutil/keeper/mocks/observer/slashing.go +++ b/testutil/keeper/mocks/observer/slashing.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/mocks/observer/staking.go b/testutil/keeper/mocks/observer/staking.go index 72fe2be116..90007b6c35 100644 --- a/testutil/keeper/mocks/observer/staking.go +++ b/testutil/keeper/mocks/observer/staking.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.39.1. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks diff --git a/testutil/keeper/observer.go b/testutil/keeper/observer.go index 423341a883..072bc9b2da 100644 --- a/testutil/keeper/observer.go +++ b/testutil/keeper/observer.go @@ -7,7 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" @@ -43,7 +44,6 @@ func initObserverKeeper( ss store.CommitMultiStore, stakingKeeper stakingkeeper.Keeper, slashingKeeper slashingkeeper.Keeper, - paramKeeper paramskeeper.Keeper, authorityKeeper types.AuthorityKeeper, lightclientKeeper types.LightclientKeeper, ) *keeper.Keeper { @@ -56,11 +56,11 @@ func initObserverKeeper( cdc, storeKey, memKey, - paramKeeper.Subspace(types.ModuleName), stakingKeeper, slashingKeeper, authorityKeeper, lightclientKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) } @@ -115,15 +115,13 @@ func ObserverKeeperWithMocks(t testing.TB, mockOptions ObserverMockOptions) (*ke cdc, storeKey, memStoreKey, - sdkKeepers.ParamsKeeper.Subspace(types.ModuleName), stakingKeeper, slashingKeeper, authorityKeeper, lightclientKeeper, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) - k.SetParams(ctx, types.DefaultParams()) - return k, ctx, sdkKeepers, ZetaKeepers{ AuthorityKeeper: &authorityKeeperTmp, } diff --git a/testutil/network/genesis_state.go b/testutil/network/genesis_state.go index dfa3364cfe..6a979e9e4e 100644 --- a/testutil/network/genesis_state.go +++ b/testutil/network/genesis_state.go @@ -132,7 +132,6 @@ func AddObserverData(t *testing.T, n int, genesisState map[string]json.RawMessag if len(ballots) > 0 { state.Ballots = ballots } - state.Params.BallotMaturityBlocks = 3 state.Keygen = &observertypes.Keygen{BlockNumber: 10, GranteePubkeys: []string{}} // set tss diff --git a/typescript/emissions/params_pb.d.ts b/typescript/emissions/params_pb.d.ts index 86bc27895e..0cb4d18691 100644 --- a/typescript/emissions/params_pb.d.ts +++ b/typescript/emissions/params_pb.d.ts @@ -57,6 +57,11 @@ export declare class Params extends Message { */ observerSlashAmount: string; + /** + * @generated from field: int64 ballot_maturity_blocks = 10; + */ + ballotMaturityBlocks: bigint; + constructor(data?: PartialMessage); static readonly runtime: typeof proto3; diff --git a/typescript/emissions/tx_pb.d.ts b/typescript/emissions/tx_pb.d.ts index e8ed75ab15..be44d72aec 100644 --- a/typescript/emissions/tx_pb.d.ts +++ b/typescript/emissions/tx_pb.d.ts @@ -5,6 +5,7 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; +import type { Params } from "./params_pb.js"; /** * @generated from message zetachain.zetacore.emissions.MsgWithdrawEmission @@ -54,3 +55,51 @@ export declare class MsgWithdrawEmissionResponse extends Message | undefined, b: MsgWithdrawEmissionResponse | PlainMessage | undefined): boolean; } +/** + * @generated from message zetachain.zetacore.emissions.MsgUpdateParams + */ +export declare class MsgUpdateParams extends Message { + /** + * @generated from field: string authority = 1; + */ + authority: string; + + /** + * @generated from field: zetachain.zetacore.emissions.Params params = 2; + */ + params?: Params; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "zetachain.zetacore.emissions.MsgUpdateParams"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParams; + + static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParams; + + static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParams; + + static equals(a: MsgUpdateParams | PlainMessage | undefined, b: MsgUpdateParams | PlainMessage | undefined): boolean; +} + +/** + * @generated from message zetachain.zetacore.emissions.MsgUpdateParamsResponse + */ +export declare class MsgUpdateParamsResponse extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "zetachain.zetacore.emissions.MsgUpdateParamsResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParamsResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParamsResponse; + + static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParamsResponse; + + static equals(a: MsgUpdateParamsResponse | PlainMessage | undefined, b: MsgUpdateParamsResponse | PlainMessage | undefined): boolean; +} + diff --git a/typescript/observer/genesis_pb.d.ts b/typescript/observer/genesis_pb.d.ts index 8d0726f3cc..6bd88d4aa9 100644 --- a/typescript/observer/genesis_pb.d.ts +++ b/typescript/observer/genesis_pb.d.ts @@ -9,8 +9,8 @@ import type { Ballot } from "./ballot_pb.js"; import type { LastObserverCount, ObserverSet } from "./observer_pb.js"; import type { NodeAccount } from "./node_account_pb.js"; import type { CrosschainFlags } from "./crosschain_flags_pb.js"; -import type { ChainParamsList, Params } from "./params_pb.js"; import type { Keygen } from "./keygen_pb.js"; +import type { ChainParamsList } from "./params_pb.js"; import type { TSS } from "./tss_pb.js"; import type { TssFundMigratorInfo } from "./tss_funds_migrator_pb.js"; import type { Blame } from "./blame_pb.js"; @@ -42,11 +42,6 @@ export declare class GenesisState extends Message { */ crosschainFlags?: CrosschainFlags; - /** - * @generated from field: zetachain.zetacore.observer.Params params = 5; - */ - params?: Params; - /** * @generated from field: zetachain.zetacore.observer.Keygen keygen = 6; */ diff --git a/typescript/observer/params_pb.d.ts b/typescript/observer/params_pb.d.ts index 93f7ab74c7..fc9698224e 100644 --- a/typescript/observer/params_pb.d.ts +++ b/typescript/observer/params_pb.d.ts @@ -7,23 +7,6 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM import { Message, proto3 } from "@bufbuild/protobuf"; import type { Chain } from "../pkg/chains/chains_pb.js"; -/** - * Deprecated(v14):Moved into the authority module - * - * @generated from enum zetachain.zetacore.observer.Policy_Type - */ -export declare enum Policy_Type { - /** - * @generated from enum value: group1 = 0; - */ - group1 = 0, - - /** - * @generated from enum value: group2 = 1; - */ - group2 = 1, -} - /** * @generated from message zetachain.zetacore.observer.ChainParamsList */ @@ -178,74 +161,3 @@ export declare class ObserverParams extends Message { static equals(a: ObserverParams | PlainMessage | undefined, b: ObserverParams | PlainMessage | undefined): boolean; } -/** - * Deprecated(v14):Moved into the authority module - * - * @generated from message zetachain.zetacore.observer.Admin_Policy - */ -export declare class Admin_Policy extends Message { - /** - * @generated from field: zetachain.zetacore.observer.Policy_Type policy_type = 1; - */ - policyType: Policy_Type; - - /** - * @generated from field: string address = 2; - */ - address: string; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.observer.Admin_Policy"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): Admin_Policy; - - static fromJson(jsonValue: JsonValue, options?: Partial): Admin_Policy; - - static fromJsonString(jsonString: string, options?: Partial): Admin_Policy; - - static equals(a: Admin_Policy | PlainMessage | undefined, b: Admin_Policy | PlainMessage | undefined): boolean; -} - -/** - * Params defines the parameters for the module. - * - * @generated from message zetachain.zetacore.observer.Params - */ -export declare class Params extends Message { - /** - * Deprecated(v13): Use ChainParamsList - * - * @generated from field: repeated zetachain.zetacore.observer.ObserverParams observer_params = 1; - */ - observerParams: ObserverParams[]; - - /** - * Deprecated(v14):Moved into the authority module - * - * @generated from field: repeated zetachain.zetacore.observer.Admin_Policy admin_policy = 2; - */ - adminPolicy: Admin_Policy[]; - - /** - * @generated from field: int64 ballot_maturity_blocks = 3; - */ - ballotMaturityBlocks: bigint; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.observer.Params"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): Params; - - static fromJson(jsonValue: JsonValue, options?: Partial): Params; - - static fromJsonString(jsonString: string, options?: Partial): Params; - - static equals(a: Params | PlainMessage | undefined, b: Params | PlainMessage | undefined): boolean; -} - diff --git a/typescript/observer/query_pb.d.ts b/typescript/observer/query_pb.d.ts index a5d8bef48f..d0d069eb61 100644 --- a/typescript/observer/query_pb.d.ts +++ b/typescript/observer/query_pb.d.ts @@ -9,10 +9,10 @@ import type { ChainNonces } from "./chain_nonces_pb.js"; import type { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination_pb.js"; import type { PendingNonces } from "./pending_nonces_pb.js"; import type { TSS } from "./tss_pb.js"; -import type { ChainParams, ChainParamsList, Params } from "./params_pb.js"; import type { BallotStatus, VoteType } from "./ballot_pb.js"; import type { LastObserverCount, ObservationType } from "./observer_pb.js"; import type { Chain } from "../pkg/chains/chains_pb.js"; +import type { ChainParams, ChainParamsList } from "./params_pb.js"; import type { NodeAccount } from "./node_account_pb.js"; import type { CrosschainFlags } from "./crosschain_flags_pb.js"; import type { Keygen } from "./keygen_pb.js"; @@ -427,53 +427,6 @@ export declare class QueryTssHistoryResponse extends Message | undefined, b: QueryTssHistoryResponse | PlainMessage | undefined): boolean; } -/** - * @generated from message zetachain.zetacore.observer.QueryParamsRequest - */ -export declare class QueryParamsRequest extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.observer.QueryParamsRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest; - - static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest; - - static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean; -} - -/** - * QueryParamsResponse is response type for the Query/Params RPC method. - * - * @generated from message zetachain.zetacore.observer.QueryParamsResponse - */ -export declare class QueryParamsResponse extends Message { - /** - * params holds all the parameters of this module. - * - * @generated from field: zetachain.zetacore.observer.Params params = 1; - */ - params?: Params; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.observer.QueryParamsResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse; - - static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse; - - static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean; -} - /** * @generated from message zetachain.zetacore.observer.QueryHasVotedRequest */ diff --git a/x/crosschain/keeper/msg_server_vote_inbound_tx_test.go b/x/crosschain/keeper/msg_server_vote_inbound_tx_test.go index 87ff60e729..24103fa2c3 100644 --- a/x/crosschain/keeper/msg_server_vote_inbound_tx_test.go +++ b/x/crosschain/keeper/msg_server_vote_inbound_tx_test.go @@ -88,12 +88,6 @@ func TestKeeper_VoteOnObservedInboundTx(t *testing.T) { // MsgServer for the crosschain keeper msgServer := keeper.NewMsgServerImpl(*k) - // Set the chain ids we want to use to be valid - params := observertypes.DefaultParams() - zk.ObserverKeeper.SetParams( - ctx, params, - ) - // Convert the validator address into a user address. validators := k.GetStakingKeeper().GetAllValidators(ctx) validatorAddress := validators[0].OperatorAddress diff --git a/x/emissions/abci.go b/x/emissions/abci.go index 1f6cdd627c..bd1831aa48 100644 --- a/x/emissions/abci.go +++ b/x/emissions/abci.go @@ -20,17 +20,13 @@ func BeginBlocker(ctx sdk.Context, keeper keeper.Keeper) { } // Get the distribution of rewards - params := keeper.GetParamsIfExists(ctx) - validatorRewards, observerRewards, tssSignerRewards := types.GetRewardsDistributions(params) - - // TODO : Replace hardcoded slash amount with a parameter - // https://github.com/zeta-chain/node/pull/1861 - slashAmount, ok := sdkmath.NewIntFromString(types.ObserverSlashAmount) - if !ok { - ctx.Logger().Error(fmt.Sprintf("Error while parsing observer slash amount %s", types.ObserverSlashAmount)) + params, found := keeper.GetParams(ctx) + if !found { return } + validatorRewards, observerRewards, tssSignerRewards := types.GetRewardsDistributions(params) + // Use a tmpCtx, which is a cache-wrapped context to avoid writing to the store // We commit only if all three distributions are successful, if not the funds stay in the emission pool tmpCtx, commit := ctx.CacheContext() @@ -39,7 +35,7 @@ func BeginBlocker(ctx sdk.Context, keeper keeper.Keeper) { ctx.Logger().Error(fmt.Sprintf("Error while distributing validator rewards %s", err)) return } - err = DistributeObserverRewards(tmpCtx, observerRewards, keeper, slashAmount) + err = DistributeObserverRewards(tmpCtx, observerRewards, keeper, params) if err != nil { ctx.Logger().Error(fmt.Sprintf("Error while distributing observer rewards %s", err)) return @@ -75,16 +71,22 @@ func DistributeObserverRewards( ctx sdk.Context, amount sdkmath.Int, keeper keeper.Keeper, - slashAmount sdkmath.Int, + params types.Params, ) error { - + slashAmount := params.ObserverSlashAmount rewardsDistributer := map[string]int64{} totalRewardsUnits := int64(0) err := keeper.GetBankKeeper().SendCoinsFromModuleToModule(ctx, types.ModuleName, types.UndistributedObserverRewardsPool, sdk.NewCoins(sdk.NewCoin(config.BaseDenom, amount))) if err != nil { return err } - ballotIdentifiers := keeper.GetObserverKeeper().GetMaturedBallotList(ctx) + + list, found := keeper.GetObserverKeeper().GetMaturedBallots(ctx, params.BallotMaturityBlocks) + ballotIdentifiers := []string{} + if found { + ballotIdentifiers = list.BallotsIndexList + } + // do not distribute rewards if no ballots are matured, the rewards can accumulate in the undistributed pool if len(ballotIdentifiers) == 0 { return nil diff --git a/x/emissions/abci_test.go b/x/emissions/abci_test.go index 1f60857be4..9b7362f4d8 100644 --- a/x/emissions/abci_test.go +++ b/x/emissions/abci_test.go @@ -186,10 +186,12 @@ func TestBeginBlocker(t *testing.T) { feeCollecterAddress := sk.AuthKeeper.GetModuleAccount(ctx, types.FeeCollectorName).GetAddress() emissionPool := sk.AuthKeeper.GetModuleAccount(ctx, emissionstypes.ModuleName).GetAddress() + params, found := k.GetParams(ctx) + require.True(t, found) blockRewards := emissionstypes.BlockReward - observerRewardsForABlock := blockRewards.Mul(sdk.MustNewDecFromStr(k.GetParamsIfExists(ctx).ObserverEmissionPercentage)).TruncateInt() - validatorRewardsForABlock := blockRewards.Mul(sdk.MustNewDecFromStr(k.GetParamsIfExists(ctx).ValidatorEmissionPercentage)).TruncateInt() - tssSignerRewardsForABlock := blockRewards.Mul(sdk.MustNewDecFromStr(k.GetParamsIfExists(ctx).TssSignerEmissionPercentage)).TruncateInt() + observerRewardsForABlock := blockRewards.Mul(sdk.MustNewDecFromStr(params.ObserverEmissionPercentage)).TruncateInt() + validatorRewardsForABlock := blockRewards.Mul(sdk.MustNewDecFromStr(params.ValidatorEmissionPercentage)).TruncateInt() + tssSignerRewardsForABlock := blockRewards.Mul(sdk.MustNewDecFromStr(params.TssSignerEmissionPercentage)).TruncateInt() distributedRewards := observerRewardsForABlock.Add(validatorRewardsForABlock).Add(tssSignerRewardsForABlock) require.True(t, blockRewards.TruncateInt().GT(distributedRewards)) @@ -357,7 +359,8 @@ func TestDistributeObserverRewards(t *testing.T) { // Set the params params := emissionstypes.DefaultParams() params.ObserverSlashAmount = tc.slashAmount - k.SetParams(ctx, params) + err = k.SetParams(ctx, params) + require.NoError(t, err) // Set the ballot list ballotIdentifiers := []string{} @@ -378,7 +381,7 @@ func TestDistributeObserverRewards(t *testing.T) { ctx = ctx.WithBlockHeight(100) // Distribute the rewards and check if the rewards are distributed correctly - err = emissionsModule.DistributeObserverRewards(ctx, tc.totalRewardsForBlock, *k, tc.slashAmount) + err = emissionsModule.DistributeObserverRewards(ctx, tc.totalRewardsForBlock, *k, params) require.NoError(t, err) for i, observer := range observerSet.ObserverList { diff --git a/x/emissions/exported/exported.go b/x/emissions/exported/exported.go new file mode 100644 index 0000000000..000114e619 --- /dev/null +++ b/x/emissions/exported/exported.go @@ -0,0 +1,18 @@ +package exported + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" +) + +type ( + ParamSet = paramtypes.ParamSet + + // Subspace defines an interface that implements the legacy x/params Subspace + // type. + // + // NOTE: This is used solely for migration of x/params managed parameters. + Subspace interface { + GetParamSet(ctx sdk.Context, ps ParamSet) + } +) diff --git a/x/emissions/genesis.go b/x/emissions/genesis.go index b278330eeb..81939d55bb 100644 --- a/x/emissions/genesis.go +++ b/x/emissions/genesis.go @@ -1,6 +1,8 @@ package emissions import ( + "fmt" + sdk "github.com/cosmos/cosmos-sdk/types" "github.com/zeta-chain/zetacore/x/emissions/keeper" "github.com/zeta-chain/zetacore/x/emissions/types" @@ -9,7 +11,9 @@ import ( // InitGenesis initializes the emissions module's state from a provided genesis // state. func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) { - k.SetParams(ctx, genState.Params) + if err := k.SetParams(ctx, genState.Params); err != nil { + panic(fmt.Sprintf("invalid emissions module params: %v\n", genState.Params)) + } for _, we := range genState.WithdrawableEmissions { k.SetWithdrawableEmission(ctx, we) @@ -19,7 +23,11 @@ func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) // ExportGenesis returns the emissions module's exported genesis. func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { var genesis types.GenesisState - genesis.Params = k.GetParamsIfExists(ctx) + params, found := k.GetParams(ctx) + if !found { + params = types.Params{} + } + genesis.Params = params genesis.WithdrawableEmissions = k.GetAllWithdrawableEmission(ctx) return &genesis diff --git a/x/emissions/genesis_test.go b/x/emissions/genesis_test.go index 79edd3bf90..1b14a60315 100644 --- a/x/emissions/genesis_test.go +++ b/x/emissions/genesis_test.go @@ -3,8 +3,6 @@ package emissions_test import ( "testing" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/stretchr/testify/require" keepertest "github.com/zeta-chain/zetacore/testutil/keeper" "github.com/zeta-chain/zetacore/testutil/nullify" @@ -14,26 +12,47 @@ import ( ) func TestGenesis(t *testing.T) { - params := types.DefaultParams() - params.ObserverSlashAmount = sdk.Int{} - - genesisState := types.GenesisState{ - Params: params, - WithdrawableEmissions: []types.WithdrawableEmissions{ - sample.WithdrawableEmissions(t), - sample.WithdrawableEmissions(t), - sample.WithdrawableEmissions(t), - }, - } - - // Init and export - k, ctx, _, _ := keepertest.EmissionsKeeper(t) - emissions.InitGenesis(ctx, *k, genesisState) - got := emissions.ExportGenesis(ctx, *k) - require.NotNil(t, got) - - // Compare genesis after init and export - nullify.Fill(&genesisState) - nullify.Fill(got) - require.Equal(t, genesisState, *got) + t.Run("should init and export for valid state", func(t *testing.T) { + params := types.DefaultParams() + + genesisState := types.GenesisState{ + Params: params, + WithdrawableEmissions: []types.WithdrawableEmissions{ + sample.WithdrawableEmissions(t), + sample.WithdrawableEmissions(t), + sample.WithdrawableEmissions(t), + }, + } + + // Init and export + k, ctx, _, _ := keepertest.EmissionsKeeper(t) + emissions.InitGenesis(ctx, *k, genesisState) + got := emissions.ExportGenesis(ctx, *k) + require.NotNil(t, got) + + // Compare genesis after init and export + nullify.Fill(&genesisState) + nullify.Fill(got) + require.Equal(t, genesisState, *got) + }) + + t.Run("should error for invalid params", func(t *testing.T) { + params := types.DefaultParams() + params.MinBondFactor = "0.50" + + genesisState := types.GenesisState{ + Params: params, + WithdrawableEmissions: []types.WithdrawableEmissions{ + sample.WithdrawableEmissions(t), + sample.WithdrawableEmissions(t), + sample.WithdrawableEmissions(t), + }, + } + + // Init and export + k, ctx, _, _ := keepertest.EmissionsKeeper(t) + require.Panics(t, func() { + emissions.InitGenesis(ctx, *k, genesisState) + }) + }) } diff --git a/x/emissions/keeper/block_rewards_components.go b/x/emissions/keeper/block_rewards_components.go index fc105842aa..e9786876a7 100644 --- a/x/emissions/keeper/block_rewards_components.go +++ b/x/emissions/keeper/block_rewards_components.go @@ -7,56 +7,16 @@ import ( "github.com/zeta-chain/zetacore/x/emissions/types" ) -func (k Keeper) GetBlockRewardComponents(ctx sdk.Context) (sdk.Dec, sdk.Dec, sdk.Dec) { +func (k Keeper) GetBlockRewardComponents(ctx sdk.Context, params types.Params) (sdk.Dec, sdk.Dec, sdk.Dec) { reservesFactor := k.GetReservesFactor(ctx) if reservesFactor.LTE(sdk.ZeroDec()) { return sdk.ZeroDec(), sdk.ZeroDec(), sdk.ZeroDec() } - bondFactor := k.GetBondFactor(ctx, k.GetStakingKeeper()) - durationFactor := k.GetDurationFactor(ctx) + bondFactor := params.GetBondFactor(k.stakingKeeper.BondedRatio(ctx)) + durationFactor := params.GetDurationFactor(ctx.BlockHeight()) return reservesFactor, bondFactor, durationFactor } -func (k Keeper) GetBondFactor(ctx sdk.Context, stakingKeeper types.StakingKeeper) sdk.Dec { - targetBondRatio := sdk.MustNewDecFromStr(k.GetParamsIfExists(ctx).TargetBondRatio) - maxBondFactor := sdk.MustNewDecFromStr(k.GetParamsIfExists(ctx).MaxBondFactor) - minBondFactor := sdk.MustNewDecFromStr(k.GetParamsIfExists(ctx).MinBondFactor) - - currentBondedRatio := stakingKeeper.BondedRatio(ctx) - // Bond factor ranges between minBondFactor (0.75) to maxBondFactor (1.25) - if currentBondedRatio.IsZero() { - return sdk.ZeroDec() - } - bondFactor := targetBondRatio.Quo(currentBondedRatio) - if bondFactor.GT(maxBondFactor) { - return maxBondFactor - } - if bondFactor.LT(minBondFactor) { - return minBondFactor - } - return bondFactor -} - -func (k Keeper) GetDurationFactor(ctx sdk.Context) sdk.Dec { - avgBlockTime := sdk.MustNewDecFromStr(k.GetParamsIfExists(ctx).AvgBlockTime) - NumberOfBlocksInAMonth := sdk.NewDec(types.SecsInMonth).Quo(avgBlockTime) - monthFactor := sdk.NewDec(ctx.BlockHeight()).Quo(NumberOfBlocksInAMonth) - logValueDec := sdk.MustNewDecFromStr(k.GetParamsIfExists(ctx).DurationFactorConstant) - // month * log(1 + 0.02 / 12) - fractionNumerator := monthFactor.Mul(logValueDec) - // (month * log(1 + 0.02 / 12) ) + 1 - fractionDenominator := fractionNumerator.Add(sdk.OneDec()) - - // (month * log(1 + 0.02 / 12)) / (month * log(1 + 0.02 / 12) ) + 1 - if fractionDenominator.IsZero() { - return sdk.OneDec() - } - if fractionNumerator.IsZero() { - return sdk.ZeroDec() - } - return fractionNumerator.Quo(fractionDenominator) -} - func (k Keeper) GetReservesFactor(ctx sdk.Context) sdk.Dec { reserveAmount := k.GetBankKeeper().GetBalance(ctx, types.EmissionsModuleAddress, config.BaseDenom) return sdk.NewDecFromInt(reserveAmount.Amount) diff --git a/x/emissions/keeper/block_rewards_components_test.go b/x/emissions/keeper/block_rewards_components_test.go index a203757a4f..6f4acf004a 100644 --- a/x/emissions/keeper/block_rewards_components_test.go +++ b/x/emissions/keeper/block_rewards_components_test.go @@ -82,7 +82,7 @@ func TestKeeper_GetBlockRewardComponent(t *testing.T) { ctx, mock.Anything, config.BaseDenom). Return(sdk.NewCoin(config.BaseDenom, math.NewInt(0)), nil).Once() - reservesFactor, bondFactor, durationFactor := k.GetBlockRewardComponents(ctx) + reservesFactor, bondFactor, durationFactor := k.GetBlockRewardComponents(ctx, emissionstypes.DefaultParams()) require.Equal(t, sdk.ZeroDec(), reservesFactor) require.Equal(t, sdk.ZeroDec(), bondFactor) require.Equal(t, sdk.ZeroDec(), durationFactor) @@ -98,7 +98,7 @@ func TestKeeper_GetBlockRewardComponent(t *testing.T) { ctx, mock.Anything, config.BaseDenom). Return(sdk.NewCoin(config.BaseDenom, math.NewInt(1)), nil).Once() - reservesFactor, bondFactor, durationFactor := k.GetBlockRewardComponents(ctx) + reservesFactor, bondFactor, durationFactor := k.GetBlockRewardComponents(ctx, emissionstypes.DefaultParams()) require.Equal(t, sdk.OneDec(), reservesFactor) // bonded ratio is 0 require.Equal(t, sdk.ZeroDec(), bondFactor) @@ -107,81 +107,3 @@ func TestKeeper_GetBlockRewardComponent(t *testing.T) { require.Positive(t, durationFactor.BigInt().Int64()) }) } - -func TestKeeper_GetBondFactor(t *testing.T) { - t.Run("should return 0 if current bond ratio is 0", func(t *testing.T) { - k, ctx, _, _ := keepertest.EmissionsKeeper(t) - - bondFactor := k.GetBondFactor(ctx, k.GetStakingKeeper()) - require.Equal(t, sdk.ZeroDec(), bondFactor) - }) - - t.Run("should return max bond factor if bond factor exceeds max bond factor", func(t *testing.T) { - k, ctx, _, _ := keepertest.EmissionKeeperWithMockOptions(t, keepertest.EmissionMockOptions{ - UseStakingMock: true, - }) - - params := emissionstypes.DefaultParams() - params.TargetBondRatio = "0.5" - params.MaxBondFactor = "1.1" - params.MinBondFactor = "0.9" - k.SetParams(ctx, params) - - stakingMock := keepertest.GetEmissionsStakingMock(t, k) - stakingMock.On("BondedRatio", ctx).Return(sdk.MustNewDecFromStr("0.25")) - bondFactor := k.GetBondFactor(ctx, k.GetStakingKeeper()) - require.Equal(t, sdk.MustNewDecFromStr(params.MaxBondFactor), bondFactor) - }) - - t.Run("should return min bond factor if bond factor below min bond factor", func(t *testing.T) { - k, ctx, _, _ := keepertest.EmissionKeeperWithMockOptions(t, keepertest.EmissionMockOptions{ - UseStakingMock: true, - }) - - params := emissionstypes.DefaultParams() - params.TargetBondRatio = "0.5" - params.MaxBondFactor = "1.1" - params.MinBondFactor = "0.9" - k.SetParams(ctx, params) - - stakingMock := keepertest.GetEmissionsStakingMock(t, k) - stakingMock.On("BondedRatio", ctx).Return(sdk.MustNewDecFromStr("0.75")) - bondFactor := k.GetBondFactor(ctx, k.GetStakingKeeper()) - require.Equal(t, sdk.MustNewDecFromStr(params.MinBondFactor), bondFactor) - }) - - t.Run("should return calculated bond factor if bond factor in range", func(t *testing.T) { - k, ctx, _, _ := keepertest.EmissionKeeperWithMockOptions(t, keepertest.EmissionMockOptions{ - UseStakingMock: true, - }) - - params := emissionstypes.DefaultParams() - params.TargetBondRatio = "0.5" - params.MaxBondFactor = "1.1" - params.MinBondFactor = "0.9" - k.SetParams(ctx, params) - - stakingMock := keepertest.GetEmissionsStakingMock(t, k) - stakingMock.On("BondedRatio", ctx).Return(sdk.MustNewDecFromStr("0.5")) - bondFactor := k.GetBondFactor(ctx, k.GetStakingKeeper()) - require.Equal(t, sdk.OneDec(), bondFactor) - }) -} - -func TestKeeper_GetDurationFactor(t *testing.T) { - t.Run("should return duration factor 0 if duration factor constant is 0", func(t *testing.T) { - k, ctx, _, _ := keepertest.EmissionsKeeper(t) - params := emissionstypes.DefaultParams() - params.DurationFactorConstant = "0" - k.SetParams(ctx, params) - duractionFactor := k.GetDurationFactor(ctx) - require.Equal(t, sdk.ZeroDec(), duractionFactor) - }) - - t.Run("should return duration factor for default params", func(t *testing.T) { - k, ctx, _, _ := keepertest.EmissionsKeeper(t) - duractionFactor := k.GetDurationFactor(ctx) - // hardcoding actual expected value for default params, it will change if logic changes - require.Equal(t, sdk.MustNewDecFromStr("0.000000004346937374"), duractionFactor) - }) -} diff --git a/x/emissions/keeper/grpc_query_get_emmisons_factors.go b/x/emissions/keeper/grpc_query_get_emmisons_factors.go index 032c68c176..5b265de52a 100644 --- a/x/emissions/keeper/grpc_query_get_emmisons_factors.go +++ b/x/emissions/keeper/grpc_query_get_emmisons_factors.go @@ -5,12 +5,17 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/zeta-chain/zetacore/x/emissions/types" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" ) func (k Keeper) GetEmissionsFactors(goCtx context.Context, _ *types.QueryGetEmissionsFactorsRequest) (*types.QueryGetEmissionsFactorsResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - reservesFactor, bondFactor, durationFactor := k.GetBlockRewardComponents(ctx) + params, found := k.GetParams(ctx) + if !found { + return nil, status.Error(codes.Internal, "params not found") + } + reservesFactor, bondFactor, durationFactor := k.GetBlockRewardComponents(ctx, params) return &types.QueryGetEmissionsFactorsResponse{ ReservesFactor: reservesFactor.String(), BondFactor: bondFactor.String(), diff --git a/x/emissions/keeper/grpc_query_get_emmisons_factors_test.go b/x/emissions/keeper/grpc_query_get_emmisons_factors_test.go index f9bd288634..a2b44ebc6c 100644 --- a/x/emissions/keeper/grpc_query_get_emmisons_factors_test.go +++ b/x/emissions/keeper/grpc_query_get_emmisons_factors_test.go @@ -10,17 +10,28 @@ import ( ) func TestKeeper_GetEmissionsFactors(t *testing.T) { - k, ctx, _, _ := keepertest.EmissionsKeeper(t) - wctx := sdk.WrapSDKContext(ctx) + t.Run("should return emissions factor", func(t *testing.T) { + k, ctx, _, _ := keepertest.EmissionsKeeper(t) + wctx := sdk.WrapSDKContext(ctx) - res, err := k.GetEmissionsFactors(wctx, nil) - require.NoError(t, err) + res, err := k.GetEmissionsFactors(wctx, nil) + require.NoError(t, err) - reservesFactor, bondFactor, durationFactor := k.GetBlockRewardComponents(ctx) - expectedRes := &types.QueryGetEmissionsFactorsResponse{ - ReservesFactor: reservesFactor.String(), - BondFactor: bondFactor.String(), - DurationFactor: durationFactor.String(), - } - require.Equal(t, expectedRes, res) + reservesFactor, bondFactor, durationFactor := k.GetBlockRewardComponents(ctx, types.DefaultParams()) + expectedRes := &types.QueryGetEmissionsFactorsResponse{ + ReservesFactor: reservesFactor.String(), + BondFactor: bondFactor.String(), + DurationFactor: durationFactor.String(), + } + require.Equal(t, expectedRes, res) + }) + + t.Run("should fail if params not found", func(t *testing.T) { + k, ctx, _, _ := keepertest.EmissionKeeperWithMockOptions(t, keepertest.EmissionMockOptions{SkipSettingParams: true}) + wctx := sdk.WrapSDKContext(ctx) + + res, err := k.GetEmissionsFactors(wctx, nil) + require.Nil(t, res) + require.Error(t, err) + }) } diff --git a/x/emissions/keeper/grpc_query_params.go b/x/emissions/keeper/grpc_query_params.go index acc804124d..97f4a9077f 100644 --- a/x/emissions/keeper/grpc_query_params.go +++ b/x/emissions/keeper/grpc_query_params.go @@ -14,6 +14,10 @@ func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types return nil, status.Error(codes.InvalidArgument, "invalid request") } ctx := sdk.UnwrapSDKContext(c) + params, found := k.GetParams(ctx) + if !found { + return nil, status.Error(codes.NotFound, "params not found") + } - return &types.QueryParamsResponse{Params: k.GetParamsIfExists(ctx)}, nil + return &types.QueryParamsResponse{Params: params}, nil } diff --git a/x/emissions/keeper/keeper.go b/x/emissions/keeper/keeper.go index aadabb61f7..6667fa8de5 100644 --- a/x/emissions/keeper/keeper.go +++ b/x/emissions/keeper/keeper.go @@ -16,12 +16,14 @@ type ( cdc codec.BinaryCodec storeKey storetypes.StoreKey memKey storetypes.StoreKey - paramStore types.ParamStore feeCollectorName string bankKeeper types.BankKeeper stakingKeeper types.StakingKeeper observerKeeper types.ObserverKeeper authKeeper types.AccountKeeper + // the address capable of executing a MsgUpdateParams message. Typically, this + // should be the x/gov module account. + authority string } ) @@ -29,28 +31,27 @@ func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, - ps types.ParamStore, feeCollectorName string, bankKeeper types.BankKeeper, stakingKeeper types.StakingKeeper, observerKeeper types.ObserverKeeper, authKeeper types.AccountKeeper, + authority string, ) *Keeper { - // set KeyTable if it has not already been set - if !ps.HasKeyTable() { - ps = ps.WithKeyTable(types.ParamKeyTable()) + if _, err := sdk.AccAddressFromBech32(authority); err != nil { + panic(err) } return &Keeper{ cdc: cdc, storeKey: storeKey, memKey: memKey, - paramStore: ps, feeCollectorName: feeCollectorName, bankKeeper: bankKeeper, stakingKeeper: stakingKeeper, observerKeeper: observerKeeper, authKeeper: authKeeper, + authority: authority, } } @@ -78,6 +79,6 @@ func (k Keeper) GetAuthKeeper() types.AccountKeeper { return k.authKeeper } -func (k Keeper) GetParamStore() types.ParamStore { - return k.paramStore +func (k Keeper) GetAuthority() string { + return k.authority } diff --git a/x/emissions/keeper/migrator.go b/x/emissions/keeper/migrator.go new file mode 100644 index 0000000000..bf40f54e31 --- /dev/null +++ b/x/emissions/keeper/migrator.go @@ -0,0 +1,26 @@ +package keeper + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/zeta-chain/zetacore/x/emissions/exported" + v3 "github.com/zeta-chain/zetacore/x/emissions/migrations/v3" +) + +// Migrator is a struct for handling in-place store migrations. +type Migrator struct { + keeper Keeper + legacySubspace exported.Subspace +} + +// NewMigrator returns a new Migrator. +func NewMigrator(k Keeper, ss exported.Subspace) Migrator { + return Migrator{ + keeper: k, + legacySubspace: ss, + } +} + +// Migrate2to3 migrates the store from consensus version 2 to 3 +func (m Migrator) Migrate2to3(ctx sdk.Context) error { + return v3.MigrateStore(ctx, m.keeper, m.legacySubspace) +} diff --git a/x/emissions/keeper/msg_server_update_params.go b/x/emissions/keeper/msg_server_update_params.go new file mode 100644 index 0000000000..9581a1b19f --- /dev/null +++ b/x/emissions/keeper/msg_server_update_params.go @@ -0,0 +1,26 @@ +package keeper + +import ( + "context" + + "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + "github.com/zeta-chain/zetacore/x/emissions/types" +) + +// UpdateParams defines a governance operation for updating the x/emissions module parameters. +// The authority is hard-coded to the x/gov module account. +func (k msgServer) UpdateParams(goCtx context.Context, msg *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error) { + if msg.Authority != k.authority { + return nil, errors.Wrapf(govtypes.ErrInvalidSigner, "invalid authority; expected %s, got %s", k.authority, msg.Authority) + } + + ctx := sdk.UnwrapSDKContext(goCtx) + err := k.SetParams(ctx, msg.Params) + if err != nil { + return nil, errors.Wrapf(types.ErrUnableToSetParams, err.Error()) + } + + return &types.MsgUpdateParamsResponse{}, nil +} diff --git a/x/emissions/keeper/msg_server_update_params_test.go b/x/emissions/keeper/msg_server_update_params_test.go new file mode 100644 index 0000000000..ecf4376742 --- /dev/null +++ b/x/emissions/keeper/msg_server_update_params_test.go @@ -0,0 +1,54 @@ +package keeper_test + +import ( + "testing" + + "github.com/stretchr/testify/require" + keepertest "github.com/zeta-chain/zetacore/testutil/keeper" + "github.com/zeta-chain/zetacore/testutil/sample" + "github.com/zeta-chain/zetacore/x/emissions/keeper" + "github.com/zeta-chain/zetacore/x/emissions/types" +) + +func TestMsgServer_UpdateParams(t *testing.T) { + t.Run("successfully update params", func(t *testing.T) { + k, ctx, _, _ := keepertest.EmissionsKeeper(t) + msgServer := keeper.NewMsgServerImpl(*k) + + res, err := msgServer.UpdateParams(ctx, &types.MsgUpdateParams{ + Authority: k.GetAuthority(), + Params: types.DefaultParams(), + }) + + require.NoError(t, err) + require.Empty(t, res) + params, found := k.GetParams(ctx) + require.True(t, found) + require.Equal(t, types.DefaultParams(), params) + }) + + t.Run("fail for wrong authority", func(t *testing.T) { + k, ctx, _, _ := keepertest.EmissionsKeeper(t) + msgServer := keeper.NewMsgServerImpl(*k) + + _, err := msgServer.UpdateParams(ctx, &types.MsgUpdateParams{ + Authority: sample.AccAddress(), + Params: types.DefaultParams(), + }) + + require.Error(t, err) + }) + + t.Run("fail for invalid params", func(t *testing.T) { + k, ctx, _, _ := keepertest.EmissionsKeeper(t) + msgServer := keeper.NewMsgServerImpl(*k) + params := types.DefaultParams() + params.ValidatorEmissionPercentage = "-1.5" + _, err := msgServer.UpdateParams(ctx, &types.MsgUpdateParams{ + Authority: k.GetAuthority(), + Params: params, + }) + + require.ErrorIs(t, err, types.ErrUnableToSetParams) + }) +} diff --git a/x/emissions/keeper/params.go b/x/emissions/keeper/params.go index 5369e0953a..2ba5a542a7 100644 --- a/x/emissions/keeper/params.go +++ b/x/emissions/keeper/params.go @@ -5,14 +5,33 @@ import ( "github.com/zeta-chain/zetacore/x/emissions/types" ) -// GetParamsIfExists get all parameters as types.Params if they exist -// non existent parameters will return zero values -func (k Keeper) GetParamsIfExists(ctx sdk.Context) (params types.Params) { - k.paramStore.GetParamSetIfExists(ctx, ¶ms) - return +// GetParams get all parameters +func (k Keeper) GetParams(ctx sdk.Context) (params types.Params, found bool) { + store := ctx.KVStore(k.storeKey) + bz := store.Get(types.KeyPrefix(types.ParamsKey)) + if bz == nil { + return types.Params{}, false + } + err := k.cdc.Unmarshal(bz, ¶ms) + if err != nil { + return types.Params{}, false + } + + return params, true } // SetParams set the params -func (k Keeper) SetParams(ctx sdk.Context, params types.Params) { - k.paramStore.SetParamSet(ctx, ¶ms) +func (k Keeper) SetParams(ctx sdk.Context, params types.Params) error { + if err := params.Validate(); err != nil { + return err + } + + store := ctx.KVStore(k.storeKey) + bz, err := k.cdc.Marshal(¶ms) + if err != nil { + return err + } + + store.Set(types.KeyPrefix(types.ParamsKey), bz) + return nil } diff --git a/x/emissions/keeper/params_test.go b/x/emissions/keeper/params_test.go index 6b85f76444..21e8b4c2df 100644 --- a/x/emissions/keeper/params_test.go +++ b/x/emissions/keeper/params_test.go @@ -3,6 +3,7 @@ package keeper_test import ( "testing" + sdkmath "cosmossdk.io/math" "github.com/stretchr/testify/require" keepertest "github.com/zeta-chain/zetacore/testutil/keeper" emissionstypes "github.com/zeta-chain/zetacore/x/emissions/types" @@ -10,9 +11,9 @@ import ( func TestKeeper_GetParams(t *testing.T) { tests := []struct { - name string - params emissionstypes.Params - isPanic string + name string + params emissionstypes.Params + constainsErr string }{ { name: "Successfully set params", @@ -25,8 +26,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "", + constainsErr: "", }, { name: "negative observer slashed amount", @@ -39,8 +41,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(-100000000000000000), }, - isPanic: "slash amount cannot be less than 0", + constainsErr: "slash amount cannot be less than 0", }, { name: "MaxBondFactor too high", @@ -53,8 +56,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "max bond factor cannot be higher that 0.25", + constainsErr: "max bond factor cannot be higher that 1.25", }, { name: "MinBondFactor too low", @@ -67,8 +71,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "min bond factor cannot be lower that 0.75", + constainsErr: "min bond factor cannot be lower that 0.75", }, { name: "invalid block time", @@ -81,8 +86,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "invalid block time", + constainsErr: "invalid block time", }, { name: "invalid block time less than 0", @@ -95,8 +101,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "block time cannot be less than or equal to 0", + constainsErr: "block time cannot be less than or equal to 0", }, { name: "bond ratio too high", @@ -109,8 +116,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "target bond ratio cannot be more than 100 percent", + constainsErr: "target bond ratio cannot be more than 100 percent", }, { name: "bond ratio too low", @@ -123,8 +131,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "target bond ratio cannot be less than 0 percent", + constainsErr: "target bond ratio cannot be less than 0 percent", }, { name: "validator emission percentage too high", @@ -137,8 +146,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "validator emission percentage cannot be more than 100 percent", + constainsErr: "validator emission percentage cannot be more than 100 percent", }, { name: "validator emission percentage too low", @@ -151,8 +161,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "validator emission percentage cannot be less than 0 percent", + constainsErr: "validator emission percentage cannot be less than 0 percent", }, { name: "observer percentage too low", @@ -165,8 +176,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "-00.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "observer emission percentage cannot be less than 0 percent", + constainsErr: "observer emission percentage cannot be less than 0 percent", }, { name: "observer percentage too high", @@ -179,8 +191,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "150.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "observer emission percentage cannot be more than 100 percent", + constainsErr: "observer emission percentage cannot be more than 100 percent", }, { name: "tss signer percentage too high", @@ -193,8 +206,9 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "102.22", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "tss emission percentage cannot be more than 100 percent", + constainsErr: "tss emission percentage cannot be more than 100 percent", }, { name: "tss signer percentage too low", @@ -207,32 +221,30 @@ func TestKeeper_GetParams(t *testing.T) { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "-102.22", DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), }, - isPanic: "tss emission percentage cannot be less than 0 percent", + constainsErr: "tss emission percentage cannot be less than 0 percent", }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { k, ctx, _, _ := keepertest.EmissionsKeeper(t) - assertPanic(t, func() { - k.SetParams(ctx, tt.params) - }, tt.isPanic) - - if tt.isPanic != "" { - require.Equal(t, emissionstypes.DefaultParams(), k.GetParamsIfExists(ctx)) + err := k.SetParams(ctx, tt.params) + if tt.constainsErr != "" { + require.ErrorContains(t, err, tt.constainsErr) } else { - require.Equal(t, tt.params, k.GetParamsIfExists(ctx)) + require.NoError(t, err) + params, found := k.GetParams(ctx) + require.True(t, found) + require.Equal(t, tt.params, params) } }) } } -func assertPanic(t *testing.T, f func(), errorLog string) { - defer func() { - r := recover() - if r != nil { - require.Contains(t, r, errorLog) - } - }() - f() +func TestKeeper_GetParamsIfParamsNotSet(t *testing.T) { + k, ctx, _, _ := keepertest.EmissionKeeperWithMockOptions(t, keepertest.EmissionMockOptions{SkipSettingParams: true}) + params, found := k.GetParams(ctx) + require.False(t, found) + require.Empty(t, params) } diff --git a/x/emissions/migrations/v3/migrate.go b/x/emissions/migrations/v3/migrate.go new file mode 100644 index 0000000000..4ba1da387d --- /dev/null +++ b/x/emissions/migrations/v3/migrate.go @@ -0,0 +1,62 @@ +package v3 + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/zeta-chain/zetacore/x/emissions/exported" + "github.com/zeta-chain/zetacore/x/emissions/types" +) + +type EmissionsKeeper interface { + GetParams(ctx sdk.Context) (types.Params, bool) + SetParams(ctx sdk.Context, params types.Params) error +} + +// Migrate migrates the x/emissions module state from the consensus version 2 to +// version 3. Specifically, it takes the parameters that are currently stored +// and managed by the x/params modules and stores them directly into the x/emissions +// module state. +func MigrateStore( + ctx sdk.Context, + emissionsKeeper EmissionsKeeper, + legacySubspace exported.Subspace, +) error { + var currParams types.Params + legacySubspace.GetParamSet(ctx, &currParams) + + defaultParams := types.NewParams() + + // ensure params are set with default values if not present in legacy params + if currParams.AvgBlockTime == "" { + currParams.AvgBlockTime = defaultParams.AvgBlockTime + } + if currParams.MaxBondFactor == "" { + currParams.MaxBondFactor = defaultParams.MaxBondFactor + } + if currParams.MinBondFactor == "" { + currParams.MinBondFactor = defaultParams.MinBondFactor + } + if currParams.TargetBondRatio == "" { + currParams.TargetBondRatio = defaultParams.TargetBondRatio + } + if currParams.ValidatorEmissionPercentage == "" { + currParams.ValidatorEmissionPercentage = defaultParams.ValidatorEmissionPercentage + } + if currParams.ObserverEmissionPercentage == "" { + currParams.ObserverEmissionPercentage = defaultParams.ObserverEmissionPercentage + } + if currParams.TssSignerEmissionPercentage == "" { + currParams.TssSignerEmissionPercentage = defaultParams.TssSignerEmissionPercentage + } + if currParams.DurationFactorConstant == "" { + currParams.DurationFactorConstant = defaultParams.DurationFactorConstant + } + + currParams.ObserverSlashAmount = types.ObserverSlashAmount + currParams.BallotMaturityBlocks = int64(types.BallotMaturityBlocks) + err := currParams.Validate() + if err != nil { + return err + } + + return emissionsKeeper.SetParams(ctx, currParams) +} diff --git a/x/emissions/migrations/v3/migrate_test.go b/x/emissions/migrations/v3/migrate_test.go new file mode 100644 index 0000000000..e074928997 --- /dev/null +++ b/x/emissions/migrations/v3/migrate_test.go @@ -0,0 +1,89 @@ +package v3_test + +import ( + "testing" + + "github.com/stretchr/testify/require" + + sdkmath "cosmossdk.io/math" + sdk "github.com/cosmos/cosmos-sdk/types" + keepertest "github.com/zeta-chain/zetacore/testutil/keeper" + "github.com/zeta-chain/zetacore/x/emissions/exported" + v3 "github.com/zeta-chain/zetacore/x/emissions/migrations/v3" + "github.com/zeta-chain/zetacore/x/emissions/types" +) + +type mockSubspace struct { + ps types.Params +} + +func newMockSubspace(ps types.Params) mockSubspace { + return mockSubspace{ps: ps} +} + +func (ms mockSubspace) GetParamSet(ctx sdk.Context, ps exported.ParamSet) { + *ps.(*types.Params) = ms.ps +} + +func TestMigrate(t *testing.T) { + t.Run("should migrate for valid params", func(t *testing.T) { + k, ctx, _, _ := keepertest.EmissionsKeeper(t) + + legacyParams := types.Params{ + MaxBondFactor: "1", + MinBondFactor: "0.75", + AvgBlockTime: "5.00", + TargetBondRatio: "00.50", + ValidatorEmissionPercentage: "00.50", + ObserverEmissionPercentage: "00.35", + TssSignerEmissionPercentage: "00.15", + DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdk.ZeroInt(), + } + legacySubspace := newMockSubspace(legacyParams) + + require.NoError(t, v3.MigrateStore(ctx, k, legacySubspace)) + + params, found := k.GetParams(ctx) + require.True(t, found) + legacyParams.ObserverSlashAmount = sdkmath.NewInt(100000000000000000) + legacyParams.BallotMaturityBlocks = 100 + require.Equal(t, legacyParams, params) + }) + + t.Run("should migrate if legacy params missing", func(t *testing.T) { + k, ctx, _, _ := keepertest.EmissionsKeeper(t) + + legacyParams := types.Params{} + legacySubspace := newMockSubspace(legacyParams) + + require.NoError(t, v3.MigrateStore(ctx, k, legacySubspace)) + + params, found := k.GetParams(ctx) + require.True(t, found) + legacyParams = types.DefaultParams() + legacyParams.ObserverSlashAmount = sdkmath.NewInt(100000000000000000) + legacyParams.BallotMaturityBlocks = 100 + require.Equal(t, legacyParams, params) + }) + + t.Run("should fail to migrate for invalid params", func(t *testing.T) { + k, ctx, _, _ := keepertest.EmissionsKeeper(t) + + legacyParams := types.Params{ + MaxBondFactor: "1", + MinBondFactor: "0.50", + AvgBlockTime: "5.00", + TargetBondRatio: "00.50", + ValidatorEmissionPercentage: "00.50", + ObserverEmissionPercentage: "00.35", + TssSignerEmissionPercentage: "00.15", + DurationFactorConstant: "0.001877876953694702", + ObserverSlashAmount: sdk.ZeroInt(), + } + legacySubspace := newMockSubspace(legacyParams) + + err := v3.MigrateStore(ctx, k, legacySubspace) + require.ErrorContains(t, err, "min bond factor cannot be lower that 0.75") + }) +} diff --git a/x/emissions/module.go b/x/emissions/module.go index 7086c998fc..172a79052f 100644 --- a/x/emissions/module.go +++ b/x/emissions/module.go @@ -9,7 +9,8 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" "github.com/zeta-chain/zetacore/x/emissions/client/cli" - emissionskeeper "github.com/zeta-chain/zetacore/x/emissions/keeper" + "github.com/zeta-chain/zetacore/x/emissions/exported" + "github.com/zeta-chain/zetacore/x/emissions/keeper" "github.com/zeta-chain/zetacore/x/emissions/types" abci "github.com/tendermint/tendermint/abci/types" @@ -101,16 +102,20 @@ func (AppModuleBasic) GetQueryCmd() *cobra.Command { type AppModule struct { AppModuleBasic - keeper emissionskeeper.Keeper + keeper keeper.Keeper + // legacySubspace is used solely for migration of x/params managed parameters + legacySubspace exported.Subspace } func NewAppModule( cdc codec.Codec, - keeper emissionskeeper.Keeper, + keeper keeper.Keeper, + ss exported.Subspace, ) AppModule { return AppModule{ AppModuleBasic: NewAppModuleBasic(cdc), keeper: keeper, + legacySubspace: ss, } } @@ -135,8 +140,12 @@ func (am AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier { // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. func (am AppModule) RegisterServices(cfg module.Configurator) { - types.RegisterMsgServer(cfg.MsgServer(), emissionskeeper.NewMsgServerImpl(am.keeper)) + types.RegisterMsgServer(cfg.MsgServer(), keeper.NewMsgServerImpl(am.keeper)) types.RegisterQueryServer(cfg.QueryServer(), am.keeper) + m := keeper.NewMigrator(am.keeper, am.legacySubspace) + if err := cfg.RegisterMigration(types.ModuleName, 2, m.Migrate2to3); err != nil { + panic(err) + } } // RegisterInvariants registers the emissions module's invariants. @@ -165,7 +174,7 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw } // ConsensusVersion implements ConsensusVersion. -func (AppModule) ConsensusVersion() uint64 { return 2 } +func (AppModule) ConsensusVersion() uint64 { return 3 } // BeginBlock executes all ABCI BeginBlock logic respective to the emissions module. func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) { diff --git a/x/emissions/types/errors.go b/x/emissions/types/errors.go index e741408d81..1ba687f3cd 100644 --- a/x/emissions/types/errors.go +++ b/x/emissions/types/errors.go @@ -8,4 +8,5 @@ var ( ErrInvalidAddress = errorsmod.Register(ModuleName, 1003, "invalid address") ErrRewardsPoolDoesNotHaveEnoughBalance = errorsmod.Register(ModuleName, 1004, "rewards pool does not have enough balance") ErrInvalidAmount = errorsmod.Register(ModuleName, 1005, "invalid amount") + ErrUnableToSetParams = errorsmod.Register(ModuleName, 1006, "unable to set params") ) diff --git a/x/emissions/types/expected_keepers.go b/x/emissions/types/expected_keepers.go index 298a0caf42..fc9c6c022d 100644 --- a/x/emissions/types/expected_keepers.go +++ b/x/emissions/types/expected_keepers.go @@ -3,7 +3,6 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/types" - paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" observertypes "github.com/zeta-chain/zetacore/x/observer/types" ) @@ -14,8 +13,8 @@ type AccountKeeper interface { } type ObserverKeeper interface { - GetMaturedBallotList(ctx sdk.Context) []string GetBallot(ctx sdk.Context, index string) (val observertypes.Ballot, found bool) + GetMaturedBallots(ctx sdk.Context, maturityBlocks int64) (val observertypes.BallotListForHeight, found bool) } // BankKeeper defines the expected interface needed to retrieve account balances. @@ -29,11 +28,3 @@ type BankKeeper interface { type StakingKeeper interface { BondedRatio(ctx sdk.Context) sdk.Dec } - -// ParamStore defines the expected paramstore methods to store and load Params (noalias) -type ParamStore interface { - GetParamSetIfExists(ctx sdk.Context, ps paramstypes.ParamSet) - SetParamSet(ctx sdk.Context, ps paramstypes.ParamSet) - WithKeyTable(table paramstypes.KeyTable) paramstypes.Subspace - HasKeyTable() bool -} diff --git a/x/emissions/types/genesis_test.go b/x/emissions/types/genesis_test.go index 6e0f27b4bc..8a3ecd6795 100644 --- a/x/emissions/types/genesis_test.go +++ b/x/emissions/types/genesis_test.go @@ -18,11 +18,6 @@ func TestGenesisState_Validate(t *testing.T) { genState: types.DefaultGenesis(), valid: true, }, - { - desc: "valid genesis state", - genState: &types.GenesisState{}, - valid: true, - }, } { t.Run(tc.desc, func(t *testing.T) { err := tc.genState.Validate() diff --git a/x/emissions/types/keys.go b/x/emissions/types/keys.go index 21b07cb854..bcf602b6c8 100644 --- a/x/emissions/types/keys.go +++ b/x/emissions/types/keys.go @@ -1,6 +1,7 @@ package types import ( + sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" ) @@ -30,11 +31,7 @@ const ( EmissionScheduledYears = 4 AvgBlockTime = "5.7" - // ObserverSlashAmount is the amount of tokens to be slashed from observer in case of incorrect vote - // it is set to 0.1 ZETA - // TODO: replace this with a parameter - // https://github.com/zeta-chain/node/pull/1861 - ObserverSlashAmount = "100000000000000000" + ParamsKey = "Params-value-" ) func KeyPrefix(p string) []byte { @@ -59,4 +56,11 @@ var ( UndistributedObserverRewardsPoolAddress = authtypes.NewModuleAddress(UndistributedObserverRewardsPool) UndistributedTssRewardsPoolAddress = authtypes.NewModuleAddress(UndistributedTssRewardsPool) BlockReward = sdk.MustNewDecFromStr("9620949074074074074.074070733466756687") + // ObserverSlashAmount is the amount of tokens to be slashed from observer in case of incorrect vote + // by default it is set to 0.1 ZETA + ObserverSlashAmount = sdkmath.NewInt(100000000000000000) + + // BallotMaturityBlocks is amount of blocks needed for ballot to mature + // by default is set to 100 + BallotMaturityBlocks = 100 ) diff --git a/x/emissions/types/message_update_params.go b/x/emissions/types/message_update_params.go new file mode 100644 index 0000000000..510c460831 --- /dev/null +++ b/x/emissions/types/message_update_params.go @@ -0,0 +1,40 @@ +package types + +import ( + cosmoserrors "cosmossdk.io/errors" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" +) + +const MsgUpdateParamsType = "update_params" + +var _ sdk.Msg = &MsgUpdateParams{} + +func (m *MsgUpdateParams) Route() string { + return RouterKey +} + +func (m *MsgUpdateParams) Type() string { + return MsgUpdateParamsType +} + +func (m *MsgUpdateParams) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(m)) +} + +func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress { + addr, err := sdk.AccAddressFromBech32(m.Authority) + if err != nil { + panic(err) + } + return []sdk.AccAddress{addr} +} + +func (m *MsgUpdateParams) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(m.Authority) + if err != nil { + return cosmoserrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid authority address (%s)", err) + } + + return m.Params.Validate() +} diff --git a/x/emissions/types/message_update_params_test.go b/x/emissions/types/message_update_params_test.go new file mode 100644 index 0000000000..de17065dea --- /dev/null +++ b/x/emissions/types/message_update_params_test.go @@ -0,0 +1,81 @@ +package types_test + +import ( + "testing" + + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/stretchr/testify/require" + "github.com/zeta-chain/zetacore/testutil/sample" + "github.com/zeta-chain/zetacore/x/emissions/types" +) + +func TestMsgUpdateParams_ValidateBasic(t *testing.T) { + t.Run("invalid authority address", func(t *testing.T) { + msg := types.MsgUpdateParams{ + Authority: "invalid", + Params: types.NewParams(), + } + err := msg.ValidateBasic() + require.ErrorIs(t, err, sdkerrors.ErrInvalidAddress) + }) + + t.Run("valid", func(t *testing.T) { + msg := types.MsgUpdateParams{ + Authority: sample.AccAddress(), + Params: types.NewParams(), + } + err := msg.ValidateBasic() + require.NoError(t, err) + }) +} + +func TestMsgUpdateParamsGetSigners(t *testing.T) { + signer := sample.AccAddress() + tests := []struct { + name string + msg *types.MsgUpdateParams + panics bool + }{ + { + name: "valid signer", + msg: &types.MsgUpdateParams{signer, types.NewParams()}, + panics: false, + }, + { + name: "invalid signer", + msg: &types.MsgUpdateParams{"invalid", types.NewParams()}, + panics: true, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + if !tt.panics { + signers := tt.msg.GetSigners() + require.Equal(t, []sdk.AccAddress{sdk.MustAccAddressFromBech32(signer)}, signers) + } else { + require.Panics(t, func() { + tt.msg.GetSigners() + }) + } + }) + } +} + +func TestMsgUpdateParamsType(t *testing.T) { + msg := types.MsgUpdateParams{"invalid", types.NewParams()} + require.Equal(t, types.MsgUpdateParamsType, msg.Type()) +} + +func TestMsgUpdateParamsRoute(t *testing.T) { + msg := types.MsgUpdateParams{"invalid", types.NewParams()} + require.Equal(t, types.RouterKey, msg.Route()) +} + +func TestMsgUpdateParamsGetSignBytes(t *testing.T) { + msg := types.MsgUpdateParams{"invalid", types.NewParams()} + require.NotPanics(t, func() { + msg.GetSignBytes() + }) +} diff --git a/x/emissions/types/params.go b/x/emissions/types/params.go index 2a8b4e4387..1e2fb1752a 100644 --- a/x/emissions/types/params.go +++ b/x/emissions/types/params.go @@ -4,20 +4,12 @@ import ( "fmt" "strconv" + sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "gopkg.in/yaml.v2" ) -var _ paramtypes.ParamSet = (*Params)(nil) - -// ParamKeyTable the param key table for launch module -func ParamKeyTable() paramtypes.KeyTable { - return paramtypes.NewKeyTable().RegisterParamSet(&Params{}) -} - // NewParams creates a new Params instance - func NewParams() Params { return Params{ MaxBondFactor: "1.25", @@ -28,11 +20,8 @@ func NewParams() Params { ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "00.25", DurationFactorConstant: "0.001877876953694702", - - // ObserverSlashAmount is currently disabled - // TODO: enable this param - // https://github.com/zeta-chain/node/issues/1862 - ObserverSlashAmount: sdk.Int{}, + ObserverSlashAmount: sdkmath.NewInt(100000000000000000), + BallotMaturityBlocks: 100, } } @@ -41,27 +30,80 @@ func DefaultParams() Params { return NewParams() } -// ParamSetPairs get the params.ParamSet -func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs { - return paramtypes.ParamSetPairs{ - paramtypes.NewParamSetPair(KeyPrefix(ParamMaxBondFactor), &p.MaxBondFactor, validateMaxBondFactor), - paramtypes.NewParamSetPair(KeyPrefix(ParamMinBondFactor), &p.MinBondFactor, validateMinBondFactor), - paramtypes.NewParamSetPair(KeyPrefix(ParamAvgBlockTime), &p.AvgBlockTime, validateAvgBlockTime), - paramtypes.NewParamSetPair(KeyPrefix(ParamTargetBondRatio), &p.TargetBondRatio, validateTargetBondRatio), - paramtypes.NewParamSetPair(KeyPrefix(ParamValidatorEmissionPercentage), &p.ValidatorEmissionPercentage, validateValidatorEmissionPercentage), - paramtypes.NewParamSetPair(KeyPrefix(ParamObserverEmissionPercentage), &p.ObserverEmissionPercentage, validateObserverEmissionPercentage), - paramtypes.NewParamSetPair(KeyPrefix(ParamTssSignerEmissionPercentage), &p.TssSignerEmissionPercentage, validateTssEmissionPercentage), - paramtypes.NewParamSetPair(KeyPrefix(ParamDurationFactorConstant), &p.DurationFactorConstant, validateDurationFactorConstant), +// Validate validates the set of params +func (p Params) Validate() error { + err := validateMaxBondFactor(p.MaxBondFactor) + if err != nil { + return err + } + err = validateMinBondFactor(p.MinBondFactor) + if err != nil { + return err + } + err = validateAvgBlockTime(p.AvgBlockTime) + if err != nil { + return err + } + err = validateTargetBondRatio(p.TargetBondRatio) + if err != nil { + return err + } + err = validateValidatorEmissionPercentage(p.ValidatorEmissionPercentage) + if err != nil { + return err + } + err = validateObserverEmissionPercentage(p.ObserverEmissionPercentage) + if err != nil { + return err + } + err = validateTssEmissionPercentage(p.TssSignerEmissionPercentage) + if err != nil { + return err + } + err = validateBallotMaturityBlocks(p.BallotMaturityBlocks) + if err != nil { + return err + } + return validateObserverSlashAmount(p.ObserverSlashAmount) +} + +func (p Params) GetBondFactor(currentBondedRatio sdk.Dec) sdk.Dec { + targetBondRatio := sdk.MustNewDecFromStr(p.TargetBondRatio) + maxBondFactor := sdk.MustNewDecFromStr(p.MaxBondFactor) + minBondFactor := sdk.MustNewDecFromStr(p.MinBondFactor) - // TODO: enable this param - // https://github.com/zeta-chain/node/pull/1861 - //paramtypes.NewParamSetPair(KeyPrefix(ParamObserverSlashAmount), &p.ObserverSlashAmount, validateObserverSlashAmount), + // Bond factor ranges between minBondFactor (0.75) to maxBondFactor (1.25) + if currentBondedRatio.IsZero() { + return sdk.ZeroDec() } + bondFactor := targetBondRatio.Quo(currentBondedRatio) + if bondFactor.GT(maxBondFactor) { + return maxBondFactor + } + if bondFactor.LT(minBondFactor) { + return minBondFactor + } + return bondFactor } -// Validate validates the set of params -func (p Params) Validate() error { - return nil +func (p Params) GetDurationFactor(blockHeight int64) sdk.Dec { + avgBlockTime := sdk.MustNewDecFromStr(p.AvgBlockTime) + NumberOfBlocksInAMonth := sdk.NewDec(SecsInMonth).Quo(avgBlockTime) + monthFactor := sdk.NewDec(blockHeight).Quo(NumberOfBlocksInAMonth) + logValueDec := sdk.MustNewDecFromStr(p.DurationFactorConstant) + // month * log(1 + 0.02 / 12) + fractionNumerator := monthFactor.Mul(logValueDec) + // (month * log(1 + 0.02 / 12) ) + 1 + fractionDenominator := fractionNumerator.Add(sdk.OneDec()) + + // (month * log(1 + 0.02 / 12)) / (month * log(1 + 0.02 / 12) ) + 1 + if fractionDenominator.IsZero() { + return sdk.OneDec() + } + if fractionNumerator.IsZero() { + return sdk.ZeroDec() + } + return fractionNumerator.Quo(fractionDenominator) } // String implements the Stringer interface. @@ -88,7 +130,7 @@ func validateMaxBondFactor(i interface{}) error { } decMaxBond := sdk.MustNewDecFromStr(v) if decMaxBond.GT(sdk.MustNewDecFromStr("1.25")) { - return fmt.Errorf("max bond factor cannot be higher that 0.25") + return fmt.Errorf("max bond factor cannot be higher that 1.25") } return nil } @@ -179,3 +221,27 @@ func validateTssEmissionPercentage(i interface{}) error { } return nil } + +func validateObserverSlashAmount(i interface{}) error { + v, ok := i.(sdkmath.Int) + if !ok { + return fmt.Errorf("invalid parameter type: %T", i) + } + if v.LT(sdk.ZeroInt()) { + return fmt.Errorf("slash amount cannot be less than 0") + } + return nil +} + +func validateBallotMaturityBlocks(i interface{}) error { + v, ok := i.(int64) + if !ok { + return fmt.Errorf("invalid parameter type: %T", i) + } + + if v < 0 { + return fmt.Errorf("ballot maturity types must be gte 0") + } + + return nil +} diff --git a/x/emissions/types/params.pb.go b/x/emissions/types/params.pb.go index a4c6e31563..298dc79799 100644 --- a/x/emissions/types/params.pb.go +++ b/x/emissions/types/params.pb.go @@ -36,6 +36,7 @@ type Params struct { TssSignerEmissionPercentage string `protobuf:"bytes,7,opt,name=tss_signer_emission_percentage,json=tssSignerEmissionPercentage,proto3" json:"tss_signer_emission_percentage,omitempty"` DurationFactorConstant string `protobuf:"bytes,8,opt,name=duration_factor_constant,json=durationFactorConstant,proto3" json:"duration_factor_constant,omitempty"` ObserverSlashAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,9,opt,name=observer_slash_amount,json=observerSlashAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"observer_slash_amount"` + BallotMaturityBlocks int64 `protobuf:"varint,10,opt,name=ballot_maturity_blocks,json=ballotMaturityBlocks,proto3" json:"ballot_maturity_blocks,omitempty"` } func (m *Params) Reset() { *m = Params{} } @@ -126,6 +127,13 @@ func (m *Params) GetDurationFactorConstant() string { return "" } +func (m *Params) GetBallotMaturityBlocks() int64 { + if m != nil { + return m.BallotMaturityBlocks + } + return 0 +} + func init() { proto.RegisterType((*Params)(nil), "zetachain.zetacore.emissions.Params") } @@ -133,34 +141,36 @@ func init() { func init() { proto.RegisterFile("emissions/params.proto", fileDescriptor_74b1fd2414ebb64a) } var fileDescriptor_74b1fd2414ebb64a = []byte{ - // 429 bytes of a gzipped FileDescriptorProto + // 461 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x41, 0x6b, 0xd4, 0x40, - 0x14, 0xc7, 0x37, 0xba, 0xae, 0x76, 0x50, 0x8b, 0x51, 0x4b, 0xa8, 0x35, 0x2b, 0x22, 0x45, 0x84, - 0x26, 0x82, 0x17, 0xf1, 0xa4, 0x29, 0x0a, 0x7a, 0x2a, 0x5b, 0x4f, 0x5e, 0x86, 0x97, 0x64, 0xcc, - 0x0e, 0xdd, 0x99, 0xb7, 0xcc, 0x7b, 0xbb, 0xac, 0x7e, 0x0a, 0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0, 0xd4, 0x2a, 0x3a, 0x6b, 0xbe, 0x11, 0x43, 0xb6, 0xe7, 0x1f, + 0x6c, 0x8c, 0xb6, 0x9b, 0xec, 0x87, 0x36, 0xe9, 0x7e, 0x13, 0x5f, 0xf6, 0xbe, 0x7d, 0x1f, 0x7a, + 0xe9, 0xfb, 0xf3, 0x45, 0xe4, 0x5f, 0x2c, 0x22, 0xff, 0xf7, 0x22, 0xf2, 0xbf, 0x2e, 0x23, 0xef, + 0x62, 0x19, 0x79, 0x3f, 0x97, 0x91, 0xf7, 0xe9, 0xe9, 0x95, 0x96, 0xea, 0x05, 0x3d, 0x74, 0xbb, + 0x9a, 0x74, 0xbb, 0x9a, 0xcc, 0x93, 0xbf, 0x8b, 0xed, 0x1a, 0xcc, 0xfa, 0x6e, 0x49, 0x9f, 0xfd, + 0x09, 0x00, 0x00, 0xff, 0xff, 0xd6, 0xb4, 0x4a, 0x45, 0xf2, 0x02, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { @@ -183,6 +193,11 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.BallotMaturityBlocks != 0 { + i = encodeVarintParams(dAtA, i, uint64(m.BallotMaturityBlocks)) + i-- + dAtA[i] = 0x50 + } { size := m.ObserverSlashAmount.Size() i -= size @@ -303,6 +318,9 @@ func (m *Params) Size() (n int) { } l = m.ObserverSlashAmount.Size() n += 1 + l + sovParams(uint64(l)) + if m.BallotMaturityBlocks != 0 { + n += 1 + sovParams(uint64(m.BallotMaturityBlocks)) + } return n } @@ -631,6 +649,25 @@ func (m *Params) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BallotMaturityBlocks", wireType) + } + m.BallotMaturityBlocks = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BallotMaturityBlocks |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipParams(dAtA[iNdEx:]) diff --git a/x/emissions/types/params_legacy.go b/x/emissions/types/params_legacy.go new file mode 100644 index 0000000000..e05ebb6ae9 --- /dev/null +++ b/x/emissions/types/params_legacy.go @@ -0,0 +1,28 @@ +package types + +import paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" + +var _ paramtypes.ParamSet = (*Params)(nil) + +// ParamKeyTable the param key table for launch module +func ParamKeyTable() paramtypes.KeyTable { + return paramtypes.NewKeyTable().RegisterParamSet(&Params{}) +} + +// ParamSetPairs get the params.ParamSet +func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs { + return paramtypes.ParamSetPairs{ + paramtypes.NewParamSetPair(KeyPrefix(ParamMaxBondFactor), &p.MaxBondFactor, validateMaxBondFactor), + paramtypes.NewParamSetPair(KeyPrefix(ParamMinBondFactor), &p.MinBondFactor, validateMinBondFactor), + paramtypes.NewParamSetPair(KeyPrefix(ParamAvgBlockTime), &p.AvgBlockTime, validateAvgBlockTime), + paramtypes.NewParamSetPair(KeyPrefix(ParamTargetBondRatio), &p.TargetBondRatio, validateTargetBondRatio), + paramtypes.NewParamSetPair(KeyPrefix(ParamValidatorEmissionPercentage), &p.ValidatorEmissionPercentage, validateValidatorEmissionPercentage), + paramtypes.NewParamSetPair(KeyPrefix(ParamObserverEmissionPercentage), &p.ObserverEmissionPercentage, validateObserverEmissionPercentage), + paramtypes.NewParamSetPair(KeyPrefix(ParamTssSignerEmissionPercentage), &p.TssSignerEmissionPercentage, validateTssEmissionPercentage), + paramtypes.NewParamSetPair(KeyPrefix(ParamDurationFactorConstant), &p.DurationFactorConstant, validateDurationFactorConstant), + + // TODO: enable this param + // https://github.com/zeta-chain/node/pull/1861 + //paramtypes.NewParamSetPair(KeyPrefix(ParamObserverSlashAmount), &p.ObserverSlashAmount, validateObserverSlashAmount), + } +} diff --git a/x/emissions/types/params_test.go b/x/emissions/types/params_test.go index 8dcf6053a0..6c1afcc575 100644 --- a/x/emissions/types/params_test.go +++ b/x/emissions/types/params_test.go @@ -1,11 +1,10 @@ package types import ( - "reflect" "testing" + sdkmath "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" ) @@ -23,18 +22,7 @@ func TestNewParams(t *testing.T) { require.Equal(t, "00.25", params.TssSignerEmissionPercentage, "TssSignerEmissionPercentage should be set to 00.25") require.Equal(t, "0.001877876953694702", params.DurationFactorConstant, "DurationFactorConstant should be set to 0.001877876953694702") - require.Equal(t, sdk.Int{}, params.ObserverSlashAmount, "ObserverSlashAmount should be initialized but is currently disabled") -} - -func TestParamKeyTable(t *testing.T) { - kt := ParamKeyTable() - - ps := Params{} - for _, psp := range ps.ParamSetPairs() { - require.PanicsWithValue(t, "duplicate parameter key", func() { - kt.RegisterType(psp) - }) - } + require.Equal(t, sdkmath.NewInt(100000000000000000), params.ObserverSlashAmount, "ObserverSlashAmount should be set to 100000000000000000") } func TestDefaultParams(t *testing.T) { @@ -44,38 +32,6 @@ func TestDefaultParams(t *testing.T) { require.Equal(t, NewParams(), params) } -func TestParamSetPairs(t *testing.T) { - params := DefaultParams() - pairs := params.ParamSetPairs() - - require.Equal(t, 8, len(pairs), "The number of param set pairs should match the expected count") - - assertParamSetPair(t, pairs, KeyPrefix(ParamMaxBondFactor), "1.25", validateMaxBondFactor) - assertParamSetPair(t, pairs, KeyPrefix(ParamMinBondFactor), "0.75", validateMinBondFactor) - assertParamSetPair(t, pairs, KeyPrefix(ParamAvgBlockTime), "6.00", validateAvgBlockTime) - assertParamSetPair(t, pairs, KeyPrefix(ParamTargetBondRatio), "00.67", validateTargetBondRatio) - assertParamSetPair(t, pairs, KeyPrefix(ParamValidatorEmissionPercentage), "00.50", validateValidatorEmissionPercentage) - assertParamSetPair(t, pairs, KeyPrefix(ParamObserverEmissionPercentage), "00.25", validateObserverEmissionPercentage) - assertParamSetPair(t, pairs, KeyPrefix(ParamTssSignerEmissionPercentage), "00.25", validateTssEmissionPercentage) - assertParamSetPair(t, pairs, KeyPrefix(ParamDurationFactorConstant), "0.001877876953694702", validateDurationFactorConstant) -} - -func assertParamSetPair(t *testing.T, pairs paramtypes.ParamSetPairs, key []byte, expectedValue string, valFunc paramtypes.ValueValidatorFn) { - for _, pair := range pairs { - if string(pair.Key) == string(key) { - actualValue, ok := pair.Value.(*string) - require.True(t, ok, "Expected value to be of type *string for key %s", string(key)) - require.Equal(t, expectedValue, *actualValue, "Value does not match for key %s", string(key)) - - actualValFunc := pair.ValidatorFn - require.Equal(t, reflect.ValueOf(valFunc).Pointer(), reflect.ValueOf(actualValFunc).Pointer(), "Val func doesnt match for key %s", string(key)) - return - } - } - - t.Errorf("Key %s not found in ParamSetPairs", string(key)) -} - func TestValidateDurationFactorConstant(t *testing.T) { require.NoError(t, validateDurationFactorConstant("1")) require.Error(t, validateDurationFactorConstant(1)) @@ -130,9 +86,138 @@ func TestValidateTssEmissionPercentage(t *testing.T) { require.Error(t, validateTssEmissionPercentage("1.01")) // More than 100 percent should fail } +func TestValidateObserverSlashAmount(t *testing.T) { + require.Error(t, validateObserverSlashAmount(10)) + require.Error(t, validateObserverSlashAmount("10")) + require.Error(t, validateObserverSlashAmount(sdkmath.NewInt(-10))) // Less than 0 + require.NoError(t, validateObserverSlashAmount(sdkmath.NewInt(10))) +} + +func TestValidateBallotMaturityBlocks(t *testing.T) { + require.Error(t, validateBallotMaturityBlocks("10")) + require.Error(t, validateBallotMaturityBlocks(-100)) + require.NoError(t, validateBallotMaturityBlocks(int64(100))) +} + +func TestValidate(t *testing.T) { + t.Run("should validate", func(t *testing.T) { + params := NewParams() + require.NoError(t, params.Validate()) + }) + + t.Run("should error for invalid max bond factor", func(t *testing.T) { + params := NewParams() + params.MaxBondFactor = "1.30" + require.Error(t, params.Validate()) + }) + + t.Run("should error for invalid min bond factor", func(t *testing.T) { + params := NewParams() + params.MinBondFactor = "0.50" + require.Error(t, params.Validate()) + }) + + t.Run("should error for invalid avg block time", func(t *testing.T) { + params := NewParams() + params.AvgBlockTime = "-1.30" + require.Error(t, params.Validate()) + }) + + t.Run("should error for invalid target bond ratio", func(t *testing.T) { + params := NewParams() + params.TargetBondRatio = "-1.30" + require.Error(t, params.Validate()) + }) + + t.Run("should error for invalid validator emissions percentage", func(t *testing.T) { + params := NewParams() + params.ValidatorEmissionPercentage = "-1.30" + require.Error(t, params.Validate()) + }) + + t.Run("should error for invalid observer emissions percentage", func(t *testing.T) { + params := NewParams() + params.ObserverEmissionPercentage = "-1.30" + require.Error(t, params.Validate()) + }) + + t.Run("should error for invalid tss emissions percentage", func(t *testing.T) { + params := NewParams() + params.TssSignerEmissionPercentage = "-1.30" + require.Error(t, params.Validate()) + }) + + t.Run("should error for invalid observer slash amount", func(t *testing.T) { + params := NewParams() + params.ObserverSlashAmount = sdkmath.NewInt(-10) + require.Error(t, params.Validate()) + }) + + t.Run("should error for invalid ballot maturity blocks", func(t *testing.T) { + params := NewParams() + params.BallotMaturityBlocks = -100 + require.Error(t, params.Validate()) + }) +} + func TestParamsString(t *testing.T) { params := DefaultParams() out, err := yaml.Marshal(params) require.NoError(t, err) require.Equal(t, string(out), params.String()) } + +func TestParams_GetDurationFactor(t *testing.T) { + t.Run("should return duration factor 0 if duration factor constant is 0", func(t *testing.T) { + params := DefaultParams() + params.DurationFactorConstant = "0" + + duractionFactor := params.GetDurationFactor(1) + require.Equal(t, sdk.ZeroDec(), duractionFactor) + }) + + t.Run("should return duration factor for default params", func(t *testing.T) { + params := DefaultParams() + duractionFactor := params.GetDurationFactor(1) + // hardcoding actual expected value for default params, it will change if logic changes + require.Equal(t, sdk.MustNewDecFromStr("0.000000004346937374"), duractionFactor) + }) +} + +func TestParams_GetBondFactor(t *testing.T) { + t.Run("should return 0 if current bond ratio is 0", func(t *testing.T) { + params := DefaultParams() + bondFactor := params.GetBondFactor(sdk.ZeroDec()) + require.Equal(t, sdk.ZeroDec(), bondFactor) + }) + + t.Run("should return max bond factor if bond factor exceeds max bond factor", func(t *testing.T) { + params := DefaultParams() + params.TargetBondRatio = "0.5" + params.MaxBondFactor = "1.1" + params.MinBondFactor = "0.9" + + bondFactor := params.GetBondFactor(sdk.MustNewDecFromStr("0.25")) + require.Equal(t, sdk.MustNewDecFromStr(params.MaxBondFactor), bondFactor) + }) + + t.Run("should return min bond factor if bond factor below min bond factor", func(t *testing.T) { + params := DefaultParams() + params.TargetBondRatio = "0.5" + params.MaxBondFactor = "1.1" + params.MinBondFactor = "0.9" + + bondFactor := params.GetBondFactor(sdk.MustNewDecFromStr("0.75")) + require.Equal(t, sdk.MustNewDecFromStr(params.MinBondFactor), bondFactor) + }) + + t.Run("should return calculated bond factor if bond factor in range", func(t *testing.T) { + params := DefaultParams() + params.TargetBondRatio = "0.5" + params.MaxBondFactor = "1.1" + params.MinBondFactor = "0.9" + + bondFactor := params.GetBondFactor(sdk.MustNewDecFromStr("0.5")) + require.Equal(t, sdk.OneDec(), bondFactor) + }) +} diff --git a/x/emissions/types/tx.pb.go b/x/emissions/types/tx.pb.go index 7b59eb8cc2..b4a21c4664 100644 --- a/x/emissions/types/tx.pb.go +++ b/x/emissions/types/tx.pb.go @@ -111,32 +111,128 @@ func (m *MsgWithdrawEmissionResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgWithdrawEmissionResponse proto.InternalMessageInfo +type MsgUpdateParams struct { + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` +} + +func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } +func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParams) ProtoMessage() {} +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return fileDescriptor_618f91fd090d1520, []int{2} +} +func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParams.Merge(m, src) +} +func (m *MsgUpdateParams) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo + +func (m *MsgUpdateParams) GetAuthority() string { + if m != nil { + return m.Authority + } + return "" +} + +func (m *MsgUpdateParams) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +type MsgUpdateParamsResponse struct { +} + +func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } +func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParamsResponse) ProtoMessage() {} +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_618f91fd090d1520, []int{3} +} +func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) +} +func (m *MsgUpdateParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgWithdrawEmission)(nil), "zetachain.zetacore.emissions.MsgWithdrawEmission") proto.RegisterType((*MsgWithdrawEmissionResponse)(nil), "zetachain.zetacore.emissions.MsgWithdrawEmissionResponse") + proto.RegisterType((*MsgUpdateParams)(nil), "zetachain.zetacore.emissions.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "zetachain.zetacore.emissions.MsgUpdateParamsResponse") } func init() { proto.RegisterFile("emissions/tx.proto", fileDescriptor_618f91fd090d1520) } var fileDescriptor_618f91fd090d1520 = []byte{ - // 272 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4a, 0xcd, 0xcd, 0x2c, - 0x2e, 0xce, 0xcc, 0xcf, 0x2b, 0xd6, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, - 0xa9, 0x4a, 0x2d, 0x49, 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x03, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, - 0xe0, 0xca, 0xa4, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x0a, 0xf5, 0x41, 0x2c, 0x88, 0x1e, 0xa5, - 0x72, 0x2e, 0x61, 0xdf, 0xe2, 0xf4, 0xf0, 0xcc, 0x92, 0x8c, 0x94, 0xa2, 0xc4, 0x72, 0x57, 0xa8, - 0x6a, 0x21, 0x09, 0x2e, 0xf6, 0xe4, 0xa2, 0xd4, 0xc4, 0x92, 0xfc, 0x22, 0x09, 0x46, 0x05, 0x46, - 0x0d, 0xce, 0x20, 0x18, 0x57, 0xc8, 0x8d, 0x8b, 0x2d, 0x31, 0x37, 0xbf, 0x34, 0xaf, 0x44, 0x82, - 0x09, 0x24, 0xe1, 0xa4, 0x77, 0xe2, 0x9e, 0x3c, 0xc3, 0xad, 0x7b, 0xf2, 0x6a, 0xe9, 0x99, 0x25, - 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xc9, 0xf9, 0xc5, 0xb9, 0xf9, 0xc5, 0x50, 0x4a, - 0xb7, 0x38, 0x25, 0x5b, 0xbf, 0xa4, 0xb2, 0x20, 0xb5, 0x58, 0xcf, 0x33, 0xaf, 0x24, 0x08, 0xaa, - 0x5b, 0x49, 0x96, 0x4b, 0x1a, 0x8b, 0xc5, 0x41, 0xa9, 0xc5, 0x05, 0xf9, 0x79, 0xc5, 0xa9, 0x46, - 0x1d, 0x8c, 0x5c, 0xcc, 0xbe, 0xc5, 0xe9, 0x42, 0x0d, 0x8c, 0x5c, 0x02, 0x18, 0xae, 0x33, 0xd4, - 0xc3, 0xe7, 0x53, 0x3d, 0x2c, 0xe6, 0x4a, 0x59, 0x92, 0xac, 0x05, 0xe6, 0x14, 0x27, 0xaf, 0x13, - 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, - 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x40, 0xf2, 0x33, 0xc8, 0x50, 0x5d, - 0xb0, 0xf9, 0xfa, 0x30, 0xf3, 0xf5, 0x2b, 0xf4, 0x91, 0x62, 0x09, 0x14, 0x02, 0x49, 0x6c, 0xe0, - 0x50, 0x37, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x84, 0x03, 0xec, 0xd0, 0xbf, 0x01, 0x00, 0x00, + // 365 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x4f, 0x4b, 0xeb, 0x40, + 0x10, 0x4f, 0xde, 0x7b, 0xf4, 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, 0xdd, 0x1f, 0x84, 0x1d, + 0x0e, 0xb1, 0x88, 0x80, 0x5b, 0x80, 0xd6, 0x9a, 0xe0, 0xdd, 0xc6, 0x6d, 0xa6, 0xf8, 0x4d, 0xda, + 0x06, 0xae, 0xa2, 0x32, 0xeb, 0x28, 0x5f, 0xc8, 0x40, 0xf5, 0x73, 0x57, 0xd3, 0x04, 0xb6, 0x51, + 0x29, 0x6b, 0x37, 0xf5, 0xb5, 0xd2, 0x38, 0x20, 0x8b, 0x7e, 0x89, 0x64, 0x9c, 0xf6, 0xbf, 0xc4, + 0xbd, 0x93, 0x23, 0xad, 0x1d, 0xb4, 0x3d, 0x27, 0x5a, 0xf8, 0x69, 0xbc, 0xeb, 0xe8, 0x6f, 0x13, + 0x3c, 0xac, 0xd0, 0xea, 0x17, 0x53, 0xf5, 0xc5, 0x32, 0x73, 0x74, 0xc6, 0xd9, 0x52, 0xe5, 0x85, + 0x3a, 0x7e, 0xd2, 0xd1, 0xfa, 0xb7, 0x19, 0x9d, 0xfc, 0xca, 0x35, 0x0f, 0x31, 0xce, 0x97, 0x86, + 0x14, 0x16, 0xec, 0xeb, 0xc1, 0xd8, 0xd4, 0x87, 0x63, 0x53, 0x7f, 0x1b, 0x9b, 0xfa, 0xf3, 0xc4, + 0xd4, 0x86, 0x13, 0x53, 0x7b, 0x99, 0x98, 0xda, 0xfd, 0xf1, 0xcc, 0xe4, 0x13, 0xd2, 0x7a, 0xca, + 0x4f, 0x0b, 0x7e, 0xda, 0xa3, 0x33, 0x3b, 0x9c, 0xec, 0x41, 0xab, 0x94, 0xee, 0xde, 0xe9, 0x47, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x13, 0xe8, 0x88, 0xd7, 0xdd, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -151,6 +247,7 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) WithdrawEmission(ctx context.Context, in *MsgWithdrawEmission, opts ...grpc.CallOption) (*MsgWithdrawEmissionResponse, error) } @@ -162,6 +259,15 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { return &msgClient{cc} } +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, "/zetachain.zetacore.emissions.Msg/UpdateParams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *msgClient) WithdrawEmission(ctx context.Context, in *MsgWithdrawEmission, opts ...grpc.CallOption) (*MsgWithdrawEmissionResponse, error) { out := new(MsgWithdrawEmissionResponse) err := c.cc.Invoke(ctx, "/zetachain.zetacore.emissions.Msg/WithdrawEmission", in, out, opts...) @@ -173,6 +279,7 @@ func (c *msgClient) WithdrawEmission(ctx context.Context, in *MsgWithdrawEmissio // MsgServer is the server API for Msg service. type MsgServer interface { + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) WithdrawEmission(context.Context, *MsgWithdrawEmission) (*MsgWithdrawEmissionResponse, error) } @@ -180,6 +287,9 @@ type MsgServer interface { type UnimplementedMsgServer struct { } +func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} func (*UnimplementedMsgServer) WithdrawEmission(ctx context.Context, req *MsgWithdrawEmission) (*MsgWithdrawEmissionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WithdrawEmission not implemented") } @@ -188,6 +298,24 @@ func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) } +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zetachain.zetacore.emissions.Msg/UpdateParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) +} + func _Msg_WithdrawEmission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgWithdrawEmission) if err := dec(in); err != nil { @@ -210,6 +338,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "zetachain.zetacore.emissions.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, { MethodName: "WithdrawEmission", Handler: _Msg_WithdrawEmission_Handler, @@ -282,6 +414,69 @@ func (m *MsgWithdrawEmissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, er return len(dAtA) - i, nil } +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -317,6 +512,30 @@ func (m *MsgWithdrawEmissionResponse) Size() (n int) { return n } +func (m *MsgUpdateParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Params.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -489,6 +708,171 @@ func (m *MsgWithdrawEmissionResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/observer/client/cli/query.go b/x/observer/client/cli/query.go index b896dd9a71..61e82af1fa 100644 --- a/x/observer/client/cli/query.go +++ b/x/observer/client/cli/query.go @@ -25,7 +25,6 @@ func GetQueryCmd(_ string) *cobra.Command { } cmd.AddCommand( - CmdQueryParams(), CmdBallotByIdentifier(), CmdObserverSet(), CmdGetSupportedChains(), diff --git a/x/observer/client/cli/query_params.go b/x/observer/client/cli/query_params.go deleted file mode 100644 index cb2af7efdf..0000000000 --- a/x/observer/client/cli/query_params.go +++ /dev/null @@ -1,34 +0,0 @@ -package cli - -import ( - "context" - - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/spf13/cobra" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -func CmdQueryParams() *cobra.Command { - cmd := &cobra.Command{ - Use: "params", - Short: "shows the parameters of the module", - Args: cobra.NoArgs, - RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) - - queryClient := types.NewQueryClient(clientCtx) - - res, err := queryClient.Params(context.Background(), &types.QueryParamsRequest{}) - if err != nil { - return err - } - - return clientCtx.PrintProto(res) - }, - } - - flags.AddQueryFlagsToCmd(cmd) - - return cmd -} diff --git a/x/observer/genesis.go b/x/observer/genesis.go index b6d85757ff..0a40d9a147 100644 --- a/x/observer/genesis.go +++ b/x/observer/genesis.go @@ -43,14 +43,7 @@ func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) } } - params := types.DefaultParams() - if genState.Params != nil { - params = *genState.Params - } - k.SetParams(ctx, params) - // Set if defined - crosschainFlags := types.DefaultCrosschainFlags() if genState.CrosschainFlags != nil { crosschainFlags.IsOutboundEnabled = genState.CrosschainFlags.IsOutboundEnabled @@ -141,8 +134,6 @@ func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) // ExportGenesis returns the observer module's exported genesis. func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { - params := k.GetParamsIfExists(ctx) - chainParams, found := k.GetChainParamsList(ctx) if !found { chainParams = types.ChainParamsList{} @@ -198,7 +189,6 @@ func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { Ballots: k.GetAllBallots(ctx), ChainParamsList: chainParams, Observers: os, - Params: ¶ms, NodeAccountList: nodeAccounts, CrosschainFlags: cf, Keygen: kn, diff --git a/x/observer/genesis_test.go b/x/observer/genesis_test.go index 62e442e9ba..086a5cddc4 100644 --- a/x/observer/genesis_test.go +++ b/x/observer/genesis_test.go @@ -13,10 +13,8 @@ import ( func TestGenesis(t *testing.T) { t.Run("genState fields defined", func(t *testing.T) { - params := types.DefaultParams() tss := sample.Tss() genesisState := types.GenesisState{ - Params: ¶ms, Tss: &tss, BlameList: sample.BlameRecordsList(t, 10), Ballots: []*types.Ballot{ @@ -65,7 +63,6 @@ func TestGenesis(t *testing.T) { got := observer.ExportGenesis(ctx, *k) require.NotNil(t, got) - defaultParams := types.DefaultParams() btcChainParams := types.GetDefaultBtcRegtestChainParams() btcChainParams.IsSupported = true goerliChainParams := types.GetDefaultGoerliLocalnetChainParams() @@ -80,7 +77,6 @@ func TestGenesis(t *testing.T) { }, } expectedGenesisState := types.GenesisState{ - Params: &defaultParams, CrosschainFlags: types.DefaultCrosschainFlags(), ChainParamsList: localnetChainParams, Tss: &types.TSS{}, @@ -103,7 +99,6 @@ func TestGenesis(t *testing.T) { got := observer.ExportGenesis(ctx, *k) require.NotNil(t, got) - defaultParams := types.DefaultParams() btcChainParams := types.GetDefaultBtcRegtestChainParams() btcChainParams.IsSupported = true goerliChainParams := types.GetDefaultGoerliLocalnetChainParams() @@ -121,7 +116,6 @@ func TestGenesis(t *testing.T) { require.NoError(t, err) require.NotEmpty(t, pendingNonces) expectedGenesisState := types.GenesisState{ - Params: &defaultParams, CrosschainFlags: types.DefaultCrosschainFlags(), ChainParamsList: localnetChainParams, Tss: &tss, @@ -140,9 +134,7 @@ func TestGenesis(t *testing.T) { got := observer.ExportGenesis(ctx, *k) require.NotNil(t, got) - params := k.GetParamsIfExists(ctx) expectedGenesisState := types.GenesisState{ - Params: ¶ms, CrosschainFlags: types.DefaultCrosschainFlags(), ChainParamsList: types.ChainParamsList{}, Tss: &types.TSS{}, diff --git a/x/observer/keeper/ballot.go b/x/observer/keeper/ballot.go index 4c960743ac..5a05a5e76b 100644 --- a/x/observer/keeper/ballot.go +++ b/x/observer/keeper/ballot.go @@ -39,6 +39,10 @@ func (k Keeper) GetBallotList(ctx sdk.Context, height int64) (val types.BallotLi return val, true } +func (k Keeper) GetMaturedBallots(ctx sdk.Context, maturityBlocks int64) (val types.BallotListForHeight, found bool) { + return k.GetBallotList(ctx, ctx.BlockHeight()-maturityBlocks) +} + func (k Keeper) GetAllBallots(ctx sdk.Context) (voters []*types.Ballot) { store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.VoterKey)) iterator := sdk.KVStorePrefixIterator(store, []byte{}) @@ -60,13 +64,3 @@ func (k Keeper) AddBallotToList(ctx sdk.Context, ballot types.Ballot) { list.BallotsIndexList = append(list.BallotsIndexList, ballot.BallotIdentifier) k.SetBallotList(ctx, &list) } - -// GetMaturedBallotList Returns a list of ballots which are matured at current height -func (k Keeper) GetMaturedBallotList(ctx sdk.Context) []string { - maturityBlocks := k.GetParamsIfExists(ctx).BallotMaturityBlocks - list, found := k.GetBallotList(ctx, ctx.BlockHeight()-maturityBlocks) - if !found { - return []string{} - } - return list.BallotsIndexList -} diff --git a/x/observer/keeper/ballot_test.go b/x/observer/keeper/ballot_test.go index 8d71aaa720..e7511a3fe4 100644 --- a/x/observer/keeper/ballot_test.go +++ b/x/observer/keeper/ballot_test.go @@ -1,7 +1,6 @@ package keeper_test import ( - "math" "testing" sdk "github.com/cosmos/cosmos-sdk/types" @@ -75,6 +74,29 @@ func TestKeeper_GetBallotList(t *testing.T) { require.Equal(t, identifier, list.BallotsIndexList[0]) } +func TestKeeper_GetMaturedBallots(t *testing.T) { + k, ctx, _, _ := keepertest.ObserverKeeper(t) + identifier := sample.ZetaIndex(t) + b := &types.Ballot{ + Index: "", + BallotIdentifier: identifier, + VoterList: nil, + ObservationType: 0, + BallotThreshold: sdk.Dec{}, + BallotStatus: 0, + BallotCreationHeight: 1, + } + ctx = ctx.WithBlockHeight(2) + _, found := k.GetMaturedBallots(ctx, 1) + require.False(t, found) + + k.AddBallotToList(ctx, *b) + list, found := k.GetMaturedBallots(ctx, 1) + require.True(t, found) + require.Equal(t, 1, len(list.BallotsIndexList)) + require.Equal(t, identifier, list.BallotsIndexList[0]) +} + func TestKeeper_GetAllBallots(t *testing.T) { k, ctx, _, _ := keepertest.ObserverKeeper(t) identifier := sample.ZetaIndex(t) @@ -95,68 +117,3 @@ func TestKeeper_GetAllBallots(t *testing.T) { require.Equal(t, 1, len(ballots)) require.Equal(t, b, ballots[0]) } - -func TestKeeper_GetMaturedBallotList(t *testing.T) { - t.Run("should return if maturity blocks less than height", func(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - identifier := sample.ZetaIndex(t) - b := &types.Ballot{ - Index: "", - BallotIdentifier: identifier, - VoterList: nil, - ObservationType: 0, - BallotThreshold: sdk.Dec{}, - BallotStatus: 0, - BallotCreationHeight: 1, - } - list := k.GetMaturedBallotList(ctx) - require.Empty(t, list) - ctx = ctx.WithBlockHeight(101) - k.AddBallotToList(ctx, *b) - list = k.GetMaturedBallotList(ctx) - require.Equal(t, 1, len(list)) - require.Equal(t, identifier, list[0]) - }) - - t.Run("should return empty for max maturity blocks", func(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - identifier := sample.ZetaIndex(t) - b := &types.Ballot{ - Index: "", - BallotIdentifier: identifier, - VoterList: nil, - ObservationType: 0, - BallotThreshold: sdk.Dec{}, - BallotStatus: 0, - BallotCreationHeight: 1, - } - k.SetParams(ctx, types.Params{ - BallotMaturityBlocks: math.MaxInt64, - }) - list := k.GetMaturedBallotList(ctx) - require.Empty(t, list) - k.AddBallotToList(ctx, *b) - list = k.GetMaturedBallotList(ctx) - require.Empty(t, list) - }) - - t.Run("should return empty if maturity blocks greater than height", func(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - identifier := sample.ZetaIndex(t) - b := &types.Ballot{ - Index: "", - BallotIdentifier: identifier, - VoterList: nil, - ObservationType: 0, - BallotThreshold: sdk.Dec{}, - BallotStatus: 0, - BallotCreationHeight: 1, - } - list := k.GetMaturedBallotList(ctx) - require.Empty(t, list) - ctx = ctx.WithBlockHeight(1) - k.AddBallotToList(ctx, *b) - list = k.GetMaturedBallotList(ctx) - require.Empty(t, list) - }) -} diff --git a/x/observer/keeper/grpc_query_params.go b/x/observer/keeper/grpc_query_params.go deleted file mode 100644 index ef095420af..0000000000 --- a/x/observer/keeper/grpc_query_params.go +++ /dev/null @@ -1,19 +0,0 @@ -package keeper - -import ( - "context" - - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/zeta-chain/zetacore/x/observer/types" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" -) - -func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { - if req == nil { - return nil, status.Error(codes.InvalidArgument, "invalid request") - } - ctx := sdk.UnwrapSDKContext(c) - return &types.QueryParamsResponse{ - Params: k.GetParamsIfExists(ctx)}, nil -} diff --git a/x/observer/keeper/grpc_query_params_test.go b/x/observer/keeper/grpc_query_params_test.go deleted file mode 100644 index a1de6c63b2..0000000000 --- a/x/observer/keeper/grpc_query_params_test.go +++ /dev/null @@ -1,21 +0,0 @@ -package keeper_test - -import ( - "testing" - - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/stretchr/testify/require" - keepertest "github.com/zeta-chain/zetacore/testutil/keeper" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -func TestParamsQuery(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - wctx := sdk.WrapSDKContext(ctx) - params := types.DefaultParams() - k.SetParams(ctx, params) - - response, err := k.Params(wctx, &types.QueryParamsRequest{}) - require.NoError(t, err) - require.Equal(t, &types.QueryParamsResponse{Params: params}, response) -} diff --git a/x/observer/keeper/keeper.go b/x/observer/keeper/keeper.go index 7d72d49f06..ff693970f9 100644 --- a/x/observer/keeper/keeper.go +++ b/x/observer/keeper/keeper.go @@ -6,7 +6,6 @@ import ( "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/x/observer/types" ) @@ -16,11 +15,11 @@ type ( cdc codec.BinaryCodec storeKey storetypes.StoreKey memKey storetypes.StoreKey - paramstore paramtypes.Subspace stakingKeeper types.StakingKeeper slashingKeeper types.SlashingKeeper authorityKeeper types.AuthorityKeeper lightclientKeeper types.LightclientKeeper + authority string } ) @@ -28,27 +27,27 @@ func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, - ps paramtypes.Subspace, stakingKeeper types.StakingKeeper, slashinKeeper types.SlashingKeeper, authorityKeeper types.AuthorityKeeper, lightclientKeeper types.LightclientKeeper, + authority string, ) *Keeper { - // set KeyTable if it has not already been set - if !ps.HasKeyTable() { - ps = ps.WithKeyTable(types.ParamKeyTable()) + if _, err := sdk.AccAddressFromBech32(authority); err != nil { + panic(err) } return &Keeper{ cdc: cdc, storeKey: storeKey, memKey: memKey, - paramstore: ps, stakingKeeper: stakingKeeper, slashingKeeper: slashinKeeper, authorityKeeper: authorityKeeper, lightclientKeeper: lightclientKeeper, + authority: authority, } + } func (k Keeper) GetSlashingKeeper() types.SlashingKeeper { @@ -78,3 +77,7 @@ func (k Keeper) StoreKey() storetypes.StoreKey { func (k Keeper) Codec() codec.BinaryCodec { return k.cdc } + +func (k Keeper) GetAuthority() string { + return k.authority +} diff --git a/x/observer/keeper/migrator.go b/x/observer/keeper/migrator.go index c4b676884c..13ce8b52a8 100644 --- a/x/observer/keeper/migrator.go +++ b/x/observer/keeper/migrator.go @@ -2,12 +2,6 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - v2 "github.com/zeta-chain/zetacore/x/observer/migrations/v2" - v3 "github.com/zeta-chain/zetacore/x/observer/migrations/v3" - v4 "github.com/zeta-chain/zetacore/x/observer/migrations/v4" - v5 "github.com/zeta-chain/zetacore/x/observer/migrations/v5" - v6 "github.com/zeta-chain/zetacore/x/observer/migrations/v6" - v7 "github.com/zeta-chain/zetacore/x/observer/migrations/v7" ) // Migrator is a struct for handling in-place store migrations. @@ -23,28 +17,28 @@ func NewMigrator(keeper Keeper) Migrator { } // Migrate1to2 migrates the store from consensus version 1 to 2 -func (m Migrator) Migrate1to2(ctx sdk.Context) error { - return v2.MigrateStore(ctx, m.observerKeeper.storeKey, m.observerKeeper.cdc) +func (m Migrator) Migrate1to2(_ sdk.Context) error { + return nil } // Migrate2to3 migrates the store from consensus version 2 to 3 -func (m Migrator) Migrate2to3(ctx sdk.Context) error { - return v3.MigrateStore(ctx, m.observerKeeper) +func (m Migrator) Migrate2to3(_ sdk.Context) error { + return nil } -func (m Migrator) Migrate3to4(ctx sdk.Context) error { - return v4.MigrateStore(ctx, m.observerKeeper) +func (m Migrator) Migrate3to4(_ sdk.Context) error { + return nil } -func (m Migrator) Migrate4to5(ctx sdk.Context) error { - return v5.MigrateStore(ctx, m.observerKeeper) +func (m Migrator) Migrate4to5(_ sdk.Context) error { + return nil } -func (m Migrator) Migrate5to6(ctx sdk.Context) error { - return v6.MigrateStore(ctx, m.observerKeeper) +func (m Migrator) Migrate5to6(_ sdk.Context) error { + return nil } // Migrate6to7 migrates the store from consensus version 6 to 7 -func (m Migrator) Migrate6to7(ctx sdk.Context) error { - return v7.MigrateStore(ctx, m.observerKeeper) +func (m Migrator) Migrate6to7(_ sdk.Context) error { + return nil } diff --git a/x/observer/keeper/params.go b/x/observer/keeper/params.go deleted file mode 100644 index f137d04a18..0000000000 --- a/x/observer/keeper/params.go +++ /dev/null @@ -1,16 +0,0 @@ -package keeper - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -func (k Keeper) GetParamsIfExists(ctx sdk.Context) (params types.Params) { - k.paramstore.GetParamSetIfExists(ctx, ¶ms) - return -} - -// SetParams set the params -func (k Keeper) SetParams(ctx sdk.Context, params types.Params) { - k.paramstore.SetParamSet(ctx, ¶ms) -} diff --git a/x/observer/keeper/params_test.go b/x/observer/keeper/params_test.go deleted file mode 100644 index 309d66df9b..0000000000 --- a/x/observer/keeper/params_test.go +++ /dev/null @@ -1,36 +0,0 @@ -package keeper_test - -import ( - "fmt" - "strconv" - "testing" - - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tendermint/tendermint/crypto" - - "github.com/stretchr/testify/require" - keepertest "github.com/zeta-chain/zetacore/testutil/keeper" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -func TestGetParams(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - params := types.DefaultParams() - - k.SetParams(ctx, params) - - require.EqualValues(t, params, k.GetParamsIfExists(ctx)) -} - -func TestGenerateAddress(t *testing.T) { - addr := sdk.AccAddress(crypto.AddressHash([]byte("Output1" + strconv.Itoa(1)))) - addrString := addr.String() - fmt.Println(addrString) - addbech32, _ := sdk.AccAddressFromBech32(addrString) - valAddress := sdk.ValAddress(addbech32) - v, _ := sdk.ValAddressFromBech32(valAddress.String()) - fmt.Println(v.String()) - accAddress := sdk.AccAddress(v) - a, _ := sdk.AccAddressFromBech32(accAddress.String()) - fmt.Println(a.String()) -} diff --git a/x/observer/migrations/v2/migrate.go b/x/observer/migrations/v2/migrate.go deleted file mode 100644 index 65027291d2..0000000000 --- a/x/observer/migrations/v2/migrate.go +++ /dev/null @@ -1,27 +0,0 @@ -package v2 - -import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -// MigrateStore migrates the x/observer module state from the consensus version 1 to 2 -/* This migration adds a -- new permission flag to the observer module called IsOutboundEnabled -*/ -func MigrateStore( - ctx sdk.Context, - observerStoreKey storetypes.StoreKey, - cdc codec.BinaryCodec, -) error { - store := prefix.NewStore(ctx.KVStore(observerStoreKey), types.KeyPrefix(types.CrosschainFlagsKey)) - b := cdc.MustMarshal(&types.CrosschainFlags{ - IsInboundEnabled: true, - IsOutboundEnabled: true, - }) - store.Set([]byte{0}, b) - return nil -} diff --git a/x/observer/migrations/v3/migrate.go b/x/observer/migrations/v3/migrate.go deleted file mode 100644 index 8c8a82b08b..0000000000 --- a/x/observer/migrations/v3/migrate.go +++ /dev/null @@ -1,36 +0,0 @@ -package v3 - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -type ObserverKeeper interface { - GetParamsIfExists(ctx sdk.Context) types.Params - SetParams(ctx sdk.Context, params types.Params) -} - -// MigrateStore migrates the x/observer module state from the consensus version 2 to 3 -// This migration update the policy group -func MigrateStore(ctx sdk.Context, k ObserverKeeper) error { - // Get first admin policy group - p := k.GetParamsIfExists(ctx) - if len(p.AdminPolicy) == 0 || p.AdminPolicy[0] == nil { - return nil - } - - admin := p.AdminPolicy[0].Address - p.AdminPolicy = []*types.Admin_Policy{ - { - Address: admin, - PolicyType: types.Policy_Type_group1, - }, - { - Address: admin, - PolicyType: types.Policy_Type_group2, - }, - } - k.SetParams(ctx, p) - - return nil -} diff --git a/x/observer/migrations/v3/migrate_test.go b/x/observer/migrations/v3/migrate_test.go deleted file mode 100644 index 2ff0b36255..0000000000 --- a/x/observer/migrations/v3/migrate_test.go +++ /dev/null @@ -1,51 +0,0 @@ -package v3_test - -import ( - "testing" - - "github.com/stretchr/testify/require" - keepertest "github.com/zeta-chain/zetacore/testutil/keeper" - "github.com/zeta-chain/zetacore/testutil/sample" - v3 "github.com/zeta-chain/zetacore/x/observer/migrations/v3" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -func TestMigrateStore(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - - // nothing if no admin policy - params := types.DefaultParams() - params.AdminPolicy = []*types.Admin_Policy{} - k.SetParams(ctx, params) - err := v3.MigrateStore(ctx, k) - require.NoError(t, err) - params = k.GetParamsIfExists(ctx) - require.Len(t, params.AdminPolicy, 0) - - // update admin policy - admin := sample.AccAddress() - params = types.DefaultParams() - params.AdminPolicy = []*types.Admin_Policy{ - { - Address: admin, - PolicyType: 0, - }, - { - Address: sample.AccAddress(), - PolicyType: 5, - }, - { - Address: admin, - PolicyType: 10, - }, - } - k.SetParams(ctx, params) - err = v3.MigrateStore(ctx, k) - require.NoError(t, err) - params = k.GetParamsIfExists(ctx) - require.Len(t, params.AdminPolicy, 2) - require.Equal(t, params.AdminPolicy[0].PolicyType, types.Policy_Type_group1) - require.Equal(t, params.AdminPolicy[1].PolicyType, types.Policy_Type_group2) - require.Equal(t, params.AdminPolicy[0].Address, admin) - require.Equal(t, params.AdminPolicy[1].Address, admin) -} diff --git a/x/observer/migrations/v4/migrate.go b/x/observer/migrations/v4/migrate.go deleted file mode 100644 index 9ca22467a2..0000000000 --- a/x/observer/migrations/v4/migrate.go +++ /dev/null @@ -1,43 +0,0 @@ -package v4 - -import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -// observerKeeper prevents circular dependency -type observerKeeper interface { - SetParams(ctx sdk.Context, params types.Params) - GetChainParamsList(ctx sdk.Context) (params types.ChainParamsList, found bool) - SetChainParamsList(ctx sdk.Context, params types.ChainParamsList) - StoreKey() storetypes.StoreKey - Codec() codec.BinaryCodec -} - -func MigrateStore(ctx sdk.Context, observerKeeper observerKeeper) error { - return MigrateCrosschainFlags(ctx, observerKeeper.StoreKey(), observerKeeper.Codec()) -} - -func MigrateCrosschainFlags(ctx sdk.Context, observerStoreKey storetypes.StoreKey, cdc codec.BinaryCodec) error { - newCrossChainFlags := types.DefaultCrosschainFlags() - var val types.LegacyCrosschainFlags - store := prefix.NewStore(ctx.KVStore(observerStoreKey), types.KeyPrefix(types.CrosschainFlagsKey)) - b := store.Get([]byte{0}) - if b != nil { - cdc.MustUnmarshal(b, &val) - if val.GasPriceIncreaseFlags != nil { - newCrossChainFlags.GasPriceIncreaseFlags = val.GasPriceIncreaseFlags - } - newCrossChainFlags.IsOutboundEnabled = val.IsOutboundEnabled - newCrossChainFlags.IsInboundEnabled = val.IsInboundEnabled - } - b, err := cdc.Marshal(newCrossChainFlags) - if err != nil { - return err - } - store.Set([]byte{0}, b) - return nil -} diff --git a/x/observer/migrations/v4/migrate_test.go b/x/observer/migrations/v4/migrate_test.go deleted file mode 100644 index 64cbeaedef..0000000000 --- a/x/observer/migrations/v4/migrate_test.go +++ /dev/null @@ -1,31 +0,0 @@ -package v4_test - -import ( - "testing" - - "github.com/cosmos/cosmos-sdk/store/prefix" - "github.com/stretchr/testify/require" - keepertest "github.com/zeta-chain/zetacore/testutil/keeper" - v4 "github.com/zeta-chain/zetacore/x/observer/migrations/v4" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -func TestMigrateCrosschainFlags(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - store := prefix.NewStore(ctx.KVStore(k.StoreKey()), types.KeyPrefix(types.CrosschainFlagsKey)) - legacyFlags := types.LegacyCrosschainFlags{ - IsInboundEnabled: false, - IsOutboundEnabled: false, - GasPriceIncreaseFlags: &types.DefaultGasPriceIncreaseFlags, - } - val := k.Codec().MustMarshal(&legacyFlags) - store.Set([]byte{0}, val) - - err := v4.MigrateCrosschainFlags(ctx, k.StoreKey(), k.Codec()) - require.NoError(t, err) - - flags, found := k.GetCrosschainFlags(ctx) - require.True(t, found) - require.True(t, flags.BlockHeaderVerificationFlags.IsBtcTypeChainEnabled) - require.True(t, flags.BlockHeaderVerificationFlags.IsEthTypeChainEnabled) -} diff --git a/x/observer/migrations/v5/migrate.go b/x/observer/migrations/v5/migrate.go deleted file mode 100644 index 2eb261a3f4..0000000000 --- a/x/observer/migrations/v5/migrate.go +++ /dev/null @@ -1,82 +0,0 @@ -package v5 - -import ( - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/store/prefix" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -// observerKeeper prevents circular dependency -type observerKeeper interface { - GetParamsIfExists(ctx sdk.Context) types.Params - SetParams(ctx sdk.Context, params types.Params) - GetChainParamsList(ctx sdk.Context) (params types.ChainParamsList, found bool) - SetChainParamsList(ctx sdk.Context, params types.ChainParamsList) - StoreKey() storetypes.StoreKey - Codec() codec.BinaryCodec -} - -func MigrateStore(ctx sdk.Context, observerKeeper observerKeeper) error { - if err := MigrateObserverMapper(ctx, observerKeeper.StoreKey(), observerKeeper.Codec()); err != nil { - return err - } - return MigrateObserverParams(ctx, observerKeeper) -} - -func MigrateObserverMapper(ctx sdk.Context, observerStoreKey storetypes.StoreKey, cdc codec.BinaryCodec) error { - var legacyObserverMappers []*types.ObserverMapper - legacyObserverMapperStore := prefix.NewStore(ctx.KVStore(observerStoreKey), types.KeyPrefix(types.ObserverMapperKey)) - iterator := sdk.KVStorePrefixIterator(legacyObserverMapperStore, []byte{}) - defer iterator.Close() - for ; iterator.Valid(); iterator.Next() { - var val types.ObserverMapper - cdc.MustUnmarshal(iterator.Value(), &val) - legacyObserverMappers = append(legacyObserverMappers, &val) - } - - // We can safely assume that the observer list is the same for all the observer mappers - observerList := legacyObserverMappers[0].ObserverList - - storelastBlockObserverCount := prefix.NewStore(ctx.KVStore(observerStoreKey), types.KeyPrefix(types.LastBlockObserverCountKey)) - b := cdc.MustMarshal(&types.LastObserverCount{Count: uint64(len(observerList)), LastChangeHeight: ctx.BlockHeight()}) - storelastBlockObserverCount.Set([]byte{0}, b) - - storeObserverSet := prefix.NewStore(ctx.KVStore(observerStoreKey), types.KeyPrefix(types.ObserverSetKey)) - b = cdc.MustMarshal(&types.ObserverSet{ObserverList: observerList}) - storeObserverSet.Set([]byte{0}, b) - - for _, legacyObserverMapper := range legacyObserverMappers { - legacyObserverMapperStore.Delete(types.KeyPrefix(legacyObserverMapper.Index)) - } - return nil -} - -// MigrateObserverParams migrates the observer params to the chain params -// the function assumes that each observer params entry has a corresponding chain params entry -// if the chain is not found, the observer params entry is ignored because it is considered as not supported -func MigrateObserverParams(ctx sdk.Context, observerKeeper observerKeeper) error { - chainParamsList, found := observerKeeper.GetChainParamsList(ctx) - if !found { - // no chain params found, nothing to migrate - return nil - } - - // search for the observer params with chain params entry - observerParams := observerKeeper.GetParamsIfExists(ctx).ObserverParams - for _, observerParam := range observerParams { - for i := range chainParamsList.ChainParams { - // if the chain is found, update the chain params with the observer params - if chainParamsList.ChainParams[i].ChainId == observerParam.Chain.ChainId { - chainParamsList.ChainParams[i].MinObserverDelegation = observerParam.MinObserverDelegation - chainParamsList.ChainParams[i].BallotThreshold = observerParam.BallotThreshold - chainParamsList.ChainParams[i].IsSupported = observerParam.IsSupported - break - } - } - } - - observerKeeper.SetChainParamsList(ctx, chainParamsList) - return nil -} diff --git a/x/observer/migrations/v5/migrate_test.go b/x/observer/migrations/v5/migrate_test.go deleted file mode 100644 index 40d072230d..0000000000 --- a/x/observer/migrations/v5/migrate_test.go +++ /dev/null @@ -1,115 +0,0 @@ -package v5_test - -import ( - "testing" - - "github.com/cosmos/cosmos-sdk/store/prefix" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/stretchr/testify/require" - "github.com/zeta-chain/zetacore/pkg/chains" - keepertest "github.com/zeta-chain/zetacore/testutil/keeper" - "github.com/zeta-chain/zetacore/testutil/sample" - v5 "github.com/zeta-chain/zetacore/x/observer/migrations/v5" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -func TestMigrateObserverMapper(t *testing.T) { - t.Run("TestMigrateStore", func(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - legacyObserverMapperStore := prefix.NewStore(ctx.KVStore(k.StoreKey()), types.KeyPrefix(types.ObserverMapperKey)) - legacyObserverMapperList := sample.LegacyObserverMapperList(t, 12, "sample") - for _, legacyObserverMapper := range legacyObserverMapperList { - legacyObserverMapperStore.Set(types.KeyPrefix(legacyObserverMapper.Index), k.Codec().MustMarshal(legacyObserverMapper)) - } - err := v5.MigrateObserverMapper(ctx, k.StoreKey(), k.Codec()) - require.NoError(t, err) - observerSet, found := k.GetObserverSet(ctx) - require.True(t, found) - - require.Equal(t, legacyObserverMapperList[0].ObserverList, observerSet.ObserverList) - iterator := sdk.KVStorePrefixIterator(legacyObserverMapperStore, []byte{}) - defer iterator.Close() - - var observerMappers []*types.ObserverMapper - for ; iterator.Valid(); iterator.Next() { - var val types.ObserverMapper - if !iterator.Valid() { - k.Codec().MustUnmarshal(iterator.Value(), &val) - observerMappers = append(observerMappers, &val) - } - } - require.Equal(t, 0, len(observerMappers)) - }) -} - -func TestMigrateObserverParams(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - - // set chain params - previousChainParamsList := types.ChainParamsList{ - ChainParams: []*types.ChainParams{ - sample.ChainParams(1), - sample.ChainParams(2), - sample.ChainParams(3), - sample.ChainParams(4), - }, - } - k.SetChainParamsList(ctx, previousChainParamsList) - - // set observer params - dec42, err := sdk.NewDecFromStr("0.42") - require.NoError(t, err) - dec43, err := sdk.NewDecFromStr("0.43") - require.NoError(t, err) - dec1000, err := sdk.NewDecFromStr("1000.0") - require.NoError(t, err) - dec1001, err := sdk.NewDecFromStr("1001.0") - require.NoError(t, err) - params := types.Params{ - ObserverParams: []*types.ObserverParams{ - { - Chain: &chains.Chain{ChainId: 2}, - BallotThreshold: dec42, - MinObserverDelegation: dec1000, - IsSupported: true, - }, - { - Chain: &chains.Chain{ChainId: 3}, - BallotThreshold: dec43, - MinObserverDelegation: dec1001, - IsSupported: true, - }, - }, - } - k.SetParams(ctx, params) - - // perform migration - err = v5.MigrateObserverParams(ctx, *k) - require.NoError(t, err) - - // check chain params - newChainParamsList, found := k.GetChainParamsList(ctx) - require.True(t, found) - - // unchanged values - require.EqualValues(t, previousChainParamsList.ChainParams[0], newChainParamsList.ChainParams[0]) - require.EqualValues(t, previousChainParamsList.ChainParams[3], newChainParamsList.ChainParams[3]) - - // changed values - require.EqualValues(t, dec42, newChainParamsList.ChainParams[1].BallotThreshold) - require.EqualValues(t, dec1000, newChainParamsList.ChainParams[1].MinObserverDelegation) - require.EqualValues(t, dec43, newChainParamsList.ChainParams[2].BallotThreshold) - require.EqualValues(t, dec1001, newChainParamsList.ChainParams[2].MinObserverDelegation) - require.True(t, newChainParamsList.ChainParams[1].IsSupported) - require.True(t, newChainParamsList.ChainParams[2].IsSupported) - - // check remaining values are unchanged - previousChainParamsList.ChainParams[1].BallotThreshold = dec42 - previousChainParamsList.ChainParams[2].BallotThreshold = dec43 - previousChainParamsList.ChainParams[1].MinObserverDelegation = dec1000 - previousChainParamsList.ChainParams[2].MinObserverDelegation = dec1001 - previousChainParamsList.ChainParams[1].IsSupported = true - previousChainParamsList.ChainParams[2].IsSupported = true - require.EqualValues(t, previousChainParamsList.ChainParams[1], newChainParamsList.ChainParams[1]) - require.EqualValues(t, previousChainParamsList.ChainParams[2], newChainParamsList.ChainParams[2]) -} diff --git a/x/observer/migrations/v6/migrate.go b/x/observer/migrations/v6/migrate.go deleted file mode 100644 index a678c8a54d..0000000000 --- a/x/observer/migrations/v6/migrate.go +++ /dev/null @@ -1,39 +0,0 @@ -package v6 - -import ( - "github.com/cosmos/cosmos-sdk/codec" - storetypes "github.com/cosmos/cosmos-sdk/store/types" - sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -// observerKeeper prevents circular dependency -type observerKeeper interface { - SetKeygen(ctx sdk.Context, keygen types.Keygen) - GetKeygen(ctx sdk.Context) (val types.Keygen, found bool) - GetTSS(ctx sdk.Context) (val types.TSS, found bool) - StoreKey() storetypes.StoreKey - Codec() codec.BinaryCodec -} - -func MigrateStore(ctx sdk.Context, observerKeeper observerKeeper) error { - return SetKeyGenStatus(ctx, observerKeeper) -} - -func SetKeyGenStatus(ctx sdk.Context, keeper observerKeeper) error { - keygen, found := keeper.GetKeygen(ctx) - if !found { - return types.ErrKeygenNotFound - } - if keygen.Status == types.KeygenStatus_PendingKeygen { - tss, foundTss := keeper.GetTSS(ctx) - if !foundTss { - return types.ErrTssNotFound - } - keygen.Status = types.KeygenStatus_KeyGenSuccess - keygen.BlockNumber = tss.KeyGenZetaHeight - keygen.GranteePubkeys = tss.TssParticipantList - keeper.SetKeygen(ctx, keygen) - } - return nil -} diff --git a/x/observer/migrations/v6/migrate_test.go b/x/observer/migrations/v6/migrate_test.go deleted file mode 100644 index a9159aefc4..0000000000 --- a/x/observer/migrations/v6/migrate_test.go +++ /dev/null @@ -1,87 +0,0 @@ -package v6_test - -import ( - "math" - "testing" - - "github.com/stretchr/testify/require" - keepertest "github.com/zeta-chain/zetacore/testutil/keeper" - v6 "github.com/zeta-chain/zetacore/x/observer/migrations/v6" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -func TestMigrateObserverParams(t *testing.T) { - t.Run("Migrate when keygen is Pending", func(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - k.SetKeygen(ctx, types.Keygen{ - Status: types.KeygenStatus_PendingKeygen, - BlockNumber: math.MaxInt64, - }) - participantList := []string{ - "zetapub1addwnpepqglunjrgl3qg08duxq9pf28jmvrer3crwnnfzp6m0u0yh9jk9mnn5p76utc", - "zetapub1addwnpepqwwpjwwnes7cywfkr0afme7ymk8rf5jzhn8pfr6qqvfm9v342486qsrh4f5", - "zetapub1addwnpepq07xj82w5e6vr85qj3r7htmzh2mp3vkvfraapcv6ynhdwankseayk5yh80t", - "zetapub1addwnpepq0lxqx92m3fhae3usn8jffqvtx6cuzl06xh9r345c2qcqq8zyfs4cdpqcum", - "zetapub1addwnpepqvzlntzltvpm22ved5gjtn9nzqfz5fun38el4r64njc979rwanxlgq4u3p8", - "zetapub1addwnpepqg40psrhwwgy257p4xv50xp0asmtwjup66z8vk829289zxge5lyl7sycga8", - "zetapub1addwnpepqgpr5ffquqchra93r8l6d35q62cv4nsc9d4k2q7kten4sljxg5rluwx29gh", - "zetapub1addwnpepqdjf3vt8etgdddkghrvxfmmmeatky6m7hx7wjuv86udfghqpty8h5h4r78w", - "zetapub1addwnpepqtfcfmsdkzdgv03t8392gsh7kzrstp9g864w2ltz9k0xzz33q60dq6mnkex", - } - operatorList := []string{ - "zeta19jr7nl82lrktge35f52x9g5y5prmvchmk40zhg", - "zeta1cxj07f3ju484ry2cnnhxl5tryyex7gev0yzxtj", - "zeta1hjct6q7npsspsg3dgvzk3sdf89spmlpf7rqmnw", - "zeta1k6vh9y7ctn06pu5jngznv5dyy0rltl2qp0j30g", - "zeta1l07weaxkmn6z69qm55t53v4rfr43eys4cjz54h", - "zeta1p0uwsq4naus5r4l7l744upy0k8ezzj84mn40nf", - "zeta1rhj4pkp7eygw8lu9wacpepeh0fnzdxrqr27g6m", - "zeta1t0uj2z93jd2g3w94zl3jhfrn2ek6dnuk3v93j9", - "zeta1t5pgk2fucx3drkynzew9zln5z9r7s3wqqyy0pe", - } - keygenHeight := int64(1440460) - finalizedZetaHeight := int64(1440680) - k.SetTSS(ctx, types.TSS{ - KeyGenZetaHeight: keygenHeight, - TssParticipantList: participantList, - TssPubkey: "zetapub1addwnpepqtadxdyt037h86z60nl98t6zk56mw5zpnm79tsmvspln3hgt5phdc79kvfc", - OperatorAddressList: operatorList, - FinalizedZetaHeight: finalizedZetaHeight, - }) - err := v6.MigrateStore(ctx, k) - require.NoError(t, err) - keygen, found := k.GetKeygen(ctx) - require.True(t, found) - require.Equal(t, types.KeygenStatus_KeyGenSuccess, keygen.Status) - require.Equal(t, keygenHeight, keygenHeight) - require.Equal(t, participantList, participantList) - }) - t.Run("Migrate when keygen is not Pending", func(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - participantList := []string{ - "zetapub1addwnpepqglunjrgl3qg08duxq9pf28jmvrer3crwnnfzp6m0u0yh9jk9mnn5p76utc", - "zetapub1addwnpepqwwpjwwnes7cywfkr0afme7ymk8rf5jzhn8pfr6qqvfm9v342486qsrh4f5", - "zetapub1addwnpepq07xj82w5e6vr85qj3r7htmzh2mp3vkvfraapcv6ynhdwankseayk5yh80t", - "zetapub1addwnpepq0lxqx92m3fhae3usn8jffqvtx6cuzl06xh9r345c2qcqq8zyfs4cdpqcum", - "zetapub1addwnpepqvzlntzltvpm22ved5gjtn9nzqfz5fun38el4r64njc979rwanxlgq4u3p8", - "zetapub1addwnpepqg40psrhwwgy257p4xv50xp0asmtwjup66z8vk829289zxge5lyl7sycga8", - "zetapub1addwnpepqgpr5ffquqchra93r8l6d35q62cv4nsc9d4k2q7kten4sljxg5rluwx29gh", - "zetapub1addwnpepqdjf3vt8etgdddkghrvxfmmmeatky6m7hx7wjuv86udfghqpty8h5h4r78w", - "zetapub1addwnpepqtfcfmsdkzdgv03t8392gsh7kzrstp9g864w2ltz9k0xzz33q60dq6mnkex", - } - keygenHeight := int64(1440460) - k.SetKeygen(ctx, types.Keygen{ - Status: types.KeygenStatus_KeyGenSuccess, - BlockNumber: keygenHeight, - GranteePubkeys: participantList, - }) - err := v6.MigrateStore(ctx, k) - require.NoError(t, err) - keygen, found := k.GetKeygen(ctx) - require.True(t, found) - require.Equal(t, types.KeygenStatus_KeyGenSuccess, keygen.Status) - require.Equal(t, keygen.BlockNumber, keygenHeight) - require.Equal(t, keygen.GranteePubkeys, participantList) - }) - -} diff --git a/x/observer/migrations/v7/migrate.go b/x/observer/migrations/v7/migrate.go deleted file mode 100644 index 94c162b373..0000000000 --- a/x/observer/migrations/v7/migrate.go +++ /dev/null @@ -1,61 +0,0 @@ -package v7 - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - authoritytypes "github.com/zeta-chain/zetacore/x/authority/types" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -// observerKeeper prevents circular dependency -type observerKeeper interface { - GetParamsIfExists(ctx sdk.Context) (params types.Params) - GetAuthorityKeeper() types.AuthorityKeeper -} - -// MigrateStore performs in-place store migrations from v6 to v7 -func MigrateStore(ctx sdk.Context, observerKeeper observerKeeper) error { - ctx.Logger().Info("Migrating observer store from v6 to v7") - return MigratePolicies(ctx, observerKeeper) -} - -// MigratePolicies migrates policies from observer to authority -func MigratePolicies(ctx sdk.Context, observerKeeper observerKeeper) error { - params := observerKeeper.GetParamsIfExists(ctx) - authorityKeeper := observerKeeper.GetAuthorityKeeper() - - var policies authoritytypes.Policies - - // convert observer policies to authority policies - for _, adminPolicy := range params.AdminPolicy { - if adminPolicy != nil { - - if adminPolicy.PolicyType == types.Policy_Type_group1 { - // for policy group 1, we set the policy type to emergency - policies.Items = append(policies.Items, &authoritytypes.Policy{ - Address: adminPolicy.Address, - PolicyType: authoritytypes.PolicyType_groupEmergency, - }) - } else { - // for policy group 2, we set the policy type to admin and operational - // the operational address should be changed after the migration - policies.Items = append(policies.Items, &authoritytypes.Policy{ - Address: adminPolicy.Address, - PolicyType: authoritytypes.PolicyType_groupAdmin, - }) - policies.Items = append(policies.Items, &authoritytypes.Policy{ - Address: adminPolicy.Address, - PolicyType: authoritytypes.PolicyType_groupOperational, - }) - } - } - } - - // ensure policies are valid - if err := policies.Validate(); err != nil { - return err - } - - // set policies in authority - authorityKeeper.SetPolicies(ctx, policies) - return nil -} diff --git a/x/observer/migrations/v7/migrate_test.go b/x/observer/migrations/v7/migrate_test.go deleted file mode 100644 index 00d84a51e3..0000000000 --- a/x/observer/migrations/v7/migrate_test.go +++ /dev/null @@ -1,167 +0,0 @@ -package v7_test - -import ( - "testing" - - "github.com/stretchr/testify/require" - keepertest "github.com/zeta-chain/zetacore/testutil/keeper" - "github.com/zeta-chain/zetacore/testutil/sample" - authoritytypes "github.com/zeta-chain/zetacore/x/authority/types" - v7 "github.com/zeta-chain/zetacore/x/observer/migrations/v7" - "github.com/zeta-chain/zetacore/x/observer/types" -) - -func TestMigrateStore(t *testing.T) { - t.Run("Migrate store from v6 to v7", func(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - - addr1 := sample.AccAddress() - addr2 := sample.AccAddress() - - k.SetParams(ctx, types.Params{ - AdminPolicy: []*types.Admin_Policy{ - { - PolicyType: types.Policy_Type_group1, - Address: addr1, - }, - { - PolicyType: types.Policy_Type_group2, - Address: addr2, - }, - }, - }) - - // Migrate store - err := v7.MigrateStore(ctx, k) - - // Check if store is migrated - require.NoError(t, err) - }) -} - -func TestMigratePolicies(t *testing.T) { - t.Run("Migrate policies from observer to authority with 2 types", func(t *testing.T) { - k, ctx, _, zk := keepertest.ObserverKeeper(t) - - addr1 := sample.AccAddress() - addr2 := sample.AccAddress() - - k.SetParams(ctx, types.Params{ - AdminPolicy: []*types.Admin_Policy{ - { - PolicyType: types.Policy_Type_group1, - Address: addr1, - }, - { - PolicyType: types.Policy_Type_group2, - Address: addr2, - }, - }, - }) - - // Migrate policies - err := v7.MigratePolicies(ctx, k) - - // Check if policies are migrated - require.NoError(t, err) - policies, found := zk.AuthorityKeeper.GetPolicies(ctx) - require.True(t, found) - items := policies.Items - require.Len(t, items, 3) - require.EqualValues(t, addr1, items[0].Address) - require.EqualValues(t, addr2, items[1].Address) - require.EqualValues(t, addr2, items[2].Address) - require.EqualValues(t, authoritytypes.PolicyType_groupEmergency, items[0].PolicyType) - require.EqualValues(t, authoritytypes.PolicyType_groupAdmin, items[1].PolicyType) - require.EqualValues(t, authoritytypes.PolicyType_groupOperational, items[2].PolicyType) - }) - - t.Run("Can migrate with just emergency policy", func(t *testing.T) { - k, ctx, _, zk := keepertest.ObserverKeeper(t) - - addr := sample.AccAddress() - - k.SetParams(ctx, types.Params{ - AdminPolicy: []*types.Admin_Policy{ - { - PolicyType: types.Policy_Type_group1, - Address: addr, - }, - }, - }) - - // Migrate policies - err := v7.MigratePolicies(ctx, k) - - // Check if policies are migrated - require.NoError(t, err) - policies, found := zk.AuthorityKeeper.GetPolicies(ctx) - require.True(t, found) - items := policies.Items - require.Len(t, items, 1) - require.EqualValues(t, addr, items[0].Address) - require.EqualValues(t, authoritytypes.PolicyType_groupEmergency, items[0].PolicyType) - }) - - t.Run("Can migrate with just policy group 2, this create admin and operational policies", func(t *testing.T) { - k, ctx, _, zk := keepertest.ObserverKeeper(t) - - addr := sample.AccAddress() - - k.SetParams(ctx, types.Params{ - AdminPolicy: []*types.Admin_Policy{ - { - PolicyType: types.Policy_Type_group2, - Address: addr, - }, - }, - }) - - // Migrate policies - err := v7.MigratePolicies(ctx, k) - - // Check if policies are migrated - require.NoError(t, err) - policies, found := zk.AuthorityKeeper.GetPolicies(ctx) - require.True(t, found) - items := policies.Items - require.Len(t, items, 2) - require.EqualValues(t, addr, items[0].Address) - require.EqualValues(t, addr, items[1].Address) - require.EqualValues(t, authoritytypes.PolicyType_groupAdmin, items[0].PolicyType) - require.EqualValues(t, authoritytypes.PolicyType_groupOperational, items[1].PolicyType) - }) - - t.Run("Can migrate with no policies", func(t *testing.T) { - k, ctx, _, zk := keepertest.ObserverKeeper(t) - - k.SetParams(ctx, types.Params{}) - - // Migrate policies - err := v7.MigratePolicies(ctx, k) - - // Check if policies are migrated - require.NoError(t, err) - policies, found := zk.AuthorityKeeper.GetPolicies(ctx) - require.True(t, found) - items := policies.Items - require.Len(t, items, 0) - }) - - t.Run("Fail to migrate if invalid policy", func(t *testing.T) { - k, ctx, _, _ := keepertest.ObserverKeeper(t) - - k.SetParams(ctx, types.Params{ - AdminPolicy: []*types.Admin_Policy{ - { - PolicyType: types.Policy_Type_group1, - Address: "invalid", - }, - }, - }) - - // Migrate policies - err := v7.MigratePolicies(ctx, k) - require.Error(t, err) - }) -} diff --git a/x/observer/module_simulation.go b/x/observer/module_simulation.go index 5ebd6a9027..4c0604bae5 100644 --- a/x/observer/module_simulation.go +++ b/x/observer/module_simulation.go @@ -21,10 +21,7 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) { for i, acc := range simState.Accounts { accs[i] = acc.Address.String() } - defaultParams := types.DefaultParams() - observerGenesis := types.GenesisState{ - Params: &defaultParams, - } + observerGenesis := types.GenesisState{} simState.GenState[types.ModuleName] = simState.Cdc.MustMarshalJSON(&observerGenesis) } diff --git a/x/observer/types/genesis.go b/x/observer/types/genesis.go index c20cd8ff04..1425eafd30 100644 --- a/x/observer/types/genesis.go +++ b/x/observer/types/genesis.go @@ -9,9 +9,7 @@ import ( // DefaultGenesis returns the default observer genesis state func DefaultGenesis() *GenesisState { - params := DefaultParams() return &GenesisState{ - Params: ¶ms, Ballots: nil, Observers: ObserverSet{}, NodeAccountList: []*NodeAccount{}, @@ -24,12 +22,6 @@ func DefaultGenesis() *GenesisState { // Validate performs basic genesis state validation returning an error upon any failure. func (gs GenesisState) Validate() error { - if gs.Params != nil { - err := gs.Params.Validate() - if err != nil { - return err - } - } // Check for duplicated index in nodeAccount nodeAccountIndexMap := make(map[string]bool) diff --git a/x/observer/types/genesis.pb.go b/x/observer/types/genesis.pb.go index 0f81d44c6f..386068b903 100644 --- a/x/observer/types/genesis.pb.go +++ b/x/observer/types/genesis.pb.go @@ -29,7 +29,6 @@ type GenesisState struct { Observers ObserverSet `protobuf:"bytes,2,opt,name=observers,proto3" json:"observers"` NodeAccountList []*NodeAccount `protobuf:"bytes,3,rep,name=nodeAccountList,proto3" json:"nodeAccountList,omitempty"` CrosschainFlags *CrosschainFlags `protobuf:"bytes,4,opt,name=crosschain_flags,json=crosschainFlags,proto3" json:"crosschain_flags,omitempty"` - Params *Params `protobuf:"bytes,5,opt,name=params,proto3" json:"params,omitempty"` Keygen *Keygen `protobuf:"bytes,6,opt,name=keygen,proto3" json:"keygen,omitempty"` LastObserverCount *LastObserverCount `protobuf:"bytes,7,opt,name=last_observer_count,json=lastObserverCount,proto3" json:"last_observer_count,omitempty"` ChainParamsList ChainParamsList `protobuf:"bytes,8,opt,name=chain_params_list,json=chainParamsList,proto3" json:"chain_params_list"` @@ -103,13 +102,6 @@ func (m *GenesisState) GetCrosschainFlags() *CrosschainFlags { return nil } -func (m *GenesisState) GetParams() *Params { - if m != nil { - return m.Params - } - return nil -} - func (m *GenesisState) GetKeygen() *Keygen { if m != nil { return m.Keygen @@ -187,47 +179,47 @@ func init() { func init() { proto.RegisterFile("observer/genesis.proto", fileDescriptor_15ea8c9d44da7399) } var fileDescriptor_15ea8c9d44da7399 = []byte{ - // 637 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdf, 0x4e, 0x13, 0x4f, - 0x14, 0x6e, 0x7f, 0xf0, 0x03, 0x99, 0x02, 0x85, 0x11, 0x75, 0x02, 0xba, 0x20, 0xde, 0x10, 0xa3, - 0xbb, 0x06, 0x2f, 0x8d, 0x17, 0x42, 0x02, 0x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e, 0x47, 0x5e, 0xed, 0xd7, 0xc8, 0xab, - 0x7d, 0x09, 0xe2, 0x44, 0x5e, 0xf5, 0xdb, 0x3e, 0xe1, 0xdd, 0x40, 0xc9, 0x3e, 0xd7, 0x11, 0x02, - 0x17, 0x21, 0xb8, 0x0e, 0x8a, 0x73, 0x38, 0xe8, 0x51, 0xd1, 0x5e, 0xd0, 0x27, 0xf0, 0xe5, 0xdf, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x5e, 0x89, 0xea, 0x92, 0x06, 0x00, 0x00, + // 627 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdf, 0x6e, 0xd3, 0x30, + 0x14, 0xc6, 0x5b, 0x36, 0xed, 0x8f, 0xbb, 0xad, 0x9b, 0x19, 0x60, 0x6d, 0x90, 0x8d, 0x71, 0x53, + 0x21, 0x48, 0x50, 0xb9, 0x44, 0x5c, 0xb0, 0x4a, 0x1b, 0x13, 0x65, 0x8c, 0x74, 0x12, 0x12, 0x17, + 0x8b, 0x5c, 0xd7, 0x4d, 0x23, 0x52, 0xbb, 0x8a, 0x5d, 0xd4, 0xf2, 0x14, 0x3c, 0xd6, 0x2e, 0x77, + 0xc9, 0x15, 0x42, 0xed, 0x13, 0xf0, 0x06, 0x28, 0x8e, 0x9d, 0x34, 0xad, 0x14, 0x7a, 0x67, 0x7d, + 0xc7, 0xdf, 0xef, 0x1c, 0x1f, 0x1f, 0x1b, 0x3c, 0xe4, 0x6d, 0x41, 0xa3, 0xef, 0x34, 0x72, 0x7c, + 0xca, 0xa8, 0x08, 0x84, 0x3d, 0x88, 0xb8, 0xe4, 0xf0, 0xf0, 0x07, 0x95, 0x98, 0xf4, 0x70, 0xc0, + 0x6c, 0xb5, 0xe2, 0x11, 0xb5, 0xcd, 0xd6, 0x83, 0x7d, 0x9f, 0xfb, 0x5c, 0xed, 0x73, 0xe2, 0x55,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e3, 0x88, 0xb7, + 0x9b, 0xa9, 0x56, 0x5e, 0x3d, 0x81, 0x3b, 0xf9, 0x27, 0x8c, 0xb6, 0x15, 0xec, 0x79, 0x21, 0xec, + 0x2a, 0xb1, 0x5c, 0x2a, 0x87, 0x86, 0x6e, 0x0f, 0x66, 0x45, 0xf8, 0x19, 0x6c, 0xcd, 0xfe, 0x6d, + 0x68, 0x67, 0x89, 0xb7, 0xa2, 0xee, 0x37, 0x07, 0xad, 0x90, 0x4c, 0x82, 0x2e, 0xd8, 0xce, 0x7d, + 0x5e, 0xa8, 0xba, 0xd4, 0xfb, 0x63, 0x84, 0x5e, 0xf3, 0x06, 0x91, 0x23, 0xc3, 0x64, 0x33, 0xd2, + 0xc5, 0xed, 0xc4, 0x2a, 0xdf, 0x4d, 0xac, 0xf2, 0x9f, 0x89, 0x55, 0xfe, 0x39, 0xb5, 0x4a, 0x77, + 0x53, 0xab, 0xf4, 0x6b, 0x6a, 0x95, 0xbe, 0x3a, 0x7e, 0x20, 0x7b, 0xc3, 0xb6, 0x4d, 0x78, 0xdf, + 0x89, 0xb1, 0x2f, 0x55, 0x06, 0xc7, 0x64, 0x70, 0x46, 0x4e, 0xf6, 0xa3, 0x8d, 0x07, 0x54, 0xb4, + 0xd7, 0xd4, 0x2f, 0xf6, 0xfa, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x62, 0x95, 0x52, 0x6b, 0x55, + 0x06, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -380,18 +372,6 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x32 } - if m.Params != 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] = 0x2a - } if m.CrosschainFlags != nil { { size, err := m.CrosschainFlags.MarshalToSizedBuffer(dAtA[:i]) @@ -480,10 +460,6 @@ func (m *GenesisState) Size() (n int) { l = m.CrosschainFlags.Size() n += 1 + l + sovGenesis(uint64(l)) } - if m.Params != nil { - l = m.Params.Size() - n += 1 + l + sovGenesis(uint64(l)) - } if m.Keygen != nil { l = m.Keygen.Size() n += 1 + l + sovGenesis(uint64(l)) @@ -709,42 +685,6 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Params == nil { - m.Params = &Params{} - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Keygen", wireType) diff --git a/x/observer/types/keys.go b/x/observer/types/keys.go index 6c7b45b2c7..c6426a4351 100644 --- a/x/observer/types/keys.go +++ b/x/observer/types/keys.go @@ -78,6 +78,8 @@ const ( PendingNoncesKeyPrefix = "PendingNonces-value-" ChainNoncesKey = "ChainNonces-value-" NonceToCctxKeyPrefix = "NonceToCctx-value-" + + ParamsKey = "Params-value-" ) func GetBlameIndex(chainID int64, nonce uint64, digest string, height uint64) string { diff --git a/x/observer/types/params.go b/x/observer/types/params.go deleted file mode 100644 index ea1db66657..0000000000 --- a/x/observer/types/params.go +++ /dev/null @@ -1,111 +0,0 @@ -package types - -import ( - "fmt" - - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/zeta-chain/zetacore/pkg/chains" - "gopkg.in/yaml.v2" -) - -var _ paramtypes.ParamSet = (*Params)(nil) - -// ParamKeyTable the param key table for zetaObserver module -func ParamKeyTable() paramtypes.KeyTable { - return paramtypes.NewKeyTable().RegisterParamSet(&Params{}) -} - -func NewParams(observerParams []*ObserverParams, adminParams []*Admin_Policy, ballotMaturityBlocks int64) Params { - return Params{ - ObserverParams: observerParams, - AdminPolicy: adminParams, - BallotMaturityBlocks: ballotMaturityBlocks, - } -} - -// DefaultParams returns a default set of parameters. -// privnet chains are supported by default for testing purposes -// custom params must be provided in genesis for other networks -func DefaultParams() Params { - chains := chains.PrivnetChainList() - observerParams := make([]*ObserverParams, len(chains)) - for i, chain := range chains { - observerParams[i] = &ObserverParams{ - IsSupported: true, - Chain: chain, - BallotThreshold: sdk.MustNewDecFromStr("0.66"), - MinObserverDelegation: sdk.MustNewDecFromStr("1000000000000000000000"), // 1000 ZETA - } - } - return NewParams(observerParams, DefaultAdminPolicy(), 100) -} - -func DefaultAdminPolicy() []*Admin_Policy { - return []*Admin_Policy{ - { - PolicyType: Policy_Type_group1, - Address: GroupID1Address, - }, - { - PolicyType: Policy_Type_group2, - Address: GroupID1Address, - }, - } -} - -// ParamSetPairs get the params.ParamSet -func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs { - return paramtypes.ParamSetPairs{ - paramtypes.NewParamSetPair(KeyPrefix(ObserverParamsKey), &p.ObserverParams, validateVotingThresholds), - paramtypes.NewParamSetPair(KeyPrefix(AdminPolicyParamsKey), &p.AdminPolicy, validateAdminPolicy), - paramtypes.NewParamSetPair(KeyPrefix(BallotMaturityBlocksParamsKey), &p.BallotMaturityBlocks, validateBallotMaturityBlocks), - } -} - -// Validate validates the set of params -func (p Params) Validate() error { - return nil -} - -// String implements the Stringer interface. -func (p Params) String() string { - out, err := yaml.Marshal(p) - if err != nil { - return "" - } - return string(out) -} - -// Deprecated: observer params are now stored in core params -func validateVotingThresholds(i interface{}) error { - v, ok := i.([]*ObserverParams) - if !ok { - return fmt.Errorf("invalid parameter type: %T", i) - } - for _, threshold := range v { - if threshold.BallotThreshold.GT(sdk.OneDec()) { - return ErrParamsThreshold - } - } - return nil -} - -func validateAdminPolicy(i interface{}) error { - _, ok := i.([]*Admin_Policy) - if !ok { - return fmt.Errorf("invalid parameter type: %T", i) - } - - return nil -} - -// https://github.com/zeta-chain/node/issues/1983 -func validateBallotMaturityBlocks(i interface{}) error { - _, ok := i.(int64) - if !ok { - return fmt.Errorf("invalid parameter type: %T", i) - } - - return nil -} diff --git a/x/observer/types/params.pb.go b/x/observer/types/params.pb.go index 8e223d5571..5406afe306 100644 --- a/x/observer/types/params.pb.go +++ b/x/observer/types/params.pb.go @@ -26,32 +26,6 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// Deprecated(v14):Moved into the authority module -type Policy_Type int32 - -const ( - Policy_Type_group1 Policy_Type = 0 - Policy_Type_group2 Policy_Type = 1 -) - -var Policy_Type_name = map[int32]string{ - 0: "group1", - 1: "group2", -} - -var Policy_Type_value = map[string]int32{ - "group1": 0, - "group2": 1, -} - -func (x Policy_Type) String() string { - return proto.EnumName(Policy_Type_name, int32(x)) -} - -func (Policy_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4542fa62877488a1, []int{0} -} - type ChainParamsList struct { ChainParams []*ChainParams `protobuf:"bytes,1,rep,name=chain_params,json=chainParams,proto3" json:"chain_params,omitempty"` } @@ -285,185 +259,57 @@ func (m *ObserverParams) GetIsSupported() bool { return false } -// Deprecated(v14):Moved into the authority module -type Admin_Policy struct { - PolicyType Policy_Type `protobuf:"varint,1,opt,name=policy_type,json=policyType,proto3,enum=zetachain.zetacore.observer.Policy_Type" json:"policy_type,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` -} - -func (m *Admin_Policy) Reset() { *m = Admin_Policy{} } -func (m *Admin_Policy) String() string { return proto.CompactTextString(m) } -func (*Admin_Policy) ProtoMessage() {} -func (*Admin_Policy) Descriptor() ([]byte, []int) { - return fileDescriptor_4542fa62877488a1, []int{3} -} -func (m *Admin_Policy) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Admin_Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Admin_Policy.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Admin_Policy) XXX_Merge(src proto.Message) { - xxx_messageInfo_Admin_Policy.Merge(m, src) -} -func (m *Admin_Policy) XXX_Size() int { - return m.Size() -} -func (m *Admin_Policy) XXX_DiscardUnknown() { - xxx_messageInfo_Admin_Policy.DiscardUnknown(m) -} - -var xxx_messageInfo_Admin_Policy proto.InternalMessageInfo - -func (m *Admin_Policy) GetPolicyType() Policy_Type { - if m != nil { - return m.PolicyType - } - return Policy_Type_group1 -} - -func (m *Admin_Policy) GetAddress() string { - if m != nil { - return m.Address - } - return "" -} - -// Params defines the parameters for the module. -type Params struct { - // Deprecated(v13): Use ChainParamsList - ObserverParams []*ObserverParams `protobuf:"bytes,1,rep,name=observer_params,json=observerParams,proto3" json:"observer_params,omitempty"` - // Deprecated(v14):Moved into the authority module - AdminPolicy []*Admin_Policy `protobuf:"bytes,2,rep,name=admin_policy,json=adminPolicy,proto3" json:"admin_policy,omitempty"` - BallotMaturityBlocks int64 `protobuf:"varint,3,opt,name=ballot_maturity_blocks,json=ballotMaturityBlocks,proto3" json:"ballot_maturity_blocks,omitempty"` -} - -func (m *Params) Reset() { *m = Params{} } -func (*Params) ProtoMessage() {} -func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_4542fa62877488a1, []int{4} -} -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) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - 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) -} - -var xxx_messageInfo_Params proto.InternalMessageInfo - -func (m *Params) GetObserverParams() []*ObserverParams { - if m != nil { - return m.ObserverParams - } - return nil -} - -func (m *Params) GetAdminPolicy() []*Admin_Policy { - if m != nil { - return m.AdminPolicy - } - return nil -} - -func (m *Params) GetBallotMaturityBlocks() int64 { - if m != nil { - return m.BallotMaturityBlocks - } - return 0 -} - func init() { - proto.RegisterEnum("zetachain.zetacore.observer.Policy_Type", Policy_Type_name, Policy_Type_value) proto.RegisterType((*ChainParamsList)(nil), "zetachain.zetacore.observer.ChainParamsList") proto.RegisterType((*ChainParams)(nil), "zetachain.zetacore.observer.ChainParams") proto.RegisterType((*ObserverParams)(nil), "zetachain.zetacore.observer.ObserverParams") - proto.RegisterType((*Admin_Policy)(nil), "zetachain.zetacore.observer.Admin_Policy") - proto.RegisterType((*Params)(nil), "zetachain.zetacore.observer.Params") } func init() { proto.RegisterFile("observer/params.proto", fileDescriptor_4542fa62877488a1) } var fileDescriptor_4542fa62877488a1 = []byte{ - // 805 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0x41, 0x6f, 0xe3, 0x44, - 0x14, 0xc7, 0xe3, 0x24, 0xcd, 0x76, 0x9f, 0xd3, 0x24, 0x6b, 0xed, 0xb2, 0x26, 0x15, 0x6e, 0x08, - 0x12, 0x0a, 0xbb, 0xaa, 0x0d, 0x81, 0x13, 0x82, 0x43, 0x9b, 0xbd, 0x44, 0x14, 0x51, 0x79, 0xc3, - 0x01, 0x0e, 0x8c, 0x26, 0xe3, 0x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xfa, 0xa7, 0x94, - 0x77, 0xc5, 0xb4, 0xa1, 0x7f, 0x41, 0x1f, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0x70, 0xbf, 0xfa, - 0xb7, 0x00, 0x07, 0x00, 0x00, + // 643 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0x41, 0x4f, 0xdb, 0x3c, + 0x18, 0xc7, 0x1b, 0x0a, 0xbc, 0xe0, 0x14, 0x0a, 0xd1, 0x8b, 0xc8, 0x5b, 0xf4, 0x86, 0xae, 0x93, + 0xa6, 0x68, 0x12, 0xc9, 0xc4, 0xae, 0xdb, 0x01, 0xca, 0x05, 0x0d, 0x69, 0x28, 0x74, 0x87, 0xed, + 0x30, 0xcb, 0x75, 0x4c, 0x62, 0x35, 0xcd, 0x13, 0xd9, 0x0e, 0x2b, 0xfb, 0x14, 0xbb, 0xef, 0xb8, + 0x2f, 0xc3, 0x91, 0xe3, 0xb4, 0x03, 0x9a, 0xe0, 0x8b, 0x4c, 0x71, 0x92, 0xae, 0xa2, 0x68, 0x87, + 0x49, 0x9c, 0x62, 0xfb, 0xff, 0x7b, 0xfe, 0x7e, 0xf2, 0xd8, 0x8f, 0xd1, 0x16, 0x0c, 0x25, 0x13, + 0x17, 0x4c, 0xf8, 0x19, 0x11, 0x64, 0x2c, 0xbd, 0x4c, 0x80, 0x02, 0x6b, 0xe7, 0x33, 0x53, 0x84, + 0xc6, 0x84, 0xa7, 0x9e, 0x1e, 0x81, 0x60, 0x5e, 0x4d, 0x76, 0xfe, 0x8d, 0x20, 0x02, 0xcd, 0xf9, + 0xc5, 0xa8, 0x0c, 0xe9, 0x6c, 0x4f, 0x9d, 0xea, 0x41, 0x2d, 0x64, 0xa3, 0xc8, 0xd7, 0x5e, 0xb2, + 0xfa, 0x94, 0x42, 0xef, 0x23, 0x6a, 0xf7, 0x8b, 0xf9, 0xa9, 0xde,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 0xa9, 0x5b, 0xaf, 0x50, 0x87, 0x42, 0x9a, 0x32, 0xaa, 0x40, 0xcc, 0x47, 0xaf, 0x96, + 0xd1, 0x53, 0xe2, 0x7e, 0x74, 0x1f, 0x39, 0x4c, 0xd0, 0xfd, 0x17, 0x98, 0xe6, 0x52, 0x41, 0x78, + 0x39, 0xef, 0x80, 0xb4, 0xc3, 0x8e, 0xa6, 0xfa, 0x25, 0x74, 0xdf, 0xe4, 0x00, 0xfd, 0x0f, 0xb9, + 0x1a, 0x42, 0x9e, 0x86, 0x45, 0x59, 0x24, 0x8d, 0x59, 0x98, 0x27, 0x0c, 0xf3, 0x54, 0x31, 0x71, + 0x41, 0x12, 0xbb, 0xa5, 0x0f, 0xaf, 0x53, 0x43, 0x83, 0xc9, 0x59, 0x85, 0x1c, 0x57, 0x44, 0x91, + 0xc7, 0x83, 0x16, 0x09, 0xc0, 0x88, 0xc4, 0x8c, 0x84, 0xf6, 0x9a, 0xf6, 0xd8, 0x99, 0xf7, 0x38, + 0xa9, 0x11, 0xeb, 0x3d, 0xda, 0x18, 0x92, 0x24, 0x01, 0x85, 0x55, 0x2c, 0x98, 0x8c, 0x21, 0x09, + 0xed, 0xf5, 0x22, 0xfd, 0x43, 0xef, 0xea, 0x66, 0xb7, 0xf1, 0xe3, 0x66, 0xf7, 0x59, 0xc4, 0x55, + 0x9c, 0x0f, 0x3d, 0x0a, 0x63, 0x9f, 0x82, 0x1c, 0x83, 0xac, 0x3e, 0x7b, 0x32, 0x1c, 0xf9, 0xea, + 0x32, 0x63, 0xd2, 0x3b, 0x62, 0x34, 0x68, 0x97, 0x3e, 0x83, 0xda, 0xc6, 0x3a, 0x47, 0xdb, 0x63, + 0x9e, 0xe2, 0xfa, 0x0e, 0xe3, 0x90, 0x25, 0x2c, 0xd2, 0x17, 0xcc, 0x6e, 0xff, 0xd5, 0x0e, 0x5b, + 0x63, 0x9e, 0xbe, 0xad, 0xdc, 0x8e, 0xa6, 0x66, 0xd6, 0x13, 0xd4, 0xe2, 0x12, 0xcb, 0x3c, 0xcb, + 0x40, 0x28, 0x16, 0xda, 0x1b, 0x5d, 0xc3, 0x5d, 0x09, 0x4c, 0x2e, 0xcf, 0xea, 0xa5, 0xde, 0xd7, + 0x05, 0xb4, 0x5e, 0x47, 0x56, 0x8d, 0xf2, 0x14, 0x2d, 0xe9, 0xc6, 0xd0, 0x0d, 0x60, 0xee, 0xaf, + 0x79, 0x55, 0xdb, 0xea, 0x66, 0x0a, 0x4a, 0xed, 0xc1, 0xea, 0x34, 0x1f, 0xbd, 0x3a, 0x8b, 0x8f, + 0x59, 0x9d, 0xa5, 0xb9, 0xea, 0x1c, 0x1e, 0x5f, 0xdd, 0x3a, 0xc6, 0xf5, 0xad, 0x63, 0xfc, 0xbc, + 0x75, 0x8c, 0x2f, 0x77, 0x4e, 0xe3, 0xfa, 0xce, 0x69, 0x7c, 0xbf, 0x73, 0x1a, 0x1f, 0xfc, 0x99, + 0xbd, 0x8b, 0x6e, 0xda, 0xd3, 0x65, 0xf1, 0xeb, 0xf7, 0xc9, 0x9f, 0x4c, 0xdf, 0xc1, 0x32, 0x91, + 0xe1, 0xb2, 0x7e, 0xf5, 0x5e, 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x11, 0x93, 0x41, 0x3e, 0x73, + 0x05, 0x00, 0x00, } func (m *ChainParamsList) Marshal() (dAtA []byte, err error) { @@ -684,97 +530,6 @@ func (m *ObserverParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Admin_Policy) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Admin_Policy) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Admin_Policy) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintParams(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0x12 - } - if m.PolicyType != 0 { - i = encodeVarintParams(dAtA, i, uint64(m.PolicyType)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Params) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Params) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.BallotMaturityBlocks != 0 { - i = encodeVarintParams(dAtA, i, uint64(m.BallotMaturityBlocks)) - i-- - dAtA[i] = 0x18 - } - if len(m.AdminPolicy) > 0 { - for iNdEx := len(m.AdminPolicy) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.AdminPolicy[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintParams(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.ObserverParams) > 0 { - for iNdEx := len(m.ObserverParams) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ObserverParams[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintParams(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - func encodeVarintParams(dAtA []byte, offset int, v uint64) int { offset -= sovParams(v) base := offset @@ -873,46 +628,6 @@ func (m *ObserverParams) Size() (n int) { return n } -func (m *Admin_Policy) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PolicyType != 0 { - n += 1 + sovParams(uint64(m.PolicyType)) - } - l = len(m.Address) - if l > 0 { - n += 1 + l + sovParams(uint64(l)) - } - return n -} - -func (m *Params) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.ObserverParams) > 0 { - for _, e := range m.ObserverParams { - l = e.Size() - n += 1 + l + sovParams(uint64(l)) - } - } - if len(m.AdminPolicy) > 0 { - for _, e := range m.AdminPolicy { - l = e.Size() - n += 1 + l + sovParams(uint64(l)) - } - } - if m.BallotMaturityBlocks != 0 { - n += 1 + sovParams(uint64(m.BallotMaturityBlocks)) - } - return n -} - func sovParams(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -1563,244 +1278,6 @@ func (m *ObserverParams) Unmarshal(dAtA []byte) error { } return nil } -func (m *Admin_Policy) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Admin_Policy: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Admin_Policy: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PolicyType", wireType) - } - m.PolicyType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PolicyType |= Policy_Type(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthParams - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthParams - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Address = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipParams(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthParams - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Params) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Params: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ObserverParams", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthParams - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthParams - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ObserverParams = append(m.ObserverParams, &ObserverParams{}) - if err := m.ObserverParams[len(m.ObserverParams)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AdminPolicy", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthParams - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthParams - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AdminPolicy = append(m.AdminPolicy, &Admin_Policy{}) - if err := m.AdminPolicy[len(m.AdminPolicy)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BallotMaturityBlocks", wireType) - } - m.BallotMaturityBlocks = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.BallotMaturityBlocks |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipParams(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthParams - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func skipParams(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/observer/types/params_test.go b/x/observer/types/params_test.go deleted file mode 100644 index 3b7b177565..0000000000 --- a/x/observer/types/params_test.go +++ /dev/null @@ -1,74 +0,0 @@ -package types - -import ( - "reflect" - "testing" - - sdk "github.com/cosmos/cosmos-sdk/types" - paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/stretchr/testify/require" - "gopkg.in/yaml.v2" -) - -func TestParamKeyTable(t *testing.T) { - kt := ParamKeyTable() - - ps := Params{} - for _, psp := range ps.ParamSetPairs() { - require.PanicsWithValue(t, "duplicate parameter key", func() { - kt.RegisterType(psp) - }) - } -} - -func TestParamSetPairs(t *testing.T) { - params := DefaultParams() - pairs := params.ParamSetPairs() - - require.Equal(t, 3, len(pairs), "The number of param set pairs should match the expected count") - - assertParamSetPair(t, pairs, KeyPrefix(ObserverParamsKey), ¶ms.ObserverParams, validateVotingThresholds) - assertParamSetPair(t, pairs, KeyPrefix(AdminPolicyParamsKey), ¶ms.AdminPolicy, validateAdminPolicy) - assertParamSetPair(t, pairs, KeyPrefix(BallotMaturityBlocksParamsKey), ¶ms.BallotMaturityBlocks, validateBallotMaturityBlocks) -} - -func assertParamSetPair(t *testing.T, pairs paramtypes.ParamSetPairs, key []byte, expectedValue interface{}, valFunc paramtypes.ValueValidatorFn) { - for _, pair := range pairs { - if string(pair.Key) == string(key) { - require.Equal(t, expectedValue, pair.Value, "Value does not match for key %s", string(key)) - - actualValFunc := pair.ValidatorFn - require.Equal(t, reflect.ValueOf(valFunc).Pointer(), reflect.ValueOf(actualValFunc).Pointer(), "Val func doesnt match for key %s", string(key)) - return - } - } - - t.Errorf("Key %s not found in ParamSetPairs", string(key)) -} - -func TestParamsString(t *testing.T) { - params := DefaultParams() - out, err := yaml.Marshal(params) - require.NoError(t, err) - require.Equal(t, string(out), params.String()) -} - -func TestValidateVotingThresholds(t *testing.T) { - require.Error(t, validateVotingThresholds("invalid")) - - params := DefaultParams() - require.NoError(t, validateVotingThresholds(params.ObserverParams)) - - params.ObserverParams[0].BallotThreshold = sdk.MustNewDecFromStr("1.1") - require.Error(t, validateVotingThresholds(params.ObserverParams)) -} - -func TestValidateAdminPolicy(t *testing.T) { - require.Error(t, validateAdminPolicy("invalid")) - require.NoError(t, validateAdminPolicy([]*Admin_Policy{})) -} - -func TestValidateBallotMaturityBlocks(t *testing.T) { - require.Error(t, validateBallotMaturityBlocks("invalid")) - require.NoError(t, validateBallotMaturityBlocks(int64(1))) -} diff --git a/x/observer/types/query.pb.go b/x/observer/types/query.pb.go index e27bba6c4e..d75cfd9831 100644 --- a/x/observer/types/query.pb.go +++ b/x/observer/types/query.pb.go @@ -785,88 +785,6 @@ func (m *QueryTssHistoryResponse) GetPagination() *query.PageResponse { return nil } -type QueryParamsRequest struct { -} - -func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } -func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryParamsRequest) ProtoMessage() {} -func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{16} -} -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) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - 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) -} - -var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo - -// QueryParamsResponse is response type for the Query/Params RPC method. -type QueryParamsResponse struct { - // params holds all the parameters of this module. - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` -} - -func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } -func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } -func (*QueryParamsResponse) ProtoMessage() {} -func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{17} -} -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) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - 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) -} - -var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo - -func (m *QueryParamsResponse) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - type QueryHasVotedRequest struct { BallotIdentifier string `protobuf:"bytes,1,opt,name=ballot_identifier,json=ballotIdentifier,proto3" json:"ballot_identifier,omitempty"` VoterAddress string `protobuf:"bytes,2,opt,name=voter_address,json=voterAddress,proto3" json:"voter_address,omitempty"` @@ -876,7 +794,7 @@ func (m *QueryHasVotedRequest) Reset() { *m = QueryHasVotedRequest{} } func (m *QueryHasVotedRequest) String() string { return proto.CompactTextString(m) } func (*QueryHasVotedRequest) ProtoMessage() {} func (*QueryHasVotedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{18} + return fileDescriptor_dcb801e455adaee4, []int{16} } func (m *QueryHasVotedRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -927,7 +845,7 @@ func (m *QueryHasVotedResponse) Reset() { *m = QueryHasVotedResponse{} } func (m *QueryHasVotedResponse) String() string { return proto.CompactTextString(m) } func (*QueryHasVotedResponse) ProtoMessage() {} func (*QueryHasVotedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{19} + return fileDescriptor_dcb801e455adaee4, []int{17} } func (m *QueryHasVotedResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -971,7 +889,7 @@ func (m *QueryBallotByIdentifierRequest) Reset() { *m = QueryBallotByIde func (m *QueryBallotByIdentifierRequest) String() string { return proto.CompactTextString(m) } func (*QueryBallotByIdentifierRequest) ProtoMessage() {} func (*QueryBallotByIdentifierRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{20} + return fileDescriptor_dcb801e455adaee4, []int{18} } func (m *QueryBallotByIdentifierRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1016,7 +934,7 @@ func (m *VoterList) Reset() { *m = VoterList{} } func (m *VoterList) String() string { return proto.CompactTextString(m) } func (*VoterList) ProtoMessage() {} func (*VoterList) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{21} + return fileDescriptor_dcb801e455adaee4, []int{19} } func (m *VoterList) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1070,7 +988,7 @@ func (m *QueryBallotByIdentifierResponse) Reset() { *m = QueryBallotById func (m *QueryBallotByIdentifierResponse) String() string { return proto.CompactTextString(m) } func (*QueryBallotByIdentifierResponse) ProtoMessage() {} func (*QueryBallotByIdentifierResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{22} + return fileDescriptor_dcb801e455adaee4, []int{20} } func (m *QueryBallotByIdentifierResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1134,7 +1052,7 @@ func (m *QueryObserverSet) Reset() { *m = QueryObserverSet{} } func (m *QueryObserverSet) String() string { return proto.CompactTextString(m) } func (*QueryObserverSet) ProtoMessage() {} func (*QueryObserverSet) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{23} + return fileDescriptor_dcb801e455adaee4, []int{21} } func (m *QueryObserverSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1171,7 +1089,7 @@ func (m *QueryObserverSetResponse) Reset() { *m = QueryObserverSetRespon func (m *QueryObserverSetResponse) String() string { return proto.CompactTextString(m) } func (*QueryObserverSetResponse) ProtoMessage() {} func (*QueryObserverSetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{24} + return fileDescriptor_dcb801e455adaee4, []int{22} } func (m *QueryObserverSetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1214,7 +1132,7 @@ func (m *QuerySupportedChains) Reset() { *m = QuerySupportedChains{} } func (m *QuerySupportedChains) String() string { return proto.CompactTextString(m) } func (*QuerySupportedChains) ProtoMessage() {} func (*QuerySupportedChains) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{25} + return fileDescriptor_dcb801e455adaee4, []int{23} } func (m *QuerySupportedChains) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1251,7 +1169,7 @@ func (m *QuerySupportedChainsResponse) Reset() { *m = QuerySupportedChai func (m *QuerySupportedChainsResponse) String() string { return proto.CompactTextString(m) } func (*QuerySupportedChainsResponse) ProtoMessage() {} func (*QuerySupportedChainsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{26} + return fileDescriptor_dcb801e455adaee4, []int{24} } func (m *QuerySupportedChainsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1295,7 +1213,7 @@ func (m *QueryGetChainParamsForChainRequest) Reset() { *m = QueryGetChai func (m *QueryGetChainParamsForChainRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetChainParamsForChainRequest) ProtoMessage() {} func (*QueryGetChainParamsForChainRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{27} + return fileDescriptor_dcb801e455adaee4, []int{25} } func (m *QueryGetChainParamsForChainRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1339,7 +1257,7 @@ func (m *QueryGetChainParamsForChainResponse) Reset() { *m = QueryGetCha func (m *QueryGetChainParamsForChainResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetChainParamsForChainResponse) ProtoMessage() {} func (*QueryGetChainParamsForChainResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{28} + return fileDescriptor_dcb801e455adaee4, []int{26} } func (m *QueryGetChainParamsForChainResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1382,7 +1300,7 @@ func (m *QueryGetChainParamsRequest) Reset() { *m = QueryGetChainParamsR func (m *QueryGetChainParamsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetChainParamsRequest) ProtoMessage() {} func (*QueryGetChainParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{29} + return fileDescriptor_dcb801e455adaee4, []int{27} } func (m *QueryGetChainParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1419,7 +1337,7 @@ func (m *QueryGetChainParamsResponse) Reset() { *m = QueryGetChainParams func (m *QueryGetChainParamsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetChainParamsResponse) ProtoMessage() {} func (*QueryGetChainParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{30} + return fileDescriptor_dcb801e455adaee4, []int{28} } func (m *QueryGetChainParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1463,7 +1381,7 @@ func (m *QueryGetNodeAccountRequest) Reset() { *m = QueryGetNodeAccountR func (m *QueryGetNodeAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetNodeAccountRequest) ProtoMessage() {} func (*QueryGetNodeAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{31} + return fileDescriptor_dcb801e455adaee4, []int{29} } func (m *QueryGetNodeAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1507,7 +1425,7 @@ func (m *QueryGetNodeAccountResponse) Reset() { *m = QueryGetNodeAccount func (m *QueryGetNodeAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetNodeAccountResponse) ProtoMessage() {} func (*QueryGetNodeAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{32} + return fileDescriptor_dcb801e455adaee4, []int{30} } func (m *QueryGetNodeAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1551,7 +1469,7 @@ func (m *QueryAllNodeAccountRequest) Reset() { *m = QueryAllNodeAccountR func (m *QueryAllNodeAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllNodeAccountRequest) ProtoMessage() {} func (*QueryAllNodeAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{33} + return fileDescriptor_dcb801e455adaee4, []int{31} } func (m *QueryAllNodeAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1596,7 +1514,7 @@ func (m *QueryAllNodeAccountResponse) Reset() { *m = QueryAllNodeAccount func (m *QueryAllNodeAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllNodeAccountResponse) ProtoMessage() {} func (*QueryAllNodeAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{34} + return fileDescriptor_dcb801e455adaee4, []int{32} } func (m *QueryAllNodeAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1646,7 +1564,7 @@ func (m *QueryGetCrosschainFlagsRequest) Reset() { *m = QueryGetCrosscha func (m *QueryGetCrosschainFlagsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetCrosschainFlagsRequest) ProtoMessage() {} func (*QueryGetCrosschainFlagsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{35} + return fileDescriptor_dcb801e455adaee4, []int{33} } func (m *QueryGetCrosschainFlagsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1683,7 +1601,7 @@ func (m *QueryGetCrosschainFlagsResponse) Reset() { *m = QueryGetCrossch func (m *QueryGetCrosschainFlagsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetCrosschainFlagsResponse) ProtoMessage() {} func (*QueryGetCrosschainFlagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{36} + return fileDescriptor_dcb801e455adaee4, []int{34} } func (m *QueryGetCrosschainFlagsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1726,7 +1644,7 @@ func (m *QueryGetKeygenRequest) Reset() { *m = QueryGetKeygenRequest{} } func (m *QueryGetKeygenRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetKeygenRequest) ProtoMessage() {} func (*QueryGetKeygenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{37} + return fileDescriptor_dcb801e455adaee4, []int{35} } func (m *QueryGetKeygenRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1763,7 +1681,7 @@ func (m *QueryGetKeygenResponse) Reset() { *m = QueryGetKeygenResponse{} func (m *QueryGetKeygenResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetKeygenResponse) ProtoMessage() {} func (*QueryGetKeygenResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{38} + return fileDescriptor_dcb801e455adaee4, []int{36} } func (m *QueryGetKeygenResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1806,7 +1724,7 @@ func (m *QueryShowObserverCountRequest) Reset() { *m = QueryShowObserver func (m *QueryShowObserverCountRequest) String() string { return proto.CompactTextString(m) } func (*QueryShowObserverCountRequest) ProtoMessage() {} func (*QueryShowObserverCountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{39} + return fileDescriptor_dcb801e455adaee4, []int{37} } func (m *QueryShowObserverCountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1843,7 +1761,7 @@ func (m *QueryShowObserverCountResponse) Reset() { *m = QueryShowObserve func (m *QueryShowObserverCountResponse) String() string { return proto.CompactTextString(m) } func (*QueryShowObserverCountResponse) ProtoMessage() {} func (*QueryShowObserverCountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{40} + return fileDescriptor_dcb801e455adaee4, []int{38} } func (m *QueryShowObserverCountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1887,7 +1805,7 @@ func (m *QueryBlameByIdentifierRequest) Reset() { *m = QueryBlameByIdent func (m *QueryBlameByIdentifierRequest) String() string { return proto.CompactTextString(m) } func (*QueryBlameByIdentifierRequest) ProtoMessage() {} func (*QueryBlameByIdentifierRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{41} + return fileDescriptor_dcb801e455adaee4, []int{39} } func (m *QueryBlameByIdentifierRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1931,7 +1849,7 @@ func (m *QueryBlameByIdentifierResponse) Reset() { *m = QueryBlameByIden func (m *QueryBlameByIdentifierResponse) String() string { return proto.CompactTextString(m) } func (*QueryBlameByIdentifierResponse) ProtoMessage() {} func (*QueryBlameByIdentifierResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{42} + return fileDescriptor_dcb801e455adaee4, []int{40} } func (m *QueryBlameByIdentifierResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1975,7 +1893,7 @@ func (m *QueryAllBlameRecordsRequest) Reset() { *m = QueryAllBlameRecord func (m *QueryAllBlameRecordsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllBlameRecordsRequest) ProtoMessage() {} func (*QueryAllBlameRecordsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{43} + return fileDescriptor_dcb801e455adaee4, []int{41} } func (m *QueryAllBlameRecordsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2020,7 +1938,7 @@ func (m *QueryAllBlameRecordsResponse) Reset() { *m = QueryAllBlameRecor func (m *QueryAllBlameRecordsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllBlameRecordsResponse) ProtoMessage() {} func (*QueryAllBlameRecordsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{44} + return fileDescriptor_dcb801e455adaee4, []int{42} } func (m *QueryAllBlameRecordsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2072,7 +1990,7 @@ func (m *QueryBlameByChainAndNonceRequest) Reset() { *m = QueryBlameByCh func (m *QueryBlameByChainAndNonceRequest) String() string { return proto.CompactTextString(m) } func (*QueryBlameByChainAndNonceRequest) ProtoMessage() {} func (*QueryBlameByChainAndNonceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{45} + return fileDescriptor_dcb801e455adaee4, []int{43} } func (m *QueryBlameByChainAndNonceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2123,7 +2041,7 @@ func (m *QueryBlameByChainAndNonceResponse) Reset() { *m = QueryBlameByC func (m *QueryBlameByChainAndNonceResponse) String() string { return proto.CompactTextString(m) } func (*QueryBlameByChainAndNonceResponse) ProtoMessage() {} func (*QueryBlameByChainAndNonceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{46} + return fileDescriptor_dcb801e455adaee4, []int{44} } func (m *QueryBlameByChainAndNonceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2176,8 +2094,6 @@ func init() { proto.RegisterType((*QueryGetTssAddressByFinalizedHeightResponse)(nil), "zetachain.zetacore.observer.QueryGetTssAddressByFinalizedHeightResponse") proto.RegisterType((*QueryTssHistoryRequest)(nil), "zetachain.zetacore.observer.QueryTssHistoryRequest") proto.RegisterType((*QueryTssHistoryResponse)(nil), "zetachain.zetacore.observer.QueryTssHistoryResponse") - proto.RegisterType((*QueryParamsRequest)(nil), "zetachain.zetacore.observer.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "zetachain.zetacore.observer.QueryParamsResponse") proto.RegisterType((*QueryHasVotedRequest)(nil), "zetachain.zetacore.observer.QueryHasVotedRequest") proto.RegisterType((*QueryHasVotedResponse)(nil), "zetachain.zetacore.observer.QueryHasVotedResponse") proto.RegisterType((*QueryBallotByIdentifierRequest)(nil), "zetachain.zetacore.observer.QueryBallotByIdentifierRequest") @@ -2212,142 +2128,140 @@ func init() { func init() { proto.RegisterFile("observer/query.proto", fileDescriptor_dcb801e455adaee4) } var fileDescriptor_dcb801e455adaee4 = []byte{ - // 2157 bytes of a gzipped FileDescriptorProto + // 2113 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xf7, 0x4a, 0x89, 0x22, 0x8d, 0xac, 0x0f, 0x8f, 0xe5, 0x8f, 0x50, 0x36, 0x25, 0x8f, 0xe2, - 0x58, 0x56, 0x6c, 0x6e, 0x2c, 0x27, 0xf5, 0x57, 0x1c, 0x5b, 0x74, 0x6d, 0xc9, 0x4e, 0x6a, 0x3b, - 0xa4, 0xda, 0x14, 0x46, 0x5b, 0x76, 0x49, 0x0e, 0xc9, 0x6d, 0xa8, 0x1d, 0x66, 0x67, 0xa4, 0x84, - 0x51, 0x05, 0x14, 0x3d, 0xe6, 0x14, 0xb4, 0x40, 0x7b, 0x2b, 0x7a, 0xe9, 0xb1, 0x40, 0x11, 0xa0, - 0x68, 0x81, 0xa2, 0x87, 0x9c, 0x9a, 0x43, 0x0f, 0x29, 0x0a, 0x14, 0x3d, 0xb5, 0x81, 0xdd, 0x3f, - 0xa4, 0xd8, 0x99, 0xb7, 0x9f, 0x5c, 0x2e, 0x87, 0xb2, 0x72, 0xd2, 0xee, 0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, + 0x49, 0x18, 0xd9, 0xdb, 0x83, 0xd7, 0xbd, 0x3c, 0xa9, 0x86, 0x72, 0x9a, 0xcc, 0xa0, 0xe1, 0xec, + 0x50, 0x6d, 0xb4, 0xce, 0xdc, 0xc6, 0xbe, 0x9f, 0xba, 0x7e, 0xaf, 0x85, 0xc7, 0xbb, 0xf8, 0x38, + 0x48, 0x65, 0x23, 0x41, 0x65, 0x2c, 0x1f, 0x15, 0xac, 0xcd, 0x90, 0xd0, 0xfe, 0xcd, 0xc1, 0x0a, + 0x1e, 0xb2, 0x30, 0xfd, 0x72, 0xa9, 0x5d, 0x77, 0x1a, 0xf2, 0x14, 0x33, 0x7c, 0xff, 0xf1, 0xd6, + 0x57, 0x79, 0x6e, 0x42, 0x21, 0xae, 0x1e, 0x8c, 0x26, 0x1e, 0xbd, 0xd2, 0x83, 0x0e, 0x78, 0xad, + 0x63, 0x23, 0xbf, 0xd6, 0xb5, 0xff, 0x2d, 0xc1, 0x8b, 0x72, 0x20, 0xf2, 0x17, 0x0d, 0x26, 0x7c, + 0x99, 0x48, 0x2e, 0x66, 0x46, 0x49, 0x13, 0xaf, 0xfa, 0xda, 0x28, 0x2e, 0x8a, 0x80, 0x71, 0xff, + 0x67, 0xff, 0xf8, 0xef, 0x2f, 0x0e, 0x7e, 0x9b, 0x94, 0x4c, 0xcf, 0xe3, 0x82, 0x74, 0x0e, 0xbe, + 0x18, 0x99, 0x81, 0x40, 0x35, 0x77, 0xfa, 0x54, 0xda, 0xae, 0xb9, 0x13, 0x93, 0x91, 0xbb, 0xe4, + 0x9f, 0x1a, 0x90, 0x7e, 0xa9, 0x47, 0xae, 0x0f, 0x87, 0x35, 0x50, 0xe6, 0xea, 0x6f, 0xed, 0xcd, + 0x19, 0xd9, 0xdd, 0x91, 0xec, 0x6e, 0x92, 0x1b, 0xa9, 0xec, 0x90, 0x52, 0xad, 0x17, 0x61, 0x95, + 0x46, 0x94, 0xfc, 0x5a, 0x83, 0xa9, 0x88, 0xec, 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, 0x3c, + 0x4b, 0xe4, 0x40, 0x7d, 0x99, 0x67, 0x89, 0x1c, 0xac, 0x3c, 0x87, 0x94, 0x48, 0x52, 0x94, 0x92, + 0x5f, 0x6a, 0x30, 0xae, 0xc4, 0x1e, 0x59, 0xcb, 0x35, 0x6e, 0x4c, 0x6f, 0xea, 0x97, 0x46, 0xf2, + 0x41, 0x88, 0xcb, 0x12, 0xe2, 0x29, 0xb2, 0x90, 0x0a, 0x51, 0x49, 0x4e, 0xf2, 0x57, 0x0d, 0x0e, + 0xf7, 0x89, 0x49, 0x72, 0x2d, 0xc7, 0x8a, 0x36, 0x40, 0xa3, 0xea, 0xd7, 0xf7, 0xe4, 0x8b, 0x98, + 0xaf, 0x4a, 0xcc, 0x97, 0xc8, 0xc5, 0x28, 0x66, 0x3f, 0x4a, 0x64, 0x61, 0x6c, 0xb3, 0x8f, 0x12, + 0x0a, 0x97, 0xfc, 0x5d, 0x83, 0xc3, 0x7d, 0x42, 0x32, 0x0f, 0x93, 0x41, 0x4a, 0x36, 0x0f, 0x93, + 0x81, 0xca, 0xd5, 0xb8, 0x2d, 0x99, 0xdc, 0x20, 0xd7, 0xd3, 0xf7, 0x50, 0xa9, 0x7e, 0x92, 0x5b, + 0x68, 0x42, 0x36, 0xef, 0x7a, 0xd2, 0x86, 0x6c, 0x50, 0x91, 0x90, 0x94, 0x24, 0xdf, 0x7c, 0x4b, + 0x51, 0xbb, 0x79, 0xb6, 0xaa, 0x01, 0xfa, 0xd5, 0x58, 0x93, 0x84, 0xce, 0x93, 0xd5, 0x81, 0x8b, + 0xa2, 0xd5, 0xe9, 0x54, 0x15, 0x07, 0x17, 0x81, 0x7e, 0xa5, 0xc1, 0x51, 0x19, 0x8c, 0x27, 0x94, + 0x20, 0xb9, 0x91, 0x3b, 0xb7, 0x69, 0xb2, 0x54, 0x7f, 0x7b, 0xaf, 0xee, 0x48, 0x66, 0x53, 0x92, + 0x29, 0x91, 0x5b, 0xd9, 0x6f, 0x47, 0x4d,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 0xb8, 0xfc, 0x9b, 0x06, + 0xf3, 0x69, 0x97, 0x85, 0x79, 0xd6, 0xa9, 0x8c, 0x3b, 0xca, 0x3c, 0xeb, 0x54, 0xd6, 0x1d, 0xa5, + 0xf1, 0xa6, 0xe4, 0x60, 0x92, 0x0b, 0xc3, 0x39, 0x24, 0x64, 0x74, 0xec, 0x0e, 0x7b, 0x04, 0x0d, + 0x1d, 0xcf, 0xff, 0x95, 0xd1, 0x1d, 0x73, 0x29, 0xd2, 0x7a, 0xe8, 0x11, 0x53, 0xa4, 0x91, 0x48, + 0xf9, 0x15, 0xe9, 0xde, 0x70, 0xa7, 0xff, 0x03, 0xc1, 0x10, 0x45, 0x1a, 0xc1, 0x5d, 0xba, 0xf7, + 0xc5, 0xb3, 0x82, 0xf6, 0xe5, 0xb3, 0x82, 0xf6, 0xd5, 0xb3, 0x82, 0xf6, 0xf3, 0xe7, 0x85, 0x03, + 0x5f, 0x3e, 0x2f, 0x1c, 0xf8, 0xd7, 0xf3, 0xc2, 0x81, 0xc7, 0x66, 0xcb, 0x16, 0xed, 0xed, 0x5a, + 0xb1, 0xce, 0x9e, 0xa4, 0xea, 0x98, 0x8f, 0x23, 0x73, 0xa7, 0xd7, 0xa5, 0xbc, 0x36, 0x2e, 0xff, + 0xcf, 0xe3, 0xd2, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x40, 0xfd, 0x0d, 0xb0, 0x23, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2362,8 +2276,6 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { - // Parameters queries the parameters of the module. - Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Query if a voter has voted for a ballot HasVoted(ctx context.Context, in *QueryHasVotedRequest, opts ...grpc.CallOption) (*QueryHasVotedResponse, error) // Queries a list of VoterByIdentifier items. @@ -2412,15 +2324,6 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { return &queryClient{cc} } -func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { - out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/zetachain.zetacore.observer.Query/Params", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *queryClient) HasVoted(ctx context.Context, in *QueryHasVotedRequest, opts ...grpc.CallOption) (*QueryHasVotedResponse, error) { out := new(QueryHasVotedResponse) err := c.cc.Invoke(ctx, "/zetachain.zetacore.observer.Query/HasVoted", in, out, opts...) @@ -2621,8 +2524,6 @@ func (c *queryClient) ChainNoncesAll(ctx context.Context, in *QueryAllChainNonce // QueryServer is the server API for Query service. type QueryServer interface { - // Parameters queries the parameters of the module. - Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Query if a voter has voted for a ballot HasVoted(context.Context, *QueryHasVotedRequest) (*QueryHasVotedResponse, error) // Queries a list of VoterByIdentifier items. @@ -2667,9 +2568,6 @@ type QueryServer interface { type UnimplementedQueryServer struct { } -func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") -} func (*UnimplementedQueryServer) HasVoted(ctx context.Context, req *QueryHasVotedRequest) (*QueryHasVotedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method HasVoted not implemented") } @@ -2741,24 +2639,6 @@ func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) } -func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryParamsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).Params(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/zetachain.zetacore.observer.Query/Params", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _Query_HasVoted_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryHasVotedRequest) if err := dec(in); err != nil { @@ -3159,10 +3039,6 @@ var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "zetachain.zetacore.observer.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ - { - MethodName: "Params", - Handler: _Query_Params_Handler, - }, { MethodName: "HasVoted", Handler: _Query_HasVoted_Handler, @@ -3823,62 +3699,6 @@ func (m *QueryTssHistoryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - func (m *QueryHasVotedRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -5079,26 +4899,6 @@ func (m *QueryTssHistoryResponse) Size() (n int) { return n } -func (m *QueryParamsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *QueryParamsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Params.Size() - n += 1 + l + sovQuery(uint64(l)) - return n -} - func (m *QueryHasVotedRequest) Size() (n int) { if m == nil { return 0 @@ -6946,139 +6746,6 @@ func (m *QueryTssHistoryResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *QueryHasVotedRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/observer/types/query.pb.gw.go b/x/observer/types/query.pb.gw.go index a99816daa0..7057ad2066 100644 --- a/x/observer/types/query.pb.gw.go +++ b/x/observer/types/query.pb.gw.go @@ -33,24 +33,6 @@ var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage var _ = metadata.Join -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) { - var protoReq QueryParamsRequest - var metadata runtime.ServerMetadata - - 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) { - var protoReq QueryParamsRequest - var metadata runtime.ServerMetadata - - msg, err := server.Params(ctx, &protoReq) - return msg, metadata, err - -} - func request_Query_HasVoted_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryHasVotedRequest var metadata runtime.ServerMetadata @@ -969,29 +951,6 @@ func local_request_Query_ChainNoncesAll_0(ctx context.Context, marshaler runtime // 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_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_HasVoted_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1539,26 +1498,6 @@ func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc // "QueryClient" to call the correct interceptors. func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { - mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_Params_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_HasVoted_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -2003,8 +1942,6 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"zeta-chain", "observer", "params"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_HasVoted_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"zeta-chain", "observer", "has_voted", "ballot_identifier", "voter_address"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_BallotByIdentifier_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"zeta-chain", "observer", "ballot_by_identifier", "ballot_identifier"}, "", runtime.AssumeColonVerbOpt(false))) @@ -2051,8 +1988,6 @@ var ( ) var ( - forward_Query_Params_0 = runtime.ForwardResponseMessage - forward_Query_HasVoted_0 = runtime.ForwardResponseMessage forward_Query_BallotByIdentifier_0 = runtime.ForwardResponseMessage From 5a410a486e7e66d50f330fcd7db19c0bb0664c74 Mon Sep 17 00:00:00 2001 From: skosito Date: Mon, 29 Apr 2024 19:44:21 +0100 Subject: [PATCH 11/40] feat: cosmos v0.47 upgrade (#2039) --- Makefile | 18 +- app/ante/ante.go | 2 +- app/ante/handler_options.go | 4 +- app/ante/vesting_test.go | 6 +- app/app.go | 131 +- app/encoding.go | 2 +- app/export.go | 6 +- app/setup_handlers.go | 54 +- changelog.md | 6 + cmd/zetaclientd/p2p_diagnostics.go | 2 +- cmd/zetaclientd/root.go | 2 +- cmd/zetacored/parsers_test.go | 2 +- cmd/zetacored/root.go | 66 +- contrib/localnet/scripts/start-zetacored.sh | 2 +- docs/cli/zetacored/zetacored.md | 1 + .../zetacored_add-genesis-account.md | 1 + .../zetacored/zetacored_add-observer-list.md | 1 + .../zetacored/zetacored_addr-conversion.md | 1 + .../cli/zetacored/zetacored_collect-gentxs.md | 1 + .../zetacored_collect-observer-info.md | 1 + docs/cli/zetacored/zetacored_config.md | 1 + docs/cli/zetacored/zetacored_debug.md | 2 + docs/cli/zetacored/zetacored_debug_addr.md | 1 + .../cli/zetacored/zetacored_debug_prefixes.md | 38 + .../zetacored/zetacored_debug_pubkey-raw.md | 1 + docs/cli/zetacored/zetacored_debug_pubkey.md | 1 + .../zetacored/zetacored_debug_raw-bytes.md | 1 + docs/cli/zetacored/zetacored_docs.md | 1 + docs/cli/zetacored/zetacored_export.md | 3 + docs/cli/zetacored/zetacored_gentx.md | 7 +- docs/cli/zetacored/zetacored_get-pubkey.md | 1 + docs/cli/zetacored/zetacored_index-eth-tx.md | 1 + docs/cli/zetacored/zetacored_init.md | 14 +- docs/cli/zetacored/zetacored_keys.md | 1 + docs/cli/zetacored/zetacored_keys_.md | 1 + docs/cli/zetacored/zetacored_keys_add.md | 3 +- docs/cli/zetacored/zetacored_keys_delete.md | 1 + docs/cli/zetacored/zetacored_keys_export.md | 1 + docs/cli/zetacored/zetacored_keys_import.md | 1 + docs/cli/zetacored/zetacored_keys_list.md | 1 + docs/cli/zetacored/zetacored_keys_migrate.md | 1 + docs/cli/zetacored/zetacored_keys_mnemonic.md | 1 + docs/cli/zetacored/zetacored_keys_parse.md | 1 + docs/cli/zetacored/zetacored_keys_rename.md | 1 + docs/cli/zetacored/zetacored_keys_show.md | 1 + .../zetacored_keys_unsafe-export-eth-key.md | 1 + .../zetacored_keys_unsafe-import-eth-key.md | 1 + docs/cli/zetacored/zetacored_query.md | 1 + docs/cli/zetacored/zetacored_query_account.md | 1 + docs/cli/zetacored/zetacored_query_auth.md | 1 + .../zetacored/zetacored_query_auth_account.md | 1 + .../zetacored_query_auth_accounts.md | 1 + ...zetacored_query_auth_address-by-acc-num.md | 1 + .../zetacored_query_auth_module-account.md | 1 + .../zetacored_query_auth_module-accounts.md | 1 + .../zetacored/zetacored_query_auth_params.md | 1 + .../zetacored/zetacored_query_authority.md | 1 + ...zetacored_query_authority_show-policies.md | 1 + docs/cli/zetacored/zetacored_query_authz.md | 1 + ...zetacored_query_authz_grants-by-grantee.md | 1 + ...zetacored_query_authz_grants-by-granter.md | 1 + .../zetacored/zetacored_query_authz_grants.md | 1 + docs/cli/zetacored/zetacored_query_bank.md | 3 + .../zetacored_query_bank_balances.md | 1 + .../zetacored_query_bank_denom-metadata.md | 1 + .../zetacored_query_bank_send-enabled.md | 60 + ...zetacored_query_bank_spendable-balances.md | 47 + .../zetacored/zetacored_query_bank_total.md | 1 + docs/cli/zetacored/zetacored_query_block.md | 1 + .../zetacored/zetacored_query_crosschain.md | 1 + ...ed_query_crosschain_get-zeta-accounting.md | 1 + ...uery_crosschain_in-tx-hash-to-cctx-data.md | 1 + ...cored_query_crosschain_last-zeta-height.md | 1 + ...uery_crosschain_list-all-in-tx-trackers.md | 1 + .../zetacored_query_crosschain_list-cctx.md | 1 + ...tacored_query_crosschain_list-gas-price.md | 1 + ...uery_crosschain_list-in-tx-hash-to-cctx.md | 1 + ...red_query_crosschain_list-in-tx-tracker.md | 1 + ...ed_query_crosschain_list-out-tx-tracker.md | 1 + ...ored_query_crosschain_list-pending-cctx.md | 1 + .../zetacored_query_crosschain_show-cctx.md | 1 + ...tacored_query_crosschain_show-gas-price.md | 1 + ...uery_crosschain_show-in-tx-hash-to-cctx.md | 1 + ...ed_query_crosschain_show-out-tx-tracker.md | 1 + .../zetacored/zetacored_query_distribution.md | 2 + ...zetacored_query_distribution_commission.md | 1 + ...cored_query_distribution_community-pool.md | 1 + .../zetacored_query_distribution_params.md | 1 + .../zetacored_query_distribution_rewards.md | 1 + .../zetacored_query_distribution_slashes.md | 1 + ...istribution_validator-distribution-info.md | 40 + ...tribution_validator-outstanding-rewards.md | 1 + .../zetacored/zetacored_query_emissions.md | 1 + ...ed_query_emissions_get-emmisons-factors.md | 1 + ...red_query_emissions_list-pool-addresses.md | 1 + .../zetacored_query_emissions_params.md | 1 + ...uery_emissions_show-available-emissions.md | 1 + .../cli/zetacored/zetacored_query_evidence.md | 1 + docs/cli/zetacored/zetacored_query_evm.md | 1 + .../cli/zetacored/zetacored_query_evm_code.md | 1 + .../zetacored/zetacored_query_evm_params.md | 1 + .../zetacored/zetacored_query_evm_storage.md | 1 + .../zetacored/zetacored_query_feemarket.md | 1 + .../zetacored_query_feemarket_base-fee.md | 1 + .../zetacored_query_feemarket_block-gas.md | 1 + .../zetacored_query_feemarket_params.md | 1 + .../cli/zetacored/zetacored_query_fungible.md | 1 + .../zetacored_query_fungible_code-hash.md | 1 + ...ery_fungible_gas-stability-pool-address.md | 1 + ...ery_fungible_gas-stability-pool-balance.md | 1 + ...ry_fungible_gas-stability-pool-balances.md | 1 + ...cored_query_fungible_list-foreign-coins.md | 1 + ...cored_query_fungible_show-foreign-coins.md | 1 + ...etacored_query_fungible_system-contract.md | 1 + docs/cli/zetacored/zetacored_query_gov.md | 1 + .../zetacored/zetacored_query_gov_deposit.md | 1 + .../zetacored/zetacored_query_gov_deposits.md | 1 + .../zetacored/zetacored_query_gov_param.md | 2 +- .../zetacored/zetacored_query_gov_params.md | 1 + .../zetacored/zetacored_query_gov_proposal.md | 1 + .../zetacored_query_gov_proposals.md | 1 + .../zetacored/zetacored_query_gov_proposer.md | 1 + .../zetacored/zetacored_query_gov_tally.md | 1 + .../cli/zetacored/zetacored_query_gov_vote.md | 1 + .../zetacored/zetacored_query_gov_votes.md | 1 + docs/cli/zetacored/zetacored_query_group.md | 1 + .../zetacored_query_group_group-info.md | 1 + .../zetacored_query_group_group-members.md | 7 + ...red_query_group_group-policies-by-admin.md | 7 + ...red_query_group_group-policies-by-group.md | 7 + ...zetacored_query_group_group-policy-info.md | 1 + .../zetacored_query_group_groups-by-admin.md | 7 + .../zetacored_query_group_groups-by-member.md | 1 + .../zetacored/zetacored_query_group_groups.md | 1 + .../zetacored_query_group_proposal.md | 1 + ...d_query_group_proposals-by-group-policy.md | 7 + .../zetacored_query_group_tally-result.md | 1 + .../zetacored/zetacored_query_group_vote.md | 1 + ...zetacored_query_group_votes-by-proposal.md | 7 + .../zetacored_query_group_votes-by-voter.md | 7 + .../zetacored/zetacored_query_lightclient.md | 1 + ...red_query_lightclient_list-block-header.md | 1 + ...ored_query_lightclient_list-chain-state.md | 1 + ...red_query_lightclient_show-block-header.md | 1 + ...ored_query_lightclient_show-chain-state.md | 1 + ...ery_lightclient_show-verification-flags.md | 1 + .../cli/zetacored/zetacored_query_observer.md | 1 + ...ery_observer_get-historical-tss-address.md | 1 + ...etacored_query_observer_get-tss-address.md | 1 + ...acored_query_observer_list-blame-by-msg.md | 1 + .../zetacored_query_observer_list-blame.md | 1 + ...acored_query_observer_list-chain-nonces.md | 1 + ...acored_query_observer_list-chain-params.md | 1 + .../zetacored_query_observer_list-chains.md | 1 + ...acored_query_observer_list-node-account.md | 1 + ...acored_query_observer_list-observer-set.md | 1 + ...ored_query_observer_list-pending-nonces.md | 1 + ...tacored_query_observer_list-tss-history.md | 1 + .../zetacored_query_observer_show-ballot.md | 1 + .../zetacored_query_observer_show-blame.md | 1 + ...acored_query_observer_show-chain-nonces.md | 1 + ...acored_query_observer_show-chain-params.md | 1 + ...ed_query_observer_show-crosschain-flags.md | 1 + .../zetacored_query_observer_show-keygen.md | 1 + ...acored_query_observer_show-node-account.md | 1 + ...ored_query_observer_show-observer-count.md | 1 + .../zetacored_query_observer_show-tss.md | 1 + docs/cli/zetacored/zetacored_query_params.md | 1 + .../zetacored_query_params_subspace.md | 1 + .../cli/zetacored/zetacored_query_slashing.md | 1 + .../zetacored_query_slashing_params.md | 1 + .../zetacored_query_slashing_signing-info.md | 1 + .../zetacored_query_slashing_signing-infos.md | 1 + docs/cli/zetacored/zetacored_query_staking.md | 1 + .../zetacored_query_staking_delegation.md | 1 + .../zetacored_query_staking_delegations-to.md | 1 + .../zetacored_query_staking_delegations.md | 1 + ...zetacored_query_staking_historical-info.md | 1 + .../zetacored_query_staking_params.md | 1 + .../zetacored/zetacored_query_staking_pool.md | 1 + .../zetacored_query_staking_redelegation.md | 1 + ...acored_query_staking_redelegations-from.md | 1 + .../zetacored_query_staking_redelegations.md | 1 + ...ored_query_staking_unbonding-delegation.md | 1 + ...uery_staking_unbonding-delegations-from.md | 1 + ...red_query_staking_unbonding-delegations.md | 1 + .../zetacored_query_staking_validator.md | 1 + .../zetacored_query_staking_validators.md | 1 + ...etacored_query_tendermint-validator-set.md | 1 + docs/cli/zetacored/zetacored_query_tx.md | 1 + docs/cli/zetacored/zetacored_query_txs.md | 1 + docs/cli/zetacored/zetacored_query_upgrade.md | 1 + .../zetacored_query_upgrade_applied.md | 1 + ...zetacored_query_upgrade_module_versions.md | 1 + .../zetacored/zetacored_query_upgrade_plan.md | 1 + docs/cli/zetacored/zetacored_rollback.md | 2 + docs/cli/zetacored/zetacored_rosetta.md | 1 + docs/cli/zetacored/zetacored_snapshots.md | 1 + .../zetacored/zetacored_snapshots_delete.md | 1 + .../cli/zetacored/zetacored_snapshots_dump.md | 1 + .../zetacored/zetacored_snapshots_export.md | 1 + .../cli/zetacored/zetacored_snapshots_list.md | 1 + .../cli/zetacored/zetacored_snapshots_load.md | 1 + .../zetacored/zetacored_snapshots_restore.md | 1 + docs/cli/zetacored/zetacored_start.md | 6 +- docs/cli/zetacored/zetacored_status.md | 1 + docs/cli/zetacored/zetacored_tendermint.md | 1 + .../zetacored_tendermint_reset-state.md | 1 + .../zetacored_tendermint_show-address.md | 1 + .../zetacored_tendermint_show-node-id.md | 1 + .../zetacored_tendermint_show-validator.md | 1 + .../zetacored_tendermint_unsafe-reset-all.md | 1 + .../zetacored/zetacored_tendermint_version.md | 1 + docs/cli/zetacored/zetacored_testnet.md | 1 + .../zetacored/zetacored_testnet_init-files.md | 3 +- docs/cli/zetacored/zetacored_testnet_start.md | 3 +- docs/cli/zetacored/zetacored_tx.md | 1 + docs/cli/zetacored/zetacored_tx_authority.md | 1 + .../zetacored_tx_authority_update-policies.md | 5 +- docs/cli/zetacored/zetacored_tx_authz.md | 1 + docs/cli/zetacored/zetacored_tx_authz_exec.md | 5 +- .../cli/zetacored/zetacored_tx_authz_grant.md | 8 +- .../zetacored/zetacored_tx_authz_revoke.md | 5 +- docs/cli/zetacored/zetacored_tx_bank.md | 1 + .../zetacored/zetacored_tx_bank_multi-send.md | 15 +- docs/cli/zetacored/zetacored_tx_bank_send.md | 5 +- docs/cli/zetacored/zetacored_tx_broadcast.md | 5 +- docs/cli/zetacored/zetacored_tx_crisis.md | 1 + .../zetacored_tx_crisis_invariant-broken.md | 5 +- docs/cli/zetacored/zetacored_tx_crosschain.md | 1 + ...etacored_tx_crosschain_abort-stuck-cctx.md | 5 +- ...ored_tx_crosschain_add-to-in-tx-tracker.md | 5 +- ...red_tx_crosschain_add-to-out-tx-tracker.md | 5 +- .../zetacored_tx_crosschain_inbound-voter.md | 5 +- ...tacored_tx_crosschain_migrate-tss-funds.md | 5 +- .../zetacored_tx_crosschain_outbound-voter.md | 5 +- .../zetacored_tx_crosschain_refund-aborted.md | 5 +- ...x_crosschain_remove-from-out-tx-tracker.md | 5 +- ...acored_tx_crosschain_update-tss-address.md | 5 +- .../zetacored_tx_crosschain_vote-gas-price.md | 5 +- ...zetacored_tx_crosschain_whitelist-erc20.md | 5 +- docs/cli/zetacored/zetacored_tx_decode.md | 6 +- .../zetacored/zetacored_tx_distribution.md | 1 + ...red_tx_distribution_fund-community-pool.md | 5 +- ...cored_tx_distribution_set-withdraw-addr.md | 5 +- ...ed_tx_distribution_withdraw-all-rewards.md | 5 +- ...acored_tx_distribution_withdraw-rewards.md | 5 +- docs/cli/zetacored/zetacored_tx_emissions.md | 1 + ...etacored_tx_emissions_withdraw-emission.md | 5 +- docs/cli/zetacored/zetacored_tx_encode.md | 8 +- docs/cli/zetacored/zetacored_tx_evidence.md | 1 + docs/cli/zetacored/zetacored_tx_evm.md | 1 + docs/cli/zetacored/zetacored_tx_evm_raw.md | 5 +- docs/cli/zetacored/zetacored_tx_fungible.md | 1 + ..._tx_fungible_deploy-fungible-coin-zrc-4.md | 5 +- ...red_tx_fungible_deploy-system-contracts.md | 5 +- ...tacored_tx_fungible_remove-foreign-coin.md | 5 +- ...ed_tx_fungible_update-contract-bytecode.md | 5 +- ...ored_tx_fungible_update-system-contract.md | 5 +- ..._tx_fungible_update-zrc20-liquidity-cap.md | 5 +- ..._tx_fungible_update-zrc20-paused-status.md | 5 +- ...d_tx_fungible_update-zrc20-withdraw-fee.md | 5 +- docs/cli/zetacored/zetacored_tx_gov.md | 1 + .../cli/zetacored/zetacored_tx_gov_deposit.md | 5 +- .../zetacored_tx_gov_draft-proposal.md | 6 +- ...zetacored_tx_gov_submit-legacy-proposal.md | 6 +- ...legacy-proposal_cancel-software-upgrade.md | 5 +- ...it-legacy-proposal_community-pool-spend.md | 70 - ...gov_submit-legacy-proposal_param-change.md | 5 +- ...submit-legacy-proposal_software-upgrade.md | 5 +- .../zetacored_tx_gov_submit-proposal.md | 23 +- docs/cli/zetacored/zetacored_tx_gov_vote.md | 5 +- .../zetacored_tx_gov_weighted-vote.md | 5 +- docs/cli/zetacored/zetacored_tx_group.md | 1 + .../zetacored_tx_group_create-group-policy.md | 5 +- ...cored_tx_group_create-group-with-policy.md | 5 +- .../zetacored_tx_group_create-group.md | 5 +- .../zetacored_tx_group_draft-proposal.md | 6 +- docs/cli/zetacored/zetacored_tx_group_exec.md | 5 +- .../zetacored_tx_group_leave-group.md | 5 +- .../zetacored_tx_group_submit-proposal.md | 20 +- .../zetacored_tx_group_update-group-admin.md | 5 +- ...zetacored_tx_group_update-group-members.md | 5 +- ...etacored_tx_group_update-group-metadata.md | 5 +- ...ored_tx_group_update-group-policy-admin.md | 5 +- ...oup_update-group-policy-decision-policy.md | 5 +- ...d_tx_group_update-group-policy-metadata.md | 5 +- docs/cli/zetacored/zetacored_tx_group_vote.md | 5 +- .../zetacored_tx_group_withdraw-proposal.md | 5 +- .../cli/zetacored/zetacored_tx_lightclient.md | 1 + ...x_lightclient_update-verification-flags.md | 5 +- docs/cli/zetacored/zetacored_tx_multi-sign.md | 6 +- .../zetacored/zetacored_tx_multisign-batch.md | 6 +- docs/cli/zetacored/zetacored_tx_observer.md | 1 + .../zetacored_tx_observer_add-blame-vote.md | 5 +- .../zetacored_tx_observer_add-observer.md | 5 +- .../zetacored/zetacored_tx_observer_encode.md | 5 +- ...tacored_tx_observer_remove-chain-params.md | 5 +- ...etacored_tx_observer_reset-chain-nonces.md | 5 +- ...tacored_tx_observer_update-chain-params.md | 5 +- ...red_tx_observer_update-crosschain-flags.md | 5 +- .../zetacored_tx_observer_update-keygen.md | 5 +- .../zetacored_tx_observer_update-observer.md | 5 +- .../zetacored_tx_observer_vote-tss.md | 5 +- docs/cli/zetacored/zetacored_tx_sign-batch.md | 5 +- docs/cli/zetacored/zetacored_tx_sign.md | 3 +- docs/cli/zetacored/zetacored_tx_slashing.md | 1 + .../zetacored/zetacored_tx_slashing_unjail.md | 5 +- docs/cli/zetacored/zetacored_tx_staking.md | 1 + .../zetacored_tx_staking_cancel-unbond.md | 5 +- .../zetacored_tx_staking_create-validator.md | 5 +- .../zetacored_tx_staking_delegate.md | 5 +- .../zetacored_tx_staking_edit-validator.md | 5 +- .../zetacored_tx_staking_redelegate.md | 5 +- .../zetacored/zetacored_tx_staking_unbond.md | 5 +- .../zetacored_tx_validate-signatures.md | 3 +- docs/cli/zetacored/zetacored_tx_vesting.md | 1 + ...vesting_create-periodic-vesting-account.md | 5 +- ...vesting_create-permanent-locked-account.md | 5 +- ...cored_tx_vesting_create-vesting-account.md | 5 +- .../zetacored/zetacored_validate-genesis.md | 1 + docs/cli/zetacored/zetacored_version.md | 1 + docs/openapi/openapi.swagger.yaml | 6697 ++++++++++++----- docs/spec/crosschain/messages.md | 12 +- docs/spec/emissions/messages.md | 12 - docs/spec/fungible/messages.md | 2 +- docs/spec/observer/messages.md | 4 +- e2e/txserver/zeta_tx_server.go | 4 +- e2e/utils/zetacore.go | 4 +- go.mod | 123 +- go.sum | 2071 +---- pkg/chains/chains.pb.go | 80 +- pkg/coin/coin.pb.go | 43 +- pkg/crypto/crypto.pb.go | 45 +- pkg/crypto/pubkey_test.go | 2 +- pkg/proofs/bitcoin/bitcoin.pb.go | 42 +- pkg/proofs/ethereum/ethereum.pb.go | 37 +- pkg/proofs/proofs.pb.go | 80 +- proto/buf.yaml | 1 + proto/crosschain/genesis.proto | 24 - proto/emissions/genesis.proto | 14 - proto/lightclient/genesis.proto | 16 - proto/lightclient/query.proto | 90 - proto/observer/genesis.proto | 35 - proto/observer/query.proto | 305 - proto/pkg/crypto/crypto.proto | 15 - .../zetacore}/authority/genesis.proto | 6 +- .../zetacore}/authority/policies.proto | 13 +- .../zetacore}/authority/query.proto | 10 +- .../zetacore}/authority/tx.proto | 4 +- .../zetacore}/crosschain/cross_chain_tx.proto | 35 +- .../zetacore}/crosschain/events.proto | 0 .../zetacore}/crosschain/gas_price.proto | 0 .../zetacore/crosschain/genesis.proto | 25 + .../crosschain/in_tx_hash_to_cctx.proto | 0 .../zetacore}/crosschain/in_tx_tracker.proto | 4 +- .../crosschain/last_block_height.proto | 0 .../zetacore}/crosschain/out_tx_tracker.proto | 0 .../zetacore}/crosschain/query.proto | 138 +- .../zetacore}/crosschain/tx.proto | 45 +- .../zetacore}/emissions/events.proto | 0 .../zetacore/emissions/genesis.proto | 15 + .../zetacore}/emissions/params.proto | 0 .../zetacore}/emissions/query.proto | 38 +- .../zetacore}/emissions/tx.proto | 13 +- .../emissions/withdrawable_emissions.proto | 0 .../zetacore}/fungible/events.proto | 8 +- .../zetacore}/fungible/foreign_coins.proto | 4 +- .../zetacore}/fungible/genesis.proto | 6 +- .../zetacore}/fungible/query.proto | 59 +- .../zetacore}/fungible/system_contract.proto | 0 .../zetacore}/fungible/tx.proto | 36 +- .../zetacore}/lightclient/chain_state.proto | 0 .../zetacore/lightclient/genesis.proto | 17 + .../zetacore/lightclient/query.proto | 88 + .../zetacore}/lightclient/tx.proto | 7 +- .../lightclient/verification_flags.proto | 3 +- .../zetacore}/observer/ballot.proto | 6 +- .../zetacore}/observer/blame.proto | 2 +- .../zetacore}/observer/chain_nonces.proto | 0 .../zetacore}/observer/crosschain_flags.proto | 9 +- .../zetacore}/observer/events.proto | 4 +- .../zetachain/zetacore/observer/genesis.proto | 36 + .../zetacore}/observer/keygen.proto | 0 .../zetacore}/observer/node_account.proto | 4 +- .../zetacore}/observer/nonce_to_cctx.proto | 0 .../zetacore}/observer/observer.proto | 8 +- .../zetacore}/observer/params.proto | 24 +- .../zetacore}/observer/pending_nonces.proto | 0 proto/zetachain/zetacore/observer/query.proto | 298 + .../zetacore}/observer/tss.proto | 0 .../observer/tss_funds_migrator.proto | 0 .../zetacore}/observer/tx.proto | 34 +- .../zetacore}/pkg/chains/chains.proto | 2 +- .../zetacore}/pkg/coin/coin.proto | 6 +- .../zetacore/pkg/crypto/crypto.proto | 13 + .../pkg/proofs/bitcoin/bitcoin.proto | 2 +- .../pkg/proofs/ethereum/ethereum.proto | 2 +- .../zetacore}/pkg/proofs/proofs.proto | 14 +- rpc/apis.go | 2 +- rpc/backend/backend.go | 4 +- rpc/backend/blocks.go | 25 +- rpc/backend/chain_info.go | 12 +- rpc/backend/mocks/client.go | 10 +- rpc/backend/node_info.go | 2 +- rpc/backend/tracing.go | 2 +- rpc/backend/tx_info.go | 9 +- rpc/backend/utils.go | 13 +- rpc/ethereum/pubsub/pubsub.go | 2 +- rpc/ethereum/pubsub/pubsub_test.go | 2 +- rpc/namespaces/ethereum/debug/api.go | 2 +- rpc/namespaces/ethereum/debug/utils.go | 2 +- rpc/namespaces/ethereum/eth/api.go | 2 +- rpc/namespaces/ethereum/eth/filters/api.go | 8 +- .../ethereum/eth/filters/filter_system.go | 12 +- .../ethereum/eth/filters/filters.go | 4 +- .../ethereum/eth/filters/subscription.go | 2 +- rpc/namespaces/ethereum/miner/api.go | 2 +- rpc/namespaces/ethereum/net/api.go | 4 +- rpc/namespaces/ethereum/personal/api.go | 2 +- rpc/namespaces/ethereum/txpool/api.go | 2 +- rpc/types/events.go | 6 +- rpc/types/events_test.go | 152 +- rpc/types/query_client.go | 4 +- rpc/types/utils.go | 16 +- rpc/websockets.go | 6 +- scripts/protoc-gen-go.sh | 37 +- server/config/config.go | 2 +- server/indexer_cmd.go | 6 +- server/indexer_service.go | 6 +- server/start.go | 34 +- server/util.go | 6 +- testutil/keeper/authority.go | 2 +- testutil/keeper/crosschain.go | 2 +- testutil/keeper/emissions.go | 2 +- testutil/keeper/fungible.go | 2 +- testutil/keeper/keeper.go | 58 +- testutil/keeper/lightclient.go | 2 +- testutil/keeper/observer.go | 2 +- testutil/network/network_config.go | 69 - testutil/network/network_setup.go | 207 +- testutil/network/util.go | 77 +- testutil/sample/crypto.go | 2 +- testutil/simapp/default_constants.go | 9 +- testutil/simapp/simapp.go | 19 +- .../zetacore}/authority/genesis_pb.d.ts | 2 +- .../zetacore}/authority/index.d.ts | 0 .../zetacore}/authority/policies_pb.d.ts | 8 +- .../zetacore}/authority/query_pb.d.ts | 8 +- .../zetacore}/authority/tx_pb.d.ts | 2 +- .../crosschain/cross_chain_tx_pb.d.ts | 15 +- .../zetacore}/crosschain/events_pb.d.ts | 2 +- .../zetacore}/crosschain/gas_price_pb.d.ts | 2 +- .../zetacore}/crosschain/genesis_pb.d.ts | 2 +- .../crosschain/in_tx_hash_to_cctx_pb.d.ts | 2 +- .../crosschain/in_tx_tracker_pb.d.ts | 4 +- .../zetacore}/crosschain/index.d.ts | 0 .../crosschain/last_block_height_pb.d.ts | 2 +- .../crosschain/out_tx_tracker_pb.d.ts | 2 +- .../zetacore}/crosschain/query_pb.d.ts | 4 +- .../zetacore}/crosschain/tx_pb.d.ts | 14 +- .../zetacore}/emissions/events_pb.d.ts | 2 +- .../zetacore}/emissions/genesis_pb.d.ts | 2 +- .../zetacore}/emissions/index.d.ts | 0 .../zetacore}/emissions/params_pb.d.ts | 2 +- .../zetacore}/emissions/query_pb.d.ts | 52 +- .../zetacore}/emissions/tx_pb.d.ts | 51 +- .../emissions/withdrawable_emissions_pb.d.ts | 2 +- .../zetacore}/fungible/events_pb.d.ts | 6 +- .../zetacore}/fungible/foreign_coins_pb.d.ts | 4 +- .../zetacore}/fungible/genesis_pb.d.ts | 2 +- .../zetacore}/fungible/index.d.ts | 0 .../zetacore}/fungible/query_pb.d.ts | 4 +- .../fungible/system_contract_pb.d.ts | 2 +- .../zetacore}/fungible/tx_pb.d.ts | 4 +- .../zetacore}/lightclient/chain_state_pb.d.ts | 2 +- .../zetacore}/lightclient/genesis_pb.d.ts | 4 +- .../zetacore}/lightclient/index.d.ts | 0 .../zetacore}/lightclient/query_pb.d.ts | 10 +- .../zetacore}/lightclient/tx_pb.d.ts | 2 +- .../lightclient/verification_flags_pb.d.ts | 5 +- .../zetacore}/observer/ballot_pb.d.ts | 7 +- .../zetacore}/observer/blame_pb.d.ts | 2 +- .../zetacore}/observer/chain_nonces_pb.d.ts | 2 +- .../observer/crosschain_flags_pb.d.ts | 5 +- .../zetacore}/observer/events_pb.d.ts | 2 +- .../zetacore}/observer/genesis_pb.d.ts | 2 +- .../zetacore}/observer/index.d.ts | 0 .../zetacore}/observer/keygen_pb.d.ts | 2 +- .../zetacore}/observer/node_account_pb.d.ts | 4 +- .../zetacore}/observer/nonce_to_cctx_pb.d.ts | 2 +- .../zetacore}/observer/observer_pb.d.ts | 4 +- .../zetacore}/observer/params_pb.d.ts | 44 +- .../zetacore}/observer/pending_nonces_pb.d.ts | 2 +- .../zetacore}/observer/query_pb.d.ts | 6 +- .../observer/tss_funds_migrator_pb.d.ts | 2 +- .../zetacore}/observer/tss_pb.d.ts | 2 +- .../zetacore}/observer/tx_pb.d.ts | 6 +- .../zetacore}/pkg/chains/chains_pb.d.ts | 12 +- .../zetacore}/pkg/chains/index.d.ts | 0 .../zetacore}/pkg/coin/coin_pb.d.ts | 4 +- .../zetacore}/pkg/coin/index.d.ts | 0 .../zetacore}/pkg/crypto/crypto_pb.d.ts | 6 +- .../zetacore}/pkg/crypto/index.d.ts | 0 .../pkg/proofs/bitcoin/bitcoin_pb.d.ts | 6 +- .../zetacore}/pkg/proofs/bitcoin/index.d.ts | 0 .../pkg/proofs/ethereum/ethereum_pb.d.ts | 6 +- .../zetacore}/pkg/proofs/ethereum/index.d.ts | 0 .../zetacore}/pkg/proofs/index.d.ts | 0 .../zetacore}/pkg/proofs/proofs_pb.d.ts | 24 +- x/authority/keeper/keeper.go | 2 +- x/authority/module.go | 15 +- x/authority/types/genesis.pb.go | 43 +- x/authority/types/policies.pb.go | 61 +- x/authority/types/query.pb.go | 70 +- x/authority/types/query.pb.gw.go | 2 +- x/authority/types/tx.pb.go | 63 +- .../client/cli/cli_out_tx_tracker_test.go | 49 +- x/crosschain/client/querytests/cctx.go | 2 +- x/crosschain/client/querytests/cli_test.go | 69 +- x/crosschain/client/querytests/gas_price.go | 2 +- .../client/querytests/in_tx_tracker.go | 2 +- x/crosschain/client/querytests/intx_hash.go | 2 +- .../client/querytests/last_block_height.go | 2 +- .../client/querytests/out_tx_tracker.go | 2 +- x/crosschain/client/querytests/suite.go | 1 + x/crosschain/keeper/evm_deposit.go | 4 +- x/crosschain/keeper/keeper.go | 2 +- .../keeper/msg_server_migrate_tss_funds.go | 4 +- x/crosschain/module.go | 15 +- x/crosschain/module_simulation.go | 8 +- x/crosschain/types/cross_chain_tx.pb.go | 181 +- x/crosschain/types/events.pb.go | 115 +- x/crosschain/types/gas_price.pb.go | 51 +- x/crosschain/types/genesis.pb.go | 75 +- x/crosschain/types/in_tx_hash_to_cctx.pb.go | 39 +- x/crosschain/types/in_tx_tracker.pb.go | 50 +- x/crosschain/types/last_block_height.pb.go | 41 +- x/crosschain/types/out_tx_tracker.pb.go | 57 +- x/crosschain/types/query.pb.go | 319 +- x/crosschain/types/query.pb.gw.go | 2 +- x/crosschain/types/tx.pb.go | 260 +- x/emissions/keeper/keeper.go | 3 +- x/emissions/module.go | 15 +- x/emissions/types/events.pb.go | 87 +- x/emissions/types/genesis.pb.go | 49 +- .../types/message_update_params_test.go | 11 + x/emissions/types/params.go | 24 +- x/emissions/types/params.pb.go | 77 +- x/emissions/types/params_legacy.go | 9 +- x/emissions/types/query.pb.go | 124 +- x/emissions/types/query.pb.gw.go | 2 +- x/emissions/types/tx.pb.go | 79 +- .../types/withdrawable_emissions.pb.go | 47 +- x/fungible/keeper/evm.go | 4 +- x/fungible/keeper/evm_test.go | 59 +- x/fungible/keeper/keeper.go | 2 +- x/fungible/module.go | 15 +- x/fungible/module_simulation.go | 8 +- x/fungible/types/events.pb.go | 132 +- x/fungible/types/foreign_coins.pb.go | 77 +- x/fungible/types/genesis.pb.go | 51 +- x/fungible/types/query.pb.go | 163 +- x/fungible/types/query.pb.gw.go | 2 +- x/fungible/types/system_contract.pb.go | 41 +- x/fungible/types/tx.pb.go | 188 +- x/lightclient/keeper/keeper.go | 2 +- x/lightclient/module.go | 15 +- x/lightclient/types/chain_state.pb.go | 47 +- x/lightclient/types/genesis.pb.go | 60 +- x/lightclient/types/query.pb.go | 156 +- x/lightclient/types/query.pb.gw.go | 2 +- x/lightclient/types/tx.pb.go | 61 +- x/lightclient/types/verification_flags.pb.go | 37 +- x/observer/client/querytests/chain_nonces.go | 2 +- x/observer/client/querytests/cli_test.go | 69 +- .../client/querytests/crosschain_flags.go | 2 +- x/observer/client/querytests/keygen.go | 2 +- x/observer/client/querytests/node_account.go | 2 +- x/observer/client/querytests/tss.go | 2 +- x/observer/keeper/ballot_test.go | 8 +- .../keeper/grpc_query_chain_params_test.go | 12 +- x/observer/keeper/hooks.go | 4 + x/observer/keeper/keeper.go | 2 +- .../keeper/msg_server_add_observer_test.go | 2 +- x/observer/module.go | 15 +- x/observer/module_simulation.go | 6 +- x/observer/types/ballot.pb.go | 91 +- x/observer/types/blame.pb.go | 57 +- x/observer/types/chain_nonces.pb.go | 51 +- x/observer/types/crosschain_flags.pb.go | 91 +- x/observer/types/events.pb.go | 99 +- x/observer/types/genesis.pb.go | 97 +- x/observer/types/keygen.pb.go | 57 +- x/observer/types/keys.go | 7 +- x/observer/types/node_account.pb.go | 69 +- x/observer/types/nonce_to_cctx.pb.go | 47 +- x/observer/types/observer.pb.go | 80 +- x/observer/types/params.pb.go | 107 +- x/observer/types/pending_nonces.pb.go | 45 +- x/observer/types/query.pb.go | 381 +- x/observer/types/query.pb.gw.go | 2 +- x/observer/types/tss.pb.go | 54 +- x/observer/types/tss_funds_migrator.pb.go | 45 +- x/observer/types/tx.pb.go | 218 +- zetaclient/keys/keys_test.go | 2 +- zetaclient/testutils/stub/keyring.go | 4 + zetaclient/testutils/stub/sdk_client.go | 10 +- zetaclient/zetabridge/broadcast.go | 8 +- zetaclient/zetabridge/query.go | 7 +- zetaclient/zetabridge/query_test.go | 72 +- zetaclient/zetabridge/zetacore_bridge.go | 5 +- 612 files changed, 9935 insertions(+), 8516 deletions(-) create mode 100644 docs/cli/zetacored/zetacored_debug_prefixes.md create mode 100644 docs/cli/zetacored/zetacored_query_bank_send-enabled.md create mode 100644 docs/cli/zetacored/zetacored_query_bank_spendable-balances.md create mode 100644 docs/cli/zetacored/zetacored_query_distribution_validator-distribution-info.md delete mode 100644 docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_community-pool-spend.md delete mode 100644 proto/crosschain/genesis.proto delete mode 100644 proto/emissions/genesis.proto delete mode 100644 proto/lightclient/genesis.proto delete mode 100644 proto/lightclient/query.proto delete mode 100644 proto/observer/genesis.proto delete mode 100644 proto/observer/query.proto delete mode 100644 proto/pkg/crypto/crypto.proto rename proto/{ => zetachain/zetacore}/authority/genesis.proto (62%) rename proto/{ => zetachain/zetacore}/authority/policies.proto (56%) rename proto/{ => zetachain/zetacore}/authority/query.proto (81%) rename proto/{ => zetachain/zetacore}/authority/tx.proto (82%) rename proto/{ => zetachain/zetacore}/crosschain/cross_chain_tx.proto (73%) rename proto/{ => zetachain/zetacore}/crosschain/events.proto (100%) rename proto/{ => zetachain/zetacore}/crosschain/gas_price.proto (100%) create mode 100644 proto/zetachain/zetacore/crosschain/genesis.proto rename proto/{ => zetachain/zetacore}/crosschain/in_tx_hash_to_cctx.proto (100%) rename proto/{ => zetachain/zetacore}/crosschain/in_tx_tracker.proto (70%) rename proto/{ => zetachain/zetacore}/crosschain/last_block_height.proto (100%) rename proto/{ => zetachain/zetacore}/crosschain/out_tx_tracker.proto (100%) rename proto/{ => zetachain/zetacore}/crosschain/query.proto (56%) rename proto/{ => zetachain/zetacore}/crosschain/tx.proto (73%) rename proto/{ => zetachain/zetacore}/emissions/events.proto (100%) create mode 100644 proto/zetachain/zetacore/emissions/genesis.proto rename proto/{ => zetachain/zetacore}/emissions/params.proto (100%) rename proto/{ => zetachain/zetacore}/emissions/query.proto (50%) rename proto/{ => zetachain/zetacore}/emissions/tx.proto (57%) rename proto/{ => zetachain/zetacore}/emissions/withdrawable_emissions.proto (100%) rename proto/{ => zetachain/zetacore}/fungible/events.proto (89%) rename proto/{ => zetachain/zetacore}/fungible/foreign_coins.proto (86%) rename proto/{ => zetachain/zetacore}/fungible/genesis.proto (59%) rename proto/{ => zetachain/zetacore}/fungible/query.proto (52%) rename proto/{ => zetachain/zetacore}/fungible/system_contract.proto (100%) rename proto/{ => zetachain/zetacore}/fungible/tx.proto (65%) rename proto/{ => zetachain/zetacore}/lightclient/chain_state.proto (100%) create mode 100644 proto/zetachain/zetacore/lightclient/genesis.proto create mode 100644 proto/zetachain/zetacore/lightclient/query.proto rename proto/{ => zetachain/zetacore}/lightclient/tx.proto (56%) rename proto/{ => zetachain/zetacore}/lightclient/verification_flags.proto (83%) rename proto/{ => zetachain/zetacore}/observer/ballot.proto (83%) rename proto/{ => zetachain/zetacore}/observer/blame.proto (85%) rename proto/{ => zetachain/zetacore}/observer/chain_nonces.proto (100%) rename proto/{ => zetachain/zetacore}/observer/crosschain_flags.proto (88%) rename proto/{ => zetachain/zetacore}/observer/events.proto (89%) create mode 100644 proto/zetachain/zetacore/observer/genesis.proto rename proto/{ => zetachain/zetacore}/observer/keygen.proto (100%) rename proto/{ => zetachain/zetacore}/observer/node_account.proto (81%) rename proto/{ => zetachain/zetacore}/observer/nonce_to_cctx.proto (100%) rename proto/{ => zetachain/zetacore}/observer/observer.proto (80%) rename proto/{ => zetachain/zetacore}/observer/params.proto (62%) rename proto/{ => zetachain/zetacore}/observer/pending_nonces.proto (100%) create mode 100644 proto/zetachain/zetacore/observer/query.proto rename proto/{ => zetachain/zetacore}/observer/tss.proto (100%) rename proto/{ => zetachain/zetacore}/observer/tss_funds_migrator.proto (100%) rename proto/{ => zetachain/zetacore}/observer/tx.proto (70%) rename proto/{ => zetachain/zetacore}/pkg/chains/chains.proto (95%) rename proto/{ => zetachain/zetacore}/pkg/coin/coin.proto (62%) create mode 100644 proto/zetachain/zetacore/pkg/crypto/crypto.proto rename proto/{ => zetachain/zetacore}/pkg/proofs/bitcoin/bitcoin.proto (78%) rename proto/{ => zetachain/zetacore}/pkg/proofs/ethereum/ethereum.proto (77%) rename proto/{ => zetachain/zetacore}/pkg/proofs/proofs.proto (50%) mode change 100755 => 100644 scripts/protoc-gen-go.sh delete mode 100644 testutil/network/network_config.go rename typescript/{ => zetachain/zetacore}/authority/genesis_pb.d.ts (91%) rename typescript/{ => zetachain/zetacore}/authority/index.d.ts (100%) rename typescript/{ => zetachain/zetacore}/authority/policies_pb.d.ts (90%) rename typescript/{ => zetachain/zetacore}/authority/query_pb.d.ts (93%) rename typescript/{ => zetachain/zetacore}/authority/tx_pb.d.ts (95%) rename typescript/{ => zetachain/zetacore}/crosschain/cross_chain_tx_pb.d.ts (96%) rename typescript/{ => zetachain/zetacore}/crosschain/events_pb.d.ts (98%) rename typescript/{ => zetachain/zetacore}/crosschain/gas_price_pb.d.ts (92%) rename typescript/{ => zetachain/zetacore}/crosschain/genesis_pb.d.ts (95%) rename typescript/{ => zetachain/zetacore}/crosschain/in_tx_hash_to_cctx_pb.d.ts (90%) rename typescript/{ => zetachain/zetacore}/crosschain/in_tx_tracker_pb.d.ts (86%) rename typescript/{ => zetachain/zetacore}/crosschain/index.d.ts (100%) rename typescript/{ => zetachain/zetacore}/crosschain/last_block_height_pb.d.ts (91%) rename typescript/{ => zetachain/zetacore}/crosschain/out_tx_tracker_pb.d.ts (94%) rename typescript/{ => zetachain/zetacore}/crosschain/query_pb.d.ts (99%) rename typescript/{ => zetachain/zetacore}/crosschain/tx_pb.d.ts (97%) rename typescript/{ => zetachain/zetacore}/emissions/events_pb.d.ts (97%) rename typescript/{ => zetachain/zetacore}/emissions/genesis_pb.d.ts (92%) rename typescript/{ => zetachain/zetacore}/emissions/index.d.ts (100%) rename typescript/{ => zetachain/zetacore}/emissions/params_pb.d.ts (94%) rename typescript/{ => zetachain/zetacore}/emissions/query_pb.d.ts (76%) rename typescript/{ => zetachain/zetacore}/emissions/tx_pb.d.ts (52%) rename typescript/{ => zetachain/zetacore}/emissions/withdrawable_emissions_pb.d.ts (90%) rename typescript/{ => zetachain/zetacore}/fungible/events_pb.d.ts (97%) rename typescript/{ => zetachain/zetacore}/fungible/foreign_coins_pb.d.ts (90%) rename typescript/{ => zetachain/zetacore}/fungible/genesis_pb.d.ts (92%) rename typescript/{ => zetachain/zetacore}/fungible/index.d.ts (100%) rename typescript/{ => zetachain/zetacore}/fungible/query_pb.d.ts (98%) rename typescript/{ => zetachain/zetacore}/fungible/system_contract_pb.d.ts (90%) rename typescript/{ => zetachain/zetacore}/fungible/tx_pb.d.ts (98%) rename typescript/{ => zetachain/zetacore}/lightclient/chain_state_pb.d.ts (92%) rename typescript/{ => zetachain/zetacore}/lightclient/genesis_pb.d.ts (88%) rename typescript/{ => zetachain/zetacore}/lightclient/index.d.ts (100%) rename typescript/{ => zetachain/zetacore}/lightclient/query_pb.d.ts (96%) rename typescript/{ => zetachain/zetacore}/lightclient/tx_pb.d.ts (95%) rename typescript/{ => zetachain/zetacore}/lightclient/verification_flags_pb.d.ts (87%) rename typescript/{ => zetachain/zetacore}/observer/ballot_pb.d.ts (93%) rename typescript/{ => zetachain/zetacore}/observer/blame_pb.d.ts (94%) rename typescript/{ => zetachain/zetacore}/observer/chain_nonces_pb.d.ts (92%) rename typescript/{ => zetachain/zetacore}/observer/crosschain_flags_pb.d.ts (97%) rename typescript/{ => zetachain/zetacore}/observer/events_pb.d.ts (98%) rename typescript/{ => zetachain/zetacore}/observer/genesis_pb.d.ts (96%) rename typescript/{ => zetachain/zetacore}/observer/index.d.ts (100%) rename typescript/{ => zetachain/zetacore}/observer/keygen_pb.d.ts (93%) rename typescript/{ => zetachain/zetacore}/observer/node_account_pb.d.ts (90%) rename typescript/{ => zetachain/zetacore}/observer/nonce_to_cctx_pb.d.ts (91%) rename typescript/{ => zetachain/zetacore}/observer/observer_pb.d.ts (95%) rename typescript/{ => zetachain/zetacore}/observer/params_pb.d.ts (71%) rename typescript/{ => zetachain/zetacore}/observer/pending_nonces_pb.d.ts (91%) rename typescript/{ => zetachain/zetacore}/observer/query_pb.d.ts (99%) rename typescript/{ => zetachain/zetacore}/observer/tss_funds_migrator_pb.d.ts (91%) rename typescript/{ => zetachain/zetacore}/observer/tss_pb.d.ts (92%) rename typescript/{ => zetachain/zetacore}/observer/tx_pb.d.ts (98%) rename typescript/{ => zetachain/zetacore}/pkg/chains/chains_pb.d.ts (85%) rename typescript/{ => zetachain/zetacore}/pkg/chains/index.d.ts (100%) rename typescript/{ => zetachain/zetacore}/pkg/coin/coin_pb.d.ts (74%) rename typescript/{ => zetachain/zetacore}/pkg/coin/index.d.ts (100%) rename typescript/{ => zetachain/zetacore}/pkg/crypto/crypto_pb.d.ts (81%) rename typescript/{ => zetachain/zetacore}/pkg/crypto/index.d.ts (100%) rename typescript/{ => zetachain/zetacore}/pkg/proofs/bitcoin/bitcoin_pb.d.ts (79%) rename typescript/{ => zetachain/zetacore}/pkg/proofs/bitcoin/index.d.ts (100%) rename typescript/{ => zetachain/zetacore}/pkg/proofs/ethereum/ethereum_pb.d.ts (77%) rename typescript/{ => zetachain/zetacore}/pkg/proofs/ethereum/index.d.ts (100%) rename typescript/{ => zetachain/zetacore}/pkg/proofs/index.d.ts (100%) rename typescript/{ => zetachain/zetacore}/pkg/proofs/proofs_pb.d.ts (77%) diff --git a/Makefile b/Makefile index b8a6d7415f..5bb38a79b1 100644 --- a/Makefile +++ b/Makefile @@ -142,21 +142,21 @@ gosec: ### Generation commands ### ############################################################################### -proto: - @echo "--> Removing old Go types " - @find . -name '*.pb.go' -type f -delete - @echo "--> Generating new Go types from protocol buffer files" - @bash ./scripts/protoc-gen-go.sh - @buf format -w -.PHONY: proto - typescript: @echo "--> Generating TypeScript bindings" @bash ./scripts/protoc-gen-typescript.sh .PHONY: typescript +protoVer=0.13.0 +protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) +protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) + +proto-gen: + @echo "Generating Protobuf files" + @$(protoImage) sh ./scripts/protoc-gen-go.sh + proto-format: - @bash ./scripts/proto-format.sh + @$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \; openapi: @echo "--> Generating OpenAPI specs" diff --git a/app/ante/ante.go b/app/ante/ante.go index 18947d01fa..c24b4b9c3e 100644 --- a/app/ante/ante.go +++ b/app/ante/ante.go @@ -20,12 +20,12 @@ import ( "runtime/debug" errorsmod "cosmossdk.io/errors" + tmlog "github.com/cometbft/cometbft/libs/log" sdk "github.com/cosmos/cosmos-sdk/types" errortypes "github.com/cosmos/cosmos-sdk/types/errors" authante "github.com/cosmos/cosmos-sdk/x/auth/ante" "github.com/cosmos/cosmos-sdk/x/authz" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - tmlog "github.com/tendermint/tendermint/libs/log" cctxtypes "github.com/zeta-chain/zetacore/x/crosschain/types" observertypes "github.com/zeta-chain/zetacore/x/observer/types" ) diff --git a/app/ante/handler_options.go b/app/ante/handler_options.go index 4d116a581e..b620f01d9b 100644 --- a/app/ante/handler_options.go +++ b/app/ante/handler_options.go @@ -29,8 +29,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - ibcante "github.com/cosmos/ibc-go/v6/modules/core/ante" - ibckeeper "github.com/cosmos/ibc-go/v6/modules/core/keeper" + ibcante "github.com/cosmos/ibc-go/v7/modules/core/ante" + ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper" ethante "github.com/evmos/ethermint/app/ante" ethermint "github.com/evmos/ethermint/types" evmtypes "github.com/evmos/ethermint/x/evm/types" diff --git a/app/ante/vesting_test.go b/app/ante/vesting_test.go index fac1cb16d5..280a128ca5 100644 --- a/app/ante/vesting_test.go +++ b/app/ante/vesting_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/cosmos/cosmos-sdk/simapp/helpers" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" sdk "github.com/cosmos/cosmos-sdk/types" vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" @@ -73,14 +73,14 @@ func TestVesting_AnteHandle(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - tx, err := helpers.GenSignedMockTx( + tx, err := simtestutil.GenSignedMockTx( rand.New(rand.NewSource(time.Now().UnixNano())), txConfig, []sdk.Msg{ tt.msg, }, sdk.NewCoins(), - helpers.DefaultGenTxGas, + simtestutil.DefaultGenTxGas, "testing-chain-id", []uint64{0}, []uint64{0}, diff --git a/app/app.go b/app/app.go index a1dbdf9d08..81f774ddcf 100644 --- a/app/app.go +++ b/app/app.go @@ -11,16 +11,21 @@ import ( "github.com/rakyll/statik/fs" "github.com/spf13/cast" + appparams "cosmossdk.io/simapp/params" + dbm "github.com/cometbft/cometbft-db" + abci "github.com/cometbft/cometbft/abci/types" + tmjson "github.com/cometbft/cometbft/libs/json" + "github.com/cometbft/cometbft/libs/log" + tmos "github.com/cometbft/cometbft/libs/os" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/cosmos/cosmos-sdk/runtime" "github.com/cosmos/cosmos-sdk/server/api" "github.com/cosmos/cosmos-sdk/server/config" servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/simapp" - appparams "github.com/cosmos/cosmos-sdk/simapp/params" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" @@ -38,11 +43,11 @@ import ( "github.com/cosmos/cosmos-sdk/x/bank" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + "github.com/cosmos/cosmos-sdk/x/consensus" "github.com/cosmos/cosmos-sdk/x/crisis" crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper" crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" distr "github.com/cosmos/cosmos-sdk/x/distribution" - distrclient "github.com/cosmos/cosmos-sdk/x/distribution/client" distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" "github.com/cosmos/cosmos-sdk/x/evidence" @@ -74,11 +79,6 @@ import ( upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client" upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - abci "github.com/tendermint/tendermint/abci/types" - tmjson "github.com/tendermint/tendermint/libs/json" - "github.com/tendermint/tendermint/libs/log" - tmos "github.com/tendermint/tendermint/libs/os" - dbm "github.com/tendermint/tm-db" evmante "github.com/evmos/ethermint/app/ante" ethermint "github.com/evmos/ethermint/types" @@ -114,6 +114,9 @@ import ( fungiblekeeper "github.com/zeta-chain/zetacore/x/fungible/keeper" fungibletypes "github.com/zeta-chain/zetacore/x/fungible/types" + nodeservice "github.com/cosmos/cosmos-sdk/client/grpc/node" + consensusparamkeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper" + consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types" observermodule "github.com/zeta-chain/zetacore/x/observer" observerkeeper "github.com/zeta-chain/zetacore/x/observer/keeper" observertypes "github.com/zeta-chain/zetacore/x/observer/types" @@ -161,7 +164,6 @@ func getGovProposalHandlers() []govclient.ProposalHandler { var govProposalHandlers []govclient.ProposalHandler govProposalHandlers = append(govProposalHandlers, paramsclient.ProposalHandler, - distrclient.ProposalHandler, upgradeclient.LegacyProposalHandler, upgradeclient.LegacyCancelProposalHandler, ) @@ -171,7 +173,7 @@ func getGovProposalHandlers() []govclient.ProposalHandler { var ( ModuleBasics = module.NewBasicManager( auth.AppModuleBasic{}, - genutil.AppModuleBasic{}, + genutil.NewAppModuleBasic(genutiltypes.DefaultMessageValidator), bank.AppModuleBasic{}, staking.AppModuleBasic{}, distr.AppModuleBasic{}, @@ -182,6 +184,7 @@ var ( upgrade.AppModuleBasic{}, evidence.AppModuleBasic{}, vesting.AppModuleBasic{}, + consensus.AppModuleBasic{}, evm.AppModuleBasic{}, feemarket.AppModuleBasic{}, authoritymodule.AppModuleBasic{}, @@ -219,7 +222,10 @@ var ( } ) -var _ simapp.App = (*App)(nil) +var ( + _ runtime.AppI = (*App)(nil) + _ servertypes.Application = (*App)(nil) +) // App extends an ABCI application, but with most of its parameters exported. // They are exported for convenience in creating helper functions, as object @@ -242,18 +248,19 @@ type App struct { configurator module.Configurator // sdk keepers - AccountKeeper authkeeper.AccountKeeper - BankKeeper bankkeeper.Keeper - StakingKeeper stakingkeeper.Keeper - SlashingKeeper slashingkeeper.Keeper - DistrKeeper distrkeeper.Keeper - GovKeeper govkeeper.Keeper - CrisisKeeper crisiskeeper.Keeper - UpgradeKeeper upgradekeeper.Keeper - ParamsKeeper paramskeeper.Keeper - EvidenceKeeper evidencekeeper.Keeper - GroupKeeper groupkeeper.Keeper - AuthzKeeper authzkeeper.Keeper + AccountKeeper authkeeper.AccountKeeper + BankKeeper bankkeeper.Keeper + StakingKeeper *stakingkeeper.Keeper + SlashingKeeper slashingkeeper.Keeper + DistrKeeper distrkeeper.Keeper + GovKeeper govkeeper.Keeper + CrisisKeeper crisiskeeper.Keeper + UpgradeKeeper *upgradekeeper.Keeper + ParamsKeeper paramskeeper.Keeper + EvidenceKeeper evidencekeeper.Keeper + GroupKeeper groupkeeper.Keeper + AuthzKeeper authzkeeper.Keeper + ConsensusParamsKeeper consensusparamkeeper.Keeper // evm keepers EvmKeeper *evmkeeper.Keeper @@ -306,6 +313,8 @@ func New( observertypes.StoreKey, fungibletypes.StoreKey, emissionstypes.StoreKey, + consensusparamtypes.StoreKey, + crisistypes.StoreKey, ) tkeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey, evmtypes.TransientKey, feemarkettypes.TransientKey) memKeys := sdk.NewMemoryStoreKeys() @@ -324,45 +333,48 @@ func New( homePath = DefaultNodeHome } + // get authority address + authAddr := authtypes.NewModuleAddress(govtypes.ModuleName).String() + app.ParamsKeeper = initParamsKeeper(appCodec, cdc, keys[paramstypes.StoreKey], tkeys[paramstypes.TStoreKey]) // set the BaseApp's parameter store - bApp.SetParamStore(app.ParamsKeeper.Subspace(baseapp.Paramspace).WithKeyTable(paramstypes.ConsensusParamsKeyTable())) + app.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper(appCodec, keys[consensusparamtypes.StoreKey], authAddr) + bApp.SetParamStore(&app.ConsensusParamsKeeper) // add keepers // use custom Ethermint account for contracts app.AccountKeeper = authkeeper.NewAccountKeeper( appCodec, keys[authtypes.StoreKey], - app.GetSubspace(authtypes.ModuleName), ethermint.ProtoAccount, maccPerms, sdk.GetConfig().GetBech32AccountAddrPrefix(), + authAddr, ) logger.Info("bank keeper blocklist addresses", "addresses", app.BlockedAddrs()) app.BankKeeper = bankkeeper.NewBaseKeeper( - appCodec, keys[banktypes.StoreKey], app.AccountKeeper, app.GetSubspace(banktypes.ModuleName), app.BlockedAddrs(), + appCodec, keys[banktypes.StoreKey], app.AccountKeeper, app.BlockedAddrs(), authAddr, ) - stakingKeeper := stakingkeeper.NewKeeper( - appCodec, keys[stakingtypes.StoreKey], app.AccountKeeper, app.BankKeeper, app.GetSubspace(stakingtypes.ModuleName), + app.StakingKeeper = stakingkeeper.NewKeeper( + appCodec, keys[stakingtypes.StoreKey], app.AccountKeeper, app.BankKeeper, authAddr, ) app.DistrKeeper = distrkeeper.NewKeeper( - appCodec, keys[distrtypes.StoreKey], app.GetSubspace(distrtypes.ModuleName), app.AccountKeeper, app.BankKeeper, - &stakingKeeper, authtypes.FeeCollectorName, + appCodec, keys[distrtypes.StoreKey], app.AccountKeeper, app.BankKeeper, + app.StakingKeeper, authtypes.FeeCollectorName, authAddr, ) app.SlashingKeeper = slashingkeeper.NewKeeper( - appCodec, keys[slashingtypes.StoreKey], &stakingKeeper, app.GetSubspace(slashingtypes.ModuleName), + appCodec, app.LegacyAmino(), keys[slashingtypes.StoreKey], app.StakingKeeper, authAddr, ) - app.CrisisKeeper = crisiskeeper.NewKeeper( - app.GetSubspace(crisistypes.ModuleName), invCheckPeriod, app.BankKeeper, authtypes.FeeCollectorName, + app.CrisisKeeper = *crisiskeeper.NewKeeper( + appCodec, keys[crisistypes.StoreKey], invCheckPeriod, app.BankKeeper, authtypes.FeeCollectorName, authAddr, ) - app.UpgradeKeeper = upgradekeeper.NewKeeper(skipUpgradeHeights, keys[upgradetypes.StoreKey], appCodec, homePath, app.BaseApp, - authtypes.NewModuleAddress(govtypes.ModuleName).String()) + app.UpgradeKeeper = upgradekeeper.NewKeeper(skipUpgradeHeights, keys[upgradetypes.StoreKey], appCodec, homePath, app.BaseApp, authAddr) app.AuthorityKeeper = authoritykeeper.NewKeeper( appCodec, @@ -382,7 +394,7 @@ func New( appCodec, keys[observertypes.StoreKey], keys[observertypes.MemStoreKey], - &stakingKeeper, + app.StakingKeeper, app.SlashingKeeper, app.AuthorityKeeper, app.LightclientKeeper, @@ -391,9 +403,8 @@ func New( // register the staking hooks // NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks - app.StakingKeeper = *stakingKeeper.SetHooks( - stakingtypes.NewMultiStakingHooks(app.DistrKeeper.Hooks(), app.SlashingKeeper.Hooks(), app.ObserverKeeper.Hooks()), - ) + app.StakingKeeper.SetHooks( + stakingtypes.NewMultiStakingHooks(app.DistrKeeper.Hooks(), app.SlashingKeeper.Hooks(), app.ObserverKeeper.Hooks())) app.AuthzKeeper = authzkeeper.NewKeeper( keys[authzkeeper.StoreKey], @@ -421,13 +432,15 @@ func New( appCodec, authtypes.NewModuleAddress(govtypes.ModuleName), keys[feemarkettypes.StoreKey], tkeys[feemarkettypes.TransientKey], feeSs, + app.ConsensusParamsKeeper, ) evmSs := app.GetSubspace(evmtypes.ModuleName) app.EvmKeeper = evmkeeper.NewKeeper( appCodec, keys[evmtypes.StoreKey], tkeys[evmtypes.TransientKey], authtypes.NewModuleAddress(govtypes.ModuleName), - app.AccountKeeper, app.BankKeeper, stakingKeeper, + app.AccountKeeper, app.BankKeeper, app.StakingKeeper, &app.FeeMarketKeeper, nil, geth.NewEVM, tracer, evmSs, + app.ConsensusParamsKeeper, ) app.FungibleKeeper = *fungiblekeeper.NewKeeper( @@ -445,7 +458,7 @@ func New( appCodec, keys[crosschaintypes.StoreKey], keys[crosschaintypes.MemStoreKey], - &stakingKeeper, + app.StakingKeeper, app.AccountKeeper, app.BankKeeper, app.ObserverKeeper, @@ -462,19 +475,17 @@ func New( govRouter := govv1beta1.NewRouter() govRouter.AddRoute(govtypes.RouterKey, govv1beta1.ProposalHandler). AddRoute(paramproposal.RouterKey, params.NewParamChangeProposalHandler(app.ParamsKeeper)). - AddRoute(distrtypes.RouterKey, distr.NewCommunityPoolSpendProposalHandler(app.DistrKeeper)). AddRoute(upgradetypes.RouterKey, upgrade.NewSoftwareUpgradeProposalHandler(app.UpgradeKeeper)) govConfig := govtypes.DefaultConfig() govKeeper := govkeeper.NewKeeper( appCodec, keys[govtypes.StoreKey], - app.GetSubspace(govtypes.ModuleName), app.AccountKeeper, app.BankKeeper, app.StakingKeeper, - govRouter, app.MsgServiceRouter(), govConfig, + authAddr, ) app.GovKeeper = *govKeeper.SetHooks( govtypes.NewMultiGovHooks( @@ -484,7 +495,7 @@ func New( // Create evidence Keeper for to register the IBC light client misbehaviour evidence route evidenceKeeper := evidencekeeper.NewKeeper( - appCodec, keys[evidencetypes.StoreKey], &app.StakingKeeper, app.SlashingKeeper, + appCodec, keys[evidencetypes.StoreKey], app.StakingKeeper, app.SlashingKeeper, ) // If evidence needs to be handled for the app, set routes in router here and seal app.EvidenceKeeper = *evidenceKeeper @@ -508,20 +519,21 @@ func New( app.AccountKeeper, app.StakingKeeper, app.BaseApp.DeliverTx, encodingConfig.TxConfig, ), - auth.NewAppModule(appCodec, app.AccountKeeper, nil), + auth.NewAppModule(appCodec, app.AccountKeeper, nil, app.GetSubspace(authtypes.ModuleName)), vesting.NewAppModule(app.AccountKeeper, app.BankKeeper), - bank.NewAppModule(appCodec, app.BankKeeper, app.AccountKeeper), - crisis.NewAppModule(&app.CrisisKeeper, skipGenesisInvariants), - gov.NewAppModule(appCodec, app.GovKeeper, app.AccountKeeper, app.BankKeeper), - slashing.NewAppModule(appCodec, app.SlashingKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper), - distr.NewAppModule(appCodec, app.DistrKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper), - staking.NewAppModule(appCodec, app.StakingKeeper, app.AccountKeeper, app.BankKeeper), + bank.NewAppModule(appCodec, app.BankKeeper, app.AccountKeeper, app.GetSubspace(banktypes.ModuleName)), + crisis.NewAppModule(&app.CrisisKeeper, skipGenesisInvariants, app.GetSubspace(crisistypes.ModuleName)), + gov.NewAppModule(appCodec, &app.GovKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(govtypes.ModuleName)), + slashing.NewAppModule(appCodec, app.SlashingKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper, app.GetSubspace(slashingtypes.ModuleName)), + distr.NewAppModule(appCodec, app.DistrKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper, app.GetSubspace(distrtypes.ModuleName)), + staking.NewAppModule(appCodec, app.StakingKeeper, app.AccountKeeper, app.BankKeeper, app.GetSubspace(stakingtypes.ModuleName)), upgrade.NewAppModule(app.UpgradeKeeper), evidence.NewAppModule(app.EvidenceKeeper), params.NewAppModule(app.ParamsKeeper), + consensus.NewAppModule(appCodec, app.ConsensusParamsKeeper), groupmodule.NewAppModule(appCodec, app.GroupKeeper, app.AccountKeeper, app.BankKeeper, interfaceRegistry), - evm.NewAppModule(app.EvmKeeper, app.AccountKeeper, evmSs), feemarket.NewAppModule(app.FeeMarketKeeper, feeSs), + evm.NewAppModule(app.EvmKeeper, app.AccountKeeper, evmSs), authoritymodule.NewAppModule(appCodec, app.AuthorityKeeper), lightclientmodule.NewAppModule(appCodec, app.LightclientKeeper), crosschainmodule.NewAppModule(appCodec, app.CrosschainKeeper), @@ -559,6 +571,7 @@ func New( authz.ModuleName, authoritytypes.ModuleName, lightclienttypes.ModuleName, + consensusparamtypes.ModuleName, ) app.mm.SetOrderEndBlockers( banktypes.ModuleName, @@ -583,6 +596,7 @@ func New( authz.ModuleName, authoritytypes.ModuleName, lightclienttypes.ModuleName, + consensusparamtypes.ModuleName, ) // NOTE: The genutils module must occur after staking so that pools are @@ -598,7 +612,6 @@ func New( stakingtypes.ModuleName, slashingtypes.ModuleName, govtypes.ModuleName, - crisistypes.ModuleName, evmtypes.ModuleName, feemarkettypes.ModuleName, paramstypes.ModuleName, @@ -614,10 +627,12 @@ func New( authz.ModuleName, authoritytypes.ModuleName, lightclienttypes.ModuleName, + consensusparamtypes.ModuleName, + // NOTE: crisis module must go at the end to check for invariants on each module + crisistypes.ModuleName, ) app.mm.RegisterInvariants(&app.CrisisKeeper) - app.mm.RegisterRoutes(app.Router(), app.QueryRouter(), encodingConfig.Amino) app.configurator = module.NewConfigurator(app.appCodec, app.MsgServiceRouter(), app.GRPCQueryRouter()) app.mm.RegisterServices(app.configurator) @@ -761,6 +776,8 @@ func (app *App) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig authtx.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) // Register new tendermint queries routes from grpc-gateway. tmservice.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) + // Register node gRPC service for grpc-gateway. + nodeservice.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) // Register legacy and grpc-gateway routes for all modules. ModuleBasics.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) @@ -771,6 +788,10 @@ func (app *App) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig } } +func (app *App) RegisterNodeService(clientCtx client.Context) { + nodeservice.RegisterNodeService(clientCtx, app.GRPCQueryRouter()) +} + // RegisterSwaggerAPI registers swagger route with API Server func RegisterSwaggerAPI(_ client.Context, rtr *mux.Router) { statikFS, err := fs.New() diff --git a/app/encoding.go b/app/encoding.go index bfd99bce00..9535c2ce66 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -3,7 +3,7 @@ package app import ( evmenc "github.com/evmos/ethermint/encoding" //"github.com/zeta-chain/zetacore/app/params" - "github.com/cosmos/cosmos-sdk/simapp/params" + "cosmossdk.io/simapp/params" ) // MakeEncodingConfig creates an EncodingConfig for testing diff --git a/app/export.go b/app/export.go index 2ae0db042e..feea997869 100644 --- a/app/export.go +++ b/app/export.go @@ -4,7 +4,7 @@ import ( "encoding/json" "log" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" servertypes "github.com/cosmos/cosmos-sdk/server/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -16,7 +16,7 @@ import ( // ExportAppStateAndValidators exports the state of the application for a genesis // file. func (app *App) ExportAppStateAndValidators( - forZeroHeight bool, jailAllowedAddrs []string, + forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string, ) (servertypes.ExportedApp, error) { // as if they could withdraw from the start of the next block @@ -30,7 +30,7 @@ func (app *App) ExportAppStateAndValidators( app.prepForZeroHeightGenesis(ctx, jailAllowedAddrs) } - genState := app.mm.ExportGenesis(ctx, app.appCodec) + genState := app.mm.ExportGenesisForModules(ctx, app.appCodec, modulesToExport) appState, err := json.MarshalIndent(genState, "", " ") if err != nil { return servertypes.ExportedApp{}, err diff --git a/app/setup_handlers.go b/app/setup_handlers.go index a3bd0dd76d..31e8d78b11 100644 --- a/app/setup_handlers.go +++ b/app/setup_handlers.go @@ -1,9 +1,20 @@ package app import ( + "github.com/cosmos/cosmos-sdk/baseapp" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + consensustypes "github.com/cosmos/cosmos-sdk/x/consensus/types" + crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types" + distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" + paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" + slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/cosmos/cosmos-sdk/x/upgrade/types" authoritytypes "github.com/zeta-chain/zetacore/x/authority/types" emissionstypes "github.com/zeta-chain/zetacore/x/emissions/types" @@ -15,20 +26,51 @@ const releaseVersion = "v15" func SetupHandlers(app *App) { // Set param key table for params module migration for _, subspace := range app.ParamsKeeper.GetSubspaces() { - subspace := subspace - + var keyTable paramstypes.KeyTable switch subspace.Name() { - // TODO: add all modules when cosmos-sdk is updated + case authtypes.ModuleName: + keyTable = authtypes.ParamKeyTable() //nolint:staticcheck + case banktypes.ModuleName: + keyTable = banktypes.ParamKeyTable() //nolint:staticcheck + case stakingtypes.ModuleName: + keyTable = stakingtypes.ParamKeyTable() + case distrtypes.ModuleName: + keyTable = distrtypes.ParamKeyTable() //nolint:staticcheck + case slashingtypes.ModuleName: + keyTable = slashingtypes.ParamKeyTable() //nolint:staticcheck + case govtypes.ModuleName: + keyTable = govv1.ParamKeyTable() //nolint:staticcheck + case crisistypes.ModuleName: + keyTable = crisistypes.ParamKeyTable() //nolint:staticcheck case emissionstypes.ModuleName: - subspace.WithKeyTable(emissionstypes.ParamKeyTable()) + keyTable = emissionstypes.ParamKeyTable() + default: + continue + } + if !subspace.HasKeyTable() { + subspace.WithKeyTable(keyTable) } } + baseAppLegacySS := app.ParamsKeeper.Subspace(baseapp.Paramspace).WithKeyTable(paramstypes.ConsensusParamsKeyTable()) app.UpgradeKeeper.SetUpgradeHandler(releaseVersion, func(ctx sdk.Context, plan types.Plan, vm module.VersionMap) (module.VersionMap, error) { app.Logger().Info("Running upgrade handler for " + releaseVersion) + // Migrate Tendermint consensus parameters from x/params module to a dedicated x/consensus module. + baseapp.MigrateParams(ctx, baseAppLegacySS, &app.ConsensusParamsKeeper) // Updated version map to the latest consensus versions from each module for m, mb := range app.mm.Modules { - vm[m] = mb.ConsensusVersion() + if module, ok := mb.(module.HasConsensusVersion); ok { + vm[m] = module.ConsensusVersion() + } } + + VersionMigrator{v: vm}.TriggerMigration(authtypes.ModuleName) + VersionMigrator{v: vm}.TriggerMigration(banktypes.ModuleName) + VersionMigrator{v: vm}.TriggerMigration(stakingtypes.ModuleName) + VersionMigrator{v: vm}.TriggerMigration(distrtypes.ModuleName) + VersionMigrator{v: vm}.TriggerMigration(slashingtypes.ModuleName) + VersionMigrator{v: vm}.TriggerMigration(govtypes.ModuleName) + VersionMigrator{v: vm}.TriggerMigration(crisistypes.ModuleName) + VersionMigrator{v: vm}.TriggerMigration(emissionstypes.ModuleName) return app.mm.RunMigrations(ctx, app.configurator, vm) @@ -40,7 +82,7 @@ func SetupHandlers(app *App) { } if upgradeInfo.Name == releaseVersion && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) { storeUpgrades := storetypes.StoreUpgrades{ - Added: []string{authoritytypes.ModuleName, lightclienttypes.ModuleName}, + Added: []string{authoritytypes.ModuleName, lightclienttypes.ModuleName, consensustypes.ModuleName, crisistypes.ModuleName}, } // Use upgrade store loader for the initial loading of all stores when app starts, // it checks if version == upgradeHeight and applies store upgrades before loading the stores, diff --git a/changelog.md b/changelog.md index 1ab76e6bd7..28118305d5 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,12 @@ ## Unreleased +### Breaking Changes +* Observer param `ballot_maturity_blocks` is part of `emissions` module now. Observer `params` are deprecated and removed from `observer` module. + +### Features +* [2039](https://github.com/zeta-chain/node/pull/2039) - cosmos v0.47 upgrade + ### Refactor * [2014](https://github.com/zeta-chain/node/pull/2014) - remove params module diff --git a/cmd/zetaclientd/p2p_diagnostics.go b/cmd/zetaclientd/p2p_diagnostics.go index 3ece29933d..8b289cc943 100644 --- a/cmd/zetaclientd/p2p_diagnostics.go +++ b/cmd/zetaclientd/p2p_diagnostics.go @@ -9,6 +9,7 @@ import ( "github.com/zeta-chain/zetacore/zetaclient/metrics" + "github.com/cometbft/cometbft/crypto/secp256k1" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" libp2p "github.com/libp2p/go-libp2p" dht "github.com/libp2p/go-libp2p-kad-dht" @@ -20,7 +21,6 @@ import ( dutil "github.com/libp2p/go-libp2p/p2p/discovery/util" maddr "github.com/multiformats/go-multiaddr" "github.com/rs/zerolog" - "github.com/tendermint/tendermint/crypto/secp256k1" "github.com/zeta-chain/go-tss/p2p" "github.com/zeta-chain/zetacore/pkg/cosmos" "github.com/zeta-chain/zetacore/zetaclient/config" diff --git a/cmd/zetaclientd/root.go b/cmd/zetaclientd/root.go index eb358c0fb5..479ea2afef 100644 --- a/cmd/zetaclientd/root.go +++ b/cmd/zetaclientd/root.go @@ -1,8 +1,8 @@ package main import ( + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/spf13/cobra" - tmcli "github.com/tendermint/tendermint/libs/cli" ) var RootCmd = &cobra.Command{ diff --git a/cmd/zetacored/parsers_test.go b/cmd/zetacored/parsers_test.go index 06f0346903..48d70c14d5 100644 --- a/cmd/zetacored/parsers_test.go +++ b/cmd/zetacored/parsers_test.go @@ -5,9 +5,9 @@ import ( "io/ioutil" "os" + "github.com/cometbft/cometbft/crypto" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/crypto" "github.com/zeta-chain/zetacore/app" //"os" diff --git a/cmd/zetacored/root.go b/cmd/zetacored/root.go index 0254602289..ddf4934d0d 100644 --- a/cmd/zetacored/root.go +++ b/cmd/zetacored/root.go @@ -5,20 +5,19 @@ import ( "fmt" "io" "os" - "path/filepath" + "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client/snapshot" + "github.com/cosmos/cosmos-sdk/types/mempool" - appparams "github.com/cosmos/cosmos-sdk/simapp/params" - snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" + appparams "cosmossdk.io/simapp/params" + tmcfg "github.com/cometbft/cometbft/config" "github.com/evmos/ethermint/crypto/hd" - tmcfg "github.com/tendermint/tendermint/config" "github.com/zeta-chain/zetacore/app" zetacoredconfig "github.com/zeta-chain/zetacore/cmd/zetacored/config" zevmserver "github.com/zeta-chain/zetacore/server" servercfg "github.com/zeta-chain/zetacore/server/config" - "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/config" "github.com/cosmos/cosmos-sdk/client/debug" @@ -26,21 +25,21 @@ import ( "github.com/cosmos/cosmos-sdk/client/rpc" "github.com/cosmos/cosmos-sdk/server" servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/snapshots" - "github.com/cosmos/cosmos-sdk/store" sdk "github.com/cosmos/cosmos-sdk/types" authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/cosmos/cosmos-sdk/x/crisis" genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" + genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + rosettaCmd "cosmossdk.io/tools/rosetta/cmd" + dbm "github.com/cometbft/cometbft-db" + tmcli "github.com/cometbft/cometbft/libs/cli" + "github.com/cometbft/cometbft/libs/log" ethermintclient "github.com/evmos/ethermint/client" "github.com/spf13/cast" "github.com/spf13/cobra" - tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/tendermint/tendermint/libs/log" - dbm "github.com/tendermint/tm-db" ) const EnvPrefix = "zetacore" @@ -129,7 +128,7 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig appparams.EncodingConfig ethermintclient.ValidateChainID( genutilcli.InitCmd(app.ModuleBasics, app.DefaultNodeHome), ), - genutilcli.CollectGenTxsCmd(banktypes.GenesisBalancesIterator{}, app.DefaultNodeHome), + genutilcli.CollectGenTxsCmd(banktypes.GenesisBalancesIterator{}, app.DefaultNodeHome, genutiltypes.DefaultMessageValidator), genutilcli.GenTxCmd(app.ModuleBasics, encodingConfig.TxConfig, banktypes.GenesisBalancesIterator{}, app.DefaultNodeHome), genutilcli.ValidateGenesisCmd(app.ModuleBasics), AddGenesisAccountCmd(app.DefaultNodeHome), @@ -164,7 +163,7 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig appparams.EncodingConfig fmt.Printf("warning: unable to set default HD path: %v\n", err) } - rootCmd.AddCommand(server.RosettaCommand(encodingConfig.InterfaceRegistry, encodingConfig.Codec)) + rootCmd.AddCommand(rosettaCmd.RosettaCommand(encodingConfig.InterfaceRegistry, encodingConfig.Codec)) } func addModuleInitFlags(startCmd *cobra.Command) { @@ -231,52 +230,22 @@ func (ac appCreator) newApp( traceStore io.Writer, appOpts servertypes.AppOptions, ) servertypes.Application { - var cache sdk.MultiStorePersistentCache - - if cast.ToBool(appOpts.Get(server.FlagInterBlockCache)) { - cache = store.NewCommitKVStoreCacheManager() - } - + baseappOptions := server.DefaultBaseappOptions(appOpts) + baseappOptions = append(baseappOptions, func(app *baseapp.BaseApp) { + app.SetMempool(mempool.NoOpMempool{}) + }) skipUpgradeHeights := make(map[int64]bool) for _, h := range cast.ToIntSlice(appOpts.Get(server.FlagUnsafeSkipUpgrades)) { skipUpgradeHeights[int64(h)] = true } - pruningOpts, err := server.GetPruningOptionsFromFlags(appOpts) - if err != nil { - panic(err) - } - - snapshotDir := filepath.Join(cast.ToString(appOpts.Get(flags.FlagHome)), "data", "snapshots") - snapshotDB, err := sdk.NewLevelDB("metadata", snapshotDir) - if err != nil { - panic(err) - } - snapshotStore, err := snapshots.NewStore(snapshotDB, snapshotDir) - if err != nil { - panic(err) - } - snapshotOptions := snapshottypes.NewSnapshotOptions( - cast.ToUint64(appOpts.Get(server.FlagStateSyncSnapshotInterval)), - cast.ToUint32(appOpts.Get(server.FlagStateSyncSnapshotKeepRecent)), - ) return app.New(logger, db, traceStore, true, skipUpgradeHeights, cast.ToString(appOpts.Get(flags.FlagHome)), cast.ToUint(appOpts.Get(server.FlagInvCheckPeriod)), //cosmoscmd.EncodingConfig(ac.encCfg), ac.encCfg, appOpts, - baseapp.SetPruning(pruningOpts), - baseapp.SetMinGasPrices(cast.ToString(appOpts.Get(server.FlagMinGasPrices))), - baseapp.SetHaltHeight(cast.ToUint64(appOpts.Get(server.FlagHaltHeight))), - baseapp.SetHaltTime(cast.ToUint64(appOpts.Get(server.FlagHaltTime))), - baseapp.SetMinRetainBlocks(cast.ToUint64(appOpts.Get(server.FlagMinRetainBlocks))), - baseapp.SetInterBlockCache(cache), - baseapp.SetTrace(cast.ToBool(appOpts.Get(server.FlagTrace))), - baseapp.SetIndexEvents(cast.ToStringSlice(appOpts.Get(server.FlagIndexEvents))), - baseapp.SetSnapshot(snapshotStore, snapshotOptions), - baseapp.SetIAVLCacheSize(cast.ToInt(appOpts.Get(server.FlagIAVLCacheSize))), - baseapp.SetIAVLDisableFastNode(cast.ToBool(appOpts.Get(server.FlagDisableIAVLFastNode))), + baseappOptions..., ) } @@ -284,6 +253,7 @@ func (ac appCreator) newApp( func (ac appCreator) appExport( logger log.Logger, db dbm.DB, traceStore io.Writer, height int64, forZeroHeight bool, jailAllowedAddrs []string, appOpts servertypes.AppOptions, + modulesToExport []string, ) (servertypes.ExportedApp, error) { var anApp *app.App @@ -322,5 +292,5 @@ func (ac appCreator) appExport( ) } - return anApp.ExportAppStateAndValidators(forZeroHeight, jailAllowedAddrs) + return anApp.ExportAppStateAndValidators(forZeroHeight, jailAllowedAddrs, modulesToExport) } diff --git a/contrib/localnet/scripts/start-zetacored.sh b/contrib/localnet/scripts/start-zetacored.sh index 41c1b1920f..1079b765e4 100755 --- a/contrib/localnet/scripts/start-zetacored.sh +++ b/contrib/localnet/scripts/start-zetacored.sh @@ -162,7 +162,7 @@ then # 6. Update Config in zetacore0 so that it has the correct persistent peer list pp=$(cat $HOME/.zetacored/config/gentx/z2gentx/*.json | jq '.body.memo' ) pps=${pp:1:58} - sed -i -e "/persistent_peers =/s/=.*/= \"$pps\"/" "$HOME"/.zetacored/config/config.toml + sed -i -e 's/^persistent_peers =.*/persistent_peers = "'$pps'"/' "$HOME"/.zetacored/config/config.toml fi # End of genesis creation steps . The steps below are common to all the nodes diff --git a/docs/cli/zetacored/zetacored.md b/docs/cli/zetacored/zetacored.md index 4b5f360d55..0b52ee7883 100644 --- a/docs/cli/zetacored/zetacored.md +++ b/docs/cli/zetacored/zetacored.md @@ -9,6 +9,7 @@ Zetacore Daemon (server) --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_add-genesis-account.md b/docs/cli/zetacored/zetacored_add-genesis-account.md index 3bd28a9bcd..4597d94235 100644 --- a/docs/cli/zetacored/zetacored_add-genesis-account.md +++ b/docs/cli/zetacored/zetacored_add-genesis-account.md @@ -35,6 +35,7 @@ zetacored add-genesis-account [address_or_key_name] [coin][,[coin]] [flags] ``` --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_add-observer-list.md b/docs/cli/zetacored/zetacored_add-observer-list.md index 2678e965dd..0274494e36 100644 --- a/docs/cli/zetacored/zetacored_add-observer-list.md +++ b/docs/cli/zetacored/zetacored_add-observer-list.md @@ -20,6 +20,7 @@ zetacored add-observer-list [observer-list.json] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_addr-conversion.md b/docs/cli/zetacored/zetacored_addr-conversion.md index f99cd72a9a..5e6067f992 100644 --- a/docs/cli/zetacored/zetacored_addr-conversion.md +++ b/docs/cli/zetacored/zetacored_addr-conversion.md @@ -26,6 +26,7 @@ zetacored addr-conversion [zeta address] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_collect-gentxs.md b/docs/cli/zetacored/zetacored_collect-gentxs.md index 12638006ae..13bc94d9bf 100644 --- a/docs/cli/zetacored/zetacored_collect-gentxs.md +++ b/docs/cli/zetacored/zetacored_collect-gentxs.md @@ -19,6 +19,7 @@ zetacored collect-gentxs [flags] ``` --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_collect-observer-info.md b/docs/cli/zetacored/zetacored_collect-observer-info.md index b695791423..4393e18249 100644 --- a/docs/cli/zetacored/zetacored_collect-observer-info.md +++ b/docs/cli/zetacored/zetacored_collect-observer-info.md @@ -19,6 +19,7 @@ zetacored collect-observer-info [folder] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_config.md b/docs/cli/zetacored/zetacored_config.md index 9e28944a3c..59a469176b 100644 --- a/docs/cli/zetacored/zetacored_config.md +++ b/docs/cli/zetacored/zetacored_config.md @@ -18,6 +18,7 @@ zetacored config [key] [value] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_debug.md b/docs/cli/zetacored/zetacored_debug.md index 9f0ba3fb24..4dc57cbb36 100644 --- a/docs/cli/zetacored/zetacored_debug.md +++ b/docs/cli/zetacored/zetacored_debug.md @@ -18,6 +18,7 @@ zetacored debug [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` @@ -25,6 +26,7 @@ zetacored debug [flags] * [zetacored](zetacored.md) - Zetacore Daemon (server) * [zetacored debug addr](zetacored_debug_addr.md) - Convert an address between hex and bech32 +* [zetacored debug prefixes](zetacored_debug_prefixes.md) - List prefixes used for Human-Readable Part (HRP) in Bech32 * [zetacored debug pubkey](zetacored_debug_pubkey.md) - Decode a pubkey from proto JSON * [zetacored debug pubkey-raw](zetacored_debug_pubkey-raw.md) - Decode a ED25519 or secp256k1 pubkey from hex, base64, or bech32 * [zetacored debug raw-bytes](zetacored_debug_raw-bytes.md) - Convert raw bytes output (eg. [10 21 13 255]) to hex diff --git a/docs/cli/zetacored/zetacored_debug_addr.md b/docs/cli/zetacored/zetacored_debug_addr.md index 1ab387aa8f..6b38f6bc21 100644 --- a/docs/cli/zetacored/zetacored_debug_addr.md +++ b/docs/cli/zetacored/zetacored_debug_addr.md @@ -26,6 +26,7 @@ zetacored debug addr [address] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_debug_prefixes.md b/docs/cli/zetacored/zetacored_debug_prefixes.md new file mode 100644 index 0000000000..09140d725d --- /dev/null +++ b/docs/cli/zetacored/zetacored_debug_prefixes.md @@ -0,0 +1,38 @@ +# debug prefixes + +List prefixes used for Human-Readable Part (HRP) in Bech32 + +### Synopsis + +List prefixes used in Bech32 addresses. + +``` +zetacored debug prefixes [flags] +``` + +### Examples + +``` +$ zetacored debug prefixes +``` + +### Options + +``` + -h, --help help for prefixes +``` + +### Options inherited from parent commands + +``` + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored debug](zetacored_debug.md) - Tool for helping with debugging your application + diff --git a/docs/cli/zetacored/zetacored_debug_pubkey-raw.md b/docs/cli/zetacored/zetacored_debug_pubkey-raw.md index 796abde406..eea183ff36 100644 --- a/docs/cli/zetacored/zetacored_debug_pubkey-raw.md +++ b/docs/cli/zetacored/zetacored_debug_pubkey-raw.md @@ -27,6 +27,7 @@ zetacored debug pubkey-raw [pubkey] -t [{ed25519, secp256k1}] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_debug_pubkey.md b/docs/cli/zetacored/zetacored_debug_pubkey.md index 2668863745..b1b1e4db9c 100644 --- a/docs/cli/zetacored/zetacored_debug_pubkey.md +++ b/docs/cli/zetacored/zetacored_debug_pubkey.md @@ -26,6 +26,7 @@ zetacored debug pubkey [pubkey] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_debug_raw-bytes.md b/docs/cli/zetacored/zetacored_debug_raw-bytes.md index c60a83efac..29535362f7 100644 --- a/docs/cli/zetacored/zetacored_debug_raw-bytes.md +++ b/docs/cli/zetacored/zetacored_debug_raw-bytes.md @@ -26,6 +26,7 @@ zetacored debug raw-bytes [raw-bytes] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_docs.md b/docs/cli/zetacored/zetacored_docs.md index 953748f297..34e453853d 100644 --- a/docs/cli/zetacored/zetacored_docs.md +++ b/docs/cli/zetacored/zetacored_docs.md @@ -19,6 +19,7 @@ zetacored docs [path] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_export.md b/docs/cli/zetacored/zetacored_export.md index a737712ff7..9223896a78 100644 --- a/docs/cli/zetacored/zetacored_export.md +++ b/docs/cli/zetacored/zetacored_export.md @@ -14,6 +14,8 @@ zetacored export [flags] -h, --help help for export --home string The application home directory --jail-allowed-addrs strings Comma-separated list of operator addresses of jailed validators to unjail + --modules-to-export strings Comma-separated list of modules to export. If empty, will export all modules + --output-document string Exported state is written to the given file instead of STDOUT ``` ### Options inherited from parent commands @@ -21,6 +23,7 @@ zetacored export [flags] ``` --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_gentx.md b/docs/cli/zetacored/zetacored_gentx.md index fe1f09c6aa..72ebc5c20f 100644 --- a/docs/cli/zetacored/zetacored_gentx.md +++ b/docs/cli/zetacored/zetacored_gentx.md @@ -37,7 +37,7 @@ zetacored gentx [key_name] [amount] [flags] -a, --account-number uint The account number of the signing account (offline mode only) --amount string Amount of coins to bond --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) --chain-id string The network chain ID --commission-max-change-rate string The maximum commission change rate percentage (per day) --commission-max-rate string The maximum commission rate percentage @@ -55,7 +55,7 @@ zetacored gentx [key_name] [amount] [flags] -h, --help help for gentx --home string The application home directory --identity string The (optional) identity signature (ex. UPort or Keybase) - --ip string The node's public IP + --ip string The node's public P2P IP --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --ledger Use a connected Ledger device @@ -65,8 +65,8 @@ zetacored gentx [key_name] [amount] [flags] --node-id string The node's NodeID --note string Note to add a description to the transaction (previously --memo) --offline Offline mode (does not allow any online functionality) - -o, --output string Output format (text|json) --output-document string Write the genesis transaction JSON document to the given file instead of the default location + --p2p-port uint The node's public P2P port (default 26656) --pubkey string The validator's Protobuf JSON encoded public key --security-contact string The validator's (optional) security contact email -s, --sequence uint The sequence number of the signing account (offline mode only) @@ -82,6 +82,7 @@ zetacored gentx [key_name] [amount] [flags] ``` --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_get-pubkey.md b/docs/cli/zetacored/zetacored_get-pubkey.md index 5a47530f2e..fb5142215b 100644 --- a/docs/cli/zetacored/zetacored_get-pubkey.md +++ b/docs/cli/zetacored/zetacored_get-pubkey.md @@ -18,6 +18,7 @@ zetacored get-pubkey [tssKeyName] [password] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_index-eth-tx.md b/docs/cli/zetacored/zetacored_index-eth-tx.md index 4b57d28308..2aed3ab44f 100644 --- a/docs/cli/zetacored/zetacored_index-eth-tx.md +++ b/docs/cli/zetacored/zetacored_index-eth-tx.md @@ -28,6 +28,7 @@ zetacored index-eth-tx [backward|forward] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_init.md b/docs/cli/zetacored/zetacored_init.md index 364ff49656..7aa6933d40 100644 --- a/docs/cli/zetacored/zetacored_init.md +++ b/docs/cli/zetacored/zetacored_init.md @@ -13,12 +13,13 @@ zetacored init [moniker] [flags] ### Options ``` - --chain-id string genesis file chain-id, if left blank will be randomly created - -h, --help help for init - --home string node's home directory - -o, --overwrite overwrite the genesis.json file - --recover provide seed phrase to recover existing key instead of creating - --staking-bond-denom string genesis file staking bond denomination, if left blank default value is 'stake' + --chain-id string genesis file chain-id, if left blank will be randomly created + --default-denom string genesis file default denomination, if left blank default value is 'stake' + -h, --help help for init + --home string node's home directory + --initial-height int specify the initial block height at genesis (default 1) + -o, --overwrite overwrite the genesis.json file + --recover provide seed phrase to recover existing key instead of creating ``` ### Options inherited from parent commands @@ -26,6 +27,7 @@ zetacored init [moniker] [flags] ``` --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys.md b/docs/cli/zetacored/zetacored_keys.md index f1d11ef250..553b7e0ca1 100644 --- a/docs/cli/zetacored/zetacored_keys.md +++ b/docs/cli/zetacored/zetacored_keys.md @@ -42,6 +42,7 @@ The pass backend requires GnuPG: https://gnupg.org/ ``` --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_.md b/docs/cli/zetacored/zetacored_keys_.md index cb72d3d3a6..94915d6db0 100644 --- a/docs/cli/zetacored/zetacored_keys_.md +++ b/docs/cli/zetacored/zetacored_keys_.md @@ -20,6 +20,7 @@ zetacored keys [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_add.md b/docs/cli/zetacored/zetacored_keys_add.md index 44e4b3d9cb..c2748c1a00 100644 --- a/docs/cli/zetacored/zetacored_keys_add.md +++ b/docs/cli/zetacored/zetacored_keys_add.md @@ -32,13 +32,13 @@ zetacored keys add [name] [flags] ``` --account uint32 Account number for HD derivation (less than equal 2147483647) - --algo string Key signing algorithm to generate keys for --coin-type uint32 coin type number for HD derivation (default 118) --dry-run Perform action, but don't add key to local keystore --hd-path string Manual HD Path derivation (overrides BIP44 config) -h, --help help for add --index uint32 Address index number for HD derivation (less than equal 2147483647) -i, --interactive Interactively prompt user for BIP39 passphrase and mnemonic + --key-type string Key signing algorithm to generate keys for --ledger Store a local reference to a private key on a Ledger device --multisig strings List of key names stored in keyring to construct a public legacy multisig key --multisig-threshold int K out of N required signatures. For use in conjunction with --multisig (default 1) @@ -56,6 +56,7 @@ zetacored keys add [name] [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_delete.md b/docs/cli/zetacored/zetacored_keys_delete.md index 77e81a7c3c..f0fdc0c8d9 100644 --- a/docs/cli/zetacored/zetacored_keys_delete.md +++ b/docs/cli/zetacored/zetacored_keys_delete.md @@ -31,6 +31,7 @@ zetacored keys delete [name]... [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_export.md b/docs/cli/zetacored/zetacored_keys_export.md index 1326bafdf7..5db59409f4 100644 --- a/docs/cli/zetacored/zetacored_keys_export.md +++ b/docs/cli/zetacored/zetacored_keys_export.md @@ -33,6 +33,7 @@ zetacored keys export [name] [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_import.md b/docs/cli/zetacored/zetacored_keys_import.md index ef13052b24..9861f0d3a3 100644 --- a/docs/cli/zetacored/zetacored_keys_import.md +++ b/docs/cli/zetacored/zetacored_keys_import.md @@ -24,6 +24,7 @@ zetacored keys import [name] [keyfile] [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_list.md b/docs/cli/zetacored/zetacored_keys_list.md index ebe4e311b2..016159fbdb 100644 --- a/docs/cli/zetacored/zetacored_keys_list.md +++ b/docs/cli/zetacored/zetacored_keys_list.md @@ -26,6 +26,7 @@ zetacored keys list [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_migrate.md b/docs/cli/zetacored/zetacored_keys_migrate.md index eb870c13a5..e41569179d 100644 --- a/docs/cli/zetacored/zetacored_keys_migrate.md +++ b/docs/cli/zetacored/zetacored_keys_migrate.md @@ -33,6 +33,7 @@ zetacored keys migrate [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_mnemonic.md b/docs/cli/zetacored/zetacored_keys_mnemonic.md index 090bd8242b..7bb62709ab 100644 --- a/docs/cli/zetacored/zetacored_keys_mnemonic.md +++ b/docs/cli/zetacored/zetacored_keys_mnemonic.md @@ -25,6 +25,7 @@ zetacored keys mnemonic [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_parse.md b/docs/cli/zetacored/zetacored_keys_parse.md index 9d7f83a7de..8c6b8cb4cc 100644 --- a/docs/cli/zetacored/zetacored_keys_parse.md +++ b/docs/cli/zetacored/zetacored_keys_parse.md @@ -26,6 +26,7 @@ zetacored keys parse [hex-or-bech32-address] [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_rename.md b/docs/cli/zetacored/zetacored_keys_rename.md index ea3533f4dd..92ebfd0282 100644 --- a/docs/cli/zetacored/zetacored_keys_rename.md +++ b/docs/cli/zetacored/zetacored_keys_rename.md @@ -30,6 +30,7 @@ zetacored keys rename [old_name] [new_name] [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_show.md b/docs/cli/zetacored/zetacored_keys_show.md index a416702f9c..21f13ca8c4 100644 --- a/docs/cli/zetacored/zetacored_keys_show.md +++ b/docs/cli/zetacored/zetacored_keys_show.md @@ -31,6 +31,7 @@ zetacored keys show [name_or_address [name_or_address...]] [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_unsafe-export-eth-key.md b/docs/cli/zetacored/zetacored_keys_unsafe-export-eth-key.md index cfc8d6cfab..6d1dd0a7b4 100644 --- a/docs/cli/zetacored/zetacored_keys_unsafe-export-eth-key.md +++ b/docs/cli/zetacored/zetacored_keys_unsafe-export-eth-key.md @@ -24,6 +24,7 @@ zetacored keys unsafe-export-eth-key [name] [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_keys_unsafe-import-eth-key.md b/docs/cli/zetacored/zetacored_keys_unsafe-import-eth-key.md index 0892d27a87..7522308b80 100644 --- a/docs/cli/zetacored/zetacored_keys_unsafe-import-eth-key.md +++ b/docs/cli/zetacored/zetacored_keys_unsafe-import-eth-key.md @@ -24,6 +24,7 @@ zetacored keys unsafe-import-eth-key [name] [pk] [flags] --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --output string Output format (text|json) --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query.md b/docs/cli/zetacored/zetacored_query.md index 2e390d1fa0..7fc71e343d 100644 --- a/docs/cli/zetacored/zetacored_query.md +++ b/docs/cli/zetacored/zetacored_query.md @@ -19,6 +19,7 @@ zetacored query [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_account.md b/docs/cli/zetacored/zetacored_query_account.md index e848bf4c6a..3053018278 100644 --- a/docs/cli/zetacored/zetacored_query_account.md +++ b/docs/cli/zetacored/zetacored_query_account.md @@ -24,6 +24,7 @@ zetacored query account [address] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_auth.md b/docs/cli/zetacored/zetacored_query_auth.md index 46e34dd398..5d4e09f605 100644 --- a/docs/cli/zetacored/zetacored_query_auth.md +++ b/docs/cli/zetacored/zetacored_query_auth.md @@ -19,6 +19,7 @@ zetacored query auth [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_auth_account.md b/docs/cli/zetacored/zetacored_query_auth_account.md index 79c205d568..9c4cf8b802 100644 --- a/docs/cli/zetacored/zetacored_query_auth_account.md +++ b/docs/cli/zetacored/zetacored_query_auth_account.md @@ -24,6 +24,7 @@ zetacored query auth account [address] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_auth_accounts.md b/docs/cli/zetacored/zetacored_query_auth_accounts.md index 089490512c..c7c4e9fe1a 100644 --- a/docs/cli/zetacored/zetacored_query_auth_accounts.md +++ b/docs/cli/zetacored/zetacored_query_auth_accounts.md @@ -30,6 +30,7 @@ zetacored query auth accounts [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_auth_address-by-acc-num.md b/docs/cli/zetacored/zetacored_query_auth_address-by-acc-num.md index dd3b30c80b..1a3dc53dd6 100644 --- a/docs/cli/zetacored/zetacored_query_auth_address-by-acc-num.md +++ b/docs/cli/zetacored/zetacored_query_auth_address-by-acc-num.md @@ -30,6 +30,7 @@ zetacored q auth address-by-acc-num 1 --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_auth_module-account.md b/docs/cli/zetacored/zetacored_query_auth_module-account.md index 5b55993855..031926474a 100644 --- a/docs/cli/zetacored/zetacored_query_auth_module-account.md +++ b/docs/cli/zetacored/zetacored_query_auth_module-account.md @@ -30,6 +30,7 @@ zetacored q auth module-account auth --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_auth_module-accounts.md b/docs/cli/zetacored/zetacored_query_auth_module-accounts.md index 1cd402bc45..9c20d5b9c3 100644 --- a/docs/cli/zetacored/zetacored_query_auth_module-accounts.md +++ b/docs/cli/zetacored/zetacored_query_auth_module-accounts.md @@ -24,6 +24,7 @@ zetacored query auth module-accounts [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_auth_params.md b/docs/cli/zetacored/zetacored_query_auth_params.md index da51b2af48..7001751c5f 100644 --- a/docs/cli/zetacored/zetacored_query_auth_params.md +++ b/docs/cli/zetacored/zetacored_query_auth_params.md @@ -30,6 +30,7 @@ zetacored query auth params [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_authority.md b/docs/cli/zetacored/zetacored_query_authority.md index 323f9ab3ca..1685db07ca 100644 --- a/docs/cli/zetacored/zetacored_query_authority.md +++ b/docs/cli/zetacored/zetacored_query_authority.md @@ -19,6 +19,7 @@ zetacored query authority [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_authority_show-policies.md b/docs/cli/zetacored/zetacored_query_authority_show-policies.md index 1a7e553283..8f48fde096 100644 --- a/docs/cli/zetacored/zetacored_query_authority_show-policies.md +++ b/docs/cli/zetacored/zetacored_query_authority_show-policies.md @@ -24,6 +24,7 @@ zetacored query authority show-policies [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_authz.md b/docs/cli/zetacored/zetacored_query_authz.md index dce403e24e..8ac9589895 100644 --- a/docs/cli/zetacored/zetacored_query_authz.md +++ b/docs/cli/zetacored/zetacored_query_authz.md @@ -19,6 +19,7 @@ zetacored query authz [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_authz_grants-by-grantee.md b/docs/cli/zetacored/zetacored_query_authz_grants-by-grantee.md index c00276bf85..7c648a99ed 100644 --- a/docs/cli/zetacored/zetacored_query_authz_grants-by-grantee.md +++ b/docs/cli/zetacored/zetacored_query_authz_grants-by-grantee.md @@ -36,6 +36,7 @@ zetacored query authz grants-by-grantee [grantee-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_authz_grants-by-granter.md b/docs/cli/zetacored/zetacored_query_authz_grants-by-granter.md index 3d9490f7d9..82ee6f7f74 100644 --- a/docs/cli/zetacored/zetacored_query_authz_grants-by-granter.md +++ b/docs/cli/zetacored/zetacored_query_authz_grants-by-granter.md @@ -36,6 +36,7 @@ zetacored query authz grants-by-granter [granter-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_authz_grants.md b/docs/cli/zetacored/zetacored_query_authz_grants.md index 060217e1c3..7d874580da 100644 --- a/docs/cli/zetacored/zetacored_query_authz_grants.md +++ b/docs/cli/zetacored/zetacored_query_authz_grants.md @@ -38,6 +38,7 @@ zetacored query authz grants [granter-addr] [grantee-addr] [msg-type-url]? [flag --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_bank.md b/docs/cli/zetacored/zetacored_query_bank.md index 663651c3b3..699566d244 100644 --- a/docs/cli/zetacored/zetacored_query_bank.md +++ b/docs/cli/zetacored/zetacored_query_bank.md @@ -19,6 +19,7 @@ zetacored query bank [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` @@ -27,5 +28,7 @@ zetacored query bank [flags] * [zetacored query](zetacored_query.md) - Querying subcommands * [zetacored query bank balances](zetacored_query_bank_balances.md) - Query for account balances by address * [zetacored query bank denom-metadata](zetacored_query_bank_denom-metadata.md) - Query the client metadata for coin denominations +* [zetacored query bank send-enabled](zetacored_query_bank_send-enabled.md) - Query for send enabled entries +* [zetacored query bank spendable-balances](zetacored_query_bank_spendable-balances.md) - Query for account spendable balances by address * [zetacored query bank total](zetacored_query_bank_total.md) - Query the total supply of coins of the chain diff --git a/docs/cli/zetacored/zetacored_query_bank_balances.md b/docs/cli/zetacored/zetacored_query_bank_balances.md index 17960f4c3a..7853e6f7d6 100644 --- a/docs/cli/zetacored/zetacored_query_bank_balances.md +++ b/docs/cli/zetacored/zetacored_query_bank_balances.md @@ -39,6 +39,7 @@ zetacored query bank balances [address] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_bank_denom-metadata.md b/docs/cli/zetacored/zetacored_query_bank_denom-metadata.md index 03a0737e73..4f8bd41ac6 100644 --- a/docs/cli/zetacored/zetacored_query_bank_denom-metadata.md +++ b/docs/cli/zetacored/zetacored_query_bank_denom-metadata.md @@ -36,6 +36,7 @@ zetacored query bank denom-metadata [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_bank_send-enabled.md b/docs/cli/zetacored/zetacored_query_bank_send-enabled.md new file mode 100644 index 0000000000..f5e38a2809 --- /dev/null +++ b/docs/cli/zetacored/zetacored_query_bank_send-enabled.md @@ -0,0 +1,60 @@ +# query bank send-enabled + +Query for send enabled entries + +### Synopsis + +Query for send enabled entries that have been specifically set. + +To look up one or more specific denoms, supply them as arguments to this command. +To look up all denoms, do not provide any arguments. + +``` +zetacored query bank send-enabled [denom1 ...] [flags] +``` + +### Examples + +``` +Getting one specific entry: + $ zetacored query bank send-enabled foocoin + +Getting two specific entries: + $ zetacored query bank send-enabled foocoin barcoin + +Getting all entries: + $ zetacored query bank send-enabled +``` + +### Options + +``` + --count-total count total number of records in send enabled entries to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for send-enabled + --limit uint pagination limit of send enabled entries to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of send enabled entries to query for + -o, --output string Output format (text|json) + --page uint pagination page of send enabled entries to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of send enabled entries to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query bank](zetacored_query_bank.md) - Querying commands for the bank module + diff --git a/docs/cli/zetacored/zetacored_query_bank_spendable-balances.md b/docs/cli/zetacored/zetacored_query_bank_spendable-balances.md new file mode 100644 index 0000000000..61983ed40b --- /dev/null +++ b/docs/cli/zetacored/zetacored_query_bank_spendable-balances.md @@ -0,0 +1,47 @@ +# query bank spendable-balances + +Query for account spendable balances by address + +``` +zetacored query bank spendable-balances [address] [flags] +``` + +### Examples + +``` +$ zetacored query bank spendable-balances [address] +``` + +### Options + +``` + --count-total count total number of records in spendable balances to query for + --denom string The specific balance denomination to query for + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for spendable-balances + --limit uint pagination limit of spendable balances to query for (default 100) + --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of spendable balances to query for + -o, --output string Output format (text|json) + --page uint pagination page of spendable balances to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of spendable balances to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query bank](zetacored_query_bank.md) - Querying commands for the bank module + diff --git a/docs/cli/zetacored/zetacored_query_bank_total.md b/docs/cli/zetacored/zetacored_query_bank_total.md index a8bf3d0f6e..8a4a0e9bed 100644 --- a/docs/cli/zetacored/zetacored_query_bank_total.md +++ b/docs/cli/zetacored/zetacored_query_bank_total.md @@ -41,6 +41,7 @@ zetacored query bank total [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_block.md b/docs/cli/zetacored/zetacored_query_block.md index ed4368c9b8..79c59ea185 100644 --- a/docs/cli/zetacored/zetacored_query_block.md +++ b/docs/cli/zetacored/zetacored_query_block.md @@ -20,6 +20,7 @@ zetacored query block [height] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain.md b/docs/cli/zetacored/zetacored_query_crosschain.md index db80778e2a..9e09214e60 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain.md +++ b/docs/cli/zetacored/zetacored_query_crosschain.md @@ -19,6 +19,7 @@ zetacored query crosschain [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_get-zeta-accounting.md b/docs/cli/zetacored/zetacored_query_crosschain_get-zeta-accounting.md index 589865d868..0bcb1d4417 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_get-zeta-accounting.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_get-zeta-accounting.md @@ -24,6 +24,7 @@ zetacored query crosschain get-zeta-accounting [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_in-tx-hash-to-cctx-data.md b/docs/cli/zetacored/zetacored_query_crosschain_in-tx-hash-to-cctx-data.md index 34d1c6b321..682fd8fd8e 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_in-tx-hash-to-cctx-data.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_in-tx-hash-to-cctx-data.md @@ -24,6 +24,7 @@ zetacored query crosschain in-tx-hash-to-cctx-data [in-tx-hash] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_last-zeta-height.md b/docs/cli/zetacored/zetacored_query_crosschain_last-zeta-height.md index accc88a36a..cba3ec0090 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_last-zeta-height.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_last-zeta-height.md @@ -24,6 +24,7 @@ zetacored query crosschain last-zeta-height [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_list-all-in-tx-trackers.md b/docs/cli/zetacored/zetacored_query_crosschain_list-all-in-tx-trackers.md index 6a195b1df4..4dafd0d1dc 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_list-all-in-tx-trackers.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_list-all-in-tx-trackers.md @@ -24,6 +24,7 @@ zetacored query crosschain list-all-in-tx-trackers [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_list-cctx.md b/docs/cli/zetacored/zetacored_query_crosschain_list-cctx.md index c0d70a9ee8..61c167756e 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_list-cctx.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_list-cctx.md @@ -30,6 +30,7 @@ zetacored query crosschain list-cctx [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_list-gas-price.md b/docs/cli/zetacored/zetacored_query_crosschain_list-gas-price.md index 5ff569c9d8..29d0f8e666 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_list-gas-price.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_list-gas-price.md @@ -30,6 +30,7 @@ zetacored query crosschain list-gas-price [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_list-in-tx-hash-to-cctx.md b/docs/cli/zetacored/zetacored_query_crosschain_list-in-tx-hash-to-cctx.md index 35f5cc1696..ccb0f68c9e 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_list-in-tx-hash-to-cctx.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_list-in-tx-hash-to-cctx.md @@ -30,6 +30,7 @@ zetacored query crosschain list-in-tx-hash-to-cctx [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_list-in-tx-tracker.md b/docs/cli/zetacored/zetacored_query_crosschain_list-in-tx-tracker.md index 89f2186de8..b7cab7e961 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_list-in-tx-tracker.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_list-in-tx-tracker.md @@ -30,6 +30,7 @@ zetacored query crosschain list-in-tx-tracker [chainId] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_list-out-tx-tracker.md b/docs/cli/zetacored/zetacored_query_crosschain_list-out-tx-tracker.md index a21ea726b5..ac7085f7eb 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_list-out-tx-tracker.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_list-out-tx-tracker.md @@ -30,6 +30,7 @@ zetacored query crosschain list-out-tx-tracker [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_list-pending-cctx.md b/docs/cli/zetacored/zetacored_query_crosschain_list-pending-cctx.md index 7a886b8ec3..8eaaf37ada 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_list-pending-cctx.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_list-pending-cctx.md @@ -24,6 +24,7 @@ zetacored query crosschain list-pending-cctx [chain-id] [limit] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_show-cctx.md b/docs/cli/zetacored/zetacored_query_crosschain_show-cctx.md index ff278e95a3..eef4f44928 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_show-cctx.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_show-cctx.md @@ -24,6 +24,7 @@ zetacored query crosschain show-cctx [index] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_show-gas-price.md b/docs/cli/zetacored/zetacored_query_crosschain_show-gas-price.md index 4b34188eea..b675d62870 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_show-gas-price.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_show-gas-price.md @@ -24,6 +24,7 @@ zetacored query crosschain show-gas-price [index] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_show-in-tx-hash-to-cctx.md b/docs/cli/zetacored/zetacored_query_crosschain_show-in-tx-hash-to-cctx.md index 75c2735dfe..39a6244851 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_show-in-tx-hash-to-cctx.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_show-in-tx-hash-to-cctx.md @@ -24,6 +24,7 @@ zetacored query crosschain show-in-tx-hash-to-cctx [in-tx-hash] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_show-out-tx-tracker.md b/docs/cli/zetacored/zetacored_query_crosschain_show-out-tx-tracker.md index 47786d54dd..b931bf4a9d 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_show-out-tx-tracker.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_show-out-tx-tracker.md @@ -24,6 +24,7 @@ zetacored query crosschain show-out-tx-tracker [chainId] [nonce] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_distribution.md b/docs/cli/zetacored/zetacored_query_distribution.md index 2219cd5356..f2d8f185d8 100644 --- a/docs/cli/zetacored/zetacored_query_distribution.md +++ b/docs/cli/zetacored/zetacored_query_distribution.md @@ -19,6 +19,7 @@ zetacored query distribution [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` @@ -30,5 +31,6 @@ zetacored query distribution [flags] * [zetacored query distribution params](zetacored_query_distribution_params.md) - Query distribution params * [zetacored query distribution rewards](zetacored_query_distribution_rewards.md) - Query all distribution delegator rewards or rewards from a particular validator * [zetacored query distribution slashes](zetacored_query_distribution_slashes.md) - Query distribution validator slashes +* [zetacored query distribution validator-distribution-info](zetacored_query_distribution_validator-distribution-info.md) - Query validator distribution info * [zetacored query distribution validator-outstanding-rewards](zetacored_query_distribution_validator-outstanding-rewards.md) - Query distribution outstanding (un-withdrawn) rewards for a validator and all their delegations diff --git a/docs/cli/zetacored/zetacored_query_distribution_commission.md b/docs/cli/zetacored/zetacored_query_distribution_commission.md index db12182e9a..36ec6c5345 100644 --- a/docs/cli/zetacored/zetacored_query_distribution_commission.md +++ b/docs/cli/zetacored/zetacored_query_distribution_commission.md @@ -31,6 +31,7 @@ zetacored query distribution commission [validator] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_distribution_community-pool.md b/docs/cli/zetacored/zetacored_query_distribution_community-pool.md index e3908f2cb6..f323dbcf1a 100644 --- a/docs/cli/zetacored/zetacored_query_distribution_community-pool.md +++ b/docs/cli/zetacored/zetacored_query_distribution_community-pool.md @@ -31,6 +31,7 @@ zetacored query distribution community-pool [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_distribution_params.md b/docs/cli/zetacored/zetacored_query_distribution_params.md index 41fe2e1d9c..1cc36c9d43 100644 --- a/docs/cli/zetacored/zetacored_query_distribution_params.md +++ b/docs/cli/zetacored/zetacored_query_distribution_params.md @@ -24,6 +24,7 @@ zetacored query distribution params [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_distribution_rewards.md b/docs/cli/zetacored/zetacored_query_distribution_rewards.md index 314fd0ac67..0ecdca5cad 100644 --- a/docs/cli/zetacored/zetacored_query_distribution_rewards.md +++ b/docs/cli/zetacored/zetacored_query_distribution_rewards.md @@ -32,6 +32,7 @@ zetacored query distribution rewards [delegator-addr] [validator-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_distribution_slashes.md b/docs/cli/zetacored/zetacored_query_distribution_slashes.md index 376c9a9d10..20ddf798a7 100644 --- a/docs/cli/zetacored/zetacored_query_distribution_slashes.md +++ b/docs/cli/zetacored/zetacored_query_distribution_slashes.md @@ -37,6 +37,7 @@ zetacored query distribution slashes [validator] [start-height] [end-height] [fl --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_distribution_validator-distribution-info.md b/docs/cli/zetacored/zetacored_query_distribution_validator-distribution-info.md new file mode 100644 index 0000000000..3f9129ee3e --- /dev/null +++ b/docs/cli/zetacored/zetacored_query_distribution_validator-distribution-info.md @@ -0,0 +1,40 @@ +# query distribution validator-distribution-info + +Query validator distribution info + +### Synopsis + +Query validator distribution info. +Example: +$ zetacored query distribution validator-distribution-info zetavaloper1lwjmdnks33xwnmfayc64ycprww49n33mtm92ne + +``` +zetacored query distribution validator-distribution-info [validator] [flags] +``` + +### Options + +``` + --grpc-addr string the gRPC endpoint to use for this chain + --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for validator-distribution-info + --node string [host]:[port] to Tendermint RPC interface for this chain + -o, --output string Output format (text|json) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID + --home string directory for config and data + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs + --trace print out full stack trace on errors +``` + +### SEE ALSO + +* [zetacored query distribution](zetacored_query_distribution.md) - Querying commands for the distribution module + diff --git a/docs/cli/zetacored/zetacored_query_distribution_validator-outstanding-rewards.md b/docs/cli/zetacored/zetacored_query_distribution_validator-outstanding-rewards.md index 37491de3c4..82db33c0d6 100644 --- a/docs/cli/zetacored/zetacored_query_distribution_validator-outstanding-rewards.md +++ b/docs/cli/zetacored/zetacored_query_distribution_validator-outstanding-rewards.md @@ -31,6 +31,7 @@ zetacored query distribution validator-outstanding-rewards [validator] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_emissions.md b/docs/cli/zetacored/zetacored_query_emissions.md index 64c7d0962a..f7c6d5ca2e 100644 --- a/docs/cli/zetacored/zetacored_query_emissions.md +++ b/docs/cli/zetacored/zetacored_query_emissions.md @@ -19,6 +19,7 @@ zetacored query emissions [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_emissions_get-emmisons-factors.md b/docs/cli/zetacored/zetacored_query_emissions_get-emmisons-factors.md index d6d7e50ded..b65178aa3d 100644 --- a/docs/cli/zetacored/zetacored_query_emissions_get-emmisons-factors.md +++ b/docs/cli/zetacored/zetacored_query_emissions_get-emmisons-factors.md @@ -24,6 +24,7 @@ zetacored query emissions get-emmisons-factors [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_emissions_list-pool-addresses.md b/docs/cli/zetacored/zetacored_query_emissions_list-pool-addresses.md index c7f6d128cb..6e6b7ff5ba 100644 --- a/docs/cli/zetacored/zetacored_query_emissions_list-pool-addresses.md +++ b/docs/cli/zetacored/zetacored_query_emissions_list-pool-addresses.md @@ -24,6 +24,7 @@ zetacored query emissions list-pool-addresses [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_emissions_params.md b/docs/cli/zetacored/zetacored_query_emissions_params.md index 8ed7ad6936..97fca21f26 100644 --- a/docs/cli/zetacored/zetacored_query_emissions_params.md +++ b/docs/cli/zetacored/zetacored_query_emissions_params.md @@ -24,6 +24,7 @@ zetacored query emissions params [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_emissions_show-available-emissions.md b/docs/cli/zetacored/zetacored_query_emissions_show-available-emissions.md index 64298eb1cd..51af0246ba 100644 --- a/docs/cli/zetacored/zetacored_query_emissions_show-available-emissions.md +++ b/docs/cli/zetacored/zetacored_query_emissions_show-available-emissions.md @@ -24,6 +24,7 @@ zetacored query emissions show-available-emissions [address] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_evidence.md b/docs/cli/zetacored/zetacored_query_evidence.md index 6531727bfd..f2607f7e99 100644 --- a/docs/cli/zetacored/zetacored_query_evidence.md +++ b/docs/cli/zetacored/zetacored_query_evidence.md @@ -38,6 +38,7 @@ zetacored query evidence [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_evm.md b/docs/cli/zetacored/zetacored_query_evm.md index 5ee6a1ba5c..32637805b4 100644 --- a/docs/cli/zetacored/zetacored_query_evm.md +++ b/docs/cli/zetacored/zetacored_query_evm.md @@ -19,6 +19,7 @@ zetacored query evm [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_evm_code.md b/docs/cli/zetacored/zetacored_query_evm_code.md index 25db6243ac..7f5eb75736 100644 --- a/docs/cli/zetacored/zetacored_query_evm_code.md +++ b/docs/cli/zetacored/zetacored_query_evm_code.md @@ -28,6 +28,7 @@ zetacored query evm code ADDRESS [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_evm_params.md b/docs/cli/zetacored/zetacored_query_evm_params.md index 31792401a8..e6ab044e43 100644 --- a/docs/cli/zetacored/zetacored_query_evm_params.md +++ b/docs/cli/zetacored/zetacored_query_evm_params.md @@ -28,6 +28,7 @@ zetacored query evm params [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_evm_storage.md b/docs/cli/zetacored/zetacored_query_evm_storage.md index 02e81bca0c..610b2918e1 100644 --- a/docs/cli/zetacored/zetacored_query_evm_storage.md +++ b/docs/cli/zetacored/zetacored_query_evm_storage.md @@ -28,6 +28,7 @@ zetacored query evm storage ADDRESS KEY [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_feemarket.md b/docs/cli/zetacored/zetacored_query_feemarket.md index 142edf58a0..3902268679 100644 --- a/docs/cli/zetacored/zetacored_query_feemarket.md +++ b/docs/cli/zetacored/zetacored_query_feemarket.md @@ -19,6 +19,7 @@ zetacored query feemarket [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_feemarket_base-fee.md b/docs/cli/zetacored/zetacored_query_feemarket_base-fee.md index a6bfaafdf1..1cebde75d4 100644 --- a/docs/cli/zetacored/zetacored_query_feemarket_base-fee.md +++ b/docs/cli/zetacored/zetacored_query_feemarket_base-fee.md @@ -29,6 +29,7 @@ zetacored query feemarket base-fee [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_feemarket_block-gas.md b/docs/cli/zetacored/zetacored_query_feemarket_block-gas.md index 8548a00cab..8794009dbb 100644 --- a/docs/cli/zetacored/zetacored_query_feemarket_block-gas.md +++ b/docs/cli/zetacored/zetacored_query_feemarket_block-gas.md @@ -29,6 +29,7 @@ zetacored query feemarket block-gas [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_feemarket_params.md b/docs/cli/zetacored/zetacored_query_feemarket_params.md index 35805cb5be..482c6e7a66 100644 --- a/docs/cli/zetacored/zetacored_query_feemarket_params.md +++ b/docs/cli/zetacored/zetacored_query_feemarket_params.md @@ -28,6 +28,7 @@ zetacored query feemarket params [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_fungible.md b/docs/cli/zetacored/zetacored_query_fungible.md index 9ac579947a..30458d04ae 100644 --- a/docs/cli/zetacored/zetacored_query_fungible.md +++ b/docs/cli/zetacored/zetacored_query_fungible.md @@ -19,6 +19,7 @@ zetacored query fungible [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_fungible_code-hash.md b/docs/cli/zetacored/zetacored_query_fungible_code-hash.md index 8072fa760c..cab57761bb 100644 --- a/docs/cli/zetacored/zetacored_query_fungible_code-hash.md +++ b/docs/cli/zetacored/zetacored_query_fungible_code-hash.md @@ -24,6 +24,7 @@ zetacored query fungible code-hash [address] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_fungible_gas-stability-pool-address.md b/docs/cli/zetacored/zetacored_query_fungible_gas-stability-pool-address.md index 0ac34a6d09..5d3b8ac24f 100644 --- a/docs/cli/zetacored/zetacored_query_fungible_gas-stability-pool-address.md +++ b/docs/cli/zetacored/zetacored_query_fungible_gas-stability-pool-address.md @@ -30,6 +30,7 @@ zetacored query fungible gas-stability-pool-address [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_fungible_gas-stability-pool-balance.md b/docs/cli/zetacored/zetacored_query_fungible_gas-stability-pool-balance.md index b8afb756f7..d696305a01 100644 --- a/docs/cli/zetacored/zetacored_query_fungible_gas-stability-pool-balance.md +++ b/docs/cli/zetacored/zetacored_query_fungible_gas-stability-pool-balance.md @@ -30,6 +30,7 @@ zetacored query fungible gas-stability-pool-balance [chain-id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_fungible_gas-stability-pool-balances.md b/docs/cli/zetacored/zetacored_query_fungible_gas-stability-pool-balances.md index 43cdc1bf67..e4750004c5 100644 --- a/docs/cli/zetacored/zetacored_query_fungible_gas-stability-pool-balances.md +++ b/docs/cli/zetacored/zetacored_query_fungible_gas-stability-pool-balances.md @@ -30,6 +30,7 @@ zetacored query fungible gas-stability-pool-balances [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_fungible_list-foreign-coins.md b/docs/cli/zetacored/zetacored_query_fungible_list-foreign-coins.md index 2a5f6a3809..12be720356 100644 --- a/docs/cli/zetacored/zetacored_query_fungible_list-foreign-coins.md +++ b/docs/cli/zetacored/zetacored_query_fungible_list-foreign-coins.md @@ -30,6 +30,7 @@ zetacored query fungible list-foreign-coins [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_fungible_show-foreign-coins.md b/docs/cli/zetacored/zetacored_query_fungible_show-foreign-coins.md index 8bb0ff9d70..72f7607698 100644 --- a/docs/cli/zetacored/zetacored_query_fungible_show-foreign-coins.md +++ b/docs/cli/zetacored/zetacored_query_fungible_show-foreign-coins.md @@ -24,6 +24,7 @@ zetacored query fungible show-foreign-coins [index] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_fungible_system-contract.md b/docs/cli/zetacored/zetacored_query_fungible_system-contract.md index f31b40e493..bc26bc7208 100644 --- a/docs/cli/zetacored/zetacored_query_fungible_system-contract.md +++ b/docs/cli/zetacored/zetacored_query_fungible_system-contract.md @@ -24,6 +24,7 @@ zetacored query fungible system-contract [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_gov.md b/docs/cli/zetacored/zetacored_query_gov.md index 9ab0a1b9de..6be0073229 100644 --- a/docs/cli/zetacored/zetacored_query_gov.md +++ b/docs/cli/zetacored/zetacored_query_gov.md @@ -19,6 +19,7 @@ zetacored query gov [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_gov_deposit.md b/docs/cli/zetacored/zetacored_query_gov_deposit.md index e1be829fdf..325512a378 100644 --- a/docs/cli/zetacored/zetacored_query_gov_deposit.md +++ b/docs/cli/zetacored/zetacored_query_gov_deposit.md @@ -31,6 +31,7 @@ zetacored query gov deposit [proposal-id] [depositer-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_gov_deposits.md b/docs/cli/zetacored/zetacored_query_gov_deposits.md index b9b0187caa..53eafebb17 100644 --- a/docs/cli/zetacored/zetacored_query_gov_deposits.md +++ b/docs/cli/zetacored/zetacored_query_gov_deposits.md @@ -38,6 +38,7 @@ zetacored query gov deposits [proposal-id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_gov_param.md b/docs/cli/zetacored/zetacored_query_gov_param.md index da4d57003c..c48895b462 100644 --- a/docs/cli/zetacored/zetacored_query_gov_param.md +++ b/docs/cli/zetacored/zetacored_query_gov_param.md @@ -5,7 +5,6 @@ Query the parameters (voting|tallying|deposit) of the governance process ### Synopsis Query the all the parameters for the governance process. - Example: $ zetacored query gov param voting $ zetacored query gov param tallying @@ -33,6 +32,7 @@ zetacored query gov param [param-type] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_gov_params.md b/docs/cli/zetacored/zetacored_query_gov_params.md index 216da703cb..fb6d71f134 100644 --- a/docs/cli/zetacored/zetacored_query_gov_params.md +++ b/docs/cli/zetacored/zetacored_query_gov_params.md @@ -31,6 +31,7 @@ zetacored query gov params [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_gov_proposal.md b/docs/cli/zetacored/zetacored_query_gov_proposal.md index 65c7caf733..53aa6b6fc0 100644 --- a/docs/cli/zetacored/zetacored_query_gov_proposal.md +++ b/docs/cli/zetacored/zetacored_query_gov_proposal.md @@ -32,6 +32,7 @@ zetacored query gov proposal [proposal-id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_gov_proposals.md b/docs/cli/zetacored/zetacored_query_gov_proposals.md index ac78a2fe00..57a7b245ea 100644 --- a/docs/cli/zetacored/zetacored_query_gov_proposals.md +++ b/docs/cli/zetacored/zetacored_query_gov_proposals.md @@ -43,6 +43,7 @@ zetacored query gov proposals [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_gov_proposer.md b/docs/cli/zetacored/zetacored_query_gov_proposer.md index 95e67f8e35..c90d3fb35a 100644 --- a/docs/cli/zetacored/zetacored_query_gov_proposer.md +++ b/docs/cli/zetacored/zetacored_query_gov_proposer.md @@ -31,6 +31,7 @@ zetacored query gov proposer [proposal-id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_gov_tally.md b/docs/cli/zetacored/zetacored_query_gov_tally.md index 61194cbdf4..b80113a7a7 100644 --- a/docs/cli/zetacored/zetacored_query_gov_tally.md +++ b/docs/cli/zetacored/zetacored_query_gov_tally.md @@ -32,6 +32,7 @@ zetacored query gov tally [proposal-id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_gov_vote.md b/docs/cli/zetacored/zetacored_query_gov_vote.md index 804d6d211c..cb558927bf 100644 --- a/docs/cli/zetacored/zetacored_query_gov_vote.md +++ b/docs/cli/zetacored/zetacored_query_gov_vote.md @@ -31,6 +31,7 @@ zetacored query gov vote [proposal-id] [voter-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_gov_votes.md b/docs/cli/zetacored/zetacored_query_gov_votes.md index 7db7631f74..53cb62f165 100644 --- a/docs/cli/zetacored/zetacored_query_gov_votes.md +++ b/docs/cli/zetacored/zetacored_query_gov_votes.md @@ -38,6 +38,7 @@ zetacored query gov votes [proposal-id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group.md b/docs/cli/zetacored/zetacored_query_group.md index 4d997aad4d..1b45a13c07 100644 --- a/docs/cli/zetacored/zetacored_query_group.md +++ b/docs/cli/zetacored/zetacored_query_group.md @@ -19,6 +19,7 @@ zetacored query group [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_group-info.md b/docs/cli/zetacored/zetacored_query_group_group-info.md index ba8ebee597..b1e85006b7 100644 --- a/docs/cli/zetacored/zetacored_query_group_group-info.md +++ b/docs/cli/zetacored/zetacored_query_group_group-info.md @@ -24,6 +24,7 @@ zetacored query group group-info [id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_group-members.md b/docs/cli/zetacored/zetacored_query_group_group-members.md index 598b879f5a..f1b6b0e561 100644 --- a/docs/cli/zetacored/zetacored_query_group_group-members.md +++ b/docs/cli/zetacored/zetacored_query_group_group-members.md @@ -9,12 +9,18 @@ zetacored query group group-members [id] [flags] ### Options ``` + --count-total count total number of records in group-members to query for --grpc-addr string the gRPC endpoint to use for this chain --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS --height int Use a specific height to query state at (this can error if the node is pruning state) -h, --help help for group-members + --limit uint pagination limit of group-members to query for (default 100) --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of group-members to query for -o, --output string Output format (text|json) + --page uint pagination page of group-members to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of group-members to query for + --reverse results are sorted in descending order ``` ### Options inherited from parent commands @@ -24,6 +30,7 @@ zetacored query group group-members [id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_group-policies-by-admin.md b/docs/cli/zetacored/zetacored_query_group_group-policies-by-admin.md index ac0c3806eb..7db634efd5 100644 --- a/docs/cli/zetacored/zetacored_query_group_group-policies-by-admin.md +++ b/docs/cli/zetacored/zetacored_query_group_group-policies-by-admin.md @@ -9,12 +9,18 @@ zetacored query group group-policies-by-admin [admin] [flags] ### Options ``` + --count-total count total number of records in group-policies-by-admin to query for --grpc-addr string the gRPC endpoint to use for this chain --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS --height int Use a specific height to query state at (this can error if the node is pruning state) -h, --help help for group-policies-by-admin + --limit uint pagination limit of group-policies-by-admin to query for (default 100) --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of group-policies-by-admin to query for -o, --output string Output format (text|json) + --page uint pagination page of group-policies-by-admin to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of group-policies-by-admin to query for + --reverse results are sorted in descending order ``` ### Options inherited from parent commands @@ -24,6 +30,7 @@ zetacored query group group-policies-by-admin [admin] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_group-policies-by-group.md b/docs/cli/zetacored/zetacored_query_group_group-policies-by-group.md index fd154d8be8..0a6c87819e 100644 --- a/docs/cli/zetacored/zetacored_query_group_group-policies-by-group.md +++ b/docs/cli/zetacored/zetacored_query_group_group-policies-by-group.md @@ -9,12 +9,18 @@ zetacored query group group-policies-by-group [group-id] [flags] ### Options ``` + --count-total count total number of records in groups-policies-by-group to query for --grpc-addr string the gRPC endpoint to use for this chain --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS --height int Use a specific height to query state at (this can error if the node is pruning state) -h, --help help for group-policies-by-group + --limit uint pagination limit of groups-policies-by-group to query for (default 100) --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of groups-policies-by-group to query for -o, --output string Output format (text|json) + --page uint pagination page of groups-policies-by-group to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of groups-policies-by-group to query for + --reverse results are sorted in descending order ``` ### Options inherited from parent commands @@ -24,6 +30,7 @@ zetacored query group group-policies-by-group [group-id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_group-policy-info.md b/docs/cli/zetacored/zetacored_query_group_group-policy-info.md index 25c9619178..4689df4574 100644 --- a/docs/cli/zetacored/zetacored_query_group_group-policy-info.md +++ b/docs/cli/zetacored/zetacored_query_group_group-policy-info.md @@ -24,6 +24,7 @@ zetacored query group group-policy-info [group-policy-account] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_groups-by-admin.md b/docs/cli/zetacored/zetacored_query_group_groups-by-admin.md index 8914583fd5..0252787d7a 100644 --- a/docs/cli/zetacored/zetacored_query_group_groups-by-admin.md +++ b/docs/cli/zetacored/zetacored_query_group_groups-by-admin.md @@ -9,12 +9,18 @@ zetacored query group groups-by-admin [admin] [flags] ### Options ``` + --count-total count total number of records in groups-by-admin to query for --grpc-addr string the gRPC endpoint to use for this chain --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS --height int Use a specific height to query state at (this can error if the node is pruning state) -h, --help help for groups-by-admin + --limit uint pagination limit of groups-by-admin to query for (default 100) --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of groups-by-admin to query for -o, --output string Output format (text|json) + --page uint pagination page of groups-by-admin to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of groups-by-admin to query for + --reverse results are sorted in descending order ``` ### Options inherited from parent commands @@ -24,6 +30,7 @@ zetacored query group groups-by-admin [admin] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_groups-by-member.md b/docs/cli/zetacored/zetacored_query_group_groups-by-member.md index deb8387c71..81d412d017 100644 --- a/docs/cli/zetacored/zetacored_query_group_groups-by-member.md +++ b/docs/cli/zetacored/zetacored_query_group_groups-by-member.md @@ -30,6 +30,7 @@ zetacored query group groups-by-member [address] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_groups.md b/docs/cli/zetacored/zetacored_query_group_groups.md index a629b9d5c7..9bfba071d6 100644 --- a/docs/cli/zetacored/zetacored_query_group_groups.md +++ b/docs/cli/zetacored/zetacored_query_group_groups.md @@ -30,6 +30,7 @@ zetacored query group groups [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_proposal.md b/docs/cli/zetacored/zetacored_query_group_proposal.md index d072cd1a85..68dee5a63b 100644 --- a/docs/cli/zetacored/zetacored_query_group_proposal.md +++ b/docs/cli/zetacored/zetacored_query_group_proposal.md @@ -24,6 +24,7 @@ zetacored query group proposal [id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_proposals-by-group-policy.md b/docs/cli/zetacored/zetacored_query_group_proposals-by-group-policy.md index 0a2ee4cb1d..c951cd04c4 100644 --- a/docs/cli/zetacored/zetacored_query_group_proposals-by-group-policy.md +++ b/docs/cli/zetacored/zetacored_query_group_proposals-by-group-policy.md @@ -9,12 +9,18 @@ zetacored query group proposals-by-group-policy [group-policy-account] [flags] ### Options ``` + --count-total count total number of records in proposals-by-group-policy to query for --grpc-addr string the gRPC endpoint to use for this chain --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS --height int Use a specific height to query state at (this can error if the node is pruning state) -h, --help help for proposals-by-group-policy + --limit uint pagination limit of proposals-by-group-policy to query for (default 100) --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of proposals-by-group-policy to query for -o, --output string Output format (text|json) + --page uint pagination page of proposals-by-group-policy to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of proposals-by-group-policy to query for + --reverse results are sorted in descending order ``` ### Options inherited from parent commands @@ -24,6 +30,7 @@ zetacored query group proposals-by-group-policy [group-policy-account] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_tally-result.md b/docs/cli/zetacored/zetacored_query_group_tally-result.md index cd9354baf1..ed2daff302 100644 --- a/docs/cli/zetacored/zetacored_query_group_tally-result.md +++ b/docs/cli/zetacored/zetacored_query_group_tally-result.md @@ -24,6 +24,7 @@ zetacored query group tally-result [proposal-id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_vote.md b/docs/cli/zetacored/zetacored_query_group_vote.md index 3e406df08b..169b9cfd78 100644 --- a/docs/cli/zetacored/zetacored_query_group_vote.md +++ b/docs/cli/zetacored/zetacored_query_group_vote.md @@ -24,6 +24,7 @@ zetacored query group vote [proposal-id] [voter] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_votes-by-proposal.md b/docs/cli/zetacored/zetacored_query_group_votes-by-proposal.md index 9a1fcc82d0..fc84eef9ce 100644 --- a/docs/cli/zetacored/zetacored_query_group_votes-by-proposal.md +++ b/docs/cli/zetacored/zetacored_query_group_votes-by-proposal.md @@ -9,12 +9,18 @@ zetacored query group votes-by-proposal [proposal-id] [flags] ### Options ``` + --count-total count total number of records in votes-by-proposal to query for --grpc-addr string the gRPC endpoint to use for this chain --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS --height int Use a specific height to query state at (this can error if the node is pruning state) -h, --help help for votes-by-proposal + --limit uint pagination limit of votes-by-proposal to query for (default 100) --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of votes-by-proposal to query for -o, --output string Output format (text|json) + --page uint pagination page of votes-by-proposal to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of votes-by-proposal to query for + --reverse results are sorted in descending order ``` ### Options inherited from parent commands @@ -24,6 +30,7 @@ zetacored query group votes-by-proposal [proposal-id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_group_votes-by-voter.md b/docs/cli/zetacored/zetacored_query_group_votes-by-voter.md index 13e84dde9b..70d84b9d68 100644 --- a/docs/cli/zetacored/zetacored_query_group_votes-by-voter.md +++ b/docs/cli/zetacored/zetacored_query_group_votes-by-voter.md @@ -9,12 +9,18 @@ zetacored query group votes-by-voter [voter] [flags] ### Options ``` + --count-total count total number of records in votes-by-voter to query for --grpc-addr string the gRPC endpoint to use for this chain --grpc-insecure allow gRPC over insecure channels, if not TLS the server must use TLS --height int Use a specific height to query state at (this can error if the node is pruning state) -h, --help help for votes-by-voter + --limit uint pagination limit of votes-by-voter to query for (default 100) --node string [host]:[port] to Tendermint RPC interface for this chain + --offset uint pagination offset of votes-by-voter to query for -o, --output string Output format (text|json) + --page uint pagination page of votes-by-voter to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of votes-by-voter to query for + --reverse results are sorted in descending order ``` ### Options inherited from parent commands @@ -24,6 +30,7 @@ zetacored query group votes-by-voter [voter] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_lightclient.md b/docs/cli/zetacored/zetacored_query_lightclient.md index a576a4e71b..2ce1e41c4d 100644 --- a/docs/cli/zetacored/zetacored_query_lightclient.md +++ b/docs/cli/zetacored/zetacored_query_lightclient.md @@ -19,6 +19,7 @@ zetacored query lightclient [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_lightclient_list-block-header.md b/docs/cli/zetacored/zetacored_query_lightclient_list-block-header.md index ade0e06c62..9808a74640 100644 --- a/docs/cli/zetacored/zetacored_query_lightclient_list-block-header.md +++ b/docs/cli/zetacored/zetacored_query_lightclient_list-block-header.md @@ -24,6 +24,7 @@ zetacored query lightclient list-block-header [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_lightclient_list-chain-state.md b/docs/cli/zetacored/zetacored_query_lightclient_list-chain-state.md index eead2bf7a0..77fbe661f5 100644 --- a/docs/cli/zetacored/zetacored_query_lightclient_list-chain-state.md +++ b/docs/cli/zetacored/zetacored_query_lightclient_list-chain-state.md @@ -24,6 +24,7 @@ zetacored query lightclient list-chain-state [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_lightclient_show-block-header.md b/docs/cli/zetacored/zetacored_query_lightclient_show-block-header.md index 10d89a7794..f1c47ba591 100644 --- a/docs/cli/zetacored/zetacored_query_lightclient_show-block-header.md +++ b/docs/cli/zetacored/zetacored_query_lightclient_show-block-header.md @@ -24,6 +24,7 @@ zetacored query lightclient show-block-header [block-hash] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_lightclient_show-chain-state.md b/docs/cli/zetacored/zetacored_query_lightclient_show-chain-state.md index 7647726bb9..440da4da33 100644 --- a/docs/cli/zetacored/zetacored_query_lightclient_show-chain-state.md +++ b/docs/cli/zetacored/zetacored_query_lightclient_show-chain-state.md @@ -24,6 +24,7 @@ zetacored query lightclient show-chain-state [chain-id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_lightclient_show-verification-flags.md b/docs/cli/zetacored/zetacored_query_lightclient_show-verification-flags.md index d8e8d97527..0625cf65fc 100644 --- a/docs/cli/zetacored/zetacored_query_lightclient_show-verification-flags.md +++ b/docs/cli/zetacored/zetacored_query_lightclient_show-verification-flags.md @@ -24,6 +24,7 @@ zetacored query lightclient show-verification-flags [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer.md b/docs/cli/zetacored/zetacored_query_observer.md index c6d0763b89..42d0ffe777 100644 --- a/docs/cli/zetacored/zetacored_query_observer.md +++ b/docs/cli/zetacored/zetacored_query_observer.md @@ -19,6 +19,7 @@ zetacored query observer [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_get-historical-tss-address.md b/docs/cli/zetacored/zetacored_query_observer_get-historical-tss-address.md index d56798a084..77bcfeec3e 100644 --- a/docs/cli/zetacored/zetacored_query_observer_get-historical-tss-address.md +++ b/docs/cli/zetacored/zetacored_query_observer_get-historical-tss-address.md @@ -24,6 +24,7 @@ zetacored query observer get-historical-tss-address [finalizedZetaHeight] [bitco --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_get-tss-address.md b/docs/cli/zetacored/zetacored_query_observer_get-tss-address.md index 5c5e68bd14..b04750c1f6 100644 --- a/docs/cli/zetacored/zetacored_query_observer_get-tss-address.md +++ b/docs/cli/zetacored/zetacored_query_observer_get-tss-address.md @@ -24,6 +24,7 @@ zetacored query observer get-tss-address [bitcoinChainId]] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_list-blame-by-msg.md b/docs/cli/zetacored/zetacored_query_observer_list-blame-by-msg.md index 3a62fba6c2..370829b97a 100644 --- a/docs/cli/zetacored/zetacored_query_observer_list-blame-by-msg.md +++ b/docs/cli/zetacored/zetacored_query_observer_list-blame-by-msg.md @@ -24,6 +24,7 @@ zetacored query observer list-blame-by-msg [chainId] [nonce] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_list-blame.md b/docs/cli/zetacored/zetacored_query_observer_list-blame.md index 3cb99f2d0f..23c204601e 100644 --- a/docs/cli/zetacored/zetacored_query_observer_list-blame.md +++ b/docs/cli/zetacored/zetacored_query_observer_list-blame.md @@ -24,6 +24,7 @@ zetacored query observer list-blame [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_list-chain-nonces.md b/docs/cli/zetacored/zetacored_query_observer_list-chain-nonces.md index b11ee00a5a..e5b290bfaa 100644 --- a/docs/cli/zetacored/zetacored_query_observer_list-chain-nonces.md +++ b/docs/cli/zetacored/zetacored_query_observer_list-chain-nonces.md @@ -30,6 +30,7 @@ zetacored query observer list-chain-nonces [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_list-chain-params.md b/docs/cli/zetacored/zetacored_query_observer_list-chain-params.md index d655176ef6..0436b03911 100644 --- a/docs/cli/zetacored/zetacored_query_observer_list-chain-params.md +++ b/docs/cli/zetacored/zetacored_query_observer_list-chain-params.md @@ -24,6 +24,7 @@ zetacored query observer list-chain-params [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_list-chains.md b/docs/cli/zetacored/zetacored_query_observer_list-chains.md index 0af9244e29..111ab2fc32 100644 --- a/docs/cli/zetacored/zetacored_query_observer_list-chains.md +++ b/docs/cli/zetacored/zetacored_query_observer_list-chains.md @@ -30,6 +30,7 @@ zetacored query observer list-chains [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_list-node-account.md b/docs/cli/zetacored/zetacored_query_observer_list-node-account.md index 4908b58223..559d705b6c 100644 --- a/docs/cli/zetacored/zetacored_query_observer_list-node-account.md +++ b/docs/cli/zetacored/zetacored_query_observer_list-node-account.md @@ -30,6 +30,7 @@ zetacored query observer list-node-account [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_list-observer-set.md b/docs/cli/zetacored/zetacored_query_observer_list-observer-set.md index 506d5d86e2..4e06a363c8 100644 --- a/docs/cli/zetacored/zetacored_query_observer_list-observer-set.md +++ b/docs/cli/zetacored/zetacored_query_observer_list-observer-set.md @@ -24,6 +24,7 @@ zetacored query observer list-observer-set [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_list-pending-nonces.md b/docs/cli/zetacored/zetacored_query_observer_list-pending-nonces.md index c4828f8b9e..129d84dfcb 100644 --- a/docs/cli/zetacored/zetacored_query_observer_list-pending-nonces.md +++ b/docs/cli/zetacored/zetacored_query_observer_list-pending-nonces.md @@ -24,6 +24,7 @@ zetacored query observer list-pending-nonces [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_list-tss-history.md b/docs/cli/zetacored/zetacored_query_observer_list-tss-history.md index 3b59d8a246..93f89a08a5 100644 --- a/docs/cli/zetacored/zetacored_query_observer_list-tss-history.md +++ b/docs/cli/zetacored/zetacored_query_observer_list-tss-history.md @@ -24,6 +24,7 @@ zetacored query observer list-tss-history [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_show-ballot.md b/docs/cli/zetacored/zetacored_query_observer_show-ballot.md index 40451e655b..f2ce456c4f 100644 --- a/docs/cli/zetacored/zetacored_query_observer_show-ballot.md +++ b/docs/cli/zetacored/zetacored_query_observer_show-ballot.md @@ -24,6 +24,7 @@ zetacored query observer show-ballot [ballot-identifier] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_show-blame.md b/docs/cli/zetacored/zetacored_query_observer_show-blame.md index 61b1b08b9f..c40ff957f8 100644 --- a/docs/cli/zetacored/zetacored_query_observer_show-blame.md +++ b/docs/cli/zetacored/zetacored_query_observer_show-blame.md @@ -24,6 +24,7 @@ zetacored query observer show-blame [blame-identifier] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_show-chain-nonces.md b/docs/cli/zetacored/zetacored_query_observer_show-chain-nonces.md index 682858735f..012b3ac353 100644 --- a/docs/cli/zetacored/zetacored_query_observer_show-chain-nonces.md +++ b/docs/cli/zetacored/zetacored_query_observer_show-chain-nonces.md @@ -24,6 +24,7 @@ zetacored query observer show-chain-nonces [index] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_show-chain-params.md b/docs/cli/zetacored/zetacored_query_observer_show-chain-params.md index 606024c4a6..38fa229b84 100644 --- a/docs/cli/zetacored/zetacored_query_observer_show-chain-params.md +++ b/docs/cli/zetacored/zetacored_query_observer_show-chain-params.md @@ -24,6 +24,7 @@ zetacored query observer show-chain-params [chain-id] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_show-crosschain-flags.md b/docs/cli/zetacored/zetacored_query_observer_show-crosschain-flags.md index bd46be73ad..64e266e806 100644 --- a/docs/cli/zetacored/zetacored_query_observer_show-crosschain-flags.md +++ b/docs/cli/zetacored/zetacored_query_observer_show-crosschain-flags.md @@ -24,6 +24,7 @@ zetacored query observer show-crosschain-flags [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_show-keygen.md b/docs/cli/zetacored/zetacored_query_observer_show-keygen.md index 96118f90c5..883eb02ae8 100644 --- a/docs/cli/zetacored/zetacored_query_observer_show-keygen.md +++ b/docs/cli/zetacored/zetacored_query_observer_show-keygen.md @@ -24,6 +24,7 @@ zetacored query observer show-keygen [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_show-node-account.md b/docs/cli/zetacored/zetacored_query_observer_show-node-account.md index e597d089e1..316fd4a63e 100644 --- a/docs/cli/zetacored/zetacored_query_observer_show-node-account.md +++ b/docs/cli/zetacored/zetacored_query_observer_show-node-account.md @@ -24,6 +24,7 @@ zetacored query observer show-node-account [operator_address] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_show-observer-count.md b/docs/cli/zetacored/zetacored_query_observer_show-observer-count.md index abad040a54..a0eb3e5f30 100644 --- a/docs/cli/zetacored/zetacored_query_observer_show-observer-count.md +++ b/docs/cli/zetacored/zetacored_query_observer_show-observer-count.md @@ -24,6 +24,7 @@ zetacored query observer show-observer-count [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_observer_show-tss.md b/docs/cli/zetacored/zetacored_query_observer_show-tss.md index 38f1057671..c27c7c5089 100644 --- a/docs/cli/zetacored/zetacored_query_observer_show-tss.md +++ b/docs/cli/zetacored/zetacored_query_observer_show-tss.md @@ -24,6 +24,7 @@ zetacored query observer show-tss [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_params.md b/docs/cli/zetacored/zetacored_query_params.md index f090db8bfe..327f4cd1cc 100644 --- a/docs/cli/zetacored/zetacored_query_params.md +++ b/docs/cli/zetacored/zetacored_query_params.md @@ -19,6 +19,7 @@ zetacored query params [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_params_subspace.md b/docs/cli/zetacored/zetacored_query_params_subspace.md index 4dc265c581..0ba3f19a15 100644 --- a/docs/cli/zetacored/zetacored_query_params_subspace.md +++ b/docs/cli/zetacored/zetacored_query_params_subspace.md @@ -24,6 +24,7 @@ zetacored query params subspace [subspace] [key] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_slashing.md b/docs/cli/zetacored/zetacored_query_slashing.md index 10af5225d7..d8242a15ae 100644 --- a/docs/cli/zetacored/zetacored_query_slashing.md +++ b/docs/cli/zetacored/zetacored_query_slashing.md @@ -19,6 +19,7 @@ zetacored query slashing [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_slashing_params.md b/docs/cli/zetacored/zetacored_query_slashing_params.md index c2b4359edf..184f99bbb3 100644 --- a/docs/cli/zetacored/zetacored_query_slashing_params.md +++ b/docs/cli/zetacored/zetacored_query_slashing_params.md @@ -30,6 +30,7 @@ zetacored query slashing params [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_slashing_signing-info.md b/docs/cli/zetacored/zetacored_query_slashing_signing-info.md index 1e8f13b914..1093b43d88 100644 --- a/docs/cli/zetacored/zetacored_query_slashing_signing-info.md +++ b/docs/cli/zetacored/zetacored_query_slashing_signing-info.md @@ -30,6 +30,7 @@ zetacored query slashing signing-info [validator-conspub] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_slashing_signing-infos.md b/docs/cli/zetacored/zetacored_query_slashing_signing-infos.md index b1a3d5f31b..d3b85ed9c2 100644 --- a/docs/cli/zetacored/zetacored_query_slashing_signing-infos.md +++ b/docs/cli/zetacored/zetacored_query_slashing_signing-infos.md @@ -36,6 +36,7 @@ zetacored query slashing signing-infos [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking.md b/docs/cli/zetacored/zetacored_query_staking.md index b7770b1b64..be76c2c795 100644 --- a/docs/cli/zetacored/zetacored_query_staking.md +++ b/docs/cli/zetacored/zetacored_query_staking.md @@ -19,6 +19,7 @@ zetacored query staking [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_delegation.md b/docs/cli/zetacored/zetacored_query_staking_delegation.md index e9a6c6c521..0319c16015 100644 --- a/docs/cli/zetacored/zetacored_query_staking_delegation.md +++ b/docs/cli/zetacored/zetacored_query_staking_delegation.md @@ -31,6 +31,7 @@ zetacored query staking delegation [delegator-addr] [validator-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_delegations-to.md b/docs/cli/zetacored/zetacored_query_staking_delegations-to.md index bb76506225..fb56f57bf8 100644 --- a/docs/cli/zetacored/zetacored_query_staking_delegations-to.md +++ b/docs/cli/zetacored/zetacored_query_staking_delegations-to.md @@ -37,6 +37,7 @@ zetacored query staking delegations-to [validator-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_delegations.md b/docs/cli/zetacored/zetacored_query_staking_delegations.md index a136886ebd..64dc3d1b5b 100644 --- a/docs/cli/zetacored/zetacored_query_staking_delegations.md +++ b/docs/cli/zetacored/zetacored_query_staking_delegations.md @@ -37,6 +37,7 @@ zetacored query staking delegations [delegator-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_historical-info.md b/docs/cli/zetacored/zetacored_query_staking_historical-info.md index fd747bef1d..874ec73954 100644 --- a/docs/cli/zetacored/zetacored_query_staking_historical-info.md +++ b/docs/cli/zetacored/zetacored_query_staking_historical-info.md @@ -31,6 +31,7 @@ zetacored query staking historical-info [height] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_params.md b/docs/cli/zetacored/zetacored_query_staking_params.md index 96dc7f11b6..2ce49de605 100644 --- a/docs/cli/zetacored/zetacored_query_staking_params.md +++ b/docs/cli/zetacored/zetacored_query_staking_params.md @@ -31,6 +31,7 @@ zetacored query staking params [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_pool.md b/docs/cli/zetacored/zetacored_query_staking_pool.md index 9c2cb6c2aa..004b8b4f7c 100644 --- a/docs/cli/zetacored/zetacored_query_staking_pool.md +++ b/docs/cli/zetacored/zetacored_query_staking_pool.md @@ -31,6 +31,7 @@ zetacored query staking pool [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_redelegation.md b/docs/cli/zetacored/zetacored_query_staking_redelegation.md index 35e4e64352..f6b900668a 100644 --- a/docs/cli/zetacored/zetacored_query_staking_redelegation.md +++ b/docs/cli/zetacored/zetacored_query_staking_redelegation.md @@ -31,6 +31,7 @@ zetacored query staking redelegation [delegator-addr] [src-validator-addr] [dst- --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_redelegations-from.md b/docs/cli/zetacored/zetacored_query_staking_redelegations-from.md index d14af625eb..1d008df617 100644 --- a/docs/cli/zetacored/zetacored_query_staking_redelegations-from.md +++ b/docs/cli/zetacored/zetacored_query_staking_redelegations-from.md @@ -37,6 +37,7 @@ zetacored query staking redelegations-from [validator-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_redelegations.md b/docs/cli/zetacored/zetacored_query_staking_redelegations.md index 1e017bff43..ac8b50380d 100644 --- a/docs/cli/zetacored/zetacored_query_staking_redelegations.md +++ b/docs/cli/zetacored/zetacored_query_staking_redelegations.md @@ -37,6 +37,7 @@ zetacored query staking redelegations [delegator-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_unbonding-delegation.md b/docs/cli/zetacored/zetacored_query_staking_unbonding-delegation.md index a987f5b6d9..672620f6ad 100644 --- a/docs/cli/zetacored/zetacored_query_staking_unbonding-delegation.md +++ b/docs/cli/zetacored/zetacored_query_staking_unbonding-delegation.md @@ -31,6 +31,7 @@ zetacored query staking unbonding-delegation [delegator-addr] [validator-addr] [ --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_unbonding-delegations-from.md b/docs/cli/zetacored/zetacored_query_staking_unbonding-delegations-from.md index e3fa26259c..4138a8327f 100644 --- a/docs/cli/zetacored/zetacored_query_staking_unbonding-delegations-from.md +++ b/docs/cli/zetacored/zetacored_query_staking_unbonding-delegations-from.md @@ -37,6 +37,7 @@ zetacored query staking unbonding-delegations-from [validator-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_unbonding-delegations.md b/docs/cli/zetacored/zetacored_query_staking_unbonding-delegations.md index 103b656828..c3147a1124 100644 --- a/docs/cli/zetacored/zetacored_query_staking_unbonding-delegations.md +++ b/docs/cli/zetacored/zetacored_query_staking_unbonding-delegations.md @@ -37,6 +37,7 @@ zetacored query staking unbonding-delegations [delegator-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_validator.md b/docs/cli/zetacored/zetacored_query_staking_validator.md index cdf17315cd..843a1d42b9 100644 --- a/docs/cli/zetacored/zetacored_query_staking_validator.md +++ b/docs/cli/zetacored/zetacored_query_staking_validator.md @@ -31,6 +31,7 @@ zetacored query staking validator [validator-addr] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_staking_validators.md b/docs/cli/zetacored/zetacored_query_staking_validators.md index bec49a6eb2..a020c0e282 100644 --- a/docs/cli/zetacored/zetacored_query_staking_validators.md +++ b/docs/cli/zetacored/zetacored_query_staking_validators.md @@ -37,6 +37,7 @@ zetacored query staking validators [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_tendermint-validator-set.md b/docs/cli/zetacored/zetacored_query_tendermint-validator-set.md index 05136fde49..94fd59ff3f 100644 --- a/docs/cli/zetacored/zetacored_query_tendermint-validator-set.md +++ b/docs/cli/zetacored/zetacored_query_tendermint-validator-set.md @@ -23,6 +23,7 @@ zetacored query tendermint-validator-set [height] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_tx.md b/docs/cli/zetacored/zetacored_query_tx.md index fdb41b947b..e50b39a462 100644 --- a/docs/cli/zetacored/zetacored_query_tx.md +++ b/docs/cli/zetacored/zetacored_query_tx.md @@ -32,6 +32,7 @@ zetacored query tx --type=[hash|acc_seq|signature] [hash|acc_seq|signature] [fla --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_txs.md b/docs/cli/zetacored/zetacored_query_txs.md index d004bb1bfa..9791216d0d 100644 --- a/docs/cli/zetacored/zetacored_query_txs.md +++ b/docs/cli/zetacored/zetacored_query_txs.md @@ -37,6 +37,7 @@ zetacored query txs [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_upgrade.md b/docs/cli/zetacored/zetacored_query_upgrade.md index ec54fb0a46..888d840e47 100644 --- a/docs/cli/zetacored/zetacored_query_upgrade.md +++ b/docs/cli/zetacored/zetacored_query_upgrade.md @@ -15,6 +15,7 @@ Querying commands for the upgrade module --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_upgrade_applied.md b/docs/cli/zetacored/zetacored_query_upgrade_applied.md index caa94c576c..c8d118ed2c 100644 --- a/docs/cli/zetacored/zetacored_query_upgrade_applied.md +++ b/docs/cli/zetacored/zetacored_query_upgrade_applied.md @@ -29,6 +29,7 @@ zetacored query upgrade applied [upgrade-name] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_upgrade_module_versions.md b/docs/cli/zetacored/zetacored_query_upgrade_module_versions.md index 97f936b556..81e881ed10 100644 --- a/docs/cli/zetacored/zetacored_query_upgrade_module_versions.md +++ b/docs/cli/zetacored/zetacored_query_upgrade_module_versions.md @@ -30,6 +30,7 @@ zetacored query upgrade module_versions [optional module_name] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_upgrade_plan.md b/docs/cli/zetacored/zetacored_query_upgrade_plan.md index 8176eb43de..f7784b9d25 100644 --- a/docs/cli/zetacored/zetacored_query_upgrade_plan.md +++ b/docs/cli/zetacored/zetacored_query_upgrade_plan.md @@ -28,6 +28,7 @@ zetacored query upgrade plan [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_rollback.md b/docs/cli/zetacored/zetacored_rollback.md index 76e5ec557b..54b2ef0c1c 100644 --- a/docs/cli/zetacored/zetacored_rollback.md +++ b/docs/cli/zetacored/zetacored_rollback.md @@ -20,6 +20,7 @@ zetacored rollback [flags] ### Options ``` + --hard remove last block as well as state -h, --help help for rollback --home string The application home directory ``` @@ -29,6 +30,7 @@ zetacored rollback [flags] ``` --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_rosetta.md b/docs/cli/zetacored/zetacored_rosetta.md index 3ff2cbd78a..fdf43a6a5f 100644 --- a/docs/cli/zetacored/zetacored_rosetta.md +++ b/docs/cli/zetacored/zetacored_rosetta.md @@ -29,6 +29,7 @@ zetacored rosetta [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_snapshots.md b/docs/cli/zetacored/zetacored_snapshots.md index e75ca720d8..1a7b457968 100644 --- a/docs/cli/zetacored/zetacored_snapshots.md +++ b/docs/cli/zetacored/zetacored_snapshots.md @@ -14,6 +14,7 @@ Manage local snapshots --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_snapshots_delete.md b/docs/cli/zetacored/zetacored_snapshots_delete.md index 1fdd8cc105..6095743ad4 100644 --- a/docs/cli/zetacored/zetacored_snapshots_delete.md +++ b/docs/cli/zetacored/zetacored_snapshots_delete.md @@ -18,6 +18,7 @@ zetacored snapshots delete [height] [format] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_snapshots_dump.md b/docs/cli/zetacored/zetacored_snapshots_dump.md index 8cca605a1d..3ddebd542f 100644 --- a/docs/cli/zetacored/zetacored_snapshots_dump.md +++ b/docs/cli/zetacored/zetacored_snapshots_dump.md @@ -19,6 +19,7 @@ zetacored snapshots dump [height] [format] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_snapshots_export.md b/docs/cli/zetacored/zetacored_snapshots_export.md index e331f1c90f..6fff4dbe7e 100644 --- a/docs/cli/zetacored/zetacored_snapshots_export.md +++ b/docs/cli/zetacored/zetacored_snapshots_export.md @@ -19,6 +19,7 @@ zetacored snapshots export [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_snapshots_list.md b/docs/cli/zetacored/zetacored_snapshots_list.md index dceabbe0a8..e76820f73b 100644 --- a/docs/cli/zetacored/zetacored_snapshots_list.md +++ b/docs/cli/zetacored/zetacored_snapshots_list.md @@ -18,6 +18,7 @@ zetacored snapshots list [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_snapshots_load.md b/docs/cli/zetacored/zetacored_snapshots_load.md index c1dd66e5c7..ed28b18bc9 100644 --- a/docs/cli/zetacored/zetacored_snapshots_load.md +++ b/docs/cli/zetacored/zetacored_snapshots_load.md @@ -18,6 +18,7 @@ zetacored snapshots load [archive-file] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_snapshots_restore.md b/docs/cli/zetacored/zetacored_snapshots_restore.md index 03502fe8e6..5b95696a50 100644 --- a/docs/cli/zetacored/zetacored_snapshots_restore.md +++ b/docs/cli/zetacored/zetacored_snapshots_restore.md @@ -22,6 +22,7 @@ zetacored snapshots restore [height] [format] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_start.md b/docs/cli/zetacored/zetacored_start.md index e4694111e5..771ebdf554 100644 --- a/docs/cli/zetacored/zetacored_start.md +++ b/docs/cli/zetacored/zetacored_start.md @@ -39,6 +39,7 @@ zetacored start [flags] --api.enable Defines if Cosmos-sdk REST server should be enabled --api.enabled-unsafe-cors Defines if CORS should be enabled (unsafe - use it at your own risk) --app-db-backend string The type of database for application and snapshots databases + --block_sync sync the block chain using the blocksync algorithm (default true) --consensus.create_empty_blocks set this to false to only produce blocks when there are txs or when the AppHash changes (default true) --consensus.create_empty_blocks_interval string the possible interval between empty blocks --consensus.double_sign_check_height int how many blocks to look back to check existence of the node's consensus votes before joining consensus @@ -47,7 +48,6 @@ zetacored start [flags] --db_dir string database directory --evm.max-tx-gas-wanted uint the gas wanted for each eth tx returned in ante handler in check tx mode --evm.tracer string the EVM tracer type to collect execution traces from the EVM transaction execution (json|struct|access_list|markdown) - --fast_sync fast blockchain syncing (default true) --genesis_hash bytesHex optional SHA-256 hash of the genesis file --grpc-only Start the node in gRPC query only mode without Tendermint process --grpc-web.address string The gRPC-Web server address to listen on @@ -87,9 +87,8 @@ zetacored start [flags] --p2p.seed_mode enable/disable seed mode --p2p.seeds string comma-delimited ID@host:port seed nodes --p2p.unconditional_peer_ids string comma-delimited IDs of unconditional peers - --p2p.upnp enable/disable UPNP port forwarding --priv_validator_laddr string socket address to listen on for connections from external priv_validator process - --proxy_app string proxy app address, or one of: 'kvstore', 'persistent_kvstore', 'counter', 'e2e' or 'noop' for local testing. + --proxy_app string proxy app address, or one of: 'kvstore', 'persistent_kvstore' or 'noop' for local testing. --pruning string Pruning strategy (default|nothing|everything|custom) --pruning-interval uint Height interval at which pruned heights are removed from disk (ignored if pruning is not 'custom') --pruning-keep-recent uint Number of recent heights to keep on disk (ignored if pruning is not 'custom') @@ -114,6 +113,7 @@ zetacored start [flags] ``` --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs ``` ### SEE ALSO diff --git a/docs/cli/zetacored/zetacored_status.md b/docs/cli/zetacored/zetacored_status.md index 3c0c262afe..3cf62e3fc0 100644 --- a/docs/cli/zetacored/zetacored_status.md +++ b/docs/cli/zetacored/zetacored_status.md @@ -19,6 +19,7 @@ zetacored status [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tendermint.md b/docs/cli/zetacored/zetacored_tendermint.md index fe715dbd01..f9a8e8b3e9 100644 --- a/docs/cli/zetacored/zetacored_tendermint.md +++ b/docs/cli/zetacored/zetacored_tendermint.md @@ -14,6 +14,7 @@ Tendermint subcommands --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tendermint_reset-state.md b/docs/cli/zetacored/zetacored_tendermint_reset-state.md index ea9468027f..51a50a0cc6 100644 --- a/docs/cli/zetacored/zetacored_tendermint_reset-state.md +++ b/docs/cli/zetacored/zetacored_tendermint_reset-state.md @@ -18,6 +18,7 @@ zetacored tendermint reset-state [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tendermint_show-address.md b/docs/cli/zetacored/zetacored_tendermint_show-address.md index 9caed7dad9..9f474cea59 100644 --- a/docs/cli/zetacored/zetacored_tendermint_show-address.md +++ b/docs/cli/zetacored/zetacored_tendermint_show-address.md @@ -18,6 +18,7 @@ zetacored tendermint show-address [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tendermint_show-node-id.md b/docs/cli/zetacored/zetacored_tendermint_show-node-id.md index e4155258eb..e4b75132ec 100644 --- a/docs/cli/zetacored/zetacored_tendermint_show-node-id.md +++ b/docs/cli/zetacored/zetacored_tendermint_show-node-id.md @@ -18,6 +18,7 @@ zetacored tendermint show-node-id [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tendermint_show-validator.md b/docs/cli/zetacored/zetacored_tendermint_show-validator.md index adde101d5d..978efbb399 100644 --- a/docs/cli/zetacored/zetacored_tendermint_show-validator.md +++ b/docs/cli/zetacored/zetacored_tendermint_show-validator.md @@ -18,6 +18,7 @@ zetacored tendermint show-validator [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tendermint_unsafe-reset-all.md b/docs/cli/zetacored/zetacored_tendermint_unsafe-reset-all.md index 7447c462eb..6b29af4193 100644 --- a/docs/cli/zetacored/zetacored_tendermint_unsafe-reset-all.md +++ b/docs/cli/zetacored/zetacored_tendermint_unsafe-reset-all.md @@ -19,6 +19,7 @@ zetacored tendermint unsafe-reset-all [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tendermint_version.md b/docs/cli/zetacored/zetacored_tendermint_version.md index 93e660df81..203bbcb27f 100644 --- a/docs/cli/zetacored/zetacored_tendermint_version.md +++ b/docs/cli/zetacored/zetacored_tendermint_version.md @@ -22,6 +22,7 @@ zetacored tendermint version [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_testnet.md b/docs/cli/zetacored/zetacored_testnet.md index f6c0ffc8eb..ba1475391d 100644 --- a/docs/cli/zetacored/zetacored_testnet.md +++ b/docs/cli/zetacored/zetacored_testnet.md @@ -18,6 +18,7 @@ zetacored testnet [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_testnet_init-files.md b/docs/cli/zetacored/zetacored_testnet_init-files.md index e1a94a7e02..23d4e5fd27 100644 --- a/docs/cli/zetacored/zetacored_testnet_init-files.md +++ b/docs/cli/zetacored/zetacored_testnet_init-files.md @@ -23,9 +23,9 @@ zetacored testnet init-files [flags] ### Options ``` - --algo string Key signing algorithm to generate keys for --chain-id string genesis file chain-id, if left blank will be randomly created -h, --help help for init-files + --key-type string Key signing algorithm to generate keys for --keyring-backend string Select keyring's backend (os|file|test) --minimum-gas-prices string Minimum gas prices to accept for transactions; All fees in a tx must meet this minimum (e.g. 0.01photino,0.001stake) --node-daemon-home string Home directory of the node's daemon configuration @@ -41,6 +41,7 @@ zetacored testnet init-files [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_testnet_start.md b/docs/cli/zetacored/zetacored_testnet_start.md index 5098b9768c..6486b0f2cf 100644 --- a/docs/cli/zetacored/zetacored_testnet_start.md +++ b/docs/cli/zetacored/zetacored_testnet_start.md @@ -19,13 +19,13 @@ zetacored testnet start [flags] ### Options ``` - --algo string Key signing algorithm to generate keys for --api.address string the address to listen on for REST API --chain-id string genesis file chain-id, if left blank will be randomly created --enable-logging Enable INFO logging of tendermint validator nodes --grpc.address string the gRPC server address to listen on -h, --help help for start --json-rpc.address string the JSON-RPC server address to listen on + --key-type string Key signing algorithm to generate keys for --minimum-gas-prices string Minimum gas prices to accept for transactions; All fees in a tx must meet this minimum (e.g. 0.01photino,0.001stake) -o, --output-dir string Directory to store initialization data for the testnet --print-mnemonic print mnemonic of first validator to stdout for manual testing (default true) @@ -39,6 +39,7 @@ zetacored testnet start [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx.md b/docs/cli/zetacored/zetacored_tx.md index dc2801a1f6..feb3f8eaf9 100644 --- a/docs/cli/zetacored/zetacored_tx.md +++ b/docs/cli/zetacored/zetacored_tx.md @@ -19,6 +19,7 @@ zetacored tx [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_authority.md b/docs/cli/zetacored/zetacored_tx_authority.md index eede40d5b5..cccd9b7dde 100644 --- a/docs/cli/zetacored/zetacored_tx_authority.md +++ b/docs/cli/zetacored/zetacored_tx_authority.md @@ -19,6 +19,7 @@ zetacored tx authority [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_authority_update-policies.md b/docs/cli/zetacored/zetacored_tx_authority_update-policies.md index 7681ef0fe8..c26e3f0080 100644 --- a/docs/cli/zetacored/zetacored_tx_authority_update-policies.md +++ b/docs/cli/zetacored/zetacored_tx_authority_update-policies.md @@ -11,7 +11,8 @@ zetacored tx authority update-policies [policies-json-file] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx authority update-policies [policies-json-file] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_authz.md b/docs/cli/zetacored/zetacored_tx_authz.md index 17e4869027..b060efc237 100644 --- a/docs/cli/zetacored/zetacored_tx_authz.md +++ b/docs/cli/zetacored/zetacored_tx_authz.md @@ -23,6 +23,7 @@ zetacored tx authz [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_authz_exec.md b/docs/cli/zetacored/zetacored_tx_authz_exec.md index b9f29172b9..759a9fb9cf 100644 --- a/docs/cli/zetacored/zetacored_tx_authz_exec.md +++ b/docs/cli/zetacored/zetacored_tx_authz_exec.md @@ -18,7 +18,8 @@ zetacored tx authz exec [tx-json-file] --from [grantee] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -46,10 +47,10 @@ zetacored tx authz exec [tx-json-file] --from [grantee] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_authz_grant.md b/docs/cli/zetacored/zetacored_tx_authz_grant.md index 7ce03835e8..d25306d6e6 100644 --- a/docs/cli/zetacored/zetacored_tx_authz_grant.md +++ b/docs/cli/zetacored/zetacored_tx_authz_grant.md @@ -7,7 +7,7 @@ Grant authorization to an address create a new grant authorization to an address to execute a transaction on your behalf: Examples: - $ zetacored tx authz grant cosmos1skjw.. send /cosmos.bank.v1beta1.MsgSend --spend-limit=1000stake --from=cosmos1skl.. + $ zetacored tx authz grant cosmos1skjw.. send --spend-limit=1000stake --from=cosmos1skl.. $ zetacored tx authz grant cosmos1skjw.. generic --msg-type=/cosmos.gov.v1.MsgVote --from=cosmos1sk.. ``` @@ -18,9 +18,11 @@ zetacored tx authz grant [grantee] [authorization_type="send"|"generic"|"delegat ``` -a, --account-number uint The account number of the signing account (offline mode only) + --allow-list strings Allowed addresses grantee is allowed to send funds separated by , --allowed-validators strings Allowed validators addresses separated by , --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --deny-validators strings Deny validators addresses separated by , --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --expiration int Expire time as Unix timestamp. Set zero (0) for no expiry. Default is 0. @@ -52,10 +54,10 @@ zetacored tx authz grant [grantee] [authorization_type="send"|"generic"|"delegat ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_authz_revoke.md b/docs/cli/zetacored/zetacored_tx_authz_revoke.md index 243f0e8010..bc9f1f53fb 100644 --- a/docs/cli/zetacored/zetacored_tx_authz_revoke.md +++ b/docs/cli/zetacored/zetacored_tx_authz_revoke.md @@ -17,7 +17,8 @@ zetacored tx authz revoke [grantee] [msg-type-url] --from=[granter] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -45,10 +46,10 @@ zetacored tx authz revoke [grantee] [msg-type-url] --from=[granter] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_bank.md b/docs/cli/zetacored/zetacored_tx_bank.md index efcb9eadf9..2e76951f71 100644 --- a/docs/cli/zetacored/zetacored_tx_bank.md +++ b/docs/cli/zetacored/zetacored_tx_bank.md @@ -19,6 +19,7 @@ zetacored tx bank [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_bank_multi-send.md b/docs/cli/zetacored/zetacored_tx_bank_multi-send.md index c8fd491ffa..2facce5fe8 100644 --- a/docs/cli/zetacored/zetacored_tx_bank_multi-send.md +++ b/docs/cli/zetacored/zetacored_tx_bank_multi-send.md @@ -7,12 +7,18 @@ Send funds from one account to two or more accounts. Send funds from one account to two or more accounts. By default, sends the [amount] to each address of the list. Using the '--split' flag, the [amount] is split equally between the addresses. -Note, the '--from' flag is ignored as it is implied from [from_key_or_address]. +Note, the '--from' flag is ignored as it is implied from [from_key_or_address] and +separate addresses with space. When using '--dry-run' a key name cannot be used, only a bech32 address. +``` +zetacored tx bank multi-send [from_key_or_address] [to_address_1 to_address_2 ...] [amount] [flags] +``` + +### Examples ``` -zetacored tx bank multi-send [from_key_or_address] [to_address_1, to_address_2, ...] [amount] [flags] +zetacored tx bank multi-send cosmos1... cosmos1... cosmos1... cosmos1... 10stake ``` ### Options @@ -20,7 +26,8 @@ zetacored tx bank multi-send [from_key_or_address] [to_address_1, to_address_2, ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -49,10 +56,10 @@ zetacored tx bank multi-send [from_key_or_address] [to_address_1, to_address_2, ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_bank_send.md b/docs/cli/zetacored/zetacored_tx_bank_send.md index 342846e74b..f6e3a4c1b0 100644 --- a/docs/cli/zetacored/zetacored_tx_bank_send.md +++ b/docs/cli/zetacored/zetacored_tx_bank_send.md @@ -18,7 +18,8 @@ zetacored tx bank send [from_key_or_address] [to_address] [amount] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -46,10 +47,10 @@ zetacored tx bank send [from_key_or_address] [to_address] [amount] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_broadcast.md b/docs/cli/zetacored/zetacored_tx_broadcast.md index be08af8bd0..2df6a8e393 100644 --- a/docs/cli/zetacored/zetacored_tx_broadcast.md +++ b/docs/cli/zetacored/zetacored_tx_broadcast.md @@ -20,7 +20,8 @@ zetacored tx broadcast [file_path] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -48,10 +49,10 @@ zetacored tx broadcast [file_path] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crisis.md b/docs/cli/zetacored/zetacored_tx_crisis.md index 2b168b5201..bdfb067a4f 100644 --- a/docs/cli/zetacored/zetacored_tx_crisis.md +++ b/docs/cli/zetacored/zetacored_tx_crisis.md @@ -19,6 +19,7 @@ zetacored tx crisis [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crisis_invariant-broken.md b/docs/cli/zetacored/zetacored_tx_crisis_invariant-broken.md index 584603ba38..8156a7d668 100644 --- a/docs/cli/zetacored/zetacored_tx_crisis_invariant-broken.md +++ b/docs/cli/zetacored/zetacored_tx_crisis_invariant-broken.md @@ -11,7 +11,8 @@ zetacored tx crisis invariant-broken [module-name] [invariant-route] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx crisis invariant-broken [module-name] [invariant-route] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain.md b/docs/cli/zetacored/zetacored_tx_crosschain.md index 902172ce59..f40e871ae7 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain.md @@ -19,6 +19,7 @@ zetacored tx crosschain [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain_abort-stuck-cctx.md b/docs/cli/zetacored/zetacored_tx_crosschain_abort-stuck-cctx.md index 206cda6442..20bca5f34e 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain_abort-stuck-cctx.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_abort-stuck-cctx.md @@ -11,7 +11,8 @@ zetacored tx crosschain abort-stuck-cctx [index] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx crosschain abort-stuck-cctx [index] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain_add-to-in-tx-tracker.md b/docs/cli/zetacored/zetacored_tx_crosschain_add-to-in-tx-tracker.md index a78ed41f4e..e7dbde59e4 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain_add-to-in-tx-tracker.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_add-to-in-tx-tracker.md @@ -12,7 +12,8 @@ zetacored tx crosschain add-to-in-tx-tracker [chain-id] [tx-hash] [coin-type] [f ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -40,10 +41,10 @@ zetacored tx crosschain add-to-in-tx-tracker [chain-id] [tx-hash] [coin-type] [f ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain_add-to-out-tx-tracker.md b/docs/cli/zetacored/zetacored_tx_crosschain_add-to-out-tx-tracker.md index 1468ead036..434df04fb9 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain_add-to-out-tx-tracker.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_add-to-out-tx-tracker.md @@ -11,7 +11,8 @@ zetacored tx crosschain add-to-out-tx-tracker [chain] [nonce] [tx-hash] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx crosschain add-to-out-tx-tracker [chain] [nonce] [tx-hash] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain_inbound-voter.md b/docs/cli/zetacored/zetacored_tx_crosschain_inbound-voter.md index cfa72e72c6..c8e4dba3d6 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain_inbound-voter.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_inbound-voter.md @@ -11,7 +11,8 @@ zetacored tx crosschain inbound-voter [sender] [senderChainID] [txOrigin] [recei ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx crosschain inbound-voter [sender] [senderChainID] [txOrigin] [recei ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain_migrate-tss-funds.md b/docs/cli/zetacored/zetacored_tx_crosschain_migrate-tss-funds.md index 4942cc91bd..f40ac4796a 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain_migrate-tss-funds.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_migrate-tss-funds.md @@ -11,7 +11,8 @@ zetacored tx crosschain migrate-tss-funds [chainID] [amount] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx crosschain migrate-tss-funds [chainID] [amount] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain_outbound-voter.md b/docs/cli/zetacored/zetacored_tx_crosschain_outbound-voter.md index e48b29d4fc..752ac7ba5c 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain_outbound-voter.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_outbound-voter.md @@ -11,7 +11,8 @@ zetacored tx crosschain outbound-voter [sendHash] [outTxHash] [outBlockHeight] [ ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx crosschain outbound-voter [sendHash] [outTxHash] [outBlockHeight] [ ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain_refund-aborted.md b/docs/cli/zetacored/zetacored_tx_crosschain_refund-aborted.md index 515d85dc32..ddd3073cf5 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain_refund-aborted.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_refund-aborted.md @@ -11,7 +11,8 @@ zetacored tx crosschain refund-aborted [cctx-index] [refund-address] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx crosschain refund-aborted [cctx-index] [refund-address] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain_remove-from-out-tx-tracker.md b/docs/cli/zetacored/zetacored_tx_crosschain_remove-from-out-tx-tracker.md index 8b16d994cd..55abd17ded 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain_remove-from-out-tx-tracker.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_remove-from-out-tx-tracker.md @@ -11,7 +11,8 @@ zetacored tx crosschain remove-from-out-tx-tracker [chain] [nonce] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx crosschain remove-from-out-tx-tracker [chain] [nonce] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain_update-tss-address.md b/docs/cli/zetacored/zetacored_tx_crosschain_update-tss-address.md index 9825c4f48b..df321e0270 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain_update-tss-address.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_update-tss-address.md @@ -11,7 +11,8 @@ zetacored tx crosschain update-tss-address [pubkey] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx crosschain update-tss-address [pubkey] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain_vote-gas-price.md b/docs/cli/zetacored/zetacored_tx_crosschain_vote-gas-price.md index 26387a22b5..e8efad044a 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain_vote-gas-price.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_vote-gas-price.md @@ -11,7 +11,8 @@ zetacored tx crosschain vote-gas-price [chain] [price] [supply] [blockNumber] [f ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx crosschain vote-gas-price [chain] [price] [supply] [blockNumber] [f ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_crosschain_whitelist-erc20.md b/docs/cli/zetacored/zetacored_tx_crosschain_whitelist-erc20.md index 0c4da0b9e7..5758140cbf 100644 --- a/docs/cli/zetacored/zetacored_tx_crosschain_whitelist-erc20.md +++ b/docs/cli/zetacored/zetacored_tx_crosschain_whitelist-erc20.md @@ -11,7 +11,8 @@ zetacored tx crosschain whitelist-erc20 [erc20Address] [chainID] [name] [symbol] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx crosschain whitelist-erc20 [erc20Address] [chainID] [name] [symbol] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_decode.md b/docs/cli/zetacored/zetacored_tx_decode.md index f56c07eb66..6cccb6025a 100644 --- a/docs/cli/zetacored/zetacored_tx_decode.md +++ b/docs/cli/zetacored/zetacored_tx_decode.md @@ -11,7 +11,8 @@ zetacored tx decode [protobuf-byte-string] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -29,7 +30,6 @@ zetacored tx decode [protobuf-byte-string] [flags] --node string [host]:[port] to tendermint rpc interface for this chain --note string Note to add a description to the transaction (previously --memo) --offline Offline mode (does not allow any online functionality) - -o, --output string Output format (text|json) -s, --sequence uint The sequence number of the signing account (offline mode only) --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height @@ -40,10 +40,10 @@ zetacored tx decode [protobuf-byte-string] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_distribution.md b/docs/cli/zetacored/zetacored_tx_distribution.md index 24ba494079..77283bf046 100644 --- a/docs/cli/zetacored/zetacored_tx_distribution.md +++ b/docs/cli/zetacored/zetacored_tx_distribution.md @@ -19,6 +19,7 @@ zetacored tx distribution [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_distribution_fund-community-pool.md b/docs/cli/zetacored/zetacored_tx_distribution_fund-community-pool.md index d1f8f5b934..775fab7797 100644 --- a/docs/cli/zetacored/zetacored_tx_distribution_fund-community-pool.md +++ b/docs/cli/zetacored/zetacored_tx_distribution_fund-community-pool.md @@ -18,7 +18,8 @@ zetacored tx distribution fund-community-pool [amount] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -46,10 +47,10 @@ zetacored tx distribution fund-community-pool [amount] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_distribution_set-withdraw-addr.md b/docs/cli/zetacored/zetacored_tx_distribution_set-withdraw-addr.md index 16e4238826..fcd201b6c9 100644 --- a/docs/cli/zetacored/zetacored_tx_distribution_set-withdraw-addr.md +++ b/docs/cli/zetacored/zetacored_tx_distribution_set-withdraw-addr.md @@ -18,7 +18,8 @@ zetacored tx distribution set-withdraw-addr [withdraw-addr] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -46,10 +47,10 @@ zetacored tx distribution set-withdraw-addr [withdraw-addr] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_distribution_withdraw-all-rewards.md b/docs/cli/zetacored/zetacored_tx_distribution_withdraw-all-rewards.md index 1953201680..fb5399b705 100644 --- a/docs/cli/zetacored/zetacored_tx_distribution_withdraw-all-rewards.md +++ b/docs/cli/zetacored/zetacored_tx_distribution_withdraw-all-rewards.md @@ -19,7 +19,8 @@ zetacored tx distribution withdraw-all-rewards [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -48,10 +49,10 @@ zetacored tx distribution withdraw-all-rewards [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_distribution_withdraw-rewards.md b/docs/cli/zetacored/zetacored_tx_distribution_withdraw-rewards.md index 690512f929..57738c2e58 100644 --- a/docs/cli/zetacored/zetacored_tx_distribution_withdraw-rewards.md +++ b/docs/cli/zetacored/zetacored_tx_distribution_withdraw-rewards.md @@ -20,7 +20,8 @@ zetacored tx distribution withdraw-rewards [validator-addr] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --commission Withdraw the validator's commission in addition to the rewards --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction @@ -49,10 +50,10 @@ zetacored tx distribution withdraw-rewards [validator-addr] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_emissions.md b/docs/cli/zetacored/zetacored_tx_emissions.md index 95d05cb6dd..7ee5d6d7d8 100644 --- a/docs/cli/zetacored/zetacored_tx_emissions.md +++ b/docs/cli/zetacored/zetacored_tx_emissions.md @@ -19,6 +19,7 @@ zetacored tx emissions [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_emissions_withdraw-emission.md b/docs/cli/zetacored/zetacored_tx_emissions_withdraw-emission.md index e5c549ae85..f26067695c 100644 --- a/docs/cli/zetacored/zetacored_tx_emissions_withdraw-emission.md +++ b/docs/cli/zetacored/zetacored_tx_emissions_withdraw-emission.md @@ -11,7 +11,8 @@ zetacored tx emissions withdraw-emission [amount] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx emissions withdraw-emission [amount] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_encode.md b/docs/cli/zetacored/zetacored_tx_encode.md index 5065aea539..4c235f57a1 100644 --- a/docs/cli/zetacored/zetacored_tx_encode.md +++ b/docs/cli/zetacored/zetacored_tx_encode.md @@ -4,7 +4,7 @@ Encode transactions generated offline ### Synopsis -Encode transactions created with the --generate-only flag and signed with the sign command. +Encode transactions created with the --generate-only flag or signed with the sign command. Read a transaction from [file], serialize it to the Protobuf wire protocol, and output it as base64. If you supply a dash (-) argument in place of an input filename, the command reads from standard input. @@ -17,7 +17,8 @@ zetacored tx encode [file] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -34,7 +35,6 @@ zetacored tx encode [file] [flags] --node string [host]:[port] to tendermint rpc interface for this chain --note string Note to add a description to the transaction (previously --memo) --offline Offline mode (does not allow any online functionality) - -o, --output string Output format (text|json) -s, --sequence uint The sequence number of the signing account (offline mode only) --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height @@ -45,10 +45,10 @@ zetacored tx encode [file] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_evidence.md b/docs/cli/zetacored/zetacored_tx_evidence.md index e597d3afb8..cc5a23ea7d 100644 --- a/docs/cli/zetacored/zetacored_tx_evidence.md +++ b/docs/cli/zetacored/zetacored_tx_evidence.md @@ -19,6 +19,7 @@ zetacored tx evidence [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_evm.md b/docs/cli/zetacored/zetacored_tx_evm.md index a804fbebd0..40133c75a0 100644 --- a/docs/cli/zetacored/zetacored_tx_evm.md +++ b/docs/cli/zetacored/zetacored_tx_evm.md @@ -19,6 +19,7 @@ zetacored tx evm [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_evm_raw.md b/docs/cli/zetacored/zetacored_tx_evm_raw.md index 554fc5edf8..94b2a85176 100644 --- a/docs/cli/zetacored/zetacored_tx_evm_raw.md +++ b/docs/cli/zetacored/zetacored_tx_evm_raw.md @@ -11,7 +11,8 @@ zetacored tx evm raw TX_HEX [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx evm raw TX_HEX [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_fungible.md b/docs/cli/zetacored/zetacored_tx_fungible.md index 9073048a57..37fc724871 100644 --- a/docs/cli/zetacored/zetacored_tx_fungible.md +++ b/docs/cli/zetacored/zetacored_tx_fungible.md @@ -19,6 +19,7 @@ zetacored tx fungible [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_fungible_deploy-fungible-coin-zrc-4.md b/docs/cli/zetacored/zetacored_tx_fungible_deploy-fungible-coin-zrc-4.md index efb5f50aa4..8c029520fd 100644 --- a/docs/cli/zetacored/zetacored_tx_fungible_deploy-fungible-coin-zrc-4.md +++ b/docs/cli/zetacored/zetacored_tx_fungible_deploy-fungible-coin-zrc-4.md @@ -11,7 +11,8 @@ zetacored tx fungible deploy-fungible-coin-zrc-4 [erc-20] [foreign-chain] [decim ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx fungible deploy-fungible-coin-zrc-4 [erc-20] [foreign-chain] [decim ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_fungible_deploy-system-contracts.md b/docs/cli/zetacored/zetacored_tx_fungible_deploy-system-contracts.md index c9acde4799..61c9eb7845 100644 --- a/docs/cli/zetacored/zetacored_tx_fungible_deploy-system-contracts.md +++ b/docs/cli/zetacored/zetacored_tx_fungible_deploy-system-contracts.md @@ -11,7 +11,8 @@ zetacored tx fungible deploy-system-contracts [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx fungible deploy-system-contracts [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_fungible_remove-foreign-coin.md b/docs/cli/zetacored/zetacored_tx_fungible_remove-foreign-coin.md index 4f706ad6e7..bd4a043c34 100644 --- a/docs/cli/zetacored/zetacored_tx_fungible_remove-foreign-coin.md +++ b/docs/cli/zetacored/zetacored_tx_fungible_remove-foreign-coin.md @@ -11,7 +11,8 @@ zetacored tx fungible remove-foreign-coin [name] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx fungible remove-foreign-coin [name] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_fungible_update-contract-bytecode.md b/docs/cli/zetacored/zetacored_tx_fungible_update-contract-bytecode.md index bc97a583b1..f8c1b08eeb 100644 --- a/docs/cli/zetacored/zetacored_tx_fungible_update-contract-bytecode.md +++ b/docs/cli/zetacored/zetacored_tx_fungible_update-contract-bytecode.md @@ -11,7 +11,8 @@ zetacored tx fungible update-contract-bytecode [contract-address] [new-code-hash ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx fungible update-contract-bytecode [contract-address] [new-code-hash ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_fungible_update-system-contract.md b/docs/cli/zetacored/zetacored_tx_fungible_update-system-contract.md index c9a3e163ec..b776143478 100644 --- a/docs/cli/zetacored/zetacored_tx_fungible_update-system-contract.md +++ b/docs/cli/zetacored/zetacored_tx_fungible_update-system-contract.md @@ -11,7 +11,8 @@ zetacored tx fungible update-system-contract [contract-address] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx fungible update-system-contract [contract-address] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_fungible_update-zrc20-liquidity-cap.md b/docs/cli/zetacored/zetacored_tx_fungible_update-zrc20-liquidity-cap.md index f3d4032925..d997bc7f72 100644 --- a/docs/cli/zetacored/zetacored_tx_fungible_update-zrc20-liquidity-cap.md +++ b/docs/cli/zetacored/zetacored_tx_fungible_update-zrc20-liquidity-cap.md @@ -11,7 +11,8 @@ zetacored tx fungible update-zrc20-liquidity-cap [zrc20] [liquidity-cap] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx fungible update-zrc20-liquidity-cap [zrc20] [liquidity-cap] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_fungible_update-zrc20-paused-status.md b/docs/cli/zetacored/zetacored_tx_fungible_update-zrc20-paused-status.md index 7a26d225df..c25b2afeb1 100644 --- a/docs/cli/zetacored/zetacored_tx_fungible_update-zrc20-paused-status.md +++ b/docs/cli/zetacored/zetacored_tx_fungible_update-zrc20-paused-status.md @@ -17,7 +17,8 @@ zetacored tx fungible update-zrc20-paused-status "0xece40cbB54d65282c4623f141c4a ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -45,10 +46,10 @@ zetacored tx fungible update-zrc20-paused-status "0xece40cbB54d65282c4623f141c4a ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_fungible_update-zrc20-withdraw-fee.md b/docs/cli/zetacored/zetacored_tx_fungible_update-zrc20-withdraw-fee.md index dc20a6d00d..525ffee8d7 100644 --- a/docs/cli/zetacored/zetacored_tx_fungible_update-zrc20-withdraw-fee.md +++ b/docs/cli/zetacored/zetacored_tx_fungible_update-zrc20-withdraw-fee.md @@ -11,7 +11,8 @@ zetacored tx fungible update-zrc20-withdraw-fee [contractAddress] [newWithdrawFe ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx fungible update-zrc20-withdraw-fee [contractAddress] [newWithdrawFe ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_gov.md b/docs/cli/zetacored/zetacored_tx_gov.md index 07e657f276..91b31deaef 100644 --- a/docs/cli/zetacored/zetacored_tx_gov.md +++ b/docs/cli/zetacored/zetacored_tx_gov.md @@ -19,6 +19,7 @@ zetacored tx gov [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_gov_deposit.md b/docs/cli/zetacored/zetacored_tx_gov_deposit.md index d36702fc5b..48462f730f 100644 --- a/docs/cli/zetacored/zetacored_tx_gov_deposit.md +++ b/docs/cli/zetacored/zetacored_tx_gov_deposit.md @@ -19,7 +19,8 @@ zetacored tx gov deposit [proposal-id] [deposit] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -47,10 +48,10 @@ zetacored tx gov deposit [proposal-id] [deposit] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_gov_draft-proposal.md b/docs/cli/zetacored/zetacored_tx_gov_draft-proposal.md index 8a95f75cb6..a125dbdb68 100644 --- a/docs/cli/zetacored/zetacored_tx_gov_draft-proposal.md +++ b/docs/cli/zetacored/zetacored_tx_gov_draft-proposal.md @@ -11,7 +11,8 @@ zetacored tx gov draft-proposal [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -31,6 +32,7 @@ zetacored tx gov draft-proposal [flags] -o, --output string Output format (text|json) -s, --sequence uint The sequence number of the signing account (offline mode only) --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --skip-metadata skip metadata prompt --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator -y, --yes Skip tx broadcasting prompt confirmation @@ -39,10 +41,10 @@ zetacored tx gov draft-proposal [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal.md b/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal.md index a51c9830d5..6c1065d9c1 100644 --- a/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal.md +++ b/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal.md @@ -32,7 +32,8 @@ zetacored tx gov submit-legacy-proposal [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --deposit string The proposal deposit --description string The proposal description --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) @@ -65,10 +66,10 @@ zetacored tx gov submit-legacy-proposal [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` @@ -76,7 +77,6 @@ zetacored tx gov submit-legacy-proposal [flags] * [zetacored tx gov](zetacored_tx_gov.md) - Governance transactions subcommands * [zetacored tx gov submit-legacy-proposal cancel-software-upgrade](zetacored_tx_gov_submit-legacy-proposal_cancel-software-upgrade.md) - Cancel the current software upgrade proposal -* [zetacored tx gov submit-legacy-proposal community-pool-spend](zetacored_tx_gov_submit-legacy-proposal_community-pool-spend.md) - Submit a community pool spend proposal * [zetacored tx gov submit-legacy-proposal param-change](zetacored_tx_gov_submit-legacy-proposal_param-change.md) - Submit a parameter change proposal * [zetacored tx gov submit-legacy-proposal software-upgrade](zetacored_tx_gov_submit-legacy-proposal_software-upgrade.md) - Submit a software upgrade proposal diff --git a/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_cancel-software-upgrade.md b/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_cancel-software-upgrade.md index 37df646f6e..3a870d61a6 100644 --- a/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_cancel-software-upgrade.md +++ b/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_cancel-software-upgrade.md @@ -15,7 +15,8 @@ zetacored tx gov submit-legacy-proposal cancel-software-upgrade [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --deposit string deposit of proposal --description string description of proposal --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) @@ -46,10 +47,10 @@ zetacored tx gov submit-legacy-proposal cancel-software-upgrade [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_community-pool-spend.md b/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_community-pool-spend.md deleted file mode 100644 index 9698694c40..0000000000 --- a/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_community-pool-spend.md +++ /dev/null @@ -1,70 +0,0 @@ -# tx gov submit-legacy-proposal community-pool-spend - -Submit a community pool spend proposal - -### Synopsis - -Submit a community pool spend proposal along with an initial deposit. -The proposal details must be supplied via a JSON file. - -Example: -$ zetacored tx gov submit-proposal community-pool-spend [path/to/proposal.json] --from=[key_or_address] - -Where proposal.json contains: - -{ - "title": "Community Pool Spend", - "description": "Pay me some Atoms!", - "recipient": "zeta1s5afhd6gxevu37mkqcvvsj8qeylhn0rz46zdlq", - "amount": "1000stake", - "deposit": "1000stake" -} - -``` -zetacored tx gov submit-legacy-proposal community-pool-spend [proposal-file] [flags] -``` - -### Options - -``` - -a, --account-number uint The account number of the signing account (offline mode only) - --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) - --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) - --fee-granter string Fee granter grants fees for the transaction - --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer - --fees string Fees to pay along with transaction; eg: 10uatom - --from string Name or address of private key with which to sign - --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000) - --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) - --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) - --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) - -h, --help help for community-pool-spend - --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) - --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used - --ledger Use a connected Ledger device - --node string [host]:[port] to tendermint rpc interface for this chain - --note string Note to add a description to the transaction (previously --memo) - --offline Offline mode (does not allow any online functionality) - -o, --output string Output format (text|json) - -s, --sequence uint The sequence number of the signing account (offline mode only) - --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature - --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height - --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator - -y, --yes Skip tx broadcasting prompt confirmation -``` - -### Options inherited from parent commands - -``` - --chain-id string The network chain ID - --home string directory for config and data - --log_format string The logging format (json|plain) - --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) - --trace print out full stack trace on errors -``` - -### SEE ALSO - -* [zetacored tx gov submit-legacy-proposal](zetacored_tx_gov_submit-legacy-proposal.md) - Submit a legacy proposal along with an initial deposit - diff --git a/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_param-change.md b/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_param-change.md index ea0d00808f..e1f5bdc53c 100644 --- a/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_param-change.md +++ b/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_param-change.md @@ -43,7 +43,8 @@ zetacored tx gov submit-legacy-proposal param-change [proposal-file] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -71,10 +72,10 @@ zetacored tx gov submit-legacy-proposal param-change [proposal-file] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_software-upgrade.md b/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_software-upgrade.md index 3102f3023a..c572051d9d 100644 --- a/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_software-upgrade.md +++ b/docs/cli/zetacored/zetacored_tx_gov_submit-legacy-proposal_software-upgrade.md @@ -17,7 +17,8 @@ zetacored tx gov submit-legacy-proposal software-upgrade [name] (--upgrade-heigh ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --daemon-name string The name of the executable being upgraded (for upgrade-info validation). Default is the DAEMON_NAME env var if set, or else this executable --deposit string deposit of proposal --description string description of proposal @@ -52,10 +53,10 @@ zetacored tx gov submit-legacy-proposal software-upgrade [name] (--upgrade-heigh ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_gov_submit-proposal.md b/docs/cli/zetacored/zetacored_tx_gov_submit-proposal.md index a529531ff2..0da44370e0 100644 --- a/docs/cli/zetacored/zetacored_tx_gov_submit-proposal.md +++ b/docs/cli/zetacored/zetacored_tx_gov_submit-proposal.md @@ -22,8 +22,22 @@ Where proposal.json contains: "amount":[{"denom": "stake","amount": "10"}] } ], - "metadata: "4pIMOgIGx1vZGU=", // base64-encoded metadata - "deposit": "10stake" + // metadata can be any of base64 encoded, raw text, stringified json, IPFS link to json + // see below for example metadata + "metadata": "4pIMOgIGx1vZGU=", + "deposit": "10stake", + "title": "My proposal", + "summary": "A short summary of my proposal" +} + +metadata example: +{ + "title": "", + "authors": [""], + "summary": "", + "details": "", + "proposal_forum_url": "", + "vote_option_context": "", } ``` @@ -35,7 +49,8 @@ zetacored tx gov submit-proposal [path/to/proposal.json] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -63,10 +78,10 @@ zetacored tx gov submit-proposal [path/to/proposal.json] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_gov_vote.md b/docs/cli/zetacored/zetacored_tx_gov_vote.md index 9e2053f8f7..e507d3de85 100644 --- a/docs/cli/zetacored/zetacored_tx_gov_vote.md +++ b/docs/cli/zetacored/zetacored_tx_gov_vote.md @@ -19,7 +19,8 @@ zetacored tx gov vote [proposal-id] [option] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -48,10 +49,10 @@ zetacored tx gov vote [proposal-id] [option] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_gov_weighted-vote.md b/docs/cli/zetacored/zetacored_tx_gov_weighted-vote.md index 061cb11537..944daa131e 100644 --- a/docs/cli/zetacored/zetacored_tx_gov_weighted-vote.md +++ b/docs/cli/zetacored/zetacored_tx_gov_weighted-vote.md @@ -19,7 +19,8 @@ zetacored tx gov weighted-vote [proposal-id] [weighted-options] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -48,10 +49,10 @@ zetacored tx gov weighted-vote [proposal-id] [weighted-options] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group.md b/docs/cli/zetacored/zetacored_tx_group.md index 7e2ec701fb..eb42fbadfe 100644 --- a/docs/cli/zetacored/zetacored_tx_group.md +++ b/docs/cli/zetacored/zetacored_tx_group.md @@ -19,6 +19,7 @@ zetacored tx group [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_create-group-policy.md b/docs/cli/zetacored/zetacored_tx_group_create-group-policy.md index 61a0e58dde..3193a8909e 100644 --- a/docs/cli/zetacored/zetacored_tx_group_create-group-policy.md +++ b/docs/cli/zetacored/zetacored_tx_group_create-group-policy.md @@ -40,7 +40,8 @@ Here, we can use percentage decision policy when needed, where 0 < percentage <= ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -68,10 +69,10 @@ Here, we can use percentage decision policy when needed, where 0 < percentage <= ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_create-group-with-policy.md b/docs/cli/zetacored/zetacored_tx_group_create-group-with-policy.md index 799e1d37b4..2134e5291f 100644 --- a/docs/cli/zetacored/zetacored_tx_group_create-group-with-policy.md +++ b/docs/cli/zetacored/zetacored_tx_group_create-group-with-policy.md @@ -54,7 +54,8 @@ and policy.json contains: ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -83,10 +84,10 @@ and policy.json contains: ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_create-group.md b/docs/cli/zetacored/zetacored_tx_group_create-group.md index 40bf5d12fb..d22a3b75ee 100644 --- a/docs/cli/zetacored/zetacored_tx_group_create-group.md +++ b/docs/cli/zetacored/zetacored_tx_group_create-group.md @@ -40,7 +40,8 @@ Where members.json contains: ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -68,10 +69,10 @@ Where members.json contains: ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_draft-proposal.md b/docs/cli/zetacored/zetacored_tx_group_draft-proposal.md index 2aa80bb161..68de9cec7f 100644 --- a/docs/cli/zetacored/zetacored_tx_group_draft-proposal.md +++ b/docs/cli/zetacored/zetacored_tx_group_draft-proposal.md @@ -11,7 +11,8 @@ zetacored tx group draft-proposal [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -31,6 +32,7 @@ zetacored tx group draft-proposal [flags] -o, --output string Output format (text|json) -s, --sequence uint The sequence number of the signing account (offline mode only) --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature + --skip-metadata skip metadata prompt --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height --tip string Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator -y, --yes Skip tx broadcasting prompt confirmation @@ -39,10 +41,10 @@ zetacored tx group draft-proposal [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_exec.md b/docs/cli/zetacored/zetacored_tx_group_exec.md index bbca4e53b6..c8eadcd46a 100644 --- a/docs/cli/zetacored/zetacored_tx_group_exec.md +++ b/docs/cli/zetacored/zetacored_tx_group_exec.md @@ -11,7 +11,8 @@ zetacored tx group exec [proposal-id] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx group exec [proposal-id] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_leave-group.md b/docs/cli/zetacored/zetacored_tx_group_leave-group.md index e1b618bdc0..637e7e624f 100644 --- a/docs/cli/zetacored/zetacored_tx_group_leave-group.md +++ b/docs/cli/zetacored/zetacored_tx_group_leave-group.md @@ -21,7 +21,8 @@ zetacored tx group leave-group [member-address] [group-id] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -49,10 +50,10 @@ zetacored tx group leave-group [member-address] [group-id] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_submit-proposal.md b/docs/cli/zetacored/zetacored_tx_group_submit-proposal.md index 81a220e84b..0582263340 100644 --- a/docs/cli/zetacored/zetacored_tx_group_submit-proposal.md +++ b/docs/cli/zetacored/zetacored_tx_group_submit-proposal.md @@ -31,9 +31,24 @@ zetacored tx group submit-proposal path/to/proposal.json "amount":[{"denom": "stake","amount": "10"}] } ], + // metadata can be any of base64 encoded, raw text, stringified json, IPFS link to json + // see below for example metadata "metadata": "4pIMOgIGx1vZGU=", // base64-encoded metadata + "title": "My proposal", + "summary": "This is a proposal to send 10 stake to cosmos1...", "proposers": ["cosmos1...", "cosmos1..."], } + +metadata example: +{ + "title": "", + "authors": [""], + "summary": "", + "details": "", + "proposal_forum_url": "", + "vote_option_context": "", +} + ``` ### Options @@ -41,7 +56,8 @@ zetacored tx group submit-proposal path/to/proposal.json ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --exec string Set to 1 to try to execute proposal immediately after creation (proposers signatures are considered as Yes votes) --fee-granter string Fee granter grants fees for the transaction @@ -70,10 +86,10 @@ zetacored tx group submit-proposal path/to/proposal.json ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_update-group-admin.md b/docs/cli/zetacored/zetacored_tx_group_update-group-admin.md index 61683036d7..5766bed2bf 100644 --- a/docs/cli/zetacored/zetacored_tx_group_update-group-admin.md +++ b/docs/cli/zetacored/zetacored_tx_group_update-group-admin.md @@ -11,7 +11,8 @@ zetacored tx group update-group-admin [admin] [group-id] [new-admin] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx group update-group-admin [admin] [group-id] [new-admin] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_update-group-members.md b/docs/cli/zetacored/zetacored_tx_group_update-group-members.md index 8fd88040d0..8a8af5319b 100644 --- a/docs/cli/zetacored/zetacored_tx_group_update-group-members.md +++ b/docs/cli/zetacored/zetacored_tx_group_update-group-members.md @@ -38,7 +38,8 @@ Set a member's weight to "0" to delete it. ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -66,10 +67,10 @@ Set a member's weight to "0" to delete it. ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_update-group-metadata.md b/docs/cli/zetacored/zetacored_tx_group_update-group-metadata.md index 9c891cc30a..0a67c23564 100644 --- a/docs/cli/zetacored/zetacored_tx_group_update-group-metadata.md +++ b/docs/cli/zetacored/zetacored_tx_group_update-group-metadata.md @@ -11,7 +11,8 @@ zetacored tx group update-group-metadata [admin] [group-id] [metadata] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx group update-group-metadata [admin] [group-id] [metadata] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_update-group-policy-admin.md b/docs/cli/zetacored/zetacored_tx_group_update-group-policy-admin.md index 1f8d82174e..d44bbf4075 100644 --- a/docs/cli/zetacored/zetacored_tx_group_update-group-policy-admin.md +++ b/docs/cli/zetacored/zetacored_tx_group_update-group-policy-admin.md @@ -11,7 +11,8 @@ zetacored tx group update-group-policy-admin [admin] [group-policy-account] [new ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx group update-group-policy-admin [admin] [group-policy-account] [new ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_update-group-policy-decision-policy.md b/docs/cli/zetacored/zetacored_tx_group_update-group-policy-decision-policy.md index 6cb8672e22..1f84ade1df 100644 --- a/docs/cli/zetacored/zetacored_tx_group_update-group-policy-decision-policy.md +++ b/docs/cli/zetacored/zetacored_tx_group_update-group-policy-decision-policy.md @@ -11,7 +11,8 @@ zetacored tx group update-group-policy-decision-policy [admin] [group-policy-acc ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx group update-group-policy-decision-policy [admin] [group-policy-acc ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_update-group-policy-metadata.md b/docs/cli/zetacored/zetacored_tx_group_update-group-policy-metadata.md index b274c72e08..18ac1b2380 100644 --- a/docs/cli/zetacored/zetacored_tx_group_update-group-policy-metadata.md +++ b/docs/cli/zetacored/zetacored_tx_group_update-group-policy-metadata.md @@ -11,7 +11,8 @@ zetacored tx group update-group-policy-metadata [admin] [group-policy-account] [ ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx group update-group-policy-metadata [admin] [group-policy-account] [ ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_vote.md b/docs/cli/zetacored/zetacored_tx_group_vote.md index c50b17c951..aba5728dd5 100644 --- a/docs/cli/zetacored/zetacored_tx_group_vote.md +++ b/docs/cli/zetacored/zetacored_tx_group_vote.md @@ -27,7 +27,8 @@ zetacored tx group vote [proposal-id] [voter] [vote-option] [metadata] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --exec string Set to 1 to try to execute proposal immediately after voting --fee-granter string Fee granter grants fees for the transaction @@ -56,10 +57,10 @@ zetacored tx group vote [proposal-id] [voter] [vote-option] [metadata] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_group_withdraw-proposal.md b/docs/cli/zetacored/zetacored_tx_group_withdraw-proposal.md index 03443daf7c..dfa035c684 100644 --- a/docs/cli/zetacored/zetacored_tx_group_withdraw-proposal.md +++ b/docs/cli/zetacored/zetacored_tx_group_withdraw-proposal.md @@ -21,7 +21,8 @@ zetacored tx group withdraw-proposal [proposal-id] [group-policy-admin-or-propos ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -49,10 +50,10 @@ zetacored tx group withdraw-proposal [proposal-id] [group-policy-admin-or-propos ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_lightclient.md b/docs/cli/zetacored/zetacored_tx_lightclient.md index 3bdada0122..88785dd824 100644 --- a/docs/cli/zetacored/zetacored_tx_lightclient.md +++ b/docs/cli/zetacored/zetacored_tx_lightclient.md @@ -19,6 +19,7 @@ zetacored tx lightclient [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_lightclient_update-verification-flags.md b/docs/cli/zetacored/zetacored_tx_lightclient_update-verification-flags.md index 08222afc69..3b6589f825 100644 --- a/docs/cli/zetacored/zetacored_tx_lightclient_update-verification-flags.md +++ b/docs/cli/zetacored/zetacored_tx_lightclient_update-verification-flags.md @@ -11,7 +11,8 @@ zetacored tx lightclient update-verification-flags [eth-type-chain-enabled] [btc ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx lightclient update-verification-flags [eth-type-chain-enabled] [btc ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_multi-sign.md b/docs/cli/zetacored/zetacored_tx_multi-sign.md index c09adeaa69..662fbe954e 100644 --- a/docs/cli/zetacored/zetacored_tx_multi-sign.md +++ b/docs/cli/zetacored/zetacored_tx_multi-sign.md @@ -32,8 +32,8 @@ zetacored tx multi-sign [file] [name] [[signature]...] [flags] -a, --account-number uint The account number of the signing account (offline mode only) --amino Generate Amino-encoded JSON suitable for submitting to the txs REST endpoint --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) - --chain-id string network chain ID + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -50,7 +50,6 @@ zetacored tx multi-sign [file] [name] [[signature]...] [flags] --node string [host]:[port] to tendermint rpc interface for this chain --note string Note to add a description to the transaction (previously --memo) --offline Offline mode (does not allow any online functionality) - -o, --output string Output format (text|json) --output-document string The document is written to the given file instead of STDOUT -s, --sequence uint The sequence number of the signing account (offline mode only) --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature @@ -66,6 +65,7 @@ zetacored tx multi-sign [file] [name] [[signature]...] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_multisign-batch.md b/docs/cli/zetacored/zetacored_tx_multisign-batch.md index d624d6b76e..c5e691a2a0 100644 --- a/docs/cli/zetacored/zetacored_tx_multisign-batch.md +++ b/docs/cli/zetacored/zetacored_tx_multisign-batch.md @@ -24,7 +24,8 @@ zetacored tx multisign-batch [file] [name] [[signature-file]...] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -43,7 +44,6 @@ zetacored tx multisign-batch [file] [name] [[signature-file]...] [flags] --node string [host]:[port] to tendermint rpc interface for this chain --note string Note to add a description to the transaction (previously --memo) --offline Offline mode (does not allow any online functionality) - -o, --output string Output format (text|json) --output-document string The document is written to the given file instead of STDOUT -s, --sequence uint The sequence number of the signing account (offline mode only) --sign-mode string Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature @@ -55,10 +55,10 @@ zetacored tx multisign-batch [file] [name] [[signature-file]...] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_observer.md b/docs/cli/zetacored/zetacored_tx_observer.md index ec0e245fe0..1e5d002136 100644 --- a/docs/cli/zetacored/zetacored_tx_observer.md +++ b/docs/cli/zetacored/zetacored_tx_observer.md @@ -19,6 +19,7 @@ zetacored tx observer [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_observer_add-blame-vote.md b/docs/cli/zetacored/zetacored_tx_observer_add-blame-vote.md index 9557065174..1b2b38e536 100644 --- a/docs/cli/zetacored/zetacored_tx_observer_add-blame-vote.md +++ b/docs/cli/zetacored/zetacored_tx_observer_add-blame-vote.md @@ -11,7 +11,8 @@ zetacored tx observer add-blame-vote [chain-id] [index] [failure-reason] [node-l ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx observer add-blame-vote [chain-id] [index] [failure-reason] [node-l ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_observer_add-observer.md b/docs/cli/zetacored/zetacored_tx_observer_add-observer.md index 179edd49c7..bc152888c8 100644 --- a/docs/cli/zetacored/zetacored_tx_observer_add-observer.md +++ b/docs/cli/zetacored/zetacored_tx_observer_add-observer.md @@ -11,7 +11,8 @@ zetacored tx observer add-observer [observer-address] [zetaclient-grantee-pubkey ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx observer add-observer [observer-address] [zetaclient-grantee-pubkey ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_observer_encode.md b/docs/cli/zetacored/zetacored_tx_observer_encode.md index 7cfe76080b..e56b0d8a64 100644 --- a/docs/cli/zetacored/zetacored_tx_observer_encode.md +++ b/docs/cli/zetacored/zetacored_tx_observer_encode.md @@ -11,7 +11,8 @@ zetacored tx observer encode [file.json] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx observer encode [file.json] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_observer_remove-chain-params.md b/docs/cli/zetacored/zetacored_tx_observer_remove-chain-params.md index 8aa627e56f..10f5d9b240 100644 --- a/docs/cli/zetacored/zetacored_tx_observer_remove-chain-params.md +++ b/docs/cli/zetacored/zetacored_tx_observer_remove-chain-params.md @@ -11,7 +11,8 @@ zetacored tx observer remove-chain-params [chain-id] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx observer remove-chain-params [chain-id] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_observer_reset-chain-nonces.md b/docs/cli/zetacored/zetacored_tx_observer_reset-chain-nonces.md index 6a858d99b2..0b7a91eacf 100644 --- a/docs/cli/zetacored/zetacored_tx_observer_reset-chain-nonces.md +++ b/docs/cli/zetacored/zetacored_tx_observer_reset-chain-nonces.md @@ -11,7 +11,8 @@ zetacored tx observer reset-chain-nonces [chain-id] [chain-nonce-low] [chain-non ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx observer reset-chain-nonces [chain-id] [chain-nonce-low] [chain-non ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_observer_update-chain-params.md b/docs/cli/zetacored/zetacored_tx_observer_update-chain-params.md index 49e73e71d2..57a89436b7 100644 --- a/docs/cli/zetacored/zetacored_tx_observer_update-chain-params.md +++ b/docs/cli/zetacored/zetacored_tx_observer_update-chain-params.md @@ -11,7 +11,8 @@ zetacored tx observer update-chain-params [chain-id] [client-params.json] [flags ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx observer update-chain-params [chain-id] [client-params.json] [flags ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_observer_update-crosschain-flags.md b/docs/cli/zetacored/zetacored_tx_observer_update-crosschain-flags.md index 2a7f86ee80..b3be9ad4b7 100644 --- a/docs/cli/zetacored/zetacored_tx_observer_update-crosschain-flags.md +++ b/docs/cli/zetacored/zetacored_tx_observer_update-crosschain-flags.md @@ -11,7 +11,8 @@ zetacored tx observer update-crosschain-flags [is-inbound-enabled] [is-outbound- ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx observer update-crosschain-flags [is-inbound-enabled] [is-outbound- ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_observer_update-keygen.md b/docs/cli/zetacored/zetacored_tx_observer_update-keygen.md index 504891410e..6d67e00c86 100644 --- a/docs/cli/zetacored/zetacored_tx_observer_update-keygen.md +++ b/docs/cli/zetacored/zetacored_tx_observer_update-keygen.md @@ -11,7 +11,8 @@ zetacored tx observer update-keygen [block] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx observer update-keygen [block] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_observer_update-observer.md b/docs/cli/zetacored/zetacored_tx_observer_update-observer.md index bee8851349..3026413fa6 100644 --- a/docs/cli/zetacored/zetacored_tx_observer_update-observer.md +++ b/docs/cli/zetacored/zetacored_tx_observer_update-observer.md @@ -11,7 +11,8 @@ zetacored tx observer update-observer [old-observer-address] [new-observer-addre ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx observer update-observer [old-observer-address] [new-observer-addre ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_observer_vote-tss.md b/docs/cli/zetacored/zetacored_tx_observer_vote-tss.md index 388c8c3793..70710edc09 100644 --- a/docs/cli/zetacored/zetacored_tx_observer_vote-tss.md +++ b/docs/cli/zetacored/zetacored_tx_observer_vote-tss.md @@ -11,7 +11,8 @@ zetacored tx observer vote-tss [pubkey] [keygen-block] [status] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -39,10 +40,10 @@ zetacored tx observer vote-tss [pubkey] [keygen-block] [status] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_sign-batch.md b/docs/cli/zetacored/zetacored_tx_sign-batch.md index 2dbbff55af..b38a1738be 100644 --- a/docs/cli/zetacored/zetacored_tx_sign-batch.md +++ b/docs/cli/zetacored/zetacored_tx_sign-batch.md @@ -34,8 +34,8 @@ zetacored tx sign-batch [file] ([file2]...) [flags] -a, --account-number uint The account number of the signing account (offline mode only) --append Combine all message and generate single signed transaction for broadcast. --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) - --chain-id string network chain ID + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -69,6 +69,7 @@ zetacored tx sign-batch [file] ([file2]...) [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_sign.md b/docs/cli/zetacored/zetacored_tx_sign.md index 85549cd59f..289fa6b59f 100644 --- a/docs/cli/zetacored/zetacored_tx_sign.md +++ b/docs/cli/zetacored/zetacored_tx_sign.md @@ -29,7 +29,7 @@ zetacored tx sign [file] [flags] -a, --account-number uint The account number of the signing account (offline mode only) --amino Generate Amino encoded JSON suitable for submiting to the txs REST endpoint --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction @@ -65,6 +65,7 @@ zetacored tx sign [file] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_slashing.md b/docs/cli/zetacored/zetacored_tx_slashing.md index 1352d1937c..3867f0abf1 100644 --- a/docs/cli/zetacored/zetacored_tx_slashing.md +++ b/docs/cli/zetacored/zetacored_tx_slashing.md @@ -19,6 +19,7 @@ zetacored tx slashing [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_slashing_unjail.md b/docs/cli/zetacored/zetacored_tx_slashing_unjail.md index 0521563e8c..9be6a609eb 100644 --- a/docs/cli/zetacored/zetacored_tx_slashing_unjail.md +++ b/docs/cli/zetacored/zetacored_tx_slashing_unjail.md @@ -18,7 +18,8 @@ zetacored tx slashing unjail [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -46,10 +47,10 @@ zetacored tx slashing unjail [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_staking.md b/docs/cli/zetacored/zetacored_tx_staking.md index 3dd7eefdfb..b68a5cf179 100644 --- a/docs/cli/zetacored/zetacored_tx_staking.md +++ b/docs/cli/zetacored/zetacored_tx_staking.md @@ -19,6 +19,7 @@ zetacored tx staking [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_staking_cancel-unbond.md b/docs/cli/zetacored/zetacored_tx_staking_cancel-unbond.md index 35365c959f..934bb8860a 100644 --- a/docs/cli/zetacored/zetacored_tx_staking_cancel-unbond.md +++ b/docs/cli/zetacored/zetacored_tx_staking_cancel-unbond.md @@ -24,7 +24,8 @@ $ zetacored tx staking cancel-unbond zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9l ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -52,10 +53,10 @@ $ zetacored tx staking cancel-unbond zetavaloper1gghjut3ccd8ay0zduzj64hwre2fxs9l ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_staking_create-validator.md b/docs/cli/zetacored/zetacored_tx_staking_create-validator.md index 68c874526d..326c933015 100644 --- a/docs/cli/zetacored/zetacored_tx_staking_create-validator.md +++ b/docs/cli/zetacored/zetacored_tx_staking_create-validator.md @@ -12,7 +12,8 @@ zetacored tx staking create-validator [flags] -a, --account-number uint The account number of the signing account (offline mode only) --amount string Amount of coins to bond --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --commission-max-change-rate string The maximum commission change rate percentage (per day) --commission-max-rate string The maximum commission rate percentage --commission-rate string The initial commission rate percentage @@ -52,10 +53,10 @@ zetacored tx staking create-validator [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_staking_delegate.md b/docs/cli/zetacored/zetacored_tx_staking_delegate.md index 7159e8ce06..f6dbde16c2 100644 --- a/docs/cli/zetacored/zetacored_tx_staking_delegate.md +++ b/docs/cli/zetacored/zetacored_tx_staking_delegate.md @@ -18,7 +18,8 @@ zetacored tx staking delegate [validator-addr] [amount] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -46,10 +47,10 @@ zetacored tx staking delegate [validator-addr] [amount] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_staking_edit-validator.md b/docs/cli/zetacored/zetacored_tx_staking_edit-validator.md index 931e319af4..6409cc34cc 100644 --- a/docs/cli/zetacored/zetacored_tx_staking_edit-validator.md +++ b/docs/cli/zetacored/zetacored_tx_staking_edit-validator.md @@ -11,7 +11,8 @@ zetacored tx staking edit-validator [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --commission-rate string The new commission rate percentage --details string The validator's (optional) details --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) @@ -46,10 +47,10 @@ zetacored tx staking edit-validator [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_staking_redelegate.md b/docs/cli/zetacored/zetacored_tx_staking_redelegate.md index 962cfeb9f4..6c94e7e6e0 100644 --- a/docs/cli/zetacored/zetacored_tx_staking_redelegate.md +++ b/docs/cli/zetacored/zetacored_tx_staking_redelegate.md @@ -18,7 +18,8 @@ zetacored tx staking redelegate [src-validator-addr] [dst-validator-addr] [amoun ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -46,10 +47,10 @@ zetacored tx staking redelegate [src-validator-addr] [dst-validator-addr] [amoun ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_staking_unbond.md b/docs/cli/zetacored/zetacored_tx_staking_unbond.md index 5f891d27f5..8bf621afa7 100644 --- a/docs/cli/zetacored/zetacored_tx_staking_unbond.md +++ b/docs/cli/zetacored/zetacored_tx_staking_unbond.md @@ -18,7 +18,8 @@ zetacored tx staking unbond [validator-addr] [amount] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -46,10 +47,10 @@ zetacored tx staking unbond [validator-addr] [amount] [flags] ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_validate-signatures.md b/docs/cli/zetacored/zetacored_tx_validate-signatures.md index 474fe95a04..45adc2df49 100644 --- a/docs/cli/zetacored/zetacored_tx_validate-signatures.md +++ b/docs/cli/zetacored/zetacored_tx_validate-signatures.md @@ -22,7 +22,7 @@ zetacored tx validate-signatures [file] [flags] ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction @@ -54,6 +54,7 @@ zetacored tx validate-signatures [file] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_vesting.md b/docs/cli/zetacored/zetacored_tx_vesting.md index 9cb22ff682..b50c1996ba 100644 --- a/docs/cli/zetacored/zetacored_tx_vesting.md +++ b/docs/cli/zetacored/zetacored_tx_vesting.md @@ -19,6 +19,7 @@ zetacored tx vesting [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_vesting_create-periodic-vesting-account.md b/docs/cli/zetacored/zetacored_tx_vesting_create-periodic-vesting-account.md index 93affb0766..32db44fa77 100644 --- a/docs/cli/zetacored/zetacored_tx_vesting_create-periodic-vesting-account.md +++ b/docs/cli/zetacored/zetacored_tx_vesting_create-periodic-vesting-account.md @@ -31,7 +31,8 @@ zetacored tx vesting create-periodic-vesting-account [to_address] [periods_json_ ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -59,10 +60,10 @@ zetacored tx vesting create-periodic-vesting-account [to_address] [periods_json_ ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_vesting_create-permanent-locked-account.md b/docs/cli/zetacored/zetacored_tx_vesting_create-permanent-locked-account.md index 5fba92e9f4..5b36af2f76 100644 --- a/docs/cli/zetacored/zetacored_tx_vesting_create-permanent-locked-account.md +++ b/docs/cli/zetacored/zetacored_tx_vesting_create-permanent-locked-account.md @@ -17,7 +17,8 @@ zetacored tx vesting create-permanent-locked-account [to_address] [amount] [flag ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction --fee-payer string Fee payer pays fees for the transaction instead of deducting from the signer @@ -45,10 +46,10 @@ zetacored tx vesting create-permanent-locked-account [to_address] [amount] [flag ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_tx_vesting_create-vesting-account.md b/docs/cli/zetacored/zetacored_tx_vesting_create-vesting-account.md index 992e4b9843..adb026965c 100644 --- a/docs/cli/zetacored/zetacored_tx_vesting_create-vesting-account.md +++ b/docs/cli/zetacored/zetacored_tx_vesting_create-vesting-account.md @@ -19,7 +19,8 @@ zetacored tx vesting create-vesting-account [to_address] [amount] [end_time] [fl ``` -a, --account-number uint The account number of the signing account (offline mode only) --aux Generate aux signer data instead of sending a tx - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async) + --chain-id string The network chain ID --delayed Create a delayed vesting account if true --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) --fee-granter string Fee granter grants fees for the transaction @@ -48,10 +49,10 @@ zetacored tx vesting create-vesting-account [to_address] [amount] [end_time] [fl ### Options inherited from parent commands ``` - --chain-id string The network chain ID --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_validate-genesis.md b/docs/cli/zetacored/zetacored_validate-genesis.md index 25d37981e4..6e845c667e 100644 --- a/docs/cli/zetacored/zetacored_validate-genesis.md +++ b/docs/cli/zetacored/zetacored_validate-genesis.md @@ -18,6 +18,7 @@ zetacored validate-genesis [file] [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_version.md b/docs/cli/zetacored/zetacored_version.md index f10c6c2fd7..d5b432aa54 100644 --- a/docs/cli/zetacored/zetacored_version.md +++ b/docs/cli/zetacored/zetacored_version.md @@ -20,6 +20,7 @@ zetacored version [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/openapi/openapi.swagger.yaml b/docs/openapi/openapi.swagger.yaml index 7c0a031c2a..dbe71f83bb 100644 --- a/docs/openapi/openapi.swagger.yaml +++ b/docs/openapi/openapi.swagger.yaml @@ -3,10 +3,354 @@ info: title: ZetaChain - gRPC Gateway docs description: Documentation for the API of ZetaChain. paths: + /cosmos/auth/v1beta1/account_info/{address}: + get: + summary: AccountInfo queries account info which is common to all account types. + description: 'Since: cosmos-sdk 0.47' + operationId: AccountInfo + responses: + '200': + description: A successful response. + schema: + type: object + properties: + info: + description: info is the account info which is represented by BaseAccount. + type: object + properties: + address: + type: string + pub_key: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: >- + Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + JSON + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + account_number: + type: string + format: uint64 + sequence: + type: string + format: uint64 + description: |- + QueryAccountInfoResponse is the Query/AccountInfo response type. + + Since: cosmos-sdk 0.47 + default: + description: An unexpected error response. + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: >- + Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + JSON + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: address + description: address is the account address string. + in: path + required: true + type: string + tags: + - Query /cosmos/auth/v1beta1/accounts: get: - summary: Accounts returns all the existing accounts - description: 'Since: cosmos-sdk 0.43' + summary: Accounts returns all the existing accounts. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.43 operationId: Accounts responses: '200': @@ -96,7 +440,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -106,13 +450,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -128,8 +475,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -277,7 +622,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -287,13 +632,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -309,8 +657,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -483,7 +829,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -493,13 +839,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -515,8 +864,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -643,7 +990,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -653,13 +1000,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -675,8 +1025,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -825,7 +1173,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -835,13 +1183,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -857,8 +1208,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -892,6 +1241,8 @@ paths: parameters: - name: id description: |- + Deprecated, use account_id instead + id is the account number of the address to be queried. This field should have been an uint64 (like all account numbers), and will be updated to uint64 in a future version of the auth query. @@ -899,6 +1250,15 @@ paths: required: true type: string format: int64 + - name: account_id + description: |- + account_id is the account number of the address to be queried. + + Since: cosmos-sdk 0.47 + in: query + required: false + type: string + format: uint64 tags: - Query /cosmos/auth/v1beta1/bech32: @@ -1012,7 +1372,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -1022,13 +1382,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -1044,8 +1407,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -1189,7 +1550,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -1199,13 +1560,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -1221,8 +1585,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -1373,7 +1735,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -1383,13 +1745,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -1405,8 +1770,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -1537,7 +1900,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -1547,13 +1910,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -1569,8 +1935,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -1699,7 +2063,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -1709,13 +2073,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -1731,8 +2098,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -1855,7 +2220,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -1865,13 +2230,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -1887,8 +2255,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -2015,7 +2381,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -2025,13 +2391,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -2047,8 +2416,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -2211,7 +2578,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -2221,13 +2588,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -2243,8 +2613,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -2280,6 +2648,10 @@ paths: /cosmos/bank/v1beta1/balances/{address}: get: summary: AllBalances queries the balance of all coins for a single account. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. operationId: AllBalances responses: '200': @@ -2470,7 +2842,12 @@ paths: DenomOwners queries for all account addresses that own a particular token denomination. - description: 'Since: cosmos-sdk 0.46' + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.46 operationId: DenomOwners responses: '200': @@ -2944,6 +3321,14 @@ paths: SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable). + description: >- + Deprecated: Use of SendEnabled in params is deprecated. + + For genesis, use the newly added send_enabled field in the genesis object. + + Storage, lookup, and manipulation of this information is now in the keeper. + + As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files. default_send_enabled: type: boolean description: Params defines the parameters for the bank module. @@ -2973,12 +3358,157 @@ paths: format: byte tags: - Query + /cosmos/bank/v1beta1/send_enabled: + get: + summary: SendEnabled queries for SendEnabled entries. + description: >- + This query only returns denominations that have specific SendEnabled settings. + + Any denomination that does not have a specific setting will use the default + + params.default_send_enabled, and will not be returned by this query. + + Since: cosmos-sdk 0.47 + operationId: SendEnabled + responses: + '200': + description: A successful response. + schema: + type: object + properties: + send_enabled: + type: array + items: + type: object + properties: + denom: + type: string + enabled: + type: boolean + description: >- + SendEnabled maps coin denom to a send_enabled status (whether a denom is + + sendable). + pagination: + description: >- + pagination defines the pagination in the response. This field is only + + populated if the denoms field in the request is empty. + type: object + properties: + next_key: + type: string + format: byte + description: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently. It will be empty if + there are no more results. + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + QuerySendEnabledResponse defines the RPC response of a SendEnable query. + + Since: cosmos-sdk 0.47 + default: + description: An unexpected error response. + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: denoms + description: >- + denoms is the specific denoms you want look up. Leave empty to get all entries. + in: query + required: false + type: array + items: + type: string + collectionFormat: multi + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query /cosmos/bank/v1beta1/spendable_balances/{address}: get: - summary: |- - SpendableBalances queries the spenable balance of all coins for a single + summary: >- + SpendableBalances queries the spendable balance of all coins for a single + account. - description: 'Since: cosmos-sdk 0.46' + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.46 operationId: SpendableBalances responses: '200': @@ -3105,9 +3635,86 @@ paths: type: boolean tags: - Query + /cosmos/bank/v1beta1/spendable_balances/{address}/by_denom: + get: + summary: >- + SpendableBalanceByDenom queries the spendable balance of a single denom for + + a single account. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. + + Since: cosmos-sdk 0.47 + operationId: SpendableBalanceByDenom + responses: + '200': + description: A successful response. + schema: + type: object + properties: + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: >- + QuerySpendableBalanceByDenomResponse defines the gRPC response structure for + + querying an account's spendable balance for a specific denom. + + Since: cosmos-sdk 0.47 + default: + description: An unexpected error response. + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: address + description: address is the address to query balances for. + in: path + required: true + type: string + - name: denom + description: denom is the coin denom to query balances for. + in: query + required: false + type: string + tags: + - Query /cosmos/bank/v1beta1/supply: get: summary: TotalSupply queries the total supply of all coins. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. operationId: TotalSupply responses: '200': @@ -3233,6 +3840,10 @@ paths: /cosmos/bank/v1beta1/supply/by_denom: get: summary: SupplyOf queries the supply of a single coin. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. operationId: SupplyOf responses: '200': @@ -3288,11 +3899,11 @@ paths: /cosmos/base/tendermint/v1beta1/abci_query: get: summary: >- - ABCIQuery defines a query handler that supports ABCI queries directly to + ABCIQuery defines a query handler that supports ABCI queries directly to the - the application, bypassing Tendermint completely. The ABCI query must + application, bypassing Tendermint completely. The ABCI query must contain - contain a valid and supported path, including app, custom, p2p, and store. + a valid and supported path, including app, custom, p2p, and store. description: 'Since: cosmos-sdk 0.46' operationId: ABCIQuery responses: @@ -3336,28 +3947,22 @@ paths: description: >- ProofOp defines an operation used for calculating Merkle root. The data could - be arbitrary format, providing nessecary data for example neighbouring node + be arbitrary format, providing necessary data for example neighbouring node hash. - Note: This type is a duplicate of the ProofOp proto type defined in - - Tendermint. + Note: This type is a duplicate of the ProofOp proto type defined in Tendermint. description: >- ProofOps is Merkle proof defined by the list of ProofOps. - Note: This type is a duplicate of the ProofOps proto type defined in - - Tendermint. + Note: This type is a duplicate of the ProofOps proto type defined in Tendermint. height: type: string format: int64 codespace: type: string description: >- - ABCIQueryResponse defines the response structure for the ABCIQuery gRPC - - query. + ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query. Note: This type is a duplicate of the ResponseQuery proto type defined in @@ -3456,7 +4061,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -3466,13 +4071,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -3488,8 +4096,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -4600,9 +5206,7 @@ paths: field converted to bech32 string. description: >- - GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC - - method. + GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. default: description: An unexpected error response. schema: @@ -4697,7 +5301,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -4707,13 +5311,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -4729,8 +5336,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -5822,9 +6427,7 @@ paths: field converted to bech32 string. description: >- - GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight - - RPC method. + GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. default: description: An unexpected error response. schema: @@ -5919,7 +6522,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -5929,13 +6532,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -5951,8 +6557,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -6071,9 +6675,7 @@ paths: title: 'Since: cosmos-sdk 0.43' description: VersionInfo is the type for the GetNodeInfoResponse message. description: >- - GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC - - method. + GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. default: description: An unexpected error response. schema: @@ -6168,7 +6770,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -6178,13 +6780,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -6200,8 +6805,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -6342,7 +6945,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -6352,13 +6955,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -6374,8 +6980,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -6508,7 +7112,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -6518,13 +7122,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -6540,8 +7147,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -6597,9 +7202,8 @@ paths: total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise - description: |- - GetLatestValidatorSetResponse is the response type for the - Query/GetValidatorSetByHeight RPC method. + description: >- + GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. default: description: An unexpected error response. schema: @@ -6694,7 +7298,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -6704,13 +7308,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -6726,8 +7333,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -6910,7 +7515,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -6920,13 +7525,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -6942,8 +7550,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -6999,9 +7605,8 @@ paths: total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise - description: |- - GetValidatorSetByHeightResponse is the response type for the - Query/GetValidatorSetByHeight RPC method. + description: >- + GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. default: description: An unexpected error response. schema: @@ -7096,7 +7701,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -7106,13 +7711,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -7128,8 +7736,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -7535,8 +8141,16 @@ paths: type: string base_proposer_reward: type: string + description: >- + Deprecated: The base_proposer_reward field is deprecated and is no longer used + + in the x/distribution module's reward mechanism. bonus_proposer_reward: type: string + description: >- + Deprecated: The bonus_proposer_reward field is deprecated and is no longer used + + in the x/distribution module's reward mechanism. withdraw_addr_enabled: type: boolean description: >- @@ -7565,6 +8179,84 @@ paths: format: byte tags: - Query + /cosmos/distribution/v1beta1/validators/{validator_address}: + get: + summary: >- + ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator + operationId: ValidatorDistributionInfo + responses: + '200': + description: A successful response. + schema: + type: object + properties: + operator_address: + type: string + description: operator_address defines the validator operator address. + self_bond_rewards: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: self_bond_rewards defines the self delegations rewards. + commission: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + DecCoin defines a token with a denomination and a decimal amount. + + NOTE: The amount field is an Dec which implements the custom method + + signatures required by gogoproto. + description: commission defines the commission the validator received. + description: >- + QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method. + default: + description: An unexpected error response. + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + parameters: + - name: validator_address + description: validator_address defines the validator address to query for. + in: path + required: true + type: string + tags: + - Query /cosmos/distribution/v1beta1/validators/{validator_address}/commission: get: summary: ValidatorCommission queries accumulated commission for a validator. @@ -7576,7 +8268,7 @@ paths: type: object properties: commission: - description: commission defines the commision the validator received. + description: commission defines the commission the validator received. type: object properties: commission: @@ -7928,7 +8620,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -7938,13 +8630,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -7960,8 +8655,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -8109,7 +8802,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -8119,13 +8812,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -8141,8 +8837,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -8225,7 +8919,7 @@ paths: type: boolean tags: - Query - /cosmos/evidence/v1beta1/evidence/{evidence_hash}: + /cosmos/evidence/v1beta1/evidence/{hash}: get: summary: Evidence queries evidence based on evidence hash. operationId: Evidence @@ -8315,7 +9009,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -8325,13 +9019,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -8347,8 +9044,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -8475,7 +9170,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -8485,13 +9180,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -8507,8 +9205,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -8540,11 +9236,21 @@ paths: "value": "1.212s" } parameters: - - name: evidence_hash - description: evidence_hash defines the hash of the requested evidence. + - name: hash + description: |- + hash defines the evidence hash of the requested evidence. + + Since: cosmos-sdk 0.47 in: path required: true type: string + - name: evidence_hash + description: |- + evidence_hash defines the hash of the requested evidence. + Deprecated: Use hash, a HEX encoded string, instead. + in: query + required: false + type: string format: byte tags: - Query @@ -8564,7 +9270,7 @@ paths: properties: voting_period: type: string - description: Length of the voting period. + description: Duration of the voting period. deposit_params: description: deposit_params defines the parameters related to deposit. type: object @@ -8590,7 +9296,7 @@ paths: description: >- Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - months. + months. tally_params: description: tally_params defines the parameters related to tally. type: object @@ -8601,7 +9307,7 @@ paths: description: >- Minimum percentage of total stake needed to vote for a result to be - considered valid. + considered valid. threshold: type: string format: byte @@ -8613,7 +9319,7 @@ paths: description: >- Minimum value of Veto votes to Total votes ratio for proposal to be - vetoed. Default value: 1/3. + vetoed. Default value: 1/3. description: >- QueryParamsResponse is the response type for the Query/Params RPC method. default: @@ -8710,7 +9416,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -8720,13 +9426,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -8742,8 +9451,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -8803,6 +9510,7 @@ paths: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. content: type: object properties: @@ -8883,7 +9591,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -8893,13 +9601,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -8915,8 +9626,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -8948,6 +9657,7 @@ paths: "value": "1.212s" } status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -8957,24 +9667,6 @@ paths: - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED - description: >- - ProposalStatus enumerates the valid statuses of a proposal. - - - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - period. - - - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - period. - - - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - passed. - - - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - been rejected. - - - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - failed. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -8986,18 +9678,26 @@ paths: properties: 'yes': type: string + description: yes is the number of yes votes on a proposal. abstain: type: string + description: >- + abstain is the number of abstain votes on a proposal. 'no': type: string + description: no is the number of no votes on a proposal. no_with_veto: type: string + description: >- + no_with_veto is the number of no with veto votes on a proposal. submit_time: type: string format: date-time + description: submit_time is the time of proposal submission. deposit_end_time: type: string format: date-time + description: deposit_end_time is the end time for deposition. total_deposit: type: array items: @@ -9013,14 +9713,19 @@ paths: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time + description: >- + voting_start_time is the starting time to vote on a proposal. voting_end_time: type: string format: date-time + description: voting_end_time is the end time of voting on a proposal. description: >- Proposal defines the core field members of a governance proposal. + description: proposals defines all the requested governance proposals. pagination: description: pagination defines the pagination in the response. type: object @@ -9137,7 +9842,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -9147,13 +9852,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -9169,8 +9877,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -9305,6 +10011,7 @@ paths: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. content: type: object properties: @@ -9385,7 +10092,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -9395,13 +10102,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -9417,8 +10127,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -9450,6 +10158,7 @@ paths: "value": "1.212s" } status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -9459,24 +10168,6 @@ paths: - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED - description: >- - ProposalStatus enumerates the valid statuses of a proposal. - - - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - period. - - - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - period. - - - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - passed. - - - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - been rejected. - - - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - failed. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -9488,18 +10179,25 @@ paths: properties: 'yes': type: string + description: yes is the number of yes votes on a proposal. abstain: type: string + description: abstain is the number of abstain votes on a proposal. 'no': type: string + description: no is the number of no votes on a proposal. no_with_veto: type: string + description: >- + no_with_veto is the number of no with veto votes on a proposal. submit_time: type: string format: date-time + description: submit_time is the time of proposal submission. deposit_end_time: type: string format: date-time + description: deposit_end_time is the end time for deposition. total_deposit: type: array items: @@ -9515,12 +10213,16 @@ paths: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time + description: >- + voting_start_time is the starting time to vote on a proposal. voting_end_time: type: string format: date-time + description: voting_end_time is the end time of voting on a proposal. description: >- Proposal defines the core field members of a governance proposal. description: >- @@ -9619,7 +10321,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -9629,13 +10331,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -9651,8 +10356,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -9710,8 +10413,11 @@ paths: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. depositor: type: string + description: >- + depositor defines the deposit addresses from the proposals. amount: type: array items: @@ -9727,10 +10433,12 @@ paths: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- Deposit defines an amount deposited by an account address to an active proposal. + description: deposits defines the requested deposits. pagination: description: pagination defines the pagination in the response. type: object @@ -9845,7 +10553,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -9855,13 +10563,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -9877,8 +10588,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -9984,8 +10693,11 @@ paths: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. depositor: type: string + description: >- + depositor defines the deposit addresses from the proposals. amount: type: array items: @@ -10001,6 +10713,7 @@ paths: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- Deposit defines an amount deposited by an account address to an active @@ -10101,7 +10814,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -10111,13 +10824,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -10133,8 +10849,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -10195,12 +10909,17 @@ paths: properties: 'yes': type: string + description: yes is the number of yes votes on a proposal. abstain: type: string + description: abstain is the number of abstain votes on a proposal. 'no': type: string + description: no is the number of no votes on a proposal. no_with_veto: type: string + description: >- + no_with_veto is the number of no with veto votes on a proposal. description: >- QueryTallyResultResponse is the response type for the Query/Tally RPC method. default: @@ -10297,7 +11016,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -10307,13 +11026,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -10329,8 +11051,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -10388,8 +11108,10 @@ paths: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. voter: type: string + description: voter is the voter address of the proposal. option: description: >- Deprecated: Prefer to use `options` instead. This field is set in queries @@ -10411,6 +11133,8 @@ paths: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -10419,26 +11143,23 @@ paths: - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. weight: type: string + description: >- + weight is the vote weight associated with the vote option. description: >- WeightedVoteOption defines a unit of vote for vote split. Since: cosmos-sdk 0.43 - title: 'Since: cosmos-sdk 0.43' + description: |- + options is the weighted vote options. + + Since: cosmos-sdk 0.43 description: >- Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. - description: votes defined the queried votes. + description: votes defines the queried votes. pagination: description: pagination defines the pagination in the response. type: object @@ -10553,7 +11274,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -10563,13 +11284,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -10585,8 +11309,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -10691,8 +11413,10 @@ paths: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. voter: type: string + description: voter is the voter address of the proposal. option: description: >- Deprecated: Prefer to use `options` instead. This field is set in queries @@ -10714,6 +11438,8 @@ paths: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -10722,21 +11448,18 @@ paths: - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. weight: type: string + description: >- + weight is the vote weight associated with the vote option. description: >- WeightedVoteOption defines a unit of vote for vote split. Since: cosmos-sdk 0.43 - title: 'Since: cosmos-sdk 0.43' + description: |- + options is the weighted vote options. + + Since: cosmos-sdk 0.43 description: >- Vote defines a vote on a governance proposal. @@ -10837,7 +11560,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -10847,13 +11570,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -10869,8 +11595,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -10926,14 +11650,18 @@ paths: type: object properties: voting_params: - description: voting_params defines the parameters related to voting. + description: |- + Deprecated: Prefer to use `params` instead. + voting_params defines the parameters related to voting. type: object properties: voting_period: type: string - description: Length of the voting period. + description: Duration of the voting period. deposit_params: - description: deposit_params defines the parameters related to deposit. + description: |- + Deprecated: Prefer to use `params` instead. + deposit_params defines the parameters related to deposit. type: object properties: min_deposit: @@ -10957,9 +11685,11 @@ paths: description: >- Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - months. + months. tally_params: - description: tally_params defines the parameters related to tally. + description: |- + Deprecated: Prefer to use `params` instead. + tally_params defines the parameters related to tally. type: object properties: quorum: @@ -10967,6 +11697,54 @@ paths: description: >- Minimum percentage of total stake needed to vote for a result to be + considered valid. + threshold: + type: string + description: >- + Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + veto_threshold: + type: string + description: >- + Minimum value of Veto votes to Total votes ratio for proposal to be + + vetoed. Default value: 1/3. + params: + description: |- + params defines all the paramaters of x/gov module. + + Since: cosmos-sdk 0.47 + type: object + properties: + min_deposit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: Minimum deposit for a proposal to enter voting period. + max_deposit_period: + type: string + description: >- + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + + months. + voting_period: + type: string + description: Duration of the voting period. + quorum: + type: string + description: >- + Minimum percentage of total stake needed to vote for a result to be + considered valid. threshold: type: string @@ -10978,6 +11756,10 @@ paths: Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3. + min_initial_deposit_ratio: + type: string + description: >- + The ratio representing the proportion of the deposit value that must be paid at proposal submission. description: >- QueryParamsResponse is the response type for the Query/Params RPC method. default: @@ -11074,7 +11856,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -11084,13 +11866,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -11106,8 +11891,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -11167,6 +11950,7 @@ paths: id: type: string format: uint64 + description: id defines the unique id of the proposal. messages: type: array items: @@ -11249,7 +12033,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -11259,13 +12043,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -11281,8 +12068,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -11313,7 +12098,10 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + description: >- + messages are the arbitrary messages to be executed if the proposal passes. status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -11323,24 +12111,6 @@ paths: - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED - description: >- - ProposalStatus enumerates the valid statuses of a proposal. - - - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - period. - - - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - period. - - - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - passed. - - - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - been rejected. - - - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - failed. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -11352,18 +12122,26 @@ paths: properties: yes_count: type: string + description: yes_count is the number of yes votes on a proposal. abstain_count: type: string + description: >- + abstain_count is the number of abstain votes on a proposal. no_count: type: string + description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string + description: >- + no_with_veto_count is the number of no with veto votes on a proposal. submit_time: type: string format: date-time + description: submit_time is the time of proposal submission. deposit_end_time: type: string format: date-time + description: deposit_end_time is the end time for deposition. total_deposit: type: array items: @@ -11379,18 +12157,35 @@ paths: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time + description: >- + voting_start_time is the starting time to vote on a proposal. voting_end_time: type: string format: date-time + description: voting_end_time is the end time of voting on a proposal. metadata: type: string description: >- metadata is any arbitrary metadata attached to the proposal. + title: + type: string + description: 'Since: cosmos-sdk 0.47' + title: title is the title of the proposal + summary: + type: string + description: 'Since: cosmos-sdk 0.47' + title: summary is a short summary of the proposal + proposer: + type: string + description: 'Since: cosmos-sdk 0.47' + title: Proposer is the address of the proposal sumbitter description: >- Proposal defines the core field members of a governance proposal. + description: proposals defines all the requested governance proposals. pagination: description: pagination defines the pagination in the response. type: object @@ -11507,7 +12302,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -11517,13 +12312,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -11539,8 +12337,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -11675,6 +12471,7 @@ paths: id: type: string format: uint64 + description: id defines the unique id of the proposal. messages: type: array items: @@ -11757,7 +12554,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -11767,13 +12564,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -11789,8 +12589,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -11821,7 +12619,10 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + description: >- + messages are the arbitrary messages to be executed if the proposal passes. status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -11831,24 +12632,6 @@ paths: - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED - description: >- - ProposalStatus enumerates the valid statuses of a proposal. - - - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - period. - - - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - period. - - - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - passed. - - - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - been rejected. - - - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - failed. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -11860,18 +12643,26 @@ paths: properties: yes_count: type: string + description: yes_count is the number of yes votes on a proposal. abstain_count: type: string + description: >- + abstain_count is the number of abstain votes on a proposal. no_count: type: string + description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string + description: >- + no_with_veto_count is the number of no with veto votes on a proposal. submit_time: type: string format: date-time + description: submit_time is the time of proposal submission. deposit_end_time: type: string format: date-time + description: deposit_end_time is the end time for deposition. total_deposit: type: array items: @@ -11887,16 +12678,32 @@ paths: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time + description: >- + voting_start_time is the starting time to vote on a proposal. voting_end_time: type: string format: date-time + description: voting_end_time is the end time of voting on a proposal. metadata: type: string description: >- metadata is any arbitrary metadata attached to the proposal. + title: + type: string + description: 'Since: cosmos-sdk 0.47' + title: title is the title of the proposal + summary: + type: string + description: 'Since: cosmos-sdk 0.47' + title: summary is a short summary of the proposal + proposer: + type: string + description: 'Since: cosmos-sdk 0.47' + title: Proposer is the address of the proposal sumbitter description: >- Proposal defines the core field members of a governance proposal. description: >- @@ -11995,7 +12802,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -12005,13 +12812,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -12027,8 +12837,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -12086,8 +12894,11 @@ paths: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. depositor: type: string + description: >- + depositor defines the deposit addresses from the proposals. amount: type: array items: @@ -12103,10 +12914,12 @@ paths: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- Deposit defines an amount deposited by an account address to an active proposal. + description: deposits defines the requested deposits. pagination: description: pagination defines the pagination in the response. type: object @@ -12221,7 +13034,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -12231,13 +13044,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -12253,8 +13069,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -12360,8 +13174,11 @@ paths: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. depositor: type: string + description: >- + depositor defines the deposit addresses from the proposals. amount: type: array items: @@ -12377,6 +13194,7 @@ paths: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- Deposit defines an amount deposited by an account address to an active @@ -12477,7 +13295,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -12487,13 +13305,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -12509,8 +13330,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -12571,12 +13390,18 @@ paths: properties: yes_count: type: string + description: yes_count is the number of yes votes on a proposal. abstain_count: type: string + description: >- + abstain_count is the number of abstain votes on a proposal. no_count: type: string + description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string + description: >- + no_with_veto_count is the number of no with veto votes on a proposal. description: >- QueryTallyResultResponse is the response type for the Query/Tally RPC method. default: @@ -12673,7 +13498,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -12683,13 +13508,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -12705,8 +13533,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -12764,14 +13590,18 @@ paths: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. voter: type: string + description: voter is the voter address of the proposal. options: type: array items: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -12780,18 +13610,13 @@ paths: - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. weight: type: string + description: >- + weight is the vote weight associated with the vote option. description: >- WeightedVoteOption defines a unit of vote for vote split. + description: options is the weighted vote options. metadata: type: string description: >- @@ -12800,7 +13625,7 @@ paths: Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. - description: votes defined the queried votes. + description: votes defines the queried votes. pagination: description: pagination defines the pagination in the response. type: object @@ -12915,7 +13740,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -12925,13 +13750,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -12947,8 +13775,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -13053,14 +13879,18 @@ paths: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. voter: type: string + description: voter is the voter address of the proposal. options: type: array items: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -13069,18 +13899,13 @@ paths: - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. weight: type: string + description: >- + weight is the vote weight associated with the vote option. description: >- WeightedVoteOption defines a unit of vote for vote split. + description: options is the weighted vote options. metadata: type: string description: >- @@ -13185,7 +14010,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -13195,13 +14020,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -13217,8 +14045,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -13685,6 +14511,10 @@ paths: get: summary: >- DelegatorDelegations queries all delegations of a given delegator address. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. operationId: DelegatorDelegations responses: '200': @@ -13851,7 +14681,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -13861,13 +14691,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -13883,8 +14716,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -13975,6 +14806,10 @@ paths: /cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations: get: summary: Redelegations queries redelegations of given address. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. operationId: Redelegations responses: '200': @@ -14025,6 +14860,16 @@ paths: type: string description: >- shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: + type: string + format: uint64 + title: >- + Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- RedelegationEntry defines a redelegation object with relevant metadata. description: entries are the redelegation entries. @@ -14058,6 +14903,16 @@ paths: type: string description: >- shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: + type: string + format: uint64 + title: >- + Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- RedelegationEntry defines a redelegation object with relevant metadata. balance: @@ -14190,7 +15045,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -14200,13 +15055,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -14222,8 +15080,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -14327,6 +15183,10 @@ paths: DelegatorUnbondingDelegations queries all unbonding delegations of a given delegator address. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. operationId: DelegatorUnbondingDelegations responses: '200': @@ -14370,6 +15230,16 @@ paths: type: string description: >- balance defines the tokens to receive at completion. + unbonding_id: + type: string + format: uint64 + title: >- + Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- UnbondingDelegationEntry defines an unbonding object with relevant metadata. description: entries are the unbonding delegation entries. @@ -14493,7 +15363,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -14503,13 +15373,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -14525,8 +15398,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -14619,6 +15490,10 @@ paths: summary: |- DelegatorValidators queries all validators info for given delegator address. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. operationId: StakingDelegatorValidators responses: '200': @@ -14715,7 +15590,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -14725,13 +15600,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -14747,8 +15625,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -14866,6 +15742,18 @@ paths: min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: + type: array + items: + type: string + format: uint64 + title: >- + list of unbonding ids, each uniquely identifing an unbonding of this validator description: >- Validator defines a validator, together with the total amount of the @@ -14998,7 +15886,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -15008,13 +15896,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -15030,8 +15921,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -15218,7 +16107,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -15228,13 +16117,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -15250,8 +16142,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -15369,6 +16259,18 @@ paths: min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: + type: array + items: + type: string + format: uint64 + title: >- + list of unbonding ids, each uniquely identifing an unbonding of this validator description: >- Validator defines a validator, together with the total amount of the @@ -15482,7 +16384,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -15492,13 +16394,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -15514,8 +16419,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -15737,7 +16640,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -15747,13 +16650,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -15769,8 +16675,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -15888,6 +16792,18 @@ paths: min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: + type: array + items: + type: string + format: uint64 + title: >- + list of unbonding ids, each uniquely identifing an unbonding of this validator description: >- Validator defines a validator, together with the total amount of the @@ -16002,7 +16918,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -16012,13 +16928,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -16034,8 +16953,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -16209,7 +17126,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -16219,13 +17136,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -16241,8 +17161,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -16388,7 +17306,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -16398,13 +17316,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -16420,8 +17341,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -16457,6 +17376,10 @@ paths: /cosmos/staking/v1beta1/validators: get: summary: Validators queries all validators that match the given status. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. operationId: Validators responses: '200': @@ -16553,7 +17476,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -16563,13 +17486,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -16585,8 +17511,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -16704,6 +17628,18 @@ paths: min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: + type: array + items: + type: string + format: uint64 + title: >- + list of unbonding ids, each uniquely identifing an unbonding of this validator description: >- Validator defines a validator, together with the total amount of the @@ -16835,7 +17771,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -16845,13 +17781,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -16867,8 +17806,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -17053,7 +17990,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -17063,13 +18000,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -17085,8 +18025,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -17204,6 +18142,18 @@ paths: min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: + type: array + items: + type: string + format: uint64 + title: >- + list of unbonding ids, each uniquely identifing an unbonding of this validator description: >- Validator defines a validator, together with the total amount of the @@ -17316,7 +18266,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -17326,13 +18276,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -17348,8 +18301,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -17391,6 +18342,10 @@ paths: /cosmos/staking/v1beta1/validators/{validator_addr}/delegations: get: summary: ValidatorDelegations queries delegate info for given validator. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. operationId: ValidatorDelegations responses: '200': @@ -17555,7 +18510,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -17565,13 +18520,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -17587,8 +18545,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -17822,7 +18778,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -17832,13 +18788,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -17854,7 +18813,242 @@ paths: JSON - ==== + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: validator_addr + description: validator_addr defines the validator address to query for. + in: path + required: true + type: string + - name: delegator_addr + description: delegator_addr defines the delegator address to query for. + in: path + required: true + type: string + tags: + - Query + /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation: + get: + summary: |- + UnbondingDelegation queries unbonding info for given validator delegator + pair. + operationId: UnbondingDelegation + responses: + '200': + description: A successful response. + schema: + type: object + properties: + unbond: + type: object + properties: + delegator_address: + type: string + description: >- + delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: >- + validator_address is the bech32-encoded address of the validator. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: >- + creation_height is the height which the unbonding took place. + completion_time: + type: string + format: date-time + description: >- + completion_time is the unix time for unbonding completion. + initial_balance: + type: string + description: >- + initial_balance defines the tokens initially scheduled to receive at completion. + balance: + type: string + description: balance defines the tokens to receive at completion. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- + UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: entries are the unbonding delegation entries. + description: >- + UnbondingDelegation stores all of a single delegator's unbonding bonds + + for a single validator in an time-ordered list. + description: >- + QueryDelegationResponse is response type for the Query/UnbondingDelegation + + RPC method. + default: + description: An unexpected error response. + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: >- + Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + JSON The JSON representation of an `Any` value uses the regular @@ -17899,62 +19093,96 @@ paths: type: string tags: - Query - /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation: + /cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations: get: - summary: |- - UnbondingDelegation queries unbonding info for given validator delegator - pair. - operationId: UnbondingDelegation + summary: >- + ValidatorUnbondingDelegations queries unbonding delegations of a validator. + description: >- + When called from another module, this query might consume a high amount of + + gas if the pagination field is incorrectly set. + operationId: ValidatorUnbondingDelegations responses: '200': description: A successful response. schema: type: object properties: - unbond: + unbonding_responses: + type: array + items: + type: object + properties: + delegator_address: + type: string + description: >- + delegator_address is the bech32-encoded address of the delegator. + validator_address: + type: string + description: >- + validator_address is the bech32-encoded address of the validator. + entries: + type: array + items: + type: object + properties: + creation_height: + type: string + format: int64 + description: >- + creation_height is the height which the unbonding took place. + completion_time: + type: string + format: date-time + description: >- + completion_time is the unix time for unbonding completion. + initial_balance: + type: string + description: >- + initial_balance defines the tokens initially scheduled to receive at completion. + balance: + type: string + description: >- + balance defines the tokens to receive at completion. + unbonding_id: + type: string + format: uint64 + title: >- + Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules + description: >- + UnbondingDelegationEntry defines an unbonding object with relevant metadata. + description: entries are the unbonding delegation entries. + description: >- + UnbondingDelegation stores all of a single delegator's unbonding bonds + + for a single validator in an time-ordered list. + pagination: + description: pagination defines the pagination in the response. type: object properties: - delegator_address: + next_key: type: string - description: >- - delegator_address is the bech32-encoded address of the delegator. - validator_address: + format: byte + description: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently. It will be empty if + there are no more results. + total: type: string - description: >- - validator_address is the bech32-encoded address of the validator. - entries: - type: array - items: - type: object - properties: - creation_height: - type: string - format: int64 - description: >- - creation_height is the height which the unbonding took place. - completion_time: - type: string - format: date-time - description: >- - completion_time is the unix time for unbonding completion. - initial_balance: - type: string - description: >- - initial_balance defines the tokens initially scheduled to receive at completion. - balance: - type: string - description: balance defines the tokens to receive at completion. - description: >- - UnbondingDelegationEntry defines an unbonding object with relevant metadata. - description: entries are the unbonding delegation entries. - description: >- - UnbondingDelegation stores all of a single delegator's unbonding bonds + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total - for a single validator in an time-ordered list. + was set, its value is undefined otherwise description: >- - QueryDelegationResponse is response type for the Query/UnbondingDelegation + QueryValidatorUnbondingDelegationsResponse is response type for the - RPC method. + Query/ValidatorUnbondingDelegations RPC method. default: description: An unexpected error response. schema: @@ -18049,7 +19277,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -18059,13 +19287,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -18081,8 +19312,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -18119,89 +19348,647 @@ paths: in: path required: true type: string - - name: delegator_addr - description: delegator_addr defines the delegator address to query for. - in: path - required: true + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key should + + be set. + in: query + required: false type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should include + + a count of the total number of items available for pagination in UIs. + + count_total is only respected when offset is used. It is ignored when key + + is set. + in: query + required: false + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the descending order. + + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean tags: - Query - /cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations: - get: - summary: >- - ValidatorUnbondingDelegations queries unbonding delegations of a validator. - operationId: ValidatorUnbondingDelegations + /cosmos/tx/v1beta1/decode: + post: + summary: TxDecode decodes the transaction. + description: 'Since: cosmos-sdk 0.47' + operationId: TxDecode responses: '200': description: A successful response. + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.TxDecodeResponse' + default: + description: An unexpected error response. schema: type: object properties: - unbonding_responses: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: type: array items: type: object properties: - delegator_address: + type_url: type: string description: >- - delegator_address is the bech32-encoded address of the delegator. - validator_address: + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: type: string + format: byte description: >- - validator_address is the bech32-encoded address of the validator. - entries: - type: array - items: - type: object - properties: - creation_height: - type: string - format: int64 - description: >- - creation_height is the height which the unbonding took place. - completion_time: - type: string - format: date-time - description: >- - completion_time is the unix time for unbonding completion. - initial_balance: - type: string - description: >- - initial_balance defines the tokens initially scheduled to receive at completion. - balance: - type: string - description: >- - balance defines the tokens to receive at completion. - description: >- - UnbondingDelegationEntry defines an unbonding object with relevant metadata. - description: entries are the unbonding delegation entries. + Must be a valid serialized protocol buffer of the above specified type. description: >- - UnbondingDelegation stores all of a single delegator's unbonding bonds + `Any` contains an arbitrary serialized protocol buffer message along with a - for a single validator in an time-ordered list. - pagination: - description: pagination defines the pagination in the response. - type: object - properties: - next_key: - type: string - format: byte - description: |- - next_key is the key to be passed to PageRequest.key to - query the next page most efficiently. It will be empty if - there are no more results. - total: - type: string - format: uint64 - title: >- - total is total number of results available if PageRequest.count_total + URL that describes the type of the serialized message. - was set, its value is undefined otherwise + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + JSON + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: body + in: body + required: true + schema: + type: object + properties: + tx_bytes: + type: string + format: byte + description: tx_bytes is the raw transaction. + description: |- + TxDecodeRequest is the request type for the Service.TxDecode + RPC method. + + Since: cosmos-sdk 0.47 + tags: + - Service + /cosmos/tx/v1beta1/decode/amino: + post: + summary: TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON. + description: 'Since: cosmos-sdk 0.47' + operationId: TxDecodeAmino + responses: + '200': + description: A successful response. + schema: + type: object + properties: + amino_json: + type: string description: >- - QueryValidatorUnbondingDelegationsResponse is response type for the + TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino - Query/ValidatorUnbondingDelegations RPC method. + RPC method. + + Since: cosmos-sdk 0.47 + default: + description: An unexpected error response. + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: >- + Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + JSON + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: body + in: body + required: true + schema: + type: object + properties: + amino_binary: + type: string + format: byte + description: >- + TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino + + RPC method. + + Since: cosmos-sdk 0.47 + tags: + - Service + /cosmos/tx/v1beta1/encode: + post: + summary: TxEncode encodes the transaction. + description: 'Since: cosmos-sdk 0.47' + operationId: TxEncode + responses: + '200': + description: A successful response. + schema: + type: object + properties: + tx_bytes: + type: string + format: byte + description: tx_bytes is the encoded transaction bytes. + description: |- + TxEncodeResponse is the response type for the + Service.TxEncode method. + + Since: cosmos-sdk 0.47 + default: + description: An unexpected error response. + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: >- + Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + JSON + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/cosmos.tx.v1beta1.TxEncodeRequest' + tags: + - Service + /cosmos/tx/v1beta1/encode/amino: + post: + summary: TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes. + description: 'Since: cosmos-sdk 0.47' + operationId: TxEncodeAmino + responses: + '200': + description: A successful response. + schema: + type: object + properties: + amino_binary: + type: string + format: byte + description: >- + TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino + + RPC method. + + Since: cosmos-sdk 0.47 default: description: An unexpected error response. schema: @@ -18296,7 +20083,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -18306,13 +20093,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -18328,8 +20118,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -18361,62 +20149,22 @@ paths: "value": "1.212s" } parameters: - - name: validator_addr - description: validator_addr defines the validator address to query for. - in: path + - name: body + in: body required: true - type: string - - name: pagination.key - description: |- - key is a value returned in PageResponse.next_key to begin - querying the next page most efficiently. Only one of offset or key - should be set. - in: query - required: false - type: string - format: byte - - name: pagination.offset - description: >- - offset is a numeric offset that can be used when key is unavailable. - - It is less efficient than using key. Only one of offset or key should - - be set. - in: query - required: false - type: string - format: uint64 - - name: pagination.limit - description: >- - limit is the total number of results to be returned in the result page. - - If left empty it will default to a value to be set by each app. - in: query - required: false - type: string - format: uint64 - - name: pagination.count_total - description: >- - count_total is set to true to indicate that the result set should include - - a count of the total number of items available for pagination in UIs. - - count_total is only respected when offset is used. It is ignored when key + schema: + type: object + properties: + amino_json: + type: string + description: >- + TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino - is set. - in: query - required: false - type: boolean - - name: pagination.reverse - description: >- - reverse is set to true if results are to be returned in the descending order. + RPC method. - Since: cosmos-sdk 0.43 - in: query - required: false - type: boolean + Since: cosmos-sdk 0.47 tags: - - Query + - Service /cosmos/tx/v1beta1/simulate: post: summary: Simulate simulates executing a transaction for estimating gas usage. @@ -18473,10 +20221,8 @@ paths: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -18573,7 +20319,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -18583,13 +20329,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -18605,8 +20354,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -18738,7 +20485,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -18748,13 +20495,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -18770,8 +20520,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -18913,7 +20661,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -18923,13 +20671,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -18945,8 +20696,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -19234,7 +20983,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -19244,13 +20993,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -19266,8 +21018,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -19320,10 +21070,8 @@ paths: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -19445,7 +21193,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -19455,13 +21203,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -19477,8 +21228,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -19532,8 +21281,8 @@ paths: BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering - - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for - the tx to be committed in a block. + - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead, + BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards. - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for a CheckTx execution response only. @@ -19650,7 +21399,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -19660,13 +21409,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -19682,8 +21434,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -19875,7 +21625,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -19885,13 +21635,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -19907,8 +21660,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -20059,7 +21810,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -20069,13 +21820,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -20091,8 +21845,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -20240,7 +21992,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -20250,13 +22002,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -20272,8 +22027,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -20348,9 +22101,7 @@ paths: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -20437,7 +22188,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -20447,13 +22198,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -20469,8 +22223,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -20599,7 +22351,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -20609,13 +22361,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -20631,8 +22386,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -20794,7 +22547,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -20804,13 +22557,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -20826,8 +22582,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -20992,7 +22746,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -21002,13 +22756,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -21024,8 +22781,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -21162,7 +22917,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -21172,13 +22927,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -21194,8 +22952,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -21354,7 +23110,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -21364,13 +23120,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -21386,8 +23145,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -21584,7 +23341,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -21594,13 +23351,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -21616,8 +23376,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -21770,7 +23528,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -21780,13 +23538,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -21802,8 +23563,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -21990,7 +23749,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -22000,13 +23759,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -22022,8 +23784,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -22176,7 +23936,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -22186,13 +23946,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -22208,8 +23971,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -22307,7 +24068,7 @@ paths: type: object properties: info: - description: info is the GroupInfo for the group. + description: info is the GroupInfo of the group. type: object properties: id: @@ -22435,7 +24196,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -22445,13 +24206,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -22467,8 +24231,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -22510,7 +24272,7 @@ paths: - Query /cosmos/group/v1/group_members/{group_id}: get: - summary: GroupMembers queries members of a group + summary: GroupMembers queries members of a group by group id. operationId: GroupMembers responses: '200': @@ -22664,7 +24426,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -22674,13 +24436,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -22696,8 +24461,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -22788,7 +24551,7 @@ paths: - Query /cosmos/group/v1/group_policies_by_admin/{admin}: get: - summary: GroupsByAdmin queries group policies by admin address. + summary: GroupPoliciesByAdmin queries group policies by admin address. operationId: GroupPoliciesByAdmin responses: '200': @@ -22814,7 +24577,7 @@ paths: metadata: type: string description: >- - metadata is any arbitrary metadata to attached to the group policy. + metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -22902,7 +24665,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -22912,13 +24675,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -22934,8 +24700,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -23089,7 +24853,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -23099,13 +24863,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -23121,8 +24888,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -23238,7 +25003,7 @@ paths: metadata: type: string description: >- - metadata is any arbitrary metadata to attached to the group policy. + metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -23326,7 +25091,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -23336,13 +25101,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -23358,8 +25126,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -23513,7 +25279,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -23523,13 +25289,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -23545,8 +25314,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -23662,7 +25429,7 @@ paths: metadata: type: string description: >- - metadata is any arbitrary metadata to attached to the group policy. + metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -23750,7 +25517,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -23760,13 +25527,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -23782,8 +25552,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -23917,7 +25685,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -23927,13 +25695,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -23949,8 +25720,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -24151,7 +25920,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -24161,13 +25930,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -24183,8 +25955,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -24434,7 +26204,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -24444,13 +26214,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -24466,8 +26239,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -24580,7 +26351,7 @@ paths: metadata: type: string description: >- - metadata is any arbitrary metadata to attached to the proposal. + metadata is any arbitrary metadata attached to the proposal. proposers: type: array items: @@ -24650,7 +26421,7 @@ paths: description: >- voting_period_end is the timestamp before which voting must be done. - Unless a successfull MsgExec is called before (to execute a proposal whose + Unless a successful MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done @@ -24749,7 +26520,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -24759,13 +26530,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -24781,8 +26555,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -24815,6 +26587,14 @@ paths: } description: >- messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + title: + type: string + description: 'Since: cosmos-sdk 0.47' + title: title is the title of the proposal + summary: + type: string + description: 'Since: cosmos-sdk 0.47' + title: summary is a short summary of the proposal description: QueryProposalResponse is the Query/Proposal response type. default: description: An unexpected error response. @@ -24910,7 +26690,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -24920,13 +26700,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -24942,8 +26725,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -25113,7 +26894,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -25123,13 +26904,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -25145,8 +26929,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -25213,7 +26995,7 @@ paths: metadata: type: string description: >- - metadata is any arbitrary metadata to attached to the proposal. + metadata is any arbitrary metadata attached to the proposal. proposers: type: array items: @@ -25283,7 +27065,7 @@ paths: description: >- voting_period_end is the timestamp before which voting must be done. - Unless a successfull MsgExec is called before (to execute a proposal whose + Unless a successful MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done @@ -25382,7 +27164,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -25392,13 +27174,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -25414,8 +27199,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -25448,6 +27231,14 @@ paths: } description: >- messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + title: + type: string + description: 'Since: cosmos-sdk 0.47' + title: title is the title of the proposal + summary: + type: string + description: 'Since: cosmos-sdk 0.47' + title: summary is a short summary of the proposal description: >- Proposal defines a group proposal. Any member of a group can submit a proposal @@ -25571,7 +27362,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -25581,13 +27372,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -25603,8 +27397,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -25726,8 +27518,7 @@ paths: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: >- - metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -25828,7 +27619,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -25838,13 +27629,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -25860,8 +27654,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -25908,7 +27700,7 @@ paths: - Query /cosmos/group/v1/votes_by_proposal/{proposal_id}: get: - summary: VotesByProposal queries a vote by proposal. + summary: VotesByProposal queries a vote by proposal id. operationId: VotesByProposal responses: '200': @@ -25940,8 +27732,7 @@ paths: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: >- - metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -26063,7 +27854,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -26073,13 +27864,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -26095,8 +27889,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -26219,8 +28011,7 @@ paths: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: >- - metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -26341,7 +28132,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -26351,13 +28142,16 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -26373,8 +28167,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -27231,21 +29023,6 @@ paths: $ref: '#/definitions/googlerpcStatus' tags: - Query - /zeta-chain/emissions/params: - get: - summary: Parameters queries the parameters of the module. - operationId: Query_Params - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/emissionsQueryParamsResponse' - default: - description: An unexpected error response. - schema: - $ref: '#/definitions/googlerpcStatus' - tags: - - Query /zeta-chain/emissions/show_available_emissions/{address}: get: summary: Queries a list of ShowAvailableEmissions items. @@ -28293,7 +30070,7 @@ paths: description: balance is the balance of the EVM denomination. code_hash: type: string - description: code hash is the hex-formatted code bytes from the EOA. + description: code_hash is the hex-formatted code bytes from the EOA. nonce: type: string format: uint64 @@ -28394,7 +30171,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -28404,7 +30181,7 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -28429,8 +30206,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -28580,7 +30355,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -28590,7 +30365,7 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -28615,8 +30390,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -28670,7 +30443,8 @@ paths: properties: base_fee: type: string - description: BaseFeeResponse returns the EIP1559 base fee. + title: base_fee is the EIP1559 base fee + description: QueryBaseFeeResponse returns the EIP1559 base fee. default: description: An unexpected error response. schema: @@ -28765,7 +30539,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -28775,7 +30549,7 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -28800,8 +30574,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -28945,7 +30717,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -28955,7 +30727,7 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -28980,8 +30752,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -29040,7 +30810,7 @@ paths: account_number: type: string format: uint64 - title: account_number is the account numbert + title: account_number is the account number description: >- QueryCosmosAccountResponse is the response type for the Query/CosmosAccount @@ -29139,7 +30909,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -29149,7 +30919,7 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -29174,8 +30944,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -29227,7 +30995,17 @@ paths: gas: type: string format: uint64 - title: the estimated gas + title: gas returns the estimated gas + ret: + type: string + format: byte + title: >- + ret is the returned data from evm function (result or data supplied with revert + + opcode) + vm_error: + type: string + title: vm_error is the error returned by vm execution title: EstimateGasResponse defines EstimateGas response default: description: An unexpected error response. @@ -29323,7 +31101,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -29333,7 +31111,7 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -29358,8 +31136,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -29392,25 +31168,26 @@ paths: } parameters: - name: args - description: same json format as the json rpc api. + description: args uses the same json format as the json rpc api. in: query required: false type: string format: byte - name: gas_cap - description: the default gas cap to be used. + description: gas_cap defines the default gas cap to be used. in: query required: false type: string format: uint64 - name: proposer_address - description: the proposer of the requested block. + description: proposer_address of the requested block in hex format. in: query required: false type: string format: byte - name: chain_id - description: the eip155 chain id parsed from the requested block header. + description: >- + chain_id is the eip155 chain id parsed from the requested block header. in: query required: false type: string @@ -29430,7 +31207,7 @@ paths: hash: type: string title: >- - ethereum transaction hash in hex format. This hash differs from the + hash of the ethereum transaction in hex format. This hash differs from the Tendermint sha256 hash of the transaction bytes. See @@ -29447,25 +31224,28 @@ paths: type: array items: type: string - description: list of topics provided by the contract. + description: topics is a list of topics provided by the contract. data: type: string format: byte - title: supplied by the contract, usually ABI-encoded + title: >- + data which is supplied by the contract, usually ABI-encoded block_number: type: string format: uint64 - title: block in which the transaction was included + title: >- + block_number of the block in which the transaction was included tx_hash: type: string - title: hash of the transaction + title: tx_hash is the transaction hash tx_index: type: string format: uint64 - title: index of the transaction in the block + title: tx_index of the transaction in the block block_hash: type: string - title: hash of the block in which the transaction was included + title: >- + block_hash of the block in which the transaction was included index: type: string format: uint64 @@ -29473,7 +31253,7 @@ paths: removed: type: boolean description: >- - The Removed field is true if this log was reverted due to a chain + removed is true if this log was reverted due to a chain reorganisation. You must pay attention to this field if you receive logs @@ -29484,6 +31264,10 @@ paths: log event. These events are generated by the LOG opcode and stored/indexed by the node. + + NOTE: address, topics and data are consensus fields. The rest of the fields + + are derived, i.e. filled in by the nodes, but not secured by consensus. description: >- logs contains the transaction hash and the proto-compatible ethereum @@ -29492,16 +31276,17 @@ paths: type: string format: byte title: >- - returned data from evm function (result or data supplied with revert + ret is the returned data from evm function (result or data supplied with revert opcode) vm_error: type: string - title: vm error is the error returned by vm execution + title: vm_error is the error returned by vm execution gas_used: type: string format: uint64 - title: gas consumed by the transaction + title: >- + gas_used specifies how much gas was consumed by the transaction description: MsgEthereumTxResponse defines the Msg/EthereumTx response type. default: description: An unexpected error response. @@ -29597,7 +31382,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -29607,7 +31392,7 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -29632,8 +31417,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -29666,25 +31449,26 @@ paths: } parameters: - name: args - description: same json format as the json rpc api. + description: args uses the same json format as the json rpc api. in: query required: false type: string format: byte - name: gas_cap - description: the default gas cap to be used. + description: gas_cap defines the default gas cap to be used. in: query required: false type: string format: uint64 - name: proposer_address - description: the proposer of the requested block. + description: proposer_address of the requested block in hex format. in: query required: false type: string format: byte - name: chain_id - description: the eip155 chain id parsed from the requested block header. + description: >- + chain_id is the eip155 chain id parsed from the requested block header. in: query required: false type: string @@ -29708,94 +31492,104 @@ paths: evm_denom: type: string description: >- - evm denom represents the token denomination used to run the EVM state + evm_denom represents the token denomination used to run the EVM state transitions. enable_create: type: boolean title: >- - enable create toggles state transitions that use the vm.Create function + enable_create toggles state transitions that use the vm.Create function enable_call: type: boolean title: >- - enable call toggles state transitions that use the vm.Call function + enable_call toggles state transitions that use the vm.Call function extra_eips: type: array items: type: string format: int64 - title: extra eips defines the additional EIPs for the vm.Config + title: extra_eips defines the additional EIPs for the vm.Config chain_config: title: >- - chain config defines the EVM chain configuration parameters + chain_config defines the EVM chain configuration parameters type: object properties: homestead_block: type: string title: >- - Homestead switch block (nil no fork, 0 = already homestead) + homestead_block switch (nil no fork, 0 = already homestead) dao_fork_block: type: string - title: TheDAO hard-fork switch block (nil no fork) + title: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) dao_fork_support: type: boolean title: >- - Whether the nodes supports or opposes the DAO hard-fork + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork eip150_block: type: string title: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) eip150_hash: type: string title: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed) + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed) eip155_block: type: string - title: EIP155Block HF block + title: 'eip155_block: EIP155Block HF block' eip158_block: type: string - title: EIP158 HF block + title: 'eip158_block: EIP158 HF block' byzantium_block: type: string title: >- - Byzantium switch block (nil no fork, 0 = already on byzantium) + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium) constantinople_block: type: string title: >- - Constantinople switch block (nil no fork, 0 = already activated) + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated) petersburg_block: type: string - title: Petersburg switch block (nil same as Constantinople) + title: >- + petersburg_block: Petersburg switch block (nil same as Constantinople) istanbul_block: type: string title: >- - Istanbul switch block (nil no fork, 0 = already on istanbul) + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul) muir_glacier_block: type: string title: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) berlin_block: type: string title: >- - Berlin switch block (nil = no fork, 0 = already on berlin) + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) london_block: type: string title: >- - London switch block (nil = no fork, 0 = already on london) + london_block: London switch block (nil = no fork, 0 = already on london) arrow_glacier_block: type: string title: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) gray_glacier_block: type: string title: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) merge_netsplit_block: type: string title: >- - Virtual fork after The Merge to use as a network splitter + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter + shanghai_block: + type: string + title: >- + shanghai_block switch block (nil = no fork, 0 = already on shanghai) + cancun_block: + type: string + title: >- + cancun_block switch block (nil = no fork, 0 = already on cancun) description: >- ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values @@ -29803,7 +31597,7 @@ paths: allow_unprotected_txs: type: boolean description: >- - Allow unprotected transactions defines if replay-protected (i.e non EIP155 + allow_unprotected_txs defines if replay-protected (i.e non EIP155 signed) transactions can be executed on the state machine. title: Params defines the EVM module parameters @@ -29903,7 +31697,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -29913,7 +31707,7 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -29938,8 +31732,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -29985,7 +31777,7 @@ paths: value: type: string description: >- - key defines the storage state value hash associated with the given key. + value defines the storage state value hash associated with the given key. description: >- QueryStorageResponse is the response type for the Query/Storage RPC @@ -30084,7 +31876,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -30094,7 +31886,7 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -30119,8 +31911,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -30153,8 +31943,7 @@ paths: } parameters: - name: address - description: >- - / address is the ethereum hex address to query the storage state for. + description: address is the ethereum hex address to query the storage state for. in: path required: true type: string @@ -30179,6 +31968,7 @@ paths: data: type: string format: byte + title: data is the response serialized in bytes title: QueryTraceBlockResponse defines TraceBlock response default: description: An unexpected error response. @@ -30274,7 +32064,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -30284,7 +32074,7 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -30309,8 +32099,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -30343,63 +32131,67 @@ paths: } parameters: - name: trace_config.tracer - description: custom javascript tracer. + description: tracer is a custom javascript tracer. in: query required: false type: string - name: trace_config.timeout description: >- - overrides the default timeout of 5 seconds for JavaScript-based tracing + timeout overrides the default timeout of 5 seconds for JavaScript-based tracing calls. in: query required: false type: string - name: trace_config.reexec - description: number of blocks the tracer is willing to go back. + description: >- + reexec defines the number of blocks the tracer is willing to go back. in: query required: false type: string format: uint64 - name: trace_config.disable_stack - description: disable stack capture. + description: disable_stack switches stack capture. in: query required: false type: boolean - name: trace_config.disable_storage - description: disable storage capture. + description: disable_storage switches storage capture. in: query required: false type: boolean - name: trace_config.debug - description: print output during capture end. + description: debug can be used to print output during capture end. in: query required: false type: boolean - name: trace_config.limit - description: maximum length of output, but zero means unlimited. + description: >- + limit defines the maximum length of output, but zero means unlimited. in: query required: false type: integer format: int32 - name: trace_config.overrides.homestead_block - description: Homestead switch block (nil no fork, 0 = already homestead). + description: homestead_block switch (nil no fork, 0 = already homestead). in: query required: false type: string - name: trace_config.overrides.dao_fork_block - description: TheDAO hard-fork switch block (nil no fork). + description: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork). in: query required: false type: string - name: trace_config.overrides.dao_fork_support - description: Whether the nodes supports or opposes the DAO hard-fork. + description: >- + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork. in: query required: false type: boolean - name: trace_config.overrides.eip150_block description: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork). in: query @@ -30407,113 +32199,132 @@ paths: type: string - name: trace_config.overrides.eip150_hash description: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed). + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed). in: query required: false type: string - name: trace_config.overrides.eip155_block - description: EIP155Block HF block. + description: 'eip155_block: EIP155Block HF block.' in: query required: false type: string - name: trace_config.overrides.eip158_block - description: EIP158 HF block. + description: 'eip158_block: EIP158 HF block.' in: query required: false type: string - name: trace_config.overrides.byzantium_block - description: Byzantium switch block (nil no fork, 0 = already on byzantium). + description: >- + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium). in: query required: false type: string - name: trace_config.overrides.constantinople_block - description: Constantinople switch block (nil no fork, 0 = already activated). + description: >- + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.petersburg_block - description: Petersburg switch block (nil same as Constantinople). + description: >- + petersburg_block: Petersburg switch block (nil same as Constantinople). in: query required: false type: string - name: trace_config.overrides.istanbul_block - description: Istanbul switch block (nil no fork, 0 = already on istanbul). + description: >- + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul). in: query required: false type: string - name: trace_config.overrides.muir_glacier_block description: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated). + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.berlin_block - description: Berlin switch block (nil = no fork, 0 = already on berlin). + description: >- + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin). in: query required: false type: string - name: trace_config.overrides.london_block - description: London switch block (nil = no fork, 0 = already on london). + description: >- + london_block: London switch block (nil = no fork, 0 = already on london). in: query required: false type: string - name: trace_config.overrides.arrow_glacier_block description: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated). + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.gray_glacier_block description: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated). + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.merge_netsplit_block - description: Virtual fork after The Merge to use as a network splitter. + description: >- + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter. + in: query + required: false + type: string + - name: trace_config.overrides.shanghai_block + description: >- + shanghai_block switch block (nil = no fork, 0 = already on shanghai). + in: query + required: false + type: string + - name: trace_config.overrides.cancun_block + description: cancun_block switch block (nil = no fork, 0 = already on cancun). in: query required: false type: string - name: trace_config.enable_memory - description: enable memory capture. + description: enable_memory switches memory capture. in: query required: false type: boolean - name: trace_config.enable_return_data - description: enable return data capture. + description: enable_return_data switches the capture of return data. in: query required: false type: boolean - name: trace_config.tracer_json_config - description: tracer config. + description: tracer_json_config configures the tracer using a JSON string. in: query required: false type: string - name: block_number - description: block number. + description: block_number of the traced block. in: query required: false type: string format: int64 - name: block_hash - description: block hex hash. + description: block_hash (hex) of the traced block. in: query required: false type: string - name: block_time - description: block time. + description: block_time of the traced block. in: query required: false type: string format: date-time - name: proposer_address - description: the proposer of the requested block. + description: proposer_address is the address of the requested block. in: query required: false type: string format: byte - name: chain_id - description: the eip155 chain id parsed from the requested block header. + description: >- + chain_id is the eip155 chain id parsed from the requested block header. in: query required: false type: string @@ -30533,7 +32344,7 @@ paths: data: type: string format: byte - title: response serialized in bytes + title: data is the response serialized in bytes title: QueryTraceTxResponse defines TraceTx response default: description: An unexpected error response. @@ -30629,7 +32440,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -30639,7 +32450,7 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -30664,8 +32475,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -30751,82 +32560,88 @@ paths: type: string format: byte - name: msg.size - description: 'DEPRECATED: encoded storage size of the transaction.' + description: size is the encoded storage size of the transaction (DEPRECATED). in: query required: false type: number format: double - name: msg.hash - description: transaction hash in hex format. + description: hash of the transaction in hex format. in: query required: false type: string - name: msg.from - description: |- - ethereum signer address in hex format. This address value is checked + description: >- + from is the ethereum signer address in hex format. This address value is checked + against the address derived from the signature (V, R, S) using the + secp256k1 elliptic curve. in: query required: false type: string - name: trace_config.tracer - description: custom javascript tracer. + description: tracer is a custom javascript tracer. in: query required: false type: string - name: trace_config.timeout description: >- - overrides the default timeout of 5 seconds for JavaScript-based tracing + timeout overrides the default timeout of 5 seconds for JavaScript-based tracing calls. in: query required: false type: string - name: trace_config.reexec - description: number of blocks the tracer is willing to go back. + description: >- + reexec defines the number of blocks the tracer is willing to go back. in: query required: false type: string format: uint64 - name: trace_config.disable_stack - description: disable stack capture. + description: disable_stack switches stack capture. in: query required: false type: boolean - name: trace_config.disable_storage - description: disable storage capture. + description: disable_storage switches storage capture. in: query required: false type: boolean - name: trace_config.debug - description: print output during capture end. + description: debug can be used to print output during capture end. in: query required: false type: boolean - name: trace_config.limit - description: maximum length of output, but zero means unlimited. + description: >- + limit defines the maximum length of output, but zero means unlimited. in: query required: false type: integer format: int32 - name: trace_config.overrides.homestead_block - description: Homestead switch block (nil no fork, 0 = already homestead). + description: homestead_block switch (nil no fork, 0 = already homestead). in: query required: false type: string - name: trace_config.overrides.dao_fork_block - description: TheDAO hard-fork switch block (nil no fork). + description: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork). in: query required: false type: string - name: trace_config.overrides.dao_fork_support - description: Whether the nodes supports or opposes the DAO hard-fork. + description: >- + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork. in: query required: false type: boolean - name: trace_config.overrides.eip150_block description: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork). in: query @@ -30834,113 +32649,132 @@ paths: type: string - name: trace_config.overrides.eip150_hash description: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed). + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed). in: query required: false type: string - name: trace_config.overrides.eip155_block - description: EIP155Block HF block. + description: 'eip155_block: EIP155Block HF block.' in: query required: false type: string - name: trace_config.overrides.eip158_block - description: EIP158 HF block. + description: 'eip158_block: EIP158 HF block.' in: query required: false type: string - name: trace_config.overrides.byzantium_block - description: Byzantium switch block (nil no fork, 0 = already on byzantium). + description: >- + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium). in: query required: false type: string - name: trace_config.overrides.constantinople_block - description: Constantinople switch block (nil no fork, 0 = already activated). + description: >- + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.petersburg_block - description: Petersburg switch block (nil same as Constantinople). + description: >- + petersburg_block: Petersburg switch block (nil same as Constantinople). in: query required: false type: string - name: trace_config.overrides.istanbul_block - description: Istanbul switch block (nil no fork, 0 = already on istanbul). + description: >- + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul). in: query required: false type: string - name: trace_config.overrides.muir_glacier_block description: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated). + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.berlin_block - description: Berlin switch block (nil = no fork, 0 = already on berlin). + description: >- + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin). in: query required: false type: string - name: trace_config.overrides.london_block - description: London switch block (nil = no fork, 0 = already on london). + description: >- + london_block: London switch block (nil = no fork, 0 = already on london). in: query required: false type: string - name: trace_config.overrides.arrow_glacier_block description: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated). + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.gray_glacier_block description: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated). + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated). in: query required: false type: string - name: trace_config.overrides.merge_netsplit_block - description: Virtual fork after The Merge to use as a network splitter. + description: >- + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter. + in: query + required: false + type: string + - name: trace_config.overrides.shanghai_block + description: >- + shanghai_block switch block (nil = no fork, 0 = already on shanghai). + in: query + required: false + type: string + - name: trace_config.overrides.cancun_block + description: cancun_block switch block (nil = no fork, 0 = already on cancun). in: query required: false type: string - name: trace_config.enable_memory - description: enable memory capture. + description: enable_memory switches memory capture. in: query required: false type: boolean - name: trace_config.enable_return_data - description: enable return data capture. + description: enable_return_data switches the capture of return data. in: query required: false type: boolean - name: trace_config.tracer_json_config - description: tracer config. + description: tracer_json_config configures the tracer using a JSON string. in: query required: false type: string - name: block_number - description: block number of requested transaction. + description: block_number of requested transaction. in: query required: false type: string format: int64 - name: block_hash - description: block hex hash of requested transaction. + description: block_hash of requested transaction. in: query required: false type: string - name: block_time - description: block time of requested transaction. + description: block_time of requested transaction. in: query required: false type: string format: date-time - name: proposer_address - description: the proposer of the requested block. + description: proposer_address is the proposer of the requested block. in: query required: false type: string format: byte - name: chain_id - description: the eip155 chain id parsed from the requested block header. + description: >- + chain_id is the the eip155 chain id parsed from the requested block header. in: query required: false type: string @@ -31069,7 +32903,7 @@ paths: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -31079,7 +32913,7 @@ paths: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -31104,8 +32938,6 @@ paths: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -31164,6 +32996,168 @@ definitions: AddressStringToBytesResponse is the response type for AddressBytes rpc method. Since: cosmos-sdk 0.46 + cosmos.auth.v1beta1.BaseAccount: + type: object + properties: + address: + type: string + pub_key: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: >- + Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + JSON + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + account_number: + type: string + format: uint64 + sequence: + type: string + format: uint64 + description: >- + BaseAccount defines a base account type. It contains all the necessary fields + + for basic account functionality. Any custom account type should extend this + + type for additional functionality (e.g. vesting). cosmos.auth.v1beta1.Bech32PrefixResponse: type: object properties: @@ -31200,6 +33194,170 @@ definitions: description: 'Since: cosmos-sdk 0.46.2' title: >- QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method + cosmos.auth.v1beta1.QueryAccountInfoResponse: + type: object + properties: + info: + description: info is the account info which is represented by BaseAccount. + type: object + properties: + address: + type: string + pub_key: + type: object + properties: + type_url: + type: string + description: >- + A URL/resource name that uniquely identifies the type of the serialized + + protocol buffer message. This string must contain at least + + one "/" character. The last segment of the URL's path must represent + + the fully qualified name of the type (as in + + `path/google.protobuf.Duration`). The name should be in a canonical form + + (e.g., leading "." is not accepted). + + In practice, teams usually precompile into the binary all types that they + + expect it to use in the context of Any. However, for URLs which use the + + scheme `http`, `https`, or no scheme, one can optionally set up a type + + server that maps type URLs to message definitions as follows: + + * If no scheme is provided, `https` is assumed. + + * An HTTP GET on the URL must yield a [google.protobuf.Type][] + + value in binary format, or produce an error. + * Applications are allowed to cache lookup results based on the + + URL, or have them precompiled into a binary to avoid any + lookup. Therefore, binary compatibility needs to be preserved + on changes to types. (Use versioned type names to manage + breaking changes.) + + Note: this functionality is not currently available in the official + + protobuf release, and it is not used for type URLs beginning with + + type.googleapis.com. + + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + value: + type: string + format: byte + description: >- + Must be a valid serialized protocol buffer of the above specified type. + description: >- + `Any` contains an arbitrary serialized protocol buffer message along with a + + URL that describes the type of the serialized message. + + Protobuf library provides support to pack/unpack Any values in the form + + of utility functions or additional generated methods of the Any type. + + Example 1: Pack and unpack a message in C++. + + Foo foo = ...; + Any any; + any.PackFrom(foo); + ... + if (any.UnpackTo(&foo)) { + ... + } + + Example 2: Pack and unpack a message in Java. + + Foo foo = ...; + Any any = Any.pack(foo); + ... + if (any.is(Foo.class)) { + foo = any.unpack(Foo.class); + } + + Example 3: Pack and unpack a message in Python. + + foo = Foo(...) + any = Any() + any.Pack(foo) + ... + if any.Is(Foo.DESCRIPTOR): + any.Unpack(foo) + ... + + Example 4: Pack and unpack a message in Go + + foo := &pb.Foo{...} + any, err := anypb.New(foo) + if err != nil { + ... + } + ... + foo := &pb.Foo{} + if err := any.UnmarshalTo(foo); err != nil { + ... + } + + The pack methods provided by protobuf library will by default use + + 'type.googleapis.com/full.type.name' as the type URL and the unpack + + methods only use the fully qualified type name after the last '/' + + in the type URL, for example "foo.bar.com/x/y.z" will yield type + + name "y.z". + + JSON + + The JSON representation of an `Any` value uses the regular + + representation of the deserialized, embedded message, with an + + additional field `@type` which contains the type URL. Example: + + package google.profile; + message Person { + string first_name = 1; + string last_name = 2; + } + + { + "@type": "type.googleapis.com/google.profile.Person", + "firstName": , + "lastName": + } + + If the embedded message type is well-known and has a custom JSON + + representation, that representation will be embedded adding a field + + `value` which holds the custom JSON in addition to the `@type` + + field. Example (for message [google.protobuf.Duration][]): + + { + "@type": "type.googleapis.com/google.protobuf.Duration", + "value": "1.212s" + } + account_number: + type: string + format: uint64 + sequence: + type: string + format: uint64 + description: |- + QueryAccountInfoResponse is the Query/AccountInfo response type. + + Since: cosmos-sdk 0.47 cosmos.auth.v1beta1.QueryAccountResponse: type: object properties: @@ -31283,7 +33441,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -31293,13 +33451,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -31315,8 +33476,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -31434,7 +33593,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -31444,13 +33603,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -31466,8 +33628,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -31604,7 +33764,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -31614,13 +33774,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -31636,8 +33799,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -31755,7 +33916,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -31765,13 +33926,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -31787,8 +33951,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -31998,7 +34160,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -32008,7 +34170,7 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -32033,8 +34195,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -32157,7 +34317,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -32167,7 +34327,7 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -32192,8 +34352,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -32365,6 +34523,14 @@ definitions: SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable). + description: >- + Deprecated: Use of SendEnabled in params is deprecated. + + For genesis, use the newly added send_enabled field in the genesis object. + + Storage, lookup, and manipulation of this information is now in the keeper. + + As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files. default_send_enabled: type: boolean description: Params defines the parameters for the bank module. @@ -32682,11 +34848,80 @@ definitions: SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable). + description: >- + Deprecated: Use of SendEnabled in params is deprecated. + + For genesis, use the newly added send_enabled field in the genesis object. + + Storage, lookup, and manipulation of this information is now in the keeper. + + As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files. default_send_enabled: type: boolean description: Params defines the parameters for the bank module. description: >- QueryParamsResponse defines the response type for querying x/bank parameters. + cosmos.bank.v1beta1.QuerySendEnabledResponse: + type: object + properties: + send_enabled: + type: array + items: + type: object + properties: + denom: + type: string + enabled: + type: boolean + description: >- + SendEnabled maps coin denom to a send_enabled status (whether a denom is + + sendable). + pagination: + description: |- + pagination defines the pagination in the response. This field is only + populated if the denoms field in the request is empty. + type: object + properties: + next_key: + type: string + format: byte + description: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently. It will be empty if + there are no more results. + total: + type: string + format: uint64 + title: >- + total is total number of results available if PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + QuerySendEnabledResponse defines the RPC response of a SendEnable query. + + Since: cosmos-sdk 0.47 + cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse: + type: object + properties: + balance: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: >- + QuerySpendableBalanceByDenomResponse defines the gRPC response structure for + + querying an account's spendable balance for a specific denom. + + Since: cosmos-sdk 0.47 cosmos.bank.v1beta1.QuerySpendableBalancesResponse: type: object properties: @@ -32849,28 +35084,25 @@ definitions: description: >- ProofOp defines an operation used for calculating Merkle root. The data could - be arbitrary format, providing nessecary data for example neighbouring node + be arbitrary format, providing necessary data for example neighbouring node hash. - Note: This type is a duplicate of the ProofOp proto type defined in - - Tendermint. - description: |- + Note: This type is a duplicate of the ProofOp proto type defined in Tendermint. + description: >- ProofOps is Merkle proof defined by the list of ProofOps. - Note: This type is a duplicate of the ProofOps proto type defined in - Tendermint. + Note: This type is a duplicate of the ProofOps proto type defined in Tendermint. height: type: string format: int64 codespace: type: string - description: |- - ABCIQueryResponse defines the response structure for the ABCIQuery gRPC - query. + description: >- + ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query. Note: This type is a duplicate of the ResponseQuery proto type defined in + Tendermint. cosmos.base.tendermint.v1beta1.Block: type: object @@ -34432,9 +36664,7 @@ definitions: Block is tendermint type Block, with the Header proposer address field converted to bech32 string. description: >- - GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight - - RPC method. + GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. cosmos.base.tendermint.v1beta1.GetLatestBlockResponse: type: object properties: @@ -35480,9 +37710,7 @@ definitions: Block is tendermint type Block, with the Header proposer address field converted to bech32 string. description: >- - GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC - - method. + GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse: type: object properties: @@ -35576,7 +37804,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -35586,13 +37814,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -35608,8 +37839,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -35665,9 +37894,8 @@ definitions: total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise - description: |- - GetLatestValidatorSetResponse is the response type for the - Query/GetValidatorSetByHeight RPC method. + description: >- + GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. cosmos.base.tendermint.v1beta1.GetNodeInfoResponse: type: object properties: @@ -35740,9 +37968,8 @@ definitions: type: string title: 'Since: cosmos-sdk 0.43' description: VersionInfo is the type for the GetNodeInfoResponse message. - description: |- - GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC - method. + description: >- + GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. cosmos.base.tendermint.v1beta1.GetSyncingResponse: type: object properties: @@ -35843,7 +38070,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -35853,13 +38080,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -35875,8 +38105,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -35932,9 +38160,8 @@ definitions: total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise - description: |- - GetValidatorSetByHeightResponse is the response type for the - Query/GetValidatorSetByHeight RPC method. + description: >- + GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. cosmos.base.tendermint.v1beta1.Header: type: object properties: @@ -36042,13 +38269,11 @@ definitions: description: >- ProofOp defines an operation used for calculating Merkle root. The data could - be arbitrary format, providing nessecary data for example neighbouring node + be arbitrary format, providing necessary data for example neighbouring node hash. - Note: This type is a duplicate of the ProofOp proto type defined in - - Tendermint. + Note: This type is a duplicate of the ProofOp proto type defined in Tendermint. cosmos.base.tendermint.v1beta1.ProofOps: type: object properties: @@ -36068,18 +38293,15 @@ definitions: description: >- ProofOp defines an operation used for calculating Merkle root. The data could - be arbitrary format, providing nessecary data for example neighbouring node + be arbitrary format, providing necessary data for example neighbouring node hash. - Note: This type is a duplicate of the ProofOp proto type defined in - - Tendermint. - description: |- + Note: This type is a duplicate of the ProofOp proto type defined in Tendermint. + description: >- ProofOps is Merkle proof defined by the list of ProofOps. - Note: This type is a duplicate of the ProofOps proto type defined in - Tendermint. + Note: This type is a duplicate of the ProofOps proto type defined in Tendermint. cosmos.base.tendermint.v1beta1.Validator: type: object properties: @@ -36165,7 +38387,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -36175,13 +38397,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -36197,8 +38422,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -38625,8 +40848,16 @@ definitions: type: string base_proposer_reward: type: string + description: >- + Deprecated: The base_proposer_reward field is deprecated and is no longer used + + in the x/distribution module's reward mechanism. bonus_proposer_reward: type: string + description: >- + Deprecated: The bonus_proposer_reward field is deprecated and is no longer used + + in the x/distribution module's reward mechanism. withdraw_addr_enabled: type: boolean description: Params defines the set of params for the distribution module. @@ -38751,8 +40982,16 @@ definitions: type: string base_proposer_reward: type: string + description: >- + Deprecated: The base_proposer_reward field is deprecated and is no longer used + + in the x/distribution module's reward mechanism. bonus_proposer_reward: type: string + description: >- + Deprecated: The bonus_proposer_reward field is deprecated and is no longer used + + in the x/distribution module's reward mechanism. withdraw_addr_enabled: type: boolean description: QueryParamsResponse is the response type for the Query/Params RPC method. @@ -38760,7 +40999,7 @@ definitions: type: object properties: commission: - description: commission defines the commision the validator received. + description: commission defines the commission the validator received. type: object properties: commission: @@ -38781,6 +41020,44 @@ definitions: title: |- QueryValidatorCommissionResponse is the response type for the Query/ValidatorCommission RPC method + cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse: + type: object + properties: + operator_address: + type: string + description: operator_address defines the validator operator address. + self_bond_rewards: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + DecCoin defines a token with a denomination and a decimal amount. + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + description: self_bond_rewards defines the self delegations rewards. + commission: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + DecCoin defines a token with a denomination and a decimal amount. + + NOTE: The amount field is an Dec which implements the custom method + signatures required by gogoproto. + description: commission defines the commission the validator received. + description: >- + QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method. cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse: type: object properties: @@ -38987,7 +41264,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -38997,13 +41274,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -39019,8 +41299,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -39157,7 +41435,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -39167,13 +41445,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -39189,8 +41470,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -39229,8 +41508,10 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. depositor: type: string + description: depositor defines the deposit addresses from the proposals. amount: type: array items: @@ -39245,6 +41526,7 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: amount to be deposited by depositor. description: |- Deposit defines an amount deposited by an account address to an active proposal. @@ -39271,7 +41553,7 @@ definitions: description: >- Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - months. + months. description: DepositParams defines the params for deposits on governance proposals. cosmos.gov.v1beta1.Proposal: type: object @@ -39279,6 +41561,7 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. content: type: object properties: @@ -39359,7 +41642,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -39369,13 +41652,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -39391,8 +41677,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -39424,6 +41708,7 @@ definitions: "value": "1.212s" } status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -39433,20 +41718,6 @@ definitions: - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED - description: |- - ProposalStatus enumerates the valid statuses of a proposal. - - - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - period. - - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - period. - - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - passed. - - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - been rejected. - - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - failed. final_tally_result: description: |- final_tally_result is the final tally result of the proposal. When @@ -39456,18 +41727,24 @@ definitions: properties: 'yes': type: string + description: yes is the number of yes votes on a proposal. abstain: type: string + description: abstain is the number of abstain votes on a proposal. 'no': type: string + description: no is the number of no votes on a proposal. no_with_veto: type: string + description: no_with_veto is the number of no with veto votes on a proposal. submit_time: type: string format: date-time + description: submit_time is the time of proposal submission. deposit_end_time: type: string format: date-time + description: deposit_end_time is the end time for deposition. total_deposit: type: array items: @@ -39482,12 +41759,15 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time + description: voting_start_time is the starting time to vote on a proposal. voting_end_time: type: string format: date-time + description: voting_end_time is the end time of voting on a proposal. description: Proposal defines the core field members of a governance proposal. cosmos.gov.v1beta1.ProposalStatus: type: string @@ -39522,8 +41802,10 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. depositor: type: string + description: depositor defines the deposit addresses from the proposals. amount: type: array items: @@ -39539,6 +41821,7 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: amount to be deposited by depositor. description: |- Deposit defines an amount deposited by an account address to an active proposal. @@ -39555,8 +41838,10 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. depositor: type: string + description: depositor defines the deposit addresses from the proposals. amount: type: array items: @@ -39572,10 +41857,12 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- Deposit defines an amount deposited by an account address to an active proposal. + description: deposits defines the requested deposits. pagination: description: pagination defines the pagination in the response. type: object @@ -39605,7 +41892,7 @@ definitions: properties: voting_period: type: string - description: Length of the voting period. + description: Duration of the voting period. deposit_params: description: deposit_params defines the parameters related to deposit. type: object @@ -39631,7 +41918,7 @@ definitions: description: >- Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - months. + months. tally_params: description: tally_params defines the parameters related to tally. type: object @@ -39642,7 +41929,7 @@ definitions: description: >- Minimum percentage of total stake needed to vote for a result to be - considered valid. + considered valid. threshold: type: string format: byte @@ -39654,7 +41941,7 @@ definitions: description: >- Minimum value of Veto votes to Total votes ratio for proposal to be - vetoed. Default value: 1/3. + vetoed. Default value: 1/3. description: QueryParamsResponse is the response type for the Query/Params RPC method. cosmos.gov.v1beta1.QueryProposalResponse: type: object @@ -39665,6 +41952,7 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. content: type: object properties: @@ -39745,7 +42033,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -39755,13 +42043,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -39777,8 +42068,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -39810,6 +42099,7 @@ definitions: "value": "1.212s" } status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -39819,20 +42109,6 @@ definitions: - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED - description: |- - ProposalStatus enumerates the valid statuses of a proposal. - - - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - period. - - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - period. - - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - passed. - - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - been rejected. - - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - failed. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -39844,18 +42120,25 @@ definitions: properties: 'yes': type: string + description: yes is the number of yes votes on a proposal. abstain: type: string + description: abstain is the number of abstain votes on a proposal. 'no': type: string + description: no is the number of no votes on a proposal. no_with_veto: type: string + description: >- + no_with_veto is the number of no with veto votes on a proposal. submit_time: type: string format: date-time + description: submit_time is the time of proposal submission. deposit_end_time: type: string format: date-time + description: deposit_end_time is the end time for deposition. total_deposit: type: array items: @@ -39871,12 +42154,15 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time + description: voting_start_time is the starting time to vote on a proposal. voting_end_time: type: string format: date-time + description: voting_end_time is the end time of voting on a proposal. description: Proposal defines the core field members of a governance proposal. description: >- QueryProposalResponse is the response type for the Query/Proposal RPC method. @@ -39891,6 +42177,7 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. content: type: object properties: @@ -39971,7 +42258,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -39981,13 +42268,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -40003,8 +42293,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -40036,6 +42324,7 @@ definitions: "value": "1.212s" } status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -40045,20 +42334,6 @@ definitions: - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED - description: |- - ProposalStatus enumerates the valid statuses of a proposal. - - - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - period. - - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - period. - - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - passed. - - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - been rejected. - - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - failed. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -40070,18 +42345,25 @@ definitions: properties: 'yes': type: string + description: yes is the number of yes votes on a proposal. abstain: type: string + description: abstain is the number of abstain votes on a proposal. 'no': type: string + description: no is the number of no votes on a proposal. no_with_veto: type: string + description: >- + no_with_veto is the number of no with veto votes on a proposal. submit_time: type: string format: date-time + description: submit_time is the time of proposal submission. deposit_end_time: type: string format: date-time + description: deposit_end_time is the end time for deposition. total_deposit: type: array items: @@ -40097,13 +42379,17 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time + description: voting_start_time is the starting time to vote on a proposal. voting_end_time: type: string format: date-time + description: voting_end_time is the end time of voting on a proposal. description: Proposal defines the core field members of a governance proposal. + description: proposals defines all the requested governance proposals. pagination: description: pagination defines the pagination in the response. type: object @@ -40134,12 +42420,16 @@ definitions: properties: 'yes': type: string + description: yes is the number of yes votes on a proposal. abstain: type: string + description: abstain is the number of abstain votes on a proposal. 'no': type: string + description: no is the number of no votes on a proposal. no_with_veto: type: string + description: no_with_veto is the number of no with veto votes on a proposal. description: >- QueryTallyResultResponse is the response type for the Query/Tally RPC method. cosmos.gov.v1beta1.QueryVoteResponse: @@ -40151,8 +42441,10 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. voter: type: string + description: voter is the voter address of the proposal. option: description: >- Deprecated: Prefer to use `options` instead. This field is set in queries @@ -40174,6 +42466,8 @@ definitions: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -40182,21 +42476,17 @@ definitions: - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. weight: type: string + description: weight is the vote weight associated with the vote option. description: |- WeightedVoteOption defines a unit of vote for vote split. Since: cosmos-sdk 0.43 - title: 'Since: cosmos-sdk 0.43' + description: |- + options is the weighted vote options. + + Since: cosmos-sdk 0.43 description: |- Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. @@ -40212,8 +42502,10 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. voter: type: string + description: voter is the voter address of the proposal. option: description: >- Deprecated: Prefer to use `options` instead. This field is set in queries @@ -40235,6 +42527,8 @@ definitions: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -40243,25 +42537,21 @@ definitions: - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. weight: type: string + description: weight is the vote weight associated with the vote option. description: |- WeightedVoteOption defines a unit of vote for vote split. Since: cosmos-sdk 0.43 - title: 'Since: cosmos-sdk 0.43' + description: |- + options is the weighted vote options. + + Since: cosmos-sdk 0.43 description: |- Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. - description: votes defined the queried votes. + description: votes defines the queried votes. pagination: description: pagination defines the pagination in the response. type: object @@ -40289,7 +42579,7 @@ definitions: format: byte description: |- Minimum percentage of total stake needed to vote for a result to be - considered valid. + considered valid. threshold: type: string format: byte @@ -40300,19 +42590,23 @@ definitions: format: byte description: |- Minimum value of Veto votes to Total votes ratio for proposal to be - vetoed. Default value: 1/3. + vetoed. Default value: 1/3. description: TallyParams defines the params for tallying votes on governance proposals. cosmos.gov.v1beta1.TallyResult: type: object properties: 'yes': type: string + description: yes is the number of yes votes on a proposal. abstain: type: string + description: abstain is the number of abstain votes on a proposal. 'no': type: string + description: no is the number of no votes on a proposal. no_with_veto: type: string + description: no_with_veto is the number of no with veto votes on a proposal. description: TallyResult defines a standard tally for a governance proposal. cosmos.gov.v1beta1.Vote: type: object @@ -40320,8 +42614,10 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. voter: type: string + description: voter is the voter address of the proposal. option: description: >- Deprecated: Prefer to use `options` instead. This field is set in queries @@ -40343,6 +42639,8 @@ definitions: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -40351,21 +42649,17 @@ definitions: - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. weight: type: string + description: weight is the vote weight associated with the vote option. description: |- WeightedVoteOption defines a unit of vote for vote split. Since: cosmos-sdk 0.43 - title: 'Since: cosmos-sdk 0.43' + description: |- + options is the weighted vote options. + + Since: cosmos-sdk 0.43 description: |- Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. @@ -40391,12 +42685,14 @@ definitions: properties: voting_period: type: string - description: Length of the voting period. + description: Duration of the voting period. description: VotingParams defines the params for voting on governance proposals. cosmos.gov.v1beta1.WeightedVoteOption: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -40405,16 +42701,9 @@ definitions: - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. weight: type: string + description: weight is the vote weight associated with the vote option. description: |- WeightedVoteOption defines a unit of vote for vote split. @@ -40425,8 +42714,10 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. depositor: type: string + description: depositor defines the deposit addresses from the proposals. amount: type: array items: @@ -40441,6 +42732,7 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: amount to be deposited by depositor. description: |- Deposit defines an amount deposited by an account address to an active proposal. @@ -40467,14 +42759,64 @@ definitions: description: >- Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - months. + months. description: DepositParams defines the params for deposits on governance proposals. + cosmos.gov.v1.Params: + type: object + properties: + min_deposit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + description: Minimum deposit for a proposal to enter voting period. + max_deposit_period: + type: string + description: >- + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + + months. + voting_period: + type: string + description: Duration of the voting period. + quorum: + type: string + description: |- + Minimum percentage of total stake needed to vote for a result to be + considered valid. + threshold: + type: string + description: >- + Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + veto_threshold: + type: string + description: |- + Minimum value of Veto votes to Total votes ratio for proposal to be + vetoed. Default value: 1/3. + min_initial_deposit_ratio: + type: string + description: >- + The ratio representing the proportion of the deposit value that must be paid at proposal submission. + description: |- + Params defines the parameters for the x/gov module. + + Since: cosmos-sdk 0.47 cosmos.gov.v1.Proposal: type: object properties: id: type: string format: uint64 + description: id defines the unique id of the proposal. messages: type: array items: @@ -40557,7 +42899,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -40567,13 +42909,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -40589,8 +42934,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -40621,7 +42964,10 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + description: >- + messages are the arbitrary messages to be executed if the proposal passes. status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -40631,20 +42977,6 @@ definitions: - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED - description: |- - ProposalStatus enumerates the valid statuses of a proposal. - - - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - period. - - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - period. - - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - passed. - - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - been rejected. - - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - failed. final_tally_result: description: |- final_tally_result is the final tally result of the proposal. When @@ -40654,18 +42986,25 @@ definitions: properties: yes_count: type: string + description: yes_count is the number of yes votes on a proposal. abstain_count: type: string + description: abstain_count is the number of abstain votes on a proposal. no_count: type: string + description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string + description: >- + no_with_veto_count is the number of no with veto votes on a proposal. submit_time: type: string format: date-time + description: submit_time is the time of proposal submission. deposit_end_time: type: string format: date-time + description: deposit_end_time is the end time for deposition. total_deposit: type: array items: @@ -40680,15 +43019,30 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time + description: voting_start_time is the starting time to vote on a proposal. voting_end_time: type: string format: date-time + description: voting_end_time is the end time of voting on a proposal. metadata: type: string description: metadata is any arbitrary metadata attached to the proposal. + title: + type: string + description: 'Since: cosmos-sdk 0.47' + title: title is the title of the proposal + summary: + type: string + description: 'Since: cosmos-sdk 0.47' + title: summary is a short summary of the proposal + proposer: + type: string + description: 'Since: cosmos-sdk 0.47' + title: Proposer is the address of the proposal sumbitter description: Proposal defines the core field members of a governance proposal. cosmos.gov.v1.ProposalStatus: type: string @@ -40723,8 +43077,10 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. depositor: type: string + description: depositor defines the deposit addresses from the proposals. amount: type: array items: @@ -40740,6 +43096,7 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: amount to be deposited by depositor. description: |- Deposit defines an amount deposited by an account address to an active proposal. @@ -40756,8 +43113,10 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. depositor: type: string + description: depositor defines the deposit addresses from the proposals. amount: type: array items: @@ -40773,10 +43132,12 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: amount to be deposited by depositor. description: >- Deposit defines an amount deposited by an account address to an active proposal. + description: deposits defines the requested deposits. pagination: description: pagination defines the pagination in the response. type: object @@ -40801,14 +43162,18 @@ definitions: type: object properties: voting_params: - description: voting_params defines the parameters related to voting. + description: |- + Deprecated: Prefer to use `params` instead. + voting_params defines the parameters related to voting. type: object properties: voting_period: type: string - description: Length of the voting period. + description: Duration of the voting period. deposit_params: - description: deposit_params defines the parameters related to deposit. + description: |- + Deprecated: Prefer to use `params` instead. + deposit_params defines the parameters related to deposit. type: object properties: min_deposit: @@ -40832,9 +43197,11 @@ definitions: description: >- Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - months. + months. tally_params: - description: tally_params defines the parameters related to tally. + description: |- + Deprecated: Prefer to use `params` instead. + tally_params defines the parameters related to tally. type: object properties: quorum: @@ -40842,6 +43209,54 @@ definitions: description: >- Minimum percentage of total stake needed to vote for a result to be + considered valid. + threshold: + type: string + description: >- + Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. + veto_threshold: + type: string + description: >- + Minimum value of Veto votes to Total votes ratio for proposal to be + + vetoed. Default value: 1/3. + params: + description: |- + params defines all the paramaters of x/gov module. + + Since: cosmos-sdk 0.47 + type: object + properties: + min_deposit: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + + signatures required by gogoproto. + description: Minimum deposit for a proposal to enter voting period. + max_deposit_period: + type: string + description: >- + Maximum period for Atom holders to deposit on a proposal. Initial value: 2 + + months. + voting_period: + type: string + description: Duration of the voting period. + quorum: + type: string + description: >- + Minimum percentage of total stake needed to vote for a result to be + considered valid. threshold: type: string @@ -40853,6 +43268,10 @@ definitions: Minimum value of Veto votes to Total votes ratio for proposal to be vetoed. Default value: 1/3. + min_initial_deposit_ratio: + type: string + description: >- + The ratio representing the proportion of the deposit value that must be paid at proposal submission. description: QueryParamsResponse is the response type for the Query/Params RPC method. cosmos.gov.v1.QueryProposalResponse: type: object @@ -40863,6 +43282,7 @@ definitions: id: type: string format: uint64 + description: id defines the unique id of the proposal. messages: type: array items: @@ -40945,7 +43365,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -40955,13 +43375,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -40977,8 +43400,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -41009,7 +43430,10 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + description: >- + messages are the arbitrary messages to be executed if the proposal passes. status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -41019,20 +43443,6 @@ definitions: - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED - description: |- - ProposalStatus enumerates the valid statuses of a proposal. - - - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - period. - - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - period. - - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - passed. - - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - been rejected. - - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - failed. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -41044,18 +43454,25 @@ definitions: properties: yes_count: type: string + description: yes_count is the number of yes votes on a proposal. abstain_count: type: string + description: abstain_count is the number of abstain votes on a proposal. no_count: type: string + description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string + description: >- + no_with_veto_count is the number of no with veto votes on a proposal. submit_time: type: string format: date-time + description: submit_time is the time of proposal submission. deposit_end_time: type: string format: date-time + description: deposit_end_time is the end time for deposition. total_deposit: type: array items: @@ -41071,15 +43488,30 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time + description: voting_start_time is the starting time to vote on a proposal. voting_end_time: type: string format: date-time + description: voting_end_time is the end time of voting on a proposal. metadata: type: string description: metadata is any arbitrary metadata attached to the proposal. + title: + type: string + description: 'Since: cosmos-sdk 0.47' + title: title is the title of the proposal + summary: + type: string + description: 'Since: cosmos-sdk 0.47' + title: summary is a short summary of the proposal + proposer: + type: string + description: 'Since: cosmos-sdk 0.47' + title: Proposer is the address of the proposal sumbitter description: Proposal defines the core field members of a governance proposal. description: >- QueryProposalResponse is the response type for the Query/Proposal RPC method. @@ -41094,6 +43526,7 @@ definitions: id: type: string format: uint64 + description: id defines the unique id of the proposal. messages: type: array items: @@ -41176,7 +43609,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -41186,13 +43619,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -41208,8 +43644,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -41240,7 +43674,10 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } + description: >- + messages are the arbitrary messages to be executed if the proposal passes. status: + description: status defines the proposal status. type: string enum: - PROPOSAL_STATUS_UNSPECIFIED @@ -41250,20 +43687,6 @@ definitions: - PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_FAILED default: PROPOSAL_STATUS_UNSPECIFIED - description: |- - ProposalStatus enumerates the valid statuses of a proposal. - - - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. - - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - period. - - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - period. - - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - passed. - - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - been rejected. - - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - failed. final_tally_result: description: >- final_tally_result is the final tally result of the proposal. When @@ -41275,18 +43698,25 @@ definitions: properties: yes_count: type: string + description: yes_count is the number of yes votes on a proposal. abstain_count: type: string + description: abstain_count is the number of abstain votes on a proposal. no_count: type: string + description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string + description: >- + no_with_veto_count is the number of no with veto votes on a proposal. submit_time: type: string format: date-time + description: submit_time is the time of proposal submission. deposit_end_time: type: string format: date-time + description: deposit_end_time is the end time for deposition. total_deposit: type: array items: @@ -41302,16 +43732,32 @@ definitions: NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. + description: total_deposit is the total deposit on the proposal. voting_start_time: type: string format: date-time + description: voting_start_time is the starting time to vote on a proposal. voting_end_time: type: string format: date-time + description: voting_end_time is the end time of voting on a proposal. metadata: type: string description: metadata is any arbitrary metadata attached to the proposal. + title: + type: string + description: 'Since: cosmos-sdk 0.47' + title: title is the title of the proposal + summary: + type: string + description: 'Since: cosmos-sdk 0.47' + title: summary is a short summary of the proposal + proposer: + type: string + description: 'Since: cosmos-sdk 0.47' + title: Proposer is the address of the proposal sumbitter description: Proposal defines the core field members of a governance proposal. + description: proposals defines all the requested governance proposals. pagination: description: pagination defines the pagination in the response. type: object @@ -41342,12 +43788,17 @@ definitions: properties: yes_count: type: string + description: yes_count is the number of yes votes on a proposal. abstain_count: type: string + description: abstain_count is the number of abstain votes on a proposal. no_count: type: string + description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string + description: >- + no_with_veto_count is the number of no with veto votes on a proposal. description: >- QueryTallyResultResponse is the response type for the Query/Tally RPC method. cosmos.gov.v1.QueryVoteResponse: @@ -41359,14 +43810,18 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. voter: type: string + description: voter is the voter address of the proposal. options: type: array items: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -41375,17 +43830,11 @@ definitions: - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. weight: type: string + description: weight is the vote weight associated with the vote option. description: WeightedVoteOption defines a unit of vote for vote split. + description: options is the weighted vote options. metadata: type: string description: metadata is any arbitrary metadata to attached to the vote. @@ -41404,14 +43853,18 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. voter: type: string + description: voter is the voter address of the proposal. options: type: array items: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -41420,24 +43873,18 @@ definitions: - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. weight: type: string + description: weight is the vote weight associated with the vote option. description: WeightedVoteOption defines a unit of vote for vote split. + description: options is the weighted vote options. metadata: type: string description: metadata is any arbitrary metadata to attached to the vote. description: |- Vote defines a vote on a governance proposal. A Vote consists of a proposal ID, the voter, and the vote option. - description: votes defined the queried votes. + description: votes defines the queried votes. pagination: description: pagination defines the pagination in the response. type: object @@ -41464,7 +43911,7 @@ definitions: type: string description: |- Minimum percentage of total stake needed to vote for a result to be - considered valid. + considered valid. threshold: type: string description: >- @@ -41473,19 +43920,23 @@ definitions: type: string description: |- Minimum value of Veto votes to Total votes ratio for proposal to be - vetoed. Default value: 1/3. + vetoed. Default value: 1/3. description: TallyParams defines the params for tallying votes on governance proposals. cosmos.gov.v1.TallyResult: type: object properties: yes_count: type: string + description: yes_count is the number of yes votes on a proposal. abstain_count: type: string + description: abstain_count is the number of abstain votes on a proposal. no_count: type: string + description: no_count is the number of no votes on a proposal. no_with_veto_count: type: string + description: no_with_veto_count is the number of no with veto votes on a proposal. description: TallyResult defines a standard tally for a governance proposal. cosmos.gov.v1.Vote: type: object @@ -41493,14 +43944,18 @@ definitions: proposal_id: type: string format: uint64 + description: proposal_id defines the unique id of the proposal. voter: type: string + description: voter is the voter address of the proposal. options: type: array items: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -41509,17 +43964,11 @@ definitions: - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. weight: type: string + description: weight is the vote weight associated with the vote option. description: WeightedVoteOption defines a unit of vote for vote split. + description: options is the weighted vote options. metadata: type: string description: metadata is any arbitrary metadata to attached to the vote. @@ -41548,12 +43997,14 @@ definitions: properties: voting_period: type: string - description: Length of the voting period. + description: Duration of the voting period. description: VotingParams defines the params for voting on governance proposals. cosmos.gov.v1.WeightedVoteOption: type: object properties: option: + description: >- + option defines the valid vote options, it must not contain duplicate vote options. type: string enum: - VOTE_OPTION_UNSPECIFIED @@ -41562,16 +44013,9 @@ definitions: - VOTE_OPTION_NO - VOTE_OPTION_NO_WITH_VETO default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. weight: type: string + description: weight is the vote weight associated with the vote option. description: WeightedVoteOption defines a unit of vote for vote split. cosmos.mint.v1beta1.Params: type: object @@ -41595,7 +44039,7 @@ definitions: type: string format: uint64 title: expected blocks per year - description: Params holds parameters for the mint module. + description: Params defines the parameters for the x/mint module. cosmos.mint.v1beta1.QueryAnnualProvisionsResponse: type: object properties: @@ -42205,7 +44649,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -42215,13 +44659,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -42237,8 +44684,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -42352,6 +44797,18 @@ definitions: min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: + type: array + items: + type: string + format: uint64 + title: >- + list of unbonding ids, each uniquely identifing an unbonding of this validator description: >- Validator defines a validator, together with the total amount of the @@ -42402,7 +44859,7 @@ definitions: type: string title: >- min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators - description: Params defines the parameters for the staking module. + description: Params defines the parameters for the x/staking module. cosmos.staking.v1beta1.Pool: type: object properties: @@ -42562,6 +45019,15 @@ definitions: balance: type: string description: balance defines the tokens to receive at completion. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- UnbondingDelegationEntry defines an unbonding object with relevant metadata. description: entries are the unbonding delegation entries. @@ -42680,7 +45146,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -42690,13 +45156,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -42712,8 +45181,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -42826,6 +45293,18 @@ definitions: min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: + type: array + items: + type: string + format: uint64 + title: >- + list of unbonding ids, each uniquely identifing an unbonding of this validator description: >- Validator defines a validator, together with the total amount of the @@ -42937,7 +45416,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -42947,13 +45426,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -42969,8 +45451,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -43084,6 +45564,18 @@ definitions: min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: + type: array + items: + type: string + format: uint64 + title: >- + list of unbonding ids, each uniquely identifing an unbonding of this validator description: >- Validator defines a validator, together with the total amount of the @@ -43293,7 +45785,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -43303,13 +45795,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -43325,8 +45820,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -43440,6 +45933,18 @@ definitions: min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: + type: array + items: + type: string + format: uint64 + title: >- + list of unbonding ids, each uniquely identifing an unbonding of this validator description: >- Validator defines a validator, together with the total amount of the @@ -43549,6 +46054,15 @@ definitions: type: string description: >- shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- RedelegationEntry defines a redelegation object with relevant metadata. description: entries are the redelegation entries. @@ -43582,6 +46096,15 @@ definitions: type: string description: >- shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- RedelegationEntry defines a redelegation object with relevant metadata. balance: @@ -43653,6 +46176,15 @@ definitions: balance: type: string description: balance defines the tokens to receive at completion. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- UnbondingDelegationEntry defines an unbonding object with relevant metadata. description: entries are the unbonding delegation entries. @@ -43818,7 +46350,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -43828,13 +46360,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -43850,8 +46385,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -43964,6 +46497,18 @@ definitions: min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: + type: array + items: + type: string + format: uint64 + title: >- + list of unbonding ids, each uniquely identifing an unbonding of this validator description: >- Validator defines a validator, together with the total amount of the @@ -44018,6 +46563,15 @@ definitions: balance: type: string description: balance defines the tokens to receive at completion. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- UnbondingDelegationEntry defines an unbonding object with relevant metadata. description: entries are the unbonding delegation entries. @@ -44138,7 +46692,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -44148,13 +46702,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -44170,8 +46727,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -44285,6 +46840,18 @@ definitions: min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: + type: array + items: + type: string + format: uint64 + title: >- + list of unbonding ids, each uniquely identifing an unbonding of this validator description: >- Validator defines a validator, together with the total amount of the @@ -44359,6 +46926,15 @@ definitions: type: string description: >- shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- RedelegationEntry defines a redelegation object with relevant metadata. description: entries are the redelegation entries. @@ -44384,6 +46960,15 @@ definitions: type: string description: >- shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: RedelegationEntry defines a redelegation object with relevant metadata. cosmos.staking.v1beta1.RedelegationEntryResponse: type: object @@ -44408,6 +46993,15 @@ definitions: type: string description: >- shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- RedelegationEntry defines a redelegation object with relevant metadata. balance: @@ -44458,6 +47052,15 @@ definitions: type: string description: >- shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- RedelegationEntry defines a redelegation object with relevant metadata. description: entries are the redelegation entries. @@ -44491,6 +47094,15 @@ definitions: type: string description: >- shares_dst is the amount of destination-validator shares created by redelegation. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- RedelegationEntry defines a redelegation object with relevant metadata. balance: @@ -44536,6 +47148,15 @@ definitions: balance: type: string description: balance defines the tokens to receive at completion. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- UnbondingDelegationEntry defines an unbonding object with relevant metadata. description: entries are the unbonding delegation entries. @@ -44560,6 +47181,15 @@ definitions: balance: type: string description: balance defines the tokens to receive at completion. + unbonding_id: + type: string + format: uint64 + title: Incrementing id that uniquely identifies this entry + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + Strictly positive if this entry's unbonding has been stopped by external modules description: >- UnbondingDelegationEntry defines an unbonding object with relevant metadata. cosmos.staking.v1beta1.Validator: @@ -44649,7 +47279,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -44659,13 +47289,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -44681,8 +47314,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -44794,6 +47425,18 @@ definitions: min_self_delegation is the validator's self declared minimum self delegation. Since: cosmos-sdk 0.46 + unbonding_on_hold_ref_count: + type: string + format: int64 + title: >- + strictly positive if this validator's unbonding has been stopped by external modules + unbonding_ids: + type: array + items: + type: string + format: uint64 + title: >- + list of unbonding ids, each uniquely identifing an unbonding of this validator description: >- Validator defines a validator, together with the total amount of the @@ -44899,10 +47542,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -44999,7 +47640,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -45009,13 +47650,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -45031,8 +47675,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -45246,7 +47888,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -45256,13 +47898,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -45278,8 +47923,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -45332,10 +47975,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -45529,8 +48170,8 @@ definitions: BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering - - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for - the tx to be committed in a block. + - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead, + BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards. - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for a CheckTx execution response only. @@ -45556,8 +48197,8 @@ definitions: BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering - - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for - the tx to be committed in a block. + - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead, + BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards. - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for a CheckTx execution response only. @@ -45728,7 +48369,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -45738,13 +48379,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -45760,8 +48404,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -45814,10 +48456,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -46610,7 +49250,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -46620,13 +49260,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -46642,8 +49285,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -46696,10 +49337,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -46893,7 +49532,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -46903,13 +49542,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -46925,8 +49567,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -46979,10 +49619,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -47304,7 +49942,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -47314,13 +49952,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -47336,8 +49977,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -47452,10 +50091,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: >- @@ -47552,7 +50189,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -47562,13 +50199,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -47584,8 +50224,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -47737,7 +50375,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -47747,13 +50385,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -47769,8 +50410,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -47911,7 +50550,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -47921,13 +50560,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -47943,8 +50585,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -48063,7 +50703,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -48073,13 +50713,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -48095,8 +50738,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -48236,7 +50877,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -48246,13 +50887,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -48268,8 +50912,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -48410,7 +51052,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -48420,13 +51062,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -48442,8 +51087,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -48562,7 +51205,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -48572,13 +51215,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -48594,8 +51240,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -48633,6 +51277,94 @@ definitions: and can't be handled, they will be ignored description: TxBody is the body of a transaction that all signers sign over. + cosmos.tx.v1beta1.TxDecodeAminoRequest: + type: object + properties: + amino_binary: + type: string + format: byte + description: |- + TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino + RPC method. + + Since: cosmos-sdk 0.47 + cosmos.tx.v1beta1.TxDecodeAminoResponse: + type: object + properties: + amino_json: + type: string + description: |- + TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino + RPC method. + + Since: cosmos-sdk 0.47 + cosmos.tx.v1beta1.TxDecodeRequest: + type: object + properties: + tx_bytes: + type: string + format: byte + description: tx_bytes is the raw transaction. + description: |- + TxDecodeRequest is the request type for the Service.TxDecode + RPC method. + + Since: cosmos-sdk 0.47 + cosmos.tx.v1beta1.TxDecodeResponse: + type: object + properties: + tx: + $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + description: tx is the decoded transaction. + description: |- + TxDecodeResponse is the response type for the + Service.TxDecode method. + + Since: cosmos-sdk 0.47 + cosmos.tx.v1beta1.TxEncodeAminoRequest: + type: object + properties: + amino_json: + type: string + description: |- + TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino + RPC method. + + Since: cosmos-sdk 0.47 + cosmos.tx.v1beta1.TxEncodeAminoResponse: + type: object + properties: + amino_binary: + type: string + format: byte + description: |- + TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino + RPC method. + + Since: cosmos-sdk 0.47 + cosmos.tx.v1beta1.TxEncodeRequest: + type: object + properties: + tx: + $ref: '#/definitions/cosmos.tx.v1beta1.Tx' + description: tx is the transaction to encode. + description: |- + TxEncodeRequest is the request type for the Service.TxEncode + RPC method. + + Since: cosmos-sdk 0.47 + cosmos.tx.v1beta1.TxEncodeResponse: + type: object + properties: + tx_bytes: + type: string + format: byte + description: tx_bytes is the encoded transaction bytes. + description: |- + TxEncodeResponse is the response type for the + Service.TxEncode method. + + Since: cosmos-sdk 0.47 tendermint.abci.Event: type: object properties: @@ -48645,10 +51377,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: EventAttribute is a single key-value pair, associated with an event. @@ -48663,10 +51393,8 @@ definitions: properties: key: type: string - format: byte value: type: string - format: byte index: type: boolean description: EventAttribute is a single key-value pair, associated with an event. @@ -48715,9 +51443,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: |- @@ -48803,7 +51529,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -48813,13 +51539,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -48835,8 +51564,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -48922,9 +51649,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -49011,7 +51736,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -49021,13 +51746,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -49043,8 +51771,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -49200,7 +51926,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -49210,13 +51936,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -49232,8 +51961,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -49363,7 +52090,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -49373,13 +52100,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -49395,8 +52125,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -49526,7 +52254,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -49536,13 +52264,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -49558,8 +52289,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -49710,7 +52439,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -49720,13 +52449,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -49742,8 +52474,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -49890,7 +52620,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -49900,13 +52630,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -49922,8 +52655,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -50411,7 +53142,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -50421,13 +53152,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -50443,8 +53177,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -50573,7 +53305,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -50583,13 +53315,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -50605,8 +53340,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -50645,6 +53378,7 @@ definitions: amount: type: string format: uint64 + title: amount is the number of all NFTs of a given class owned by the owner title: QueryBalanceResponse is the response type for the Query/Balance RPC method cosmos.nft.v1beta1.QueryClassResponse: type: object @@ -50753,7 +53487,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -50763,13 +53497,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -50785,8 +53522,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -50930,7 +53665,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -50940,13 +53675,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -50962,8 +53700,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -50996,7 +53732,9 @@ definitions: } title: data is the app specific metadata of the NFT class. Optional description: Class defines the class of the nft type. + description: class defines the class of the nft type. pagination: + description: pagination defines the pagination in the response. type: object properties: next_key: @@ -51013,14 +53751,6 @@ definitions: total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise - description: |- - PageResponse is to be embedded in gRPC response messages where the - corresponding request message has used PageRequest. - - message SomeResponse { - repeated Bar results = 1; - PageResponse page = 2; - } title: QueryClassesResponse is the response type for the Query/Classes RPC method cosmos.nft.v1beta1.QueryNFTResponse: type: object @@ -51121,7 +53851,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -51131,13 +53861,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -51153,8 +53886,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -51187,6 +53918,7 @@ definitions: } title: data is an app specific data of the NFT. Optional description: NFT defines the NFT. + title: owner is the owner address of the nft title: QueryNFTResponse is the response type for the Query/NFT RPC method cosmos.nft.v1beta1.QueryNFTsResponse: type: object @@ -51289,7 +54021,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -51299,13 +54031,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -51321,8 +54056,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -51355,7 +54088,9 @@ definitions: } title: data is an app specific data of the NFT. Optional description: NFT defines the NFT. + title: NFT defines the NFT pagination: + description: pagination defines the pagination in the response. type: object properties: next_key: @@ -51372,20 +54107,13 @@ definitions: total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise - description: |- - PageResponse is to be embedded in gRPC response messages where the - corresponding request message has used PageRequest. - - message SomeResponse { - repeated Bar results = 1; - PageResponse page = 2; - } title: QueryNFTsResponse is the response type for the Query/NFTs RPC methods cosmos.nft.v1beta1.QueryOwnerResponse: type: object properties: owner: type: string + title: owner is the owner address of the nft title: QueryOwnerResponse is the response type for the Query/Owner RPC method cosmos.nft.v1beta1.QuerySupplyResponse: type: object @@ -51393,6 +54121,7 @@ definitions: amount: type: string format: uint64 + title: amount is the number of all NFTs from the given class title: QuerySupplyResponse is the response type for the Query/Supply RPC method cosmos.group.v1.GroupInfo: type: object @@ -51467,7 +54196,7 @@ definitions: description: admin is the account address of the group admin. metadata: type: string - description: metadata is any arbitrary metadata to attached to the group policy. + description: metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -51555,7 +54284,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -51565,13 +54294,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -51587,8 +54319,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -51656,7 +54386,7 @@ definitions: description: group_policy_address is the account address of group policy. metadata: type: string - description: metadata is any arbitrary metadata to attached to the proposal. + description: metadata is any arbitrary metadata attached to the proposal. proposers: type: array items: @@ -51724,7 +54454,7 @@ definitions: description: >- voting_period_end is the timestamp before which voting must be done. - Unless a successfull MsgExec is called before (to execute a proposal whose + Unless a successful MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done @@ -51823,7 +54553,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -51833,13 +54563,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -51855,8 +54588,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -51889,6 +54620,14 @@ definitions: } description: >- messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + title: + type: string + description: 'Since: cosmos-sdk 0.47' + title: title is the title of the proposal + summary: + type: string + description: 'Since: cosmos-sdk 0.47' + title: summary is a short summary of the proposal description: >- Proposal defines a group proposal. Any member of a group can submit a proposal @@ -51939,7 +54678,7 @@ definitions: type: object properties: info: - description: info is the GroupInfo for the group. + description: info is the GroupInfo of the group. type: object properties: id: @@ -52043,8 +54782,7 @@ definitions: description: admin is the account address of the group admin. metadata: type: string - description: >- - metadata is any arbitrary metadata to attached to the group policy. + description: metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -52132,7 +54870,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -52142,13 +54880,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -52164,8 +54905,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -52244,8 +54983,7 @@ definitions: description: admin is the account address of the group admin. metadata: type: string - description: >- - metadata is any arbitrary metadata to attached to the group policy. + description: metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -52333,7 +55071,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -52343,13 +55081,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -52365,8 +55106,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -52444,8 +55183,7 @@ definitions: description: admin is the account address of the group admin. metadata: type: string - description: >- - metadata is any arbitrary metadata to attached to the group policy. + description: metadata is any arbitrary metadata attached to the group policy. version: type: string format: uint64 @@ -52533,7 +55271,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -52543,13 +55281,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -52565,8 +55306,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -52738,7 +55477,7 @@ definitions: description: group_policy_address is the account address of group policy. metadata: type: string - description: metadata is any arbitrary metadata to attached to the proposal. + description: metadata is any arbitrary metadata attached to the proposal. proposers: type: array items: @@ -52808,7 +55547,7 @@ definitions: description: >- voting_period_end is the timestamp before which voting must be done. - Unless a successfull MsgExec is called before (to execute a proposal whose + Unless a successful MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done @@ -52907,7 +55646,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -52917,13 +55656,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -52939,8 +55681,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -52973,6 +55713,14 @@ definitions: } description: >- messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + title: + type: string + description: 'Since: cosmos-sdk 0.47' + title: title is the title of the proposal + summary: + type: string + description: 'Since: cosmos-sdk 0.47' + title: summary is a short summary of the proposal description: QueryProposalResponse is the Query/Proposal response type. cosmos.group.v1.QueryProposalsByGroupPolicyResponse: type: object @@ -52991,7 +55739,7 @@ definitions: description: group_policy_address is the account address of group policy. metadata: type: string - description: metadata is any arbitrary metadata to attached to the proposal. + description: metadata is any arbitrary metadata attached to the proposal. proposers: type: array items: @@ -53061,7 +55809,7 @@ definitions: description: >- voting_period_end is the timestamp before which voting must be done. - Unless a successfull MsgExec is called before (to execute a proposal whose + Unless a successful MsgExec is called before (to execute a proposal whose tally is successful before the voting period ends), tallying will be done @@ -53160,7 +55908,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -53170,13 +55918,16 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -53192,8 +55943,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -53226,6 +55975,14 @@ definitions: } description: >- messages is a list of `sdk.Msg`s that will be executed if the proposal passes. + title: + type: string + description: 'Since: cosmos-sdk 0.47' + title: title is the title of the proposal + summary: + type: string + description: 'Since: cosmos-sdk 0.47' + title: summary is a short summary of the proposal description: >- Proposal defines a group proposal. Any member of a group can submit a proposal @@ -53301,7 +56058,7 @@ definitions: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -53335,7 +56092,7 @@ definitions: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -53388,7 +56145,7 @@ definitions: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -53452,7 +56209,7 @@ definitions: default: VOTE_OPTION_UNSPECIFIED metadata: type: string - description: metadata is any arbitrary metadata to attached to the vote. + description: metadata is any arbitrary metadata attached to the vote. submit_time: type: string format: date-time @@ -53512,27 +56269,19 @@ definitions: default: groupEmergency description: |- - groupEmergency: Used for emergency situations that require immediate action - - groupOperational: Used for operational tasks like changing non-sensitive protocol parameters - - groupAdmin: Used for administrative tasks like changing sensitive protocol parameters or moving funds + - groupOperational: Used for operational tasks like changing + - groupAdmin: non-sensitive protocol parameters + + Used for administrative tasks like changing sensitive title: PolicyType defines the type of policy authorityQueryGetPoliciesResponse: type: object properties: policies: $ref: '#/definitions/authorityPolicies' - description: QueryGetPoliciesResponse is the response type for the Query/Policies RPC method. - bitcoinProof: - type: object - properties: - tx_bytes: - type: string - format: byte - path: - type: string - format: byte - index: - type: integer - format: int64 + description: |- + QueryGetPoliciesResponse is the response type for the Query/Policies RPC + method. chainsChain: type: object properties: @@ -53592,13 +56341,13 @@ definitions: - Reverted - Aborted default: PendingInbound - title: |- - - PendingInbound: some observer sees inbound tx + description: |2- + - PendingInbound: some observer sees inbound tx - PendingOutbound: super majority observer see inbound tx - OutboundMined: the corresponding outbound tx is mined - PendingRevert: outbound cannot succeed; should revert inbound - Reverted: inbound reverted. - - Aborted: inbound tx error or invalid paramters and cannot revert; just abort. But the amount can be refunded to zetachain using and admin proposal + - Aborted: inbound tx error or invalid paramters and cannot revert; just abort. crosschainCrossChainTx: type: object properties: @@ -53671,10 +56420,11 @@ definitions: properties: sender: type: string - title: this address is the immediate contract/EOA that calls the Connector.send() + title: this address is the immediate contract/EOA that calls sender_chain_id: type: string format: int64 + title: the Connector.send() tx_origin: type: string title: this address is the EOA that signs the inbound tx @@ -53980,35 +56730,8 @@ definitions: ed25519: type: string title: PubKeySet contains two pub keys , secp256k1 and ed25519 - emissionsMsgUpdateParamsResponse: - type: object emissionsMsgWithdrawEmissionResponse: type: object - emissionsParams: - type: object - properties: - max_bond_factor: - type: string - min_bond_factor: - type: string - avg_block_time: - type: string - target_bond_ratio: - type: string - validator_emission_percentage: - type: string - observer_emission_percentage: - type: string - tss_signer_emission_percentage: - type: string - duration_factor_constant: - type: string - observer_slash_amount: - type: string - ballot_maturity_blocks: - type: string - format: int64 - description: Params defines the parameters for the module. emissionsQueryGetEmissionsFactorsResponse: type: object properties: @@ -54027,31 +56750,11 @@ definitions: type: string emission_module_address: type: string - emissionsQueryParamsResponse: - type: object - properties: - params: - $ref: '#/definitions/emissionsParams' - description: params holds all the parameters of this module. - description: QueryParamsResponse is response type for the Query/Params RPC method. emissionsQueryShowAvailableEmissionsResponse: type: object properties: amount: type: string - ethereumProof: - type: object - properties: - keys: - type: array - items: - type: string - format: byte - values: - type: array - items: - type: string - format: byte fungibleForeignCoins: type: object properties: @@ -54246,7 +56949,9 @@ definitions: type: boolean btcTypeChainEnabled: type: boolean - title: VerificationFlags is a structure containing information which chain types are enabled for block header verification + title: |- + VerificationFlags is a structure containing information which chain types are + enabled for block header verification observerBallotStatus: type: string enum: @@ -54373,7 +57078,9 @@ definitions: maxPendingCctxs: type: integer format: int64 - title: Maximum number of pending crosschain transactions to check for gas price increase + title: |- + Maximum number of pending crosschain transactions to check for gas price + increase observerKeygen: type: object properties: @@ -54681,7 +57388,10 @@ definitions: - FailureObservation - NotYetVoted default: SuccessObservation - description: ' - FailureObservation: Failure observation means , the the message that this voter is observing failed / reverted . It does not mean it was unable to observe.' + description: |2- + - FailureObservation: Failure observation means , the the message that + - NotYetVoted: this voter is observing failed / reverted . It does + not mean it was unable to observe. observerVoterList: type: object properties: @@ -54689,6 +57399,13 @@ definitions: type: string vote_type: $ref: '#/definitions/observerVoteType' + pkgproofsProof: + type: object + properties: + ethereum_proof: + $ref: '#/definitions/proofsethereumProof' + bitcoin_proof: + $ref: '#/definitions/proofsbitcoinProof' proofsBlockHeader: type: object properties: @@ -54718,13 +57435,31 @@ definitions: type: string format: byte title: 80-byte little-endian encoded binary data - proofsProof: + proofsbitcoinProof: type: object properties: - ethereum_proof: - $ref: '#/definitions/ethereumProof' - bitcoin_proof: - $ref: '#/definitions/bitcoinProof' + tx_bytes: + type: string + format: byte + path: + type: string + format: byte + index: + type: integer + format: int64 + proofsethereumProof: + type: object + properties: + keys: + type: array + items: + type: string + format: byte + values: + type: array + items: + type: string + format: byte protobufAny: type: object properties: @@ -54816,62 +57551,76 @@ definitions: properties: homestead_block: type: string - title: Homestead switch block (nil no fork, 0 = already homestead) + title: homestead_block switch (nil no fork, 0 = already homestead) dao_fork_block: type: string - title: TheDAO hard-fork switch block (nil no fork) + title: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) dao_fork_support: type: boolean - title: Whether the nodes supports or opposes the DAO hard-fork + title: >- + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork eip150_block: type: string title: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) eip150_hash: type: string title: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed) + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed) eip155_block: type: string - title: EIP155Block HF block + title: 'eip155_block: EIP155Block HF block' eip158_block: type: string - title: EIP158 HF block + title: 'eip158_block: EIP158 HF block' byzantium_block: type: string - title: Byzantium switch block (nil no fork, 0 = already on byzantium) + title: >- + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium) constantinople_block: type: string - title: Constantinople switch block (nil no fork, 0 = already activated) + title: >- + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated) petersburg_block: type: string - title: Petersburg switch block (nil same as Constantinople) + title: 'petersburg_block: Petersburg switch block (nil same as Constantinople)' istanbul_block: type: string - title: Istanbul switch block (nil no fork, 0 = already on istanbul) + title: >- + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul) muir_glacier_block: type: string title: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) berlin_block: type: string - title: Berlin switch block (nil = no fork, 0 = already on berlin) + title: >- + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) london_block: type: string - title: London switch block (nil = no fork, 0 = already on london) + title: >- + london_block: London switch block (nil = no fork, 0 = already on london) arrow_glacier_block: type: string title: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) gray_glacier_block: type: string title: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) merge_netsplit_block: type: string - title: Virtual fork after The Merge to use as a network splitter + title: >- + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter + shanghai_block: + type: string + title: shanghai_block switch block (nil = no fork, 0 = already on shanghai) + cancun_block: + type: string + title: cancun_block switch block (nil = no fork, 0 = already on cancun) description: >- ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values @@ -54882,7 +57631,17 @@ definitions: gas: type: string format: uint64 - title: the estimated gas + title: gas returns the estimated gas + ret: + type: string + format: byte + title: >- + ret is the returned data from evm function (result or data supplied with revert + + opcode) + vm_error: + type: string + title: vm_error is the error returned by vm execution title: EstimateGasResponse defines EstimateGas response ethermint.evm.v1.Log: type: object @@ -54894,25 +57653,25 @@ definitions: type: array items: type: string - description: list of topics provided by the contract. + description: topics is a list of topics provided by the contract. data: type: string format: byte - title: supplied by the contract, usually ABI-encoded + title: data which is supplied by the contract, usually ABI-encoded block_number: type: string format: uint64 - title: block in which the transaction was included + title: block_number of the block in which the transaction was included tx_hash: type: string - title: hash of the transaction + title: tx_hash is the transaction hash tx_index: type: string format: uint64 - title: index of the transaction in the block + title: tx_index of the transaction in the block block_hash: type: string - title: hash of the block in which the transaction was included + title: block_hash of the block in which the transaction was included index: type: string format: uint64 @@ -54920,7 +57679,7 @@ definitions: removed: type: boolean description: >- - The Removed field is true if this log was reverted due to a chain + removed is true if this log was reverted due to a chain reorganisation. You must pay attention to this field if you receive logs @@ -54931,6 +57690,10 @@ definitions: log event. These events are generated by the LOG opcode and stored/indexed by the node. + + NOTE: address, topics and data are consensus fields. The rest of the fields + + are derived, i.e. filled in by the nodes, but not secured by consensus. ethermint.evm.v1.MsgEthereumTx: type: object properties: @@ -55014,7 +57777,7 @@ definitions: foo = any.unpack(Foo.class); } - Example 3: Pack and unpack a message in Python. + Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() @@ -55024,7 +57787,7 @@ definitions: any.Unpack(foo) ... - Example 4: Pack and unpack a message in Go + Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) @@ -55049,8 +57812,6 @@ definitions: JSON - ==== - The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an @@ -55081,19 +57842,21 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - title: inner transaction data + title: data is inner transaction data of the Ethereum transaction size: type: number format: double - title: 'DEPRECATED: encoded storage size of the transaction' + title: size is the encoded storage size of the transaction (DEPRECATED) hash: type: string - title: transaction hash in hex format + title: hash of the transaction in hex format from: type: string - title: |- - ethereum signer address in hex format. This address value is checked + title: >- + from is the ethereum signer address in hex format. This address value is checked + against the address derived from the signature (V, R, S) using the + secp256k1 elliptic curve description: MsgEthereumTx encapsulates an Ethereum transaction as an SDK message. ethermint.evm.v1.MsgEthereumTxResponse: @@ -55101,9 +57864,11 @@ definitions: properties: hash: type: string - title: |- - ethereum transaction hash in hex format. This hash differs from the + title: >- + hash of the ethereum transaction in hex format. This hash differs from the + Tendermint sha256 hash of the transaction bytes. See + https://github.com/tendermint/tendermint/issues/6539 for reference logs: type: array @@ -55117,25 +57882,25 @@ definitions: type: array items: type: string - description: list of topics provided by the contract. + description: topics is a list of topics provided by the contract. data: type: string format: byte - title: supplied by the contract, usually ABI-encoded + title: data which is supplied by the contract, usually ABI-encoded block_number: type: string format: uint64 - title: block in which the transaction was included + title: block_number of the block in which the transaction was included tx_hash: type: string - title: hash of the transaction + title: tx_hash is the transaction hash tx_index: type: string format: uint64 - title: index of the transaction in the block + title: tx_index of the transaction in the block block_hash: type: string - title: hash of the block in which the transaction was included + title: block_hash of the block in which the transaction was included index: type: string format: uint64 @@ -55143,7 +57908,7 @@ definitions: removed: type: boolean description: >- - The Removed field is true if this log was reverted due to a chain + removed is true if this log was reverted due to a chain reorganisation. You must pay attention to this field if you receive logs @@ -55154,22 +57919,27 @@ definitions: log event. These events are generated by the LOG opcode and stored/indexed by the node. + + NOTE: address, topics and data are consensus fields. The rest of the fields + + are derived, i.e. filled in by the nodes, but not secured by consensus. description: |- logs contains the transaction hash and the proto-compatible ethereum logs. ret: type: string format: byte - title: |- - returned data from evm function (result or data supplied with revert + title: >- + ret is the returned data from evm function (result or data supplied with revert + opcode) vm_error: type: string - title: vm error is the error returned by vm execution + title: vm_error is the error returned by vm execution gas_used: type: string format: uint64 - title: gas consumed by the transaction + title: gas_used specifies how much gas was consumed by the transaction description: MsgEthereumTxResponse defines the Msg/EthereumTx response type. ethermint.evm.v1.Params: type: object @@ -55177,92 +57947,107 @@ definitions: evm_denom: type: string description: |- - evm denom represents the token denomination used to run the EVM state + evm_denom represents the token denomination used to run the EVM state transitions. enable_create: type: boolean title: >- - enable create toggles state transitions that use the vm.Create function + enable_create toggles state transitions that use the vm.Create function enable_call: type: boolean - title: enable call toggles state transitions that use the vm.Call function + title: enable_call toggles state transitions that use the vm.Call function extra_eips: type: array items: type: string format: int64 - title: extra eips defines the additional EIPs for the vm.Config + title: extra_eips defines the additional EIPs for the vm.Config chain_config: - title: chain config defines the EVM chain configuration parameters + title: chain_config defines the EVM chain configuration parameters type: object properties: homestead_block: type: string - title: Homestead switch block (nil no fork, 0 = already homestead) + title: homestead_block switch (nil no fork, 0 = already homestead) dao_fork_block: type: string - title: TheDAO hard-fork switch block (nil no fork) + title: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) dao_fork_support: type: boolean - title: Whether the nodes supports or opposes the DAO hard-fork + title: >- + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork eip150_block: type: string title: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) eip150_hash: type: string title: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed) + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed) eip155_block: type: string - title: EIP155Block HF block + title: 'eip155_block: EIP155Block HF block' eip158_block: type: string - title: EIP158 HF block + title: 'eip158_block: EIP158 HF block' byzantium_block: type: string - title: Byzantium switch block (nil no fork, 0 = already on byzantium) + title: >- + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium) constantinople_block: type: string - title: Constantinople switch block (nil no fork, 0 = already activated) + title: >- + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated) petersburg_block: type: string - title: Petersburg switch block (nil same as Constantinople) + title: >- + petersburg_block: Petersburg switch block (nil same as Constantinople) istanbul_block: type: string - title: Istanbul switch block (nil no fork, 0 = already on istanbul) + title: >- + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul) muir_glacier_block: type: string title: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) berlin_block: type: string - title: Berlin switch block (nil = no fork, 0 = already on berlin) + title: >- + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) london_block: type: string - title: London switch block (nil = no fork, 0 = already on london) + title: >- + london_block: London switch block (nil = no fork, 0 = already on london) arrow_glacier_block: type: string title: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) gray_glacier_block: type: string title: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) merge_netsplit_block: type: string - title: Virtual fork after The Merge to use as a network splitter + title: >- + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter + shanghai_block: + type: string + title: >- + shanghai_block switch block (nil = no fork, 0 = already on shanghai) + cancun_block: + type: string + title: cancun_block switch block (nil = no fork, 0 = already on cancun) description: >- ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int. allow_unprotected_txs: type: boolean - description: >- - Allow unprotected transactions defines if replay-protected (i.e non EIP155 - + description: |- + allow_unprotected_txs defines if replay-protected (i.e non EIP155 signed) transactions can be executed on the state machine. title: Params defines the EVM module parameters ethermint.evm.v1.QueryAccountResponse: @@ -55273,7 +58058,7 @@ definitions: description: balance is the balance of the EVM denomination. code_hash: type: string - description: code hash is the hex-formatted code bytes from the EOA. + description: code_hash is the hex-formatted code bytes from the EOA. nonce: type: string format: uint64 @@ -55293,7 +58078,8 @@ definitions: properties: base_fee: type: string - description: BaseFeeResponse returns the EIP1559 base fee. + title: base_fee is the EIP1559 base fee + description: QueryBaseFeeResponse returns the EIP1559 base fee. ethermint.evm.v1.QueryCodeResponse: type: object properties: @@ -55317,7 +58103,7 @@ definitions: account_number: type: string format: uint64 - title: account_number is the account numbert + title: account_number is the account number description: >- QueryCosmosAccountResponse is the response type for the Query/CosmosAccount @@ -55332,95 +58118,110 @@ definitions: evm_denom: type: string description: >- - evm denom represents the token denomination used to run the EVM state + evm_denom represents the token denomination used to run the EVM state transitions. enable_create: type: boolean title: >- - enable create toggles state transitions that use the vm.Create function + enable_create toggles state transitions that use the vm.Create function enable_call: type: boolean title: >- - enable call toggles state transitions that use the vm.Call function + enable_call toggles state transitions that use the vm.Call function extra_eips: type: array items: type: string format: int64 - title: extra eips defines the additional EIPs for the vm.Config + title: extra_eips defines the additional EIPs for the vm.Config chain_config: - title: chain config defines the EVM chain configuration parameters + title: chain_config defines the EVM chain configuration parameters type: object properties: homestead_block: type: string - title: Homestead switch block (nil no fork, 0 = already homestead) + title: homestead_block switch (nil no fork, 0 = already homestead) dao_fork_block: type: string - title: TheDAO hard-fork switch block (nil no fork) + title: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) dao_fork_support: type: boolean - title: Whether the nodes supports or opposes the DAO hard-fork + title: >- + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork eip150_block: type: string title: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) eip150_hash: type: string title: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed) + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed) eip155_block: type: string - title: EIP155Block HF block + title: 'eip155_block: EIP155Block HF block' eip158_block: type: string - title: EIP158 HF block + title: 'eip158_block: EIP158 HF block' byzantium_block: type: string - title: Byzantium switch block (nil no fork, 0 = already on byzantium) + title: >- + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium) constantinople_block: type: string title: >- - Constantinople switch block (nil no fork, 0 = already activated) + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated) petersburg_block: type: string - title: Petersburg switch block (nil same as Constantinople) + title: >- + petersburg_block: Petersburg switch block (nil same as Constantinople) istanbul_block: type: string - title: Istanbul switch block (nil no fork, 0 = already on istanbul) + title: >- + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul) muir_glacier_block: type: string title: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) berlin_block: type: string - title: Berlin switch block (nil = no fork, 0 = already on berlin) + title: >- + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) london_block: type: string - title: London switch block (nil = no fork, 0 = already on london) + title: >- + london_block: London switch block (nil = no fork, 0 = already on london) arrow_glacier_block: type: string title: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) gray_glacier_block: type: string title: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) merge_netsplit_block: type: string - title: Virtual fork after The Merge to use as a network splitter + title: >- + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter + shanghai_block: + type: string + title: >- + shanghai_block switch block (nil = no fork, 0 = already on shanghai) + cancun_block: + type: string + title: >- + cancun_block switch block (nil = no fork, 0 = already on cancun) description: >- ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int. allow_unprotected_txs: type: boolean - description: >- - Allow unprotected transactions defines if replay-protected (i.e non EIP155 - + description: |- + allow_unprotected_txs defines if replay-protected (i.e non EIP155 signed) transactions can be executed on the state machine. title: Params defines the EVM module parameters description: >- @@ -55431,7 +58232,7 @@ definitions: value: type: string description: >- - key defines the storage state value hash associated with the given key. + value defines the storage state value hash associated with the given key. description: |- QueryStorageResponse is the response type for the Query/Storage RPC method. @@ -55441,6 +58242,7 @@ definitions: data: type: string format: byte + title: data is the response serialized in bytes title: QueryTraceBlockResponse defines TraceBlock response ethermint.evm.v1.QueryTraceTxResponse: type: object @@ -55448,7 +58250,7 @@ definitions: data: type: string format: byte - title: response serialized in bytes + title: data is the response serialized in bytes title: QueryTraceTxResponse defines TraceTx response ethermint.evm.v1.QueryValidatorAccountResponse: type: object @@ -55472,104 +58274,119 @@ definitions: properties: tracer: type: string - title: custom javascript tracer + title: tracer is a custom javascript tracer timeout: type: string title: >- - overrides the default timeout of 5 seconds for JavaScript-based tracing + timeout overrides the default timeout of 5 seconds for JavaScript-based tracing calls reexec: type: string format: uint64 - title: number of blocks the tracer is willing to go back + title: reexec defines the number of blocks the tracer is willing to go back disable_stack: type: boolean - title: disable stack capture + title: disable_stack switches stack capture disable_storage: type: boolean - title: disable storage capture + title: disable_storage switches storage capture debug: type: boolean - title: print output during capture end + title: debug can be used to print output during capture end limit: type: integer format: int32 - title: maximum length of output, but zero means unlimited + title: limit defines the maximum length of output, but zero means unlimited overrides: - title: >- - Chain overrides, can be used to execute a trace using future fork rules + title: overrides can be used to execute a trace using future fork rules type: object properties: homestead_block: type: string - title: Homestead switch block (nil no fork, 0 = already homestead) + title: homestead_block switch (nil no fork, 0 = already homestead) dao_fork_block: type: string - title: TheDAO hard-fork switch block (nil no fork) + title: >- + dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) dao_fork_support: type: boolean - title: Whether the nodes supports or opposes the DAO hard-fork + title: >- + dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork eip150_block: type: string title: >- - EIP150 implements the Gas price changes + eip150_block: EIP150 implements the Gas price changes (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) eip150_hash: type: string title: >- - EIP150 HF hash (needed for header only clients as only gas pricing changed) + eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed) eip155_block: type: string - title: EIP155Block HF block + title: 'eip155_block: EIP155Block HF block' eip158_block: type: string - title: EIP158 HF block + title: 'eip158_block: EIP158 HF block' byzantium_block: type: string - title: Byzantium switch block (nil no fork, 0 = already on byzantium) + title: >- + byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium) constantinople_block: type: string - title: Constantinople switch block (nil no fork, 0 = already activated) + title: >- + constantinople_block: Constantinople switch block (nil no fork, 0 = already activated) petersburg_block: type: string - title: Petersburg switch block (nil same as Constantinople) + title: >- + petersburg_block: Petersburg switch block (nil same as Constantinople) istanbul_block: type: string - title: Istanbul switch block (nil no fork, 0 = already on istanbul) + title: >- + istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul) muir_glacier_block: type: string title: >- - Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) + muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) berlin_block: type: string - title: Berlin switch block (nil = no fork, 0 = already on berlin) + title: >- + berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) london_block: type: string - title: London switch block (nil = no fork, 0 = already on london) + title: >- + london_block: London switch block (nil = no fork, 0 = already on london) arrow_glacier_block: type: string title: >- - Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) + arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) gray_glacier_block: type: string title: >- - EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) + gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated) merge_netsplit_block: type: string - title: Virtual fork after The Merge to use as a network splitter + title: >- + merge_netsplit_block: Virtual fork after The Merge to use as a network splitter + shanghai_block: + type: string + title: >- + shanghai_block switch block (nil = no fork, 0 = already on shanghai) + cancun_block: + type: string + title: cancun_block switch block (nil = no fork, 0 = already on cancun) description: >- ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int. enable_memory: type: boolean - title: enable memory capture + title: enable_memory switches memory capture enable_return_data: type: boolean - title: enable return data capture + title: enable_return_data switches the capture of return data tracer_json_config: type: string - title: tracer config + title: tracer_json_config configures the tracer using a JSON string description: TraceConfig holds extra parameters to trace functions. diff --git a/docs/spec/crosschain/messages.md b/docs/spec/crosschain/messages.md index 068c8c8597..c4640fdc4c 100644 --- a/docs/spec/crosschain/messages.md +++ b/docs/spec/crosschain/messages.md @@ -12,7 +12,7 @@ message MsgAddToOutTxTracker { int64 chain_id = 2; uint64 nonce = 3; string tx_hash = 4; - proofs.Proof proof = 5; + pkg.proofs.Proof proof = 5; string block_hash = 6; int64 tx_index = 7; } @@ -27,8 +27,8 @@ message MsgAddToInTxTracker { string creator = 1; int64 chain_id = 2; string tx_hash = 3; - coin.CoinType coin_type = 4; - proofs.Proof proof = 5; + pkg.coin.CoinType coin_type = 4; + pkg.proofs.Proof proof = 5; string block_hash = 6; int64 tx_index = 7; } @@ -120,10 +120,10 @@ message MsgVoteOnObservedOutboundTx { string observed_outTx_effective_gas_price = 11; uint64 observed_outTx_effective_gas_limit = 12; string value_received = 5; - chains.ReceiveStatus status = 6; + pkg.chains.ReceiveStatus status = 6; int64 outTx_chain = 7; uint64 outTx_tss_nonce = 8; - coin.CoinType coin_type = 9; + pkg.coin.CoinType coin_type = 9; } ``` @@ -183,7 +183,7 @@ message MsgVoteOnObservedInboundTx { string in_tx_hash = 9; uint64 in_block_height = 10; uint64 gas_limit = 11; - coin.CoinType coin_type = 12; + pkg.coin.CoinType coin_type = 12; string tx_origin = 13; string asset = 14; uint64 event_index = 15; diff --git a/docs/spec/emissions/messages.md b/docs/spec/emissions/messages.md index b3549681bd..c5fc4a4520 100644 --- a/docs/spec/emissions/messages.md +++ b/docs/spec/emissions/messages.md @@ -1,17 +1,5 @@ # Messages -## MsgUpdateParams - -UpdateParams defines a governance operation for updating the x/emissions module parameters. -The authority is hard-coded to the x/gov module account. - -```proto -message MsgUpdateParams { - string authority = 1; - Params params = 2; -} -``` - ## MsgWithdrawEmission WithdrawEmission allows the user to withdraw from their withdrawable emissions. diff --git a/docs/spec/fungible/messages.md b/docs/spec/fungible/messages.md index 0099d20796..2e3aceb19e 100644 --- a/docs/spec/fungible/messages.md +++ b/docs/spec/fungible/messages.md @@ -41,7 +41,7 @@ message MsgDeployFungibleCoinZRC20 { uint32 decimals = 4; string name = 5; string symbol = 6; - coin.CoinType coin_type = 7; + pkg.coin.CoinType coin_type = 7; int64 gas_limit = 8; } ``` diff --git a/docs/spec/observer/messages.md b/docs/spec/observer/messages.md index 3d51929aa2..8088468c11 100644 --- a/docs/spec/observer/messages.md +++ b/docs/spec/observer/messages.md @@ -104,7 +104,7 @@ message MsgVoteBlockHeader { int64 chain_id = 2; bytes block_hash = 3; int64 height = 4; - proofs.HeaderData header = 5; + pkg.proofs.HeaderData header = 5; } ``` @@ -139,7 +139,7 @@ message MsgVoteTSS { string creator = 1; string tss_pubkey = 2; int64 keygen_zeta_height = 3; - chains.ReceiveStatus status = 4; + pkg.chains.ReceiveStatus status = 4; } ``` diff --git a/e2e/txserver/zeta_tx_server.go b/e2e/txserver/zeta_tx_server.go index d6d804c81e..dd9072b2ab 100644 --- a/e2e/txserver/zeta_tx_server.go +++ b/e2e/txserver/zeta_tx_server.go @@ -11,6 +11,8 @@ import ( "strings" "time" + rpchttp "github.com/cometbft/cometbft/rpc/client/http" + coretypes "github.com/cometbft/cometbft/rpc/core/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" @@ -34,8 +36,6 @@ import ( ethcommon "github.com/ethereum/go-ethereum/common" etherminttypes "github.com/evmos/ethermint/types" evmtypes "github.com/evmos/ethermint/x/evm/types" - rpchttp "github.com/tendermint/tendermint/rpc/client/http" - coretypes "github.com/tendermint/tendermint/rpc/core/types" "github.com/zeta-chain/zetacore/cmd/zetacored/config" "github.com/zeta-chain/zetacore/pkg/chains" "github.com/zeta-chain/zetacore/pkg/coin" diff --git a/e2e/utils/zetacore.go b/e2e/utils/zetacore.go index 4aeac71ba3..9b9bdb49c3 100644 --- a/e2e/utils/zetacore.go +++ b/e2e/utils/zetacore.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - rpchttp "github.com/tendermint/tendermint/rpc/client/http" - coretypes "github.com/tendermint/tendermint/rpc/core/types" + rpchttp "github.com/cometbft/cometbft/rpc/client/http" + coretypes "github.com/cometbft/cometbft/rpc/core/types" crosschaintypes "github.com/zeta-chain/zetacore/x/crosschain/types" ) diff --git a/go.mod b/go.mod index 245536d185..71a6c0b5e3 100644 --- a/go.mod +++ b/go.mod @@ -3,33 +3,31 @@ module github.com/zeta-chain/zetacore go 1.20 require ( - github.com/cosmos/cosmos-sdk v0.46.13 + github.com/cosmos/cosmos-sdk v0.47.10 + github.com/cosmos/gogoproto v1.4.10 github.com/ethereum/go-ethereum v1.10.26 - github.com/gogo/protobuf v1.3.3 + github.com/gogo/protobuf v1.3.3 // indirect github.com/golang/protobuf v1.5.3 github.com/gorilla/mux v1.8.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-retryablehttp v0.7.0 github.com/multiformats/go-multiaddr v0.9.0 github.com/prometheus/client_golang v1.14.0 - github.com/rs/zerolog v1.29.1 - github.com/spf13/cast v1.5.0 + github.com/rs/zerolog v1.32.0 + github.com/spf13/cast v1.5.1 github.com/spf13/cobra v1.7.0 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.8.4 github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect - github.com/tendermint/tendermint v0.34.28 - github.com/tendermint/tm-db v0.6.7 - google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3 // indirect + google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917 // indirect google.golang.org/grpc v1.60.1 gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c ) require ( - cosmossdk.io/errors v1.0.0-beta.7 - cosmossdk.io/math v1.0.0-rc.0 + cosmossdk.io/errors v1.0.1 + cosmossdk.io/math v1.3.0 github.com/99designs/keyring v1.2.1 github.com/btcsuite/btcd v0.23.4 github.com/btcsuite/btcd/btcec/v2 v2.3.2 @@ -45,7 +43,7 @@ require ( github.com/zeta-chain/go-tss v0.1.1-0.20240208222330-f3be0d4a0d98 github.com/zeta-chain/keystone/keys v0.0.0-20231105174229-903bc9405da2 github.com/zeta-chain/protocol-contracts v1.0.2-athens3.0.20230816152528-db7d2bf9144b - google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f + google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 gopkg.in/yaml.v2 v2.4.0 ) @@ -58,41 +56,54 @@ require ( ) require ( + cosmossdk.io/simapp v0.0.0-20230608160436-666c345ad23d + cosmossdk.io/tools/rosetta v0.2.1 github.com/binance-chain/tss-lib v0.0.0-20201118045712-70b2cb4bf916 + github.com/btcsuite/btcd/btcutil v1.1.3 + github.com/cometbft/cometbft v0.37.4 + github.com/cometbft/cometbft-db v0.8.0 github.com/nanmu42/etherscan-api v1.10.0 github.com/onrik/ethrpc v1.2.0 + github.com/tendermint/tendermint v0.34.14 go.nhat.io/grpcmock v0.25.0 ) require ( - github.com/DataDog/zstd v1.5.2 // indirect + cosmossdk.io/api v0.3.1 // indirect + cosmossdk.io/core v0.5.1 // indirect + cosmossdk.io/depinject v1.0.0-alpha.4 // indirect + cosmossdk.io/log v1.3.1 // indirect + github.com/DataDog/zstd v1.5.0 // indirect + github.com/HdrHistogram/hdrhistogram-go v1.1.2 // indirect github.com/agl/ed25519 v0.0.0-20200225211852-fd4d107ace12 // indirect github.com/bool64/shared v0.1.5 // indirect - github.com/btcsuite/btcd/btcutil v1.1.3 // indirect github.com/cespare/xxhash v1.1.0 // indirect - github.com/cockroachdb/errors v1.9.1 // indirect + github.com/cockroachdb/errors v1.10.0 // indirect github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect - github.com/cockroachdb/pebble v0.0.0-20230209160836-829675f94811 // indirect - github.com/cockroachdb/redact v1.1.3 // indirect - github.com/cometbft/cometbft-db v0.7.0 // indirect + github.com/cockroachdb/pebble v0.0.0-20220817183557-09c6e030a677 // indirect + github.com/cockroachdb/redact v1.1.5 // indirect + github.com/cosmos/gogogateway v1.2.0 // indirect + github.com/cosmos/ics23/go v0.10.0 // indirect + github.com/cosmos/rosetta-sdk-go v0.10.0 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect github.com/decred/dcrd/dcrec/edwards/v2 v2.0.0 // indirect github.com/dgraph-io/badger/v2 v2.2007.4 // indirect - github.com/dgraph-io/ristretto v0.1.0 // indirect + github.com/dgraph-io/ristretto v0.1.1 // indirect github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect - github.com/dustin/go-humanize v1.0.0 // indirect - github.com/getsentry/sentry-go v0.18.0 // indirect + github.com/dustin/go-humanize v1.0.1 // indirect + github.com/getsentry/sentry-go v0.23.0 // indirect github.com/go-logr/logr v1.2.4 // indirect github.com/go-logr/stdr v1.2.2 // indirect + github.com/gogo/googleapis v1.4.1 // indirect github.com/golang/glog v1.1.2 // indirect github.com/golang/mock v1.6.0 // indirect github.com/google/pprof v0.0.0-20230602150820-91b7bce49751 // indirect github.com/google/s2a-go v0.1.7 // indirect + github.com/huandu/skiplist v1.2.0 // indirect github.com/iancoleman/orderedmap v0.3.0 // indirect github.com/ipfs/boxo v0.10.0 // indirect github.com/jmhodges/levigo v1.0.0 // indirect github.com/libp2p/go-yamux/v4 v4.0.0 // indirect - github.com/linxGnu/grocksdb v1.7.15 // indirect github.com/miekg/pkcs11 v1.1.1 // indirect github.com/onsi/ginkgo/v2 v2.9.7 // indirect github.com/prometheus/tsdb v0.7.1 // indirect @@ -116,30 +127,30 @@ require ( go.etcd.io/bbolt v1.3.7 // indirect go.nhat.io/matcher/v2 v2.0.0 // indirect go.nhat.io/wait v0.1.0 // indirect - go.opentelemetry.io/otel v1.16.0 // indirect - go.opentelemetry.io/otel/metric v1.16.0 // indirect - go.opentelemetry.io/otel/trace v1.16.0 // indirect + go.opentelemetry.io/otel v1.19.0 // indirect + go.opentelemetry.io/otel/metric v1.19.0 // indirect + go.opentelemetry.io/otel/trace v1.19.0 // indirect go.uber.org/dig v1.17.0 // indirect go.uber.org/fx v1.19.2 // indirect golang.org/x/time v0.5.0 // indirect gonum.org/v1/gonum v0.13.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 // indirect + pgregory.net/rapid v1.1.0 // indirect ) require ( - cloud.google.com/go v0.110.10 // indirect + cloud.google.com/go v0.111.0 // indirect cloud.google.com/go/compute v1.23.3 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/iam v1.1.5 // indirect cloud.google.com/go/storage v1.35.1 // indirect - filippo.io/edwards25519 v1.0.0-rc.1 // indirect + filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect github.com/StackExchange/wmi v1.2.1 // indirect github.com/VictoriaMetrics/fastcache v1.6.0 // indirect - github.com/Workiva/go-datastructures v1.0.53 // indirect github.com/armon/go-metrics v0.4.1 // indirect - github.com/aws/aws-sdk-go v1.44.122 // indirect + github.com/aws/aws-sdk-go v1.44.203 // indirect github.com/benbjohnson/clock v1.3.5 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect @@ -156,14 +167,13 @@ require ( github.com/confio/ics23/go v0.9.0 // indirect github.com/containerd/cgroups v1.1.0 // indirect github.com/coreos/go-systemd/v22 v22.5.0 // indirect - github.com/cosmos/btcutil v1.0.5 // indirect - github.com/cosmos/cosmos-proto v1.0.0-beta.3 // indirect + github.com/cosmos/btcutil v1.0.5 + github.com/cosmos/cosmos-proto v1.0.0-beta.4 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect - github.com/cosmos/gogoproto v1.4.7 - github.com/cosmos/iavl v0.19.6 // indirect - github.com/cosmos/ibc-go/v6 v6.1.0 + github.com/cosmos/iavl v0.20.1 // indirect + github.com/cosmos/ibc-go/v7 v7.2.0 github.com/cosmos/ledger-cosmos-go v0.12.4 // indirect - github.com/creachadair/taskgroup v0.3.2 // indirect + github.com/creachadair/taskgroup v0.4.2 // indirect github.com/danieljoos/wincred v1.1.2 // indirect github.com/davecgh/go-spew v1.1.1 github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect @@ -183,14 +193,13 @@ require ( github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff // indirect github.com/go-kit/kit v0.12.0 // indirect github.com/go-kit/log v0.2.1 // indirect - github.com/go-logfmt/logfmt v0.5.1 // indirect + github.com/go-logfmt/logfmt v0.6.0 // indirect github.com/go-ole/go-ole v1.2.6 // indirect github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect github.com/go-stack/stack v1.8.1 // indirect github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/godbus/dbus/v5 v5.1.0 // indirect - github.com/gogo/gateway v1.1.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/snappy v0.0.4 // indirect github.com/google/btree v1.1.2 // indirect @@ -208,13 +217,13 @@ require ( github.com/gtank/ristretto255 v0.1.2 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect - github.com/hashicorp/go-getter v1.7.0 // indirect + github.com/hashicorp/go-getter v1.7.1 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3 // indirect + github.com/hdevalence/ed25519consensus v0.1.0 // indirect github.com/holiman/bloomfilter/v2 v2.0.3 // indirect github.com/holiman/uint256 v1.2.2 // indirect github.com/huin/goupnp v1.2.0 // indirect @@ -229,7 +238,7 @@ require ( github.com/jbenet/go-temp-err-catcher v0.1.0 // indirect github.com/jbenet/goprocess v0.1.4 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect - github.com/klauspost/compress v1.16.5 // indirect + github.com/klauspost/compress v1.16.7 // indirect github.com/klauspost/cpuid/v2 v2.2.5 // indirect github.com/koron/go-ssdp v0.0.4 // indirect github.com/kr/pretty v0.3.1 // indirect @@ -251,7 +260,7 @@ require ( github.com/manifoldco/promptui v0.9.0 // indirect github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-runewidth v0.0.9 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/miekg/dns v1.1.54 // indirect @@ -279,7 +288,7 @@ require ( github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/otiai10/primes v0.0.0-20180210170552-f6d2a1ba97c4 // indirect github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect - github.com/pelletier/go-toml/v2 v2.0.7 // indirect + github.com/pelletier/go-toml/v2 v2.0.8 // indirect github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/polydawn/refmt v0.89.0 // indirect @@ -288,25 +297,24 @@ require ( github.com/prometheus/procfs v0.9.0 // indirect github.com/raulk/go-watchdog v1.3.0 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect - github.com/regen-network/cosmos-proto v0.3.1 // indirect - github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/rs/cors v1.8.3 github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect github.com/spaolacci/murmur3 v1.1.0 // indirect - github.com/spf13/afero v1.11.0 // indirect + github.com/spf13/afero v1.11.0 github.com/spf13/jwalterweatherman v1.1.0 // indirect - github.com/spf13/viper v1.15.0 + github.com/spf13/viper v1.16.0 github.com/status-im/keycard-go v0.2.0 // indirect github.com/stretchr/objx v0.5.1 // indirect github.com/subosito/gotenv v1.4.2 // indirect github.com/tendermint/btcd v0.1.1 // indirect github.com/tendermint/go-amino v0.16.0 // indirect - github.com/tidwall/btree v1.5.0 // indirect + github.com/tidwall/btree v1.6.0 // indirect github.com/tklauser/go-sysconf v0.3.10 // indirect github.com/tklauser/numcpus v0.4.0 // indirect github.com/tyler-smith/go-bip39 v1.1.0 // indirect - github.com/ulikunitz/xz v0.5.10 // indirect + github.com/ulikunitz/xz v0.5.11 // indirect github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 // indirect github.com/zondax/hid v0.9.2 // indirect github.com/zondax/ledger-go v0.14.3 // indirect @@ -315,26 +323,25 @@ require ( go.uber.org/atomic v1.11.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.24.0 // indirect - golang.org/x/crypto v0.17.0 // indirect - golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect - golang.org/x/mod v0.10.0 // indirect + golang.org/x/crypto v0.17.0 + golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb // indirect + golang.org/x/mod v0.11.0 // indirect golang.org/x/net v0.19.0 golang.org/x/oauth2 v0.15.0 // indirect golang.org/x/sync v0.5.0 - golang.org/x/sys v0.15.0 // indirect + golang.org/x/sys v0.16.0 // indirect golang.org/x/term v0.15.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/tools v0.9.1 // indirect - golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/api v0.152.0 // indirect google.golang.org/appengine v1.6.8 // indirect - google.golang.org/protobuf v1.31.0 + google.golang.org/protobuf v1.32.0 gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/blake3 v1.2.1 // indirect nhooyr.io/websocket v1.8.7 // indirect - sigs.k8s.io/yaml v1.3.0 // indirect + sigs.k8s.io/yaml v1.4.0 // indirect ) replace ( @@ -346,10 +353,8 @@ replace ( github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 // replace broken goleveldb github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 - - // use cometbft - github.com/tendermint/tendermint => github.com/cometbft/cometbft v0.34.28 - github.com/tendermint/tm-db => github.com/BlockPILabs/cosmos-db v0.0.3 ) replace github.com/cometbft/cometbft-db => github.com/notional-labs/cometbft-db v0.0.0-20230321185329-6dc7c0ca6345 + +replace github.com/evmos/ethermint => github.com/zeta-chain/ethermint v0.0.0-20240429123701-35f3f79bf83f diff --git a/go.sum b/go.sum index 256540ef43..64f78c43e5 100644 --- a/go.sum +++ b/go.sum @@ -1,20 +1,11 @@ -4d63.com/gochecknoglobals v0.1.0/go.mod h1:wfdC5ZjKSPr7CybKEcgJhUOgeAQW1+7WcyK8OvUilfo= -bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= -bazil.org/fuse v0.0.0-20180421153158-65cc252bf669/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= -bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512/go.mod h1:FbcW6z/2VytnFDhZfumh8Ss8zxHE6qpMP5sHTRe0EaM= -bitbucket.org/creachadair/shell v0.0.6/go.mod h1:8Qqi/cYk7vPnsOePHroKXDJYmb5x7ENhtiFtfZq8K+M= -cloud.google.com/go v0.25.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.31.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.37.0/go.mod h1:TS1dMSSfndXH133OKGwekG838Om/cQT0BUHV3HcBgoo= -cloud.google.com/go v0.37.2/go.mod h1:H8IAquKe2L30IxoupDgqTaQvKSwF/c8prYHynGIWQbA= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.39.0/go.mod h1:rVLT6fkc8chs9sfPtFc1SBH6em7n+ZoXaG+87tDISts= cloud.google.com/go v0.43.0/go.mod h1:BOSR3VbTLkk6FDC/TcffxP4NF/FFBGA5ku+jvKOP7pg= cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= @@ -24,12 +15,10 @@ cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6 cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.60.0/go.mod h1:yw2G51M9IfRboUH61Us8GqCeF1PzPblB823Mn2q2eAU= cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= @@ -40,58 +29,29 @@ cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aD cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= -cloud.google.com/go v0.98.0/go.mod h1:ua6Ush4NALrHk5QXDWnjvZHN93OuF0HfuEPq9I1X0cM= cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= -cloud.google.com/go v0.100.1/go.mod h1:fs4QogzfH5n2pBXBP9vRiU+eCny7lD2vmFZy79Iuw1U= cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= -cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= -cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= -cloud.google.com/go v0.110.10 h1:LXy9GEO+timppncPIAZoOj3l58LIU9k+kn48AN7IO3Y= -cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic= -cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= -cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= -cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o= -cloud.google.com/go/accesscontextmanager v1.4.0/go.mod h1:/Kjh7BBu/Gh83sv+K60vN9QE5NJcd80sU33vIe2IFPE= +cloud.google.com/go v0.111.0 h1:YHLKNupSD1KqjDbQ3+LVdQ81h/UJbJyZG203cEfnQgM= +cloud.google.com/go v0.111.0/go.mod h1:0mibmpKP1TyOOFYQY5izo0LnT+ecvOQ0Sg3OdmMiNRU= cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= -cloud.google.com/go/aiplatform v1.27.0/go.mod h1:Bvxqtl40l0WImSb04d0hXFU7gDOiq9jQmorivIiWcKg= cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= -cloud.google.com/go/apigateway v1.3.0/go.mod h1:89Z8Bhpmxu6AmUxuVRg/ECRGReEdiP3vQtk4Z1J9rJk= -cloud.google.com/go/apigateway v1.4.0/go.mod h1:pHVY9MKGaH9PQ3pJ4YLzoj6U5FUDeDFBllIz7WmzJoc= -cloud.google.com/go/apigeeconnect v1.3.0/go.mod h1:G/AwXFAKo0gIXkPTVfZDd2qA1TxBXJ3MgMRBQkIi9jc= -cloud.google.com/go/apigeeconnect v1.4.0/go.mod h1:kV4NwOKqjvt2JYR0AoIWo2QGfoRtn/pkS3QlHp0Ni04= -cloud.google.com/go/appengine v1.4.0/go.mod h1:CS2NhuBuDXM9f+qscZ6V86m1MIIqPj3WC/UoEuR1Sno= -cloud.google.com/go/appengine v1.5.0/go.mod h1:TfasSozdkFI0zeoxW3PTBLiNqRmzraodCWatWI9Dmak= cloud.google.com/go/area120 v0.5.0/go.mod h1:DE/n4mp+iqVyvxHN41Vf1CR602GiHQjFPusMFW6bGR4= cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0= cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ= cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk= -cloud.google.com/go/artifactregistry v1.8.0/go.mod h1:w3GQXkJX8hiKN0v+at4b0qotwijQbYUqF2GWkZzAhC0= -cloud.google.com/go/artifactregistry v1.9.0/go.mod h1:2K2RqvA2CYvAeARHRkLDhMDJ3OXy26h3XW+3/Jh2uYc= cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o= cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s= cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0= -cloud.google.com/go/asset v1.9.0/go.mod h1:83MOE6jEJBMqFKadM9NLRcs80Gdw76qGuHn8m3h8oHQ= -cloud.google.com/go/asset v1.10.0/go.mod h1:pLz7uokL80qKhzKr4xXGvBQXnzHn5evJAEAtZiIb0wY= cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= -cloud.google.com/go/assuredworkloads v1.8.0/go.mod h1:AsX2cqyNCOvEQC8RMPnoc0yEarXQk6WEKkxYfL6kGIo= -cloud.google.com/go/assuredworkloads v1.9.0/go.mod h1:kFuI1P78bplYtT77Tb1hi0FMxM0vVpRC7VVoJC3ZoT0= cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0= cloud.google.com/go/automl v1.6.0/go.mod h1:ugf8a6Fx+zP0D59WLhqgTDsQI9w07o64uf/Is3Nh5p8= -cloud.google.com/go/automl v1.7.0/go.mod h1:RL9MYCCsJEOmt0Wf3z9uzG0a7adTT1fe+aObgSpkCt8= -cloud.google.com/go/automl v1.8.0/go.mod h1:xWx7G/aPEe/NP+qzYXktoBSDfjO+vnKMGgsApGJJquM= -cloud.google.com/go/baremetalsolution v0.3.0/go.mod h1:XOrocE+pvK1xFfleEnShBlNAXf+j5blPPxrhjKgnIFc= -cloud.google.com/go/baremetalsolution v0.4.0/go.mod h1:BymplhAadOO/eBa7KewQ0Ppg4A4Wplbn+PsFKRLo0uI= -cloud.google.com/go/batch v0.3.0/go.mod h1:TR18ZoAekj1GuirsUsR1ZTKN3FC/4UDnScjT8NXImFE= -cloud.google.com/go/batch v0.4.0/go.mod h1:WZkHnP43R/QCGQsZ+0JyG4i79ranE2u8xvjq/9+STPE= -cloud.google.com/go/beyondcorp v0.2.0/go.mod h1:TB7Bd+EEtcw9PCPQhCJtJGjk/7TC6ckmnSFS+xwTfm4= -cloud.google.com/go/beyondcorp v0.3.0/go.mod h1:E5U5lcrcXMsCuoDNyGrpyTm/hn7ne941Jz2vmksAxW8= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -99,29 +59,13 @@ cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUM cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= cloud.google.com/go/bigquery v1.42.0/go.mod h1:8dRTJxhtG+vwBKzE5OseQn/hiydoQN3EedCaOdYmxRA= -cloud.google.com/go/bigquery v1.43.0/go.mod h1:ZMQcXHsl+xmU1z36G2jNGZmKp9zNY5BUua5wDgmNCfw= -cloud.google.com/go/bigquery v1.44.0/go.mod h1:0Y33VqXTEsbamHJvJHdFmtqHvMIY28aK1+dFsvaChGc= cloud.google.com/go/bigtable v1.2.0/go.mod h1:JcVAOl45lrTmQfLj7T6TxyMzIN/3FGGcFm+2xVAli2o= cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY= cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s= -cloud.google.com/go/billing v1.6.0/go.mod h1:WoXzguj+BeHXPbKfNWkqVtDdzORazmCjraY+vrxcyvI= -cloud.google.com/go/billing v1.7.0/go.mod h1:q457N3Hbj9lYwwRbnlD7vUpyjq6u5U1RAOArInEiD5Y= cloud.google.com/go/binaryauthorization v1.1.0/go.mod h1:xwnoWu3Y84jbuHa0zd526MJYmtnVXn0syOjaJgy4+dM= cloud.google.com/go/binaryauthorization v1.2.0/go.mod h1:86WKkJHtRcv5ViNABtYMhhNWRrD1Vpi//uKEy7aYEfI= -cloud.google.com/go/binaryauthorization v1.3.0/go.mod h1:lRZbKgjDIIQvzYQS1p99A7/U1JqvqeZg0wiI5tp6tg0= -cloud.google.com/go/binaryauthorization v1.4.0/go.mod h1:tsSPQrBd77VLplV70GUhBf/Zm3FsKmgSqgm4UmiDItk= -cloud.google.com/go/certificatemanager v1.3.0/go.mod h1:n6twGDvcUBFu9uBgt4eYvvf3sQ6My8jADcOVwHmzadg= -cloud.google.com/go/certificatemanager v1.4.0/go.mod h1:vowpercVFyqs8ABSmrdV+GiFf2H/ch3KyudYQEMM590= -cloud.google.com/go/channel v1.8.0/go.mod h1:W5SwCXDJsq/rg3tn3oG0LOxpAo6IMxNa09ngphpSlnk= -cloud.google.com/go/channel v1.9.0/go.mod h1:jcu05W0my9Vx4mt3/rEHpfxc9eKi9XwsdDL8yBMbKUk= -cloud.google.com/go/cloudbuild v1.3.0/go.mod h1:WequR4ULxlqvMsjDEEEFnOG5ZSRSgWOywXYDb1vPE6U= -cloud.google.com/go/cloudbuild v1.4.0/go.mod h1:5Qwa40LHiOXmz3386FrjrYM93rM/hdRr7b53sySrTqA= -cloud.google.com/go/clouddms v1.3.0/go.mod h1:oK6XsCDdW4Ib3jCCBugx+gVjevp2TMXFtgxvPSee3OM= -cloud.google.com/go/clouddms v1.4.0/go.mod h1:Eh7sUGCC+aKry14O1NRljhjyrr0NFC0G2cjwX0cByRk= cloud.google.com/go/cloudtasks v1.5.0/go.mod h1:fD92REy1x5woxkKEkLdvavGnPJGEn8Uic9nWuLzqCpY= cloud.google.com/go/cloudtasks v1.6.0/go.mod h1:C6Io+sxuke9/KNRkbQpihnW93SWDU3uXt92nu85HkYI= -cloud.google.com/go/cloudtasks v1.7.0/go.mod h1:ImsfdYWwlWNJbdgPIIGJWC+gemEGTBK/SunNQQNCAb4= -cloud.google.com/go/cloudtasks v1.8.0/go.mod h1:gQXUIwCSOI4yPVK7DgTVFiiP0ZW/eQkydWzwVMdHxrI= cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= @@ -129,311 +73,150 @@ cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= -cloud.google.com/go/compute v1.12.0/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= -cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= -cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARyZtRXDJ8GE= -cloud.google.com/go/compute v1.14.0/go.mod h1:YfLtxrj9sU4Yxv+sXzZkyPjEyPBZfXHUvjxega5vAdo= -cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63rR+SXhcpA= cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= -cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= -cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= -cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= -cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY= -cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck= -cloud.google.com/go/container v1.6.0/go.mod h1:Xazp7GjJSeUYo688S+6J5V+n/t+G5sKBTFkKNudGRxg= -cloud.google.com/go/container v1.7.0/go.mod h1:Dp5AHtmothHGX3DwwIHPgq45Y8KmNsgN3amoYfxVkLo= cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= cloud.google.com/go/datacatalog v1.5.0/go.mod h1:M7GPLNQeLfWqeIm3iuiruhPzkt65+Bx8dAKvScX8jvs= cloud.google.com/go/datacatalog v1.6.0/go.mod h1:+aEyF8JKg+uXcIdAmmaMUmZ3q1b/lKLtXCmXdnc0lbc= -cloud.google.com/go/datacatalog v1.7.0/go.mod h1:9mEl4AuDYWw81UGc41HonIHH7/sn52H0/tc8f8ZbZIE= -cloud.google.com/go/datacatalog v1.8.0/go.mod h1:KYuoVOv9BM8EYz/4eMFxrr4DUKhGIOXxZoKYF5wdISM= cloud.google.com/go/dataflow v0.6.0/go.mod h1:9QwV89cGoxjjSR9/r7eFDqqjtvbKxAK2BaYU6PVk9UM= cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ= cloud.google.com/go/dataform v0.3.0/go.mod h1:cj8uNliRlHpa6L3yVhDOBrUXH+BPAO1+KFMQQNSThKo= cloud.google.com/go/dataform v0.4.0/go.mod h1:fwV6Y4Ty2yIFL89huYlEkwUPtS7YZinZbzzj5S9FzCE= -cloud.google.com/go/dataform v0.5.0/go.mod h1:GFUYRe8IBa2hcomWplodVmUx/iTL0FrsauObOM3Ipr0= -cloud.google.com/go/datafusion v1.4.0/go.mod h1:1Zb6VN+W6ALo85cXnM1IKiPw+yQMKMhB9TsTSRDo/38= -cloud.google.com/go/datafusion v1.5.0/go.mod h1:Kz+l1FGHB0J+4XF2fud96WMmRiq/wj8N9u007vyXZ2w= cloud.google.com/go/datalabeling v0.5.0/go.mod h1:TGcJ0G2NzcsXSE/97yWjIZO0bXj0KbVlINXMG9ud42I= cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ= -cloud.google.com/go/dataplex v1.3.0/go.mod h1:hQuRtDg+fCiFgC8j0zV222HvzFQdRd+SVX8gdmFcZzA= -cloud.google.com/go/dataplex v1.4.0/go.mod h1:X51GfLXEMVJ6UN47ESVqvlsRplbLhcsAt0kZCCKsU0A= -cloud.google.com/go/dataproc v1.7.0/go.mod h1:CKAlMjII9H90RXaMpSxQ8EU6dQx6iAYNPcYPOkSbi8s= -cloud.google.com/go/dataproc v1.8.0/go.mod h1:5OW+zNAH0pMpw14JVrPONsxMQYMBqJuzORhIBfBn9uI= cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo= cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/datastore v1.10.0/go.mod h1:PC5UzAmDEkAmkfaknstTYbNpgE49HAgW2J1gcgUfmdM= cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo= cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ= -cloud.google.com/go/datastream v1.4.0/go.mod h1:h9dpzScPhDTs5noEMQVWP8Wx8AFBRyS0s8KWPx/9r0g= -cloud.google.com/go/datastream v1.5.0/go.mod h1:6TZMMNPwjUqZHBKPQ1wwXpb0d5VDVPl2/XoS5yi88q4= -cloud.google.com/go/deploy v1.4.0/go.mod h1:5Xghikd4VrmMLNaF6FiRFDlHb59VM59YoDQnOUdsH/c= -cloud.google.com/go/deploy v1.5.0/go.mod h1:ffgdD0B89tToyW/U/D2eL0jN2+IEV/3EMuXHA0l4r+s= cloud.google.com/go/dialogflow v1.15.0/go.mod h1:HbHDWs33WOGJgn6rfzBW1Kv807BE3O1+xGbn59zZWI4= cloud.google.com/go/dialogflow v1.16.1/go.mod h1:po6LlzGfK+smoSmTBnbkIZY2w8ffjz/RcGSS+sh1el0= cloud.google.com/go/dialogflow v1.17.0/go.mod h1:YNP09C/kXA1aZdBgC/VtXX74G/TKn7XVCcVumTflA+8= -cloud.google.com/go/dialogflow v1.18.0/go.mod h1:trO7Zu5YdyEuR+BhSNOqJezyFQ3aUzz0njv7sMx/iek= -cloud.google.com/go/dialogflow v1.19.0/go.mod h1:JVmlG1TwykZDtxtTXujec4tQ+D8SBFMoosgy+6Gn0s0= -cloud.google.com/go/dlp v1.6.0/go.mod h1:9eyB2xIhpU0sVwUixfBubDoRwP+GjeUoxxeueZmqvmM= -cloud.google.com/go/dlp v1.7.0/go.mod h1:68ak9vCiMBjbasxeVD17hVPxDEck+ExiHavX8kiHG+Q= cloud.google.com/go/documentai v1.7.0/go.mod h1:lJvftZB5NRiFSX4moiye1SMxHx0Bc3x1+p9e/RfXYiU= cloud.google.com/go/documentai v1.8.0/go.mod h1:xGHNEB7CtsnySCNrCFdCyyMz44RhFEEX2Q7UD0c5IhU= -cloud.google.com/go/documentai v1.9.0/go.mod h1:FS5485S8R00U10GhgBC0aNGrJxBP8ZVpEeJ7PQDZd6k= -cloud.google.com/go/documentai v1.10.0/go.mod h1:vod47hKQIPeCfN2QS/jULIvQTugbmdc0ZvxxfQY1bg4= cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y= cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= cloud.google.com/go/edgecontainer v0.1.0/go.mod h1:WgkZ9tp10bFxqO8BLPqv2LlfmQF1X8lZqwW4r1BTajk= cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w= -cloud.google.com/go/errorreporting v0.3.0/go.mod h1:xsP2yaAp+OAW4OIm60An2bbLpqIhKXdWR/tawvl7QzU= -cloud.google.com/go/essentialcontacts v1.3.0/go.mod h1:r+OnHa5jfj90qIfZDO/VztSFqbQan7HV75p8sA+mdGI= -cloud.google.com/go/essentialcontacts v1.4.0/go.mod h1:8tRldvHYsmnBCHdFpvU+GL75oWiBKl80BiqlFh9tp+8= -cloud.google.com/go/eventarc v1.7.0/go.mod h1:6ctpF3zTnaQCxUjHUdcfgcA1A2T309+omHZth7gDfmc= -cloud.google.com/go/eventarc v1.8.0/go.mod h1:imbzxkyAU4ubfsaKYdQg04WS1NvncblHEup4kvF+4gw= -cloud.google.com/go/filestore v1.3.0/go.mod h1:+qbvHGvXU1HaKX2nD0WEPo92TP/8AQuCVEBXNY9z0+w= -cloud.google.com/go/filestore v1.4.0/go.mod h1:PaG5oDfo9r224f8OYXURtAsY+Fbyq/bLYoINEK8XQAI= cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= -cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= -cloud.google.com/go/firestore v1.9.0/go.mod h1:HMkjKHNTtRyZNiMzu7YAsLr9K3X2udY2AMwDaMEQiiE= cloud.google.com/go/functions v1.6.0/go.mod h1:3H1UA3qiIPRWD7PeZKLvHZ9SaQhR26XIJcC0A5GbvAk= cloud.google.com/go/functions v1.7.0/go.mod h1:+d+QBcWM+RsrgZfV9xo6KfA1GlzJfxcfZcRPEhDDfzg= -cloud.google.com/go/functions v1.8.0/go.mod h1:RTZ4/HsQjIqIYP9a9YPbU+QFoQsAlYgrwOXJWHn1POY= -cloud.google.com/go/functions v1.9.0/go.mod h1:Y+Dz8yGguzO3PpIjhLTbnqV1CWmgQ5UwtlpzoyquQ08= cloud.google.com/go/gaming v1.5.0/go.mod h1:ol7rGcxP/qHTRQE/RO4bxkXq+Fix0j6D4LFPzYTIrDM= cloud.google.com/go/gaming v1.6.0/go.mod h1:YMU1GEvA39Qt3zWGyAVA9bpYz/yAhTvaQ1t2sK4KPUA= -cloud.google.com/go/gaming v1.7.0/go.mod h1:LrB8U7MHdGgFG851iHAfqUdLcKBdQ55hzXy9xBJz0+w= -cloud.google.com/go/gaming v1.8.0/go.mod h1:xAqjS8b7jAVW0KFYeRUxngo9My3f33kFmua++Pi+ggM= -cloud.google.com/go/gkebackup v0.2.0/go.mod h1:XKvv/4LfG829/B8B7xRkk8zRrOEbKtEam6yNfuQNH60= -cloud.google.com/go/gkebackup v0.3.0/go.mod h1:n/E671i1aOQvUxT541aTkCwExO/bTer2HDlj4TsBRAo= cloud.google.com/go/gkeconnect v0.5.0/go.mod h1:c5lsNAg5EwAy7fkqX/+goqFsU1Da/jQFqArp+wGNr/o= cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= cloud.google.com/go/gkehub v0.9.0/go.mod h1:WYHN6WG8w9bXU0hqNxt8rm5uxnk8IH+lPY9J2TV7BK0= cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= -cloud.google.com/go/gkemulticloud v0.3.0/go.mod h1:7orzy7O0S+5kq95e4Hpn7RysVA7dPs8W/GgfUtsPbrA= -cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZTyIgLKSalC7tuI= cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= -cloud.google.com/go/gsuiteaddons v1.3.0/go.mod h1:EUNK/J1lZEZO8yPtykKxLXI6JSVN2rg9bN8SXOa0bgM= -cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o= -cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= -cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc= -cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQEYOeg= -cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGESjkE= cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= -cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= -cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= -cloud.google.com/go/ids v1.1.0/go.mod h1:WIuwCaYVOzHIj2OhN9HAwvW+DBdmUAdcWlFxRl+KubM= -cloud.google.com/go/ids v1.2.0/go.mod h1:5WXvp4n25S0rA/mQWAg1YEEBBq6/s+7ml1RDCW1IrcY= -cloud.google.com/go/iot v1.3.0/go.mod h1:r7RGh2B61+B8oz0AGE+J72AhA0G7tdXItODWsaA2oLs= -cloud.google.com/go/iot v1.4.0/go.mod h1:dIDxPOn0UvNDUMD8Ger7FIaTuvMkj+aGk94RPP0iV+g= -cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= -cloud.google.com/go/kms v1.5.0/go.mod h1:QJS2YY0eJGBg3mnDfuaCyLauWwBJiHRboYxJ++1xJNg= -cloud.google.com/go/kms v1.6.0/go.mod h1:Jjy850yySiasBUDi6KFUwUv2n1+o7QZFyuUJg6OgjA0= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= -cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE= -cloud.google.com/go/language v1.8.0/go.mod h1:qYPVHf7SPoNNiCL2Dr0FfEFNil1qi3pQEyygwpgVKB8= cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= -cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9OfilNXBw= -cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= -cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= -cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= -cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= -cloud.google.com/go/maps v0.1.0/go.mod h1:BQM97WGyfw9FWEmQMpZ5T6cpovXXSd1cGmFma94eubI= cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= cloud.google.com/go/memcache v1.5.0/go.mod h1:dk3fCK7dVo0cUU2c36jKb4VqKPS22BTkf81Xq617aWM= -cloud.google.com/go/memcache v1.6.0/go.mod h1:XS5xB0eQZdHtTuTF9Hf8eJkKtR3pVRCcvJwtm68T3rA= -cloud.google.com/go/memcache v1.7.0/go.mod h1:ywMKfjWhNtkQTxrWxCkCFkoPjLHPW6A7WOTVI8xy3LY= cloud.google.com/go/metastore v1.5.0/go.mod h1:2ZNrDcQwghfdtCwJ33nM0+GrBGlVuh8rakL3vdPY3XY= cloud.google.com/go/metastore v1.6.0/go.mod h1:6cyQTls8CWXzk45G55x57DVQ9gWg7RiH65+YgPsNh9s= -cloud.google.com/go/metastore v1.7.0/go.mod h1:s45D0B4IlsINu87/AsWiEVYbLaIMeUSoxlKKDqBGFS8= -cloud.google.com/go/metastore v1.8.0/go.mod h1:zHiMc4ZUpBiM7twCIFQmJ9JMEkDSyZS9U12uf7wHqSI= -cloud.google.com/go/monitoring v1.7.0/go.mod h1:HpYse6kkGo//7p6sT0wsIC6IBDET0RhIsnmlA53dvEk= -cloud.google.com/go/monitoring v1.8.0/go.mod h1:E7PtoMJ1kQXWxPjB6mv2fhC5/15jInuulFdYYtlcvT4= cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= -cloud.google.com/go/networkconnectivity v1.6.0/go.mod h1:OJOoEXW+0LAxHh89nXd64uGG+FbQoeH8DtxCHVOMlaM= -cloud.google.com/go/networkconnectivity v1.7.0/go.mod h1:RMuSbkdbPwNMQjB5HBWD5MpTBnNm39iAVpC3TmsExt8= -cloud.google.com/go/networkmanagement v1.4.0/go.mod h1:Q9mdLLRn60AsOrPc8rs8iNV6OHXaGcDdsIQe1ohekq8= -cloud.google.com/go/networkmanagement v1.5.0/go.mod h1:ZnOeZ/evzUdUsnvRt792H0uYEnHQEMaz+REhhzJRcf4= cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ= cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= cloud.google.com/go/notebooks v1.2.0/go.mod h1:9+wtppMfVPUeJ8fIWPOq1UnATHISkGXGqTkxeieQ6UY= cloud.google.com/go/notebooks v1.3.0/go.mod h1:bFR5lj07DtCPC7YAAJ//vHskFBxA5JzYlH68kXVdk34= -cloud.google.com/go/notebooks v1.4.0/go.mod h1:4QPMngcwmgb6uw7Po99B2xv5ufVoIQ7nOGDyL4P8AgA= -cloud.google.com/go/notebooks v1.5.0/go.mod h1:q8mwhnP9aR8Hpfnrc5iN5IBhrXUy8S2vuYs+kBJ/gu0= -cloud.google.com/go/optimization v1.1.0/go.mod h1:5po+wfvX5AQlPznyVEZjGJTMr4+CAkJf2XSTQOOl9l4= -cloud.google.com/go/optimization v1.2.0/go.mod h1:Lr7SOHdRDENsh+WXVmQhQTrzdu9ybg0NecjHidBq6xs= -cloud.google.com/go/orchestration v1.3.0/go.mod h1:Sj5tq/JpWiB//X/q3Ngwdl5K7B7Y0KZ7bfv0wL6fqVA= -cloud.google.com/go/orchestration v1.4.0/go.mod h1:6W5NLFWs2TlniBphAViZEVhrXRSMgUGDfW7vrWKvsBk= -cloud.google.com/go/orgpolicy v1.4.0/go.mod h1:xrSLIV4RePWmP9P3tBl8S93lTmlAxjm06NSm2UTmKvE= -cloud.google.com/go/orgpolicy v1.5.0/go.mod h1:hZEc5q3wzwXJaKrsx5+Ewg0u1LxJ51nNFlext7Tanwc= cloud.google.com/go/osconfig v1.7.0/go.mod h1:oVHeCeZELfJP7XLxcBGTMBvRO+1nQ5tFG9VQTmYS2Fs= cloud.google.com/go/osconfig v1.8.0/go.mod h1:EQqZLu5w5XA7eKizepumcvWx+m8mJUhEwiPqWiZeEdg= -cloud.google.com/go/osconfig v1.9.0/go.mod h1:Yx+IeIZJ3bdWmzbQU4fxNl8xsZ4amB+dygAwFPlvnNo= -cloud.google.com/go/osconfig v1.10.0/go.mod h1:uMhCzqC5I8zfD9zDEAfvgVhDS8oIjySWh+l4WK6GnWw= cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E= cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU= -cloud.google.com/go/oslogin v1.6.0/go.mod h1:zOJ1O3+dTU8WPlGEkFSh7qeHPPSoxrcMbbK1Nm2iX70= -cloud.google.com/go/oslogin v1.7.0/go.mod h1:e04SN0xO1UNJ1M5GP0vzVBFicIe4O53FOfcixIqTyXo= cloud.google.com/go/phishingprotection v0.5.0/go.mod h1:Y3HZknsK9bc9dMi+oE8Bim0lczMU6hrX0UpADuMefr0= cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA= -cloud.google.com/go/policytroubleshooter v1.3.0/go.mod h1:qy0+VwANja+kKrjlQuOzmlvscn4RNsAc0e15GGqfMxg= -cloud.google.com/go/policytroubleshooter v1.4.0/go.mod h1:DZT4BcRw3QoO8ota9xw/LKtPa8lKeCByYeKTIf/vxdE= cloud.google.com/go/privatecatalog v0.5.0/go.mod h1:XgosMUvvPyxDjAVNDYxJ7wBW8//hLDDYmnsNcMGq1K0= cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/pubsub v1.5.0/go.mod h1:ZEwJccE3z93Z2HWvstpri00jOg7oO4UZDtKhwDwqF0w= -cloud.google.com/go/pubsub v1.26.0/go.mod h1:QgBH3U/jdJy/ftjPhTkyXNj543Tin1pRYcdcPRnFIRI= -cloud.google.com/go/pubsub v1.27.1/go.mod h1:hQN39ymbV9geqBnfQq6Xf63yNhUAhv9CZhzp5O6qsW0= -cloud.google.com/go/pubsublite v1.5.0/go.mod h1:xapqNQ1CuLfGi23Yda/9l4bBCKz/wC3KIJ5gKcxveZg= cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4= cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o= cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk= cloud.google.com/go/recaptchaenterprise/v2 v2.3.0/go.mod h1:O9LwGCjrhGHBQET5CA7dd5NwwNQUErSgEDit1DLNTdo= -cloud.google.com/go/recaptchaenterprise/v2 v2.4.0/go.mod h1:Am3LHfOuBstrLrNCBrlI5sbwx9LBg3te2N6hGvHn2mE= -cloud.google.com/go/recaptchaenterprise/v2 v2.5.0/go.mod h1:O8LzcHXN3rz0j+LBC91jrwI3R+1ZSZEWrfL7XHgNo9U= cloud.google.com/go/recommendationengine v0.5.0/go.mod h1:E5756pJcVFeVgaQv3WNpImkFP8a+RptV6dDLGPILjvg= cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= cloud.google.com/go/recommender v1.5.0/go.mod h1:jdoeiBIVrJe9gQjwd759ecLJbxCDED4A6p+mqoqDvTg= cloud.google.com/go/recommender v1.6.0/go.mod h1:+yETpm25mcoiECKh9DEScGzIRyDKpZ0cEhWGo+8bo+c= -cloud.google.com/go/recommender v1.7.0/go.mod h1:XLHs/W+T8olwlGOgfQenXBTbIseGclClff6lhFVe9Bs= -cloud.google.com/go/recommender v1.8.0/go.mod h1:PkjXrTT05BFKwxaUxQmtIlrtj0kph108r02ZZQ5FE70= cloud.google.com/go/redis v1.7.0/go.mod h1:V3x5Jq1jzUcg+UNsRvdmsfuFnit1cfe3Z/PGyq/lm4Y= cloud.google.com/go/redis v1.8.0/go.mod h1:Fm2szCDavWzBk2cDKxrkmWBqoCiL1+Ctwq7EyqBCA/A= -cloud.google.com/go/redis v1.9.0/go.mod h1:HMYQuajvb2D0LvMgZmLDZW8V5aOC/WxstZHiy4g8OiA= -cloud.google.com/go/redis v1.10.0/go.mod h1:ThJf3mMBQtW18JzGgh41/Wld6vnDDc/F/F35UolRZPM= -cloud.google.com/go/resourcemanager v1.3.0/go.mod h1:bAtrTjZQFJkiWTPDb1WBjzvc6/kifjj4QBYuKCCoqKA= -cloud.google.com/go/resourcemanager v1.4.0/go.mod h1:MwxuzkumyTX7/a3n37gmsT3py7LIXwrShilPh3P1tR0= -cloud.google.com/go/resourcesettings v1.3.0/go.mod h1:lzew8VfESA5DQ8gdlHwMrqZs1S9V87v3oCnKCWoOuQU= -cloud.google.com/go/resourcesettings v1.4.0/go.mod h1:ldiH9IJpcrlC3VSuCGvjR5of/ezRrOxFtpJoJo5SmXg= cloud.google.com/go/retail v1.8.0/go.mod h1:QblKS8waDmNUhghY2TI9O3JLlFk8jybHeV4BF19FrE4= cloud.google.com/go/retail v1.9.0/go.mod h1:g6jb6mKuCS1QKnH/dpu7isX253absFl6iE92nHwlBUY= -cloud.google.com/go/retail v1.10.0/go.mod h1:2gDk9HsL4HMS4oZwz6daui2/jmKvqShXKQuB2RZ+cCc= -cloud.google.com/go/retail v1.11.0/go.mod h1:MBLk1NaWPmh6iVFSz9MeKG/Psyd7TAgm6y/9L2B4x9Y= -cloud.google.com/go/run v0.2.0/go.mod h1:CNtKsTA1sDcnqqIFR3Pb5Tq0usWxJJvsWOCPldRU3Do= -cloud.google.com/go/run v0.3.0/go.mod h1:TuyY1+taHxTjrD0ZFk2iAR+xyOXEA0ztb7U3UNA0zBo= cloud.google.com/go/scheduler v1.4.0/go.mod h1:drcJBmxF3aqZJRhmkHQ9b3uSSpQoltBPGPxGAWROx6s= cloud.google.com/go/scheduler v1.5.0/go.mod h1:ri073ym49NW3AfT6DZi21vLZrG07GXr5p3H1KxN5QlI= -cloud.google.com/go/scheduler v1.6.0/go.mod h1:SgeKVM7MIwPn3BqtcBntpLyrIJftQISRrYB5ZtT+KOk= -cloud.google.com/go/scheduler v1.7.0/go.mod h1:jyCiBqWW956uBjjPMMuX09n3x37mtyPJegEWKxRsn44= cloud.google.com/go/secretmanager v1.6.0/go.mod h1:awVa/OXF6IiyaU1wQ34inzQNc4ISIDIrId8qE5QGgKA= -cloud.google.com/go/secretmanager v1.8.0/go.mod h1:hnVgi/bN5MYHd3Gt0SPuTPPp5ENina1/LxM+2W9U9J4= -cloud.google.com/go/secretmanager v1.9.0/go.mod h1:b71qH2l1yHmWQHt9LC80akm86mX8AL6X1MA01dW8ht4= cloud.google.com/go/security v1.5.0/go.mod h1:lgxGdyOKKjHL4YG3/YwIL2zLqMFCKs0UbQwgyZmfJl4= cloud.google.com/go/security v1.7.0/go.mod h1:mZklORHl6Bg7CNnnjLH//0UlAlaXqiG7Lb9PsPXLfD0= cloud.google.com/go/security v1.8.0/go.mod h1:hAQOwgmaHhztFhiQ41CjDODdWP0+AE1B3sX4OFlq+GU= -cloud.google.com/go/security v1.9.0/go.mod h1:6Ta1bO8LXI89nZnmnsZGp9lVoVWXqsVbIq/t9dzI+2Q= -cloud.google.com/go/security v1.10.0/go.mod h1:QtOMZByJVlibUT2h9afNDWRZ1G96gVywH8T5GUSb9IA= cloud.google.com/go/securitycenter v1.13.0/go.mod h1:cv5qNAqjY84FCN6Y9z28WlkKXyWsgLO832YiWwkCWcU= cloud.google.com/go/securitycenter v1.14.0/go.mod h1:gZLAhtyKv85n52XYWt6RmeBdydyxfPeTrpToDPw4Auc= -cloud.google.com/go/securitycenter v1.15.0/go.mod h1:PeKJ0t8MoFmmXLXWm41JidyzI3PJjd8sXWaVqg43WWk= -cloud.google.com/go/securitycenter v1.16.0/go.mod h1:Q9GMaLQFUD+5ZTabrbujNWLtSLZIZF7SAR0wWECrjdk= -cloud.google.com/go/servicecontrol v1.4.0/go.mod h1:o0hUSJ1TXJAmi/7fLJAedOovnujSEvjKCAFNXPQ1RaU= -cloud.google.com/go/servicecontrol v1.5.0/go.mod h1:qM0CnXHhyqKVuiZnGKrIurvVImCs8gmqWsDoqe9sU1s= cloud.google.com/go/servicedirectory v1.4.0/go.mod h1:gH1MUaZCgtP7qQiI+F+A+OpeKF/HQWgtAddhTbhL2bs= cloud.google.com/go/servicedirectory v1.5.0/go.mod h1:QMKFL0NUySbpZJ1UZs3oFAmdvVxhhxB6eJ/Vlp73dfg= -cloud.google.com/go/servicedirectory v1.6.0/go.mod h1:pUlbnWsLH9c13yGkxCmfumWEPjsRs1RlmJ4pqiNjVL4= -cloud.google.com/go/servicedirectory v1.7.0/go.mod h1:5p/U5oyvgYGYejufvxhgwjL8UVXjkuw7q5XcG10wx1U= -cloud.google.com/go/servicemanagement v1.4.0/go.mod h1:d8t8MDbezI7Z2R1O/wu8oTggo3BI2GKYbdG4y/SJTco= -cloud.google.com/go/servicemanagement v1.5.0/go.mod h1:XGaCRe57kfqu4+lRxaFEAuqmjzF0r+gWHjWqKqBvKFo= -cloud.google.com/go/serviceusage v1.3.0/go.mod h1:Hya1cozXM4SeSKTAgGXgj97GlqUvF5JaoXacR1JTP/E= -cloud.google.com/go/serviceusage v1.4.0/go.mod h1:SB4yxXSaYVuUBYUml6qklyONXNLt83U0Rb+CXyhjEeU= -cloud.google.com/go/shell v1.3.0/go.mod h1:VZ9HmRjZBsjLGXusm7K5Q5lzzByZmJHf1d0IWHEN5X4= -cloud.google.com/go/shell v1.4.0/go.mod h1:HDxPzZf3GkDdhExzD/gs8Grqk+dmYcEjGShZgYa9URw= -cloud.google.com/go/spanner v1.7.0/go.mod h1:sd3K2gZ9Fd0vMPLXzeCrF6fq4i63Q7aTLW/lBIfBkIk= -cloud.google.com/go/spanner v1.41.0/go.mod h1:MLYDBJR/dY4Wt7ZaMIQ7rXOTLjYrmxLE/5ve9vFfWos= cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= -cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0= -cloud.google.com/go/speech v1.9.0/go.mod h1:xQ0jTcmnRFFM2RfX/U+rk6FQNUF6DQlydUSyoooSpco= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= cloud.google.com/go/storage v1.35.1 h1:B59ahL//eDfx2IIKFBeT5Atm9wnNmj3+8xG/W4WB//w= cloud.google.com/go/storage v1.35.1/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= -cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= -cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= -cloud.google.com/go/talent v1.3.0/go.mod h1:CmcxwJ/PKfRgd1pBjQgU6W3YBwiewmUzQYH5HHmSCmM= -cloud.google.com/go/talent v1.4.0/go.mod h1:ezFtAgVuRf8jRsvyE6EwmbTK5LKciD4KVnHuDEFmOOA= -cloud.google.com/go/texttospeech v1.4.0/go.mod h1:FX8HQHA6sEpJ7rCMSfXuzBcysDAuWusNNNvN9FELDd8= -cloud.google.com/go/texttospeech v1.5.0/go.mod h1:oKPLhR4n4ZdQqWKURdwxMy0uiTS1xU161C8W57Wkea4= -cloud.google.com/go/tpu v1.3.0/go.mod h1:aJIManG0o20tfDQlRIej44FcwGGl/cD0oiRyMKG19IQ= -cloud.google.com/go/tpu v1.4.0/go.mod h1:mjZaX8p0VBgllCzF6wcU2ovUXN9TONFLd7iz227X2Xg= -cloud.google.com/go/trace v1.3.0/go.mod h1:FFUE83d9Ca57C+K8rDl/Ih8LwOzWIV1krKgxg6N0G28= -cloud.google.com/go/trace v1.4.0/go.mod h1:UG0v8UBqzusp+z63o7FK74SdFE+AXpCLdFb1rshXG+Y= -cloud.google.com/go/translate v1.3.0/go.mod h1:gzMUwRjvOqj5i69y/LYLd8RrNQk+hOmIXTi9+nb3Djs= -cloud.google.com/go/translate v1.4.0/go.mod h1:06Dn/ppvLD6WvA5Rhdp029IX2Mi3Mn7fpMRLPvXT5Wg= -cloud.google.com/go/video v1.8.0/go.mod h1:sTzKFc0bUSByE8Yoh8X0mn8bMymItVGPfTuUBUyRgxk= -cloud.google.com/go/video v1.9.0/go.mod h1:0RhNKFRF5v92f8dQt0yhaHrEuH95m068JYOvLZYnJSw= cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= cloud.google.com/go/videointelligence v1.7.0/go.mod h1:k8pI/1wAhjznARtVT9U1llUaFNPh7muw8QyOUpavru4= -cloud.google.com/go/videointelligence v1.8.0/go.mod h1:dIcCn4gVDdS7yte/w+koiXn5dWVplOZkE+xwG9FgK+M= -cloud.google.com/go/videointelligence v1.9.0/go.mod h1:29lVRMPDYHikk3v8EdPSaL8Ku+eMzDljjuvRs105XoU= cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0= cloud.google.com/go/vision/v2 v2.2.0/go.mod h1:uCdV4PpN1S0jyCyq8sIM42v2Y6zOLkZs+4R9LrGYwFo= cloud.google.com/go/vision/v2 v2.3.0/go.mod h1:UO61abBx9QRMFkNBbf1D8B1LXdS2cGiiCRx0vSpZoUo= -cloud.google.com/go/vision/v2 v2.4.0/go.mod h1:VtI579ll9RpVTrdKdkMzckdnwMyX2JILb+MhPqRbPsY= -cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E= -cloud.google.com/go/vmmigration v1.2.0/go.mod h1:IRf0o7myyWFSmVR1ItrBSFLFD/rJkfDCUTO4vLlJvsE= -cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g= -cloud.google.com/go/vmwareengine v0.1.0/go.mod h1:RsdNEf/8UDvKllXhMz5J40XxDrNJNN4sagiox+OI208= -cloud.google.com/go/vpcaccess v1.4.0/go.mod h1:aQHVbTWDYUR1EbTApSVvMq1EnT57ppDmQzZ3imqIk4w= -cloud.google.com/go/vpcaccess v1.5.0/go.mod h1:drmg4HLk9NkZpGfCmZ3Tz0Bwnm2+DKqViEpeEpOq0m8= cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= -cloud.google.com/go/webrisk v1.6.0/go.mod h1:65sW9V9rOosnc9ZY7A7jsy1zoHS5W9IAXv6dGqhMQMc= -cloud.google.com/go/webrisk v1.7.0/go.mod h1:mVMHgEYH0r337nmt1JyLthzMr6YxwN1aAIEc2fTcq7A= -cloud.google.com/go/websecurityscanner v1.3.0/go.mod h1:uImdKm2wyeXQevQJXeh8Uun/Ym1VqworNDlBXQevGMo= -cloud.google.com/go/websecurityscanner v1.4.0/go.mod h1:ebit/Fp0a+FWu5j4JOmJEV8S8CzdTkAS77oDsiSqYWQ= cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= -cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M= -cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA= -code.gitea.io/sdk/gitea v0.12.0/go.mod h1:z3uwDV/b9Ls47NGukYM9XhnHtqPh/J+t40lsUrR6JDY= collectd.org v0.3.0/go.mod h1:A/8DzQBkF6abtvrT2j/AU/4tiBgJWYyh0y/oB/4MlWE= -contrib.go.opencensus.io/exporter/aws v0.0.0-20181029163544-2befc13012d0/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA= -contrib.go.opencensus.io/exporter/ocagent v0.5.0/go.mod h1:ImxhfLRpxoYiSq891pBrLVhN+qmP8BTVvdH2YLs7Gl0= -contrib.go.opencensus.io/exporter/stackdriver v0.12.1/go.mod h1:iwB6wGarfphGGe/e5CWqyUk/cLzKnWsOKPVW3no6OTw= -contrib.go.opencensus.io/exporter/stackdriver v0.13.4/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc= -contrib.go.opencensus.io/integrations/ocsql v0.1.4/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE= -contrib.go.opencensus.io/resource v0.1.1/go.mod h1:F361eGI91LCmW1I/Saf+rX0+OFcigGlFvXwEGEnkRLA= -cosmossdk.io/errors v1.0.0-beta.7 h1:gypHW76pTQGVnHKo6QBkb4yFOJjC+sUGRc5Al3Odj1w= -cosmossdk.io/errors v1.0.0-beta.7/go.mod h1:mz6FQMJRku4bY7aqS/Gwfcmr/ue91roMEKAmDUDpBfE= -cosmossdk.io/math v1.0.0-rc.0 h1:ml46ukocrAAoBpYKMidF0R2tQJ1Uxfns0yH8wqgMAFc= -cosmossdk.io/math v1.0.0-rc.0/go.mod h1:Ygz4wBHrgc7g0N+8+MrnTfS9LLn9aaTGa9hKopuym5k= +cosmossdk.io/api v0.3.1 h1:NNiOclKRR0AOlO4KIqeaG6PS6kswOMhHD0ir0SscNXE= +cosmossdk.io/api v0.3.1/go.mod h1:DfHfMkiNA2Uhy8fj0JJlOCYOBp4eWUUJ1te5zBGNyIw= +cosmossdk.io/core v0.5.1 h1:vQVtFrIYOQJDV3f7rw4pjjVqc1id4+mE0L9hHP66pyI= +cosmossdk.io/core v0.5.1/go.mod h1:KZtwHCLjcFuo0nmDc24Xy6CRNEL9Vl/MeimQ2aC7NLE= +cosmossdk.io/depinject v1.0.0-alpha.4 h1:PLNp8ZYAMPTUKyG9IK2hsbciDWqna2z1Wsl98okJopc= +cosmossdk.io/depinject v1.0.0-alpha.4/go.mod h1:HeDk7IkR5ckZ3lMGs/o91AVUc7E596vMaOmslGFM3yU= +cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0= +cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U= +cosmossdk.io/log v1.3.1 h1:UZx8nWIkfbbNEWusZqzAx3ZGvu54TZacWib3EzUYmGI= +cosmossdk.io/log v1.3.1/go.mod h1:2/dIomt8mKdk6vl3OWJcPk2be3pGOS8OQaLUM/3/tCM= +cosmossdk.io/math v1.3.0 h1:RC+jryuKeytIiictDslBP9i1fhkVm6ZDmZEoNP316zE= +cosmossdk.io/math v1.3.0/go.mod h1:vnRTxewy+M7BtXBNFybkuhSH4WfedVAAnERHgVFhp3k= +cosmossdk.io/simapp v0.0.0-20230608160436-666c345ad23d h1:E/8y0oG3u9hBR8l4F9MtC0LdZIamPCUwUoLlrHrX86I= +cosmossdk.io/simapp v0.0.0-20230608160436-666c345ad23d/go.mod h1:xbjky3L3DJEylaho6gXplkrMvJ5sFgv+qNX+Nn47bzY= +cosmossdk.io/tools/rosetta v0.2.1 h1:ddOMatOH+pbxWbrGJKRAawdBkPYLfKXutK9IETnjYxw= +cosmossdk.io/tools/rosetta v0.2.1/go.mod h1:Pqdc1FdvkNV3LcNIkYWt2RQY6IP1ge6YWZk8MhhO9Hw= dmitri.shuralyov.com/app/changes v0.0.0-20180602232624-0a106ad413e3/go.mod h1:Yl+fi1br7+Rr3LqpNJf1/uxUdtRUV+Tnj0o93V2B9MU= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= dmitri.shuralyov.com/html/belt v0.0.0-20180602232347-f7d459c86be0/go.mod h1:JLBrvjyP0v+ecvNYvCpyZgu5/xkfAUhi6wJj28eUfSU= dmitri.shuralyov.com/service/change v0.0.0-20181023043359-a85b471d5412/go.mod h1:a1inKt/atXimZ4Mv927x+r7UpyzRUf4emIoiiSC2TN4= dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c/go.mod h1:0PRwlb0D6DFvNNtx+9ybjezNCa8XF0xaYcETyp6rHWU= filippo.io/edwards25519 v1.0.0-beta.2/go.mod h1:X+pm78QAUPtFLi1z9PYIlS/bdDnvbCOGKtZ+ACWEf7o= -filippo.io/edwards25519 v1.0.0-rc.1 h1:m0VOOB23frXZvAOK44usCgLWvtsxIoMCTBGJZlpmGfU= filippo.io/edwards25519 v1.0.0-rc.1/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= +filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= +filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= -git.apache.org/thrift.git v0.12.0/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= git.sr.ht/~sircmpwn/getopt v0.0.0-20191230200459-23622cc906b3/go.mod h1:wMEGFFFNuPos7vHmWXfszqImLppbc0wEhh6JBfJIUgw= git.sr.ht/~sircmpwn/go-bare v0.0.0-20210406120253-ab86bc2846d9/go.mod h1:BVJwbDfVjCjoFiKrhkei6NdGcZYpkDkdyCdg1ukytRA= github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs= @@ -441,158 +224,52 @@ github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN github.com/99designs/keyring v1.1.6/go.mod h1:16e0ds7LGQQcT59QqkTg72Hh5ShM51Byv5PEmW6uoRU= github.com/99designs/keyring v1.2.1 h1:tYLp1ULvO7i3fI5vE21ReQuj99QFSs7lGm0xWyJo87o= github.com/99designs/keyring v1.2.1/go.mod h1:fc+wB5KTk9wQ9sDx0kFXB3A0MaeGHM9AwRStKOQ5vOA= -github.com/Abirdcfly/dupword v0.0.7/go.mod h1:K/4M1kj+Zh39d2aotRwypvasonOyAMH1c/IZJzE0dmk= -github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= -github.com/AkihiroSuda/containerd-fuse-overlayfs v1.0.0/go.mod h1:0mMDvQFeLbbn1Wy8P2j3hwFhqBq+FKn8OZPno8WLmp8= github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8= -github.com/Antonboom/errname v0.1.7/go.mod h1:g0ONh16msHIPgJSGsecu1G/dcF2hlYR/0SddnIAGavU= -github.com/Antonboom/nilnil v0.1.1/go.mod h1:L1jBqoWM7AOeTD+tSquifKSesRHs4ZdaxvZR+xdJEaI= -github.com/Azure/azure-amqp-common-go/v2 v2.1.0/go.mod h1:R8rea+gJRuJR6QxTir/XuEd+YuKoUiazDC/N96FiDEU= github.com/Azure/azure-pipeline-go v0.2.1/go.mod h1:UGSo8XybXnIGZ3epmeBw7Jdz+HiUVpqIlpz/HKHylF4= github.com/Azure/azure-pipeline-go v0.2.2/go.mod h1:4rQ/NZncSvGqNkkOsNpOU1tgoNuIlp9AfUH5G1tvCHc= -github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v19.1.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v29.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v30.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v35.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v38.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v42.3.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1/go.mod h1:fBF9PQNqB8scdgpZ3ufzaLntG0AG7C1WjPMsiFOmfHM= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= -github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0/go.mod h1:tPaiy8S5bQ+S5sOiDlINkp7+Ef339+Nz5L5XO+cnOHo= -github.com/Azure/azure-service-bus-go v0.9.1/go.mod h1:yzBx6/BUGfjfeqbRZny9AQIbIe3AcV9WZbAdpkoXOa0= github.com/Azure/azure-storage-blob-go v0.7.0/go.mod h1:f9YQKtsG1nMisotuTPpO0tjNuEjKRYAcJU8/ydDI++4= -github.com/Azure/azure-storage-blob-go v0.8.0/go.mod h1:lPI3aLPpuLTeUwh1sViKXFxwl2B6teiRqI0deQUvsw0= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= -github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= -github.com/Azure/go-autorest v10.8.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest v10.15.5+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest v12.0.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest v14.1.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= -github.com/Azure/go-autorest/autorest v0.9.3/go.mod h1:GsRuLYvwzLjjjRoWEIyMUaYq8GNUx2nRB378IPt/1p0= -github.com/Azure/go-autorest/autorest v0.9.6/go.mod h1:/FALq9T/kS7b5J5qsQ+RSTUdAmGFqi0vUdVNNx8q630= -github.com/Azure/go-autorest/autorest v0.10.2/go.mod h1:/FALq9T/kS7b5J5qsQ+RSTUdAmGFqi0vUdVNNx8q630= -github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= -github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= github.com/Azure/go-autorest/autorest/adal v0.8.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= -github.com/Azure/go-autorest/autorest/adal v0.8.1/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q= -github.com/Azure/go-autorest/autorest/adal v0.8.2/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q= -github.com/Azure/go-autorest/autorest/adal v0.8.3/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q= -github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= -github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= -github.com/Azure/go-autorest/autorest/azure/auth v0.4.2/go.mod h1:90gmfKdlmKgfjUpnCEpOJzsUEjrWDSLwHIG73tSXddM= -github.com/Azure/go-autorest/autorest/azure/cli v0.3.1/go.mod h1:ZG5p860J94/0kI9mNJVoIoLgXcirM2gF5i2kWloofxw= github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+vPmf1Ij9AEBM5FuBIXLmIy0g= -github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= -github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/to v0.2.0/go.mod h1:GunWKJp1AEqgMaGLV+iocmRAJWqST1wQYhyyjXJ3SJc= -github.com/Azure/go-autorest/autorest/to v0.3.0/go.mod h1:MgwOyqaIuKdG4TL/2ywSsIWKAfJfgHDo8ObuUk3t5sA= -github.com/Azure/go-autorest/autorest/validation v0.1.0/go.mod h1:Ha3z/SqBeaalWQvokg3NZAlQTalVMtOIAs1aGK7G6u8= -github.com/Azure/go-autorest/autorest/validation v0.2.0/go.mod h1:3EEqHnBxQGHXRYq3HT1WyXAvT7LLY3tl70hw6tQIbjI= github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= -github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= -github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/BlockPILabs/cosmos-db v0.0.3 h1:aEpIH9MusXCHfRGoSQyyCmmb7oE7MA0BarwRqxTwVE4= -github.com/BlockPILabs/cosmos-db v0.0.3/go.mod h1:xE2rbAl3xPUeXYEY4g9+kuCGm5aetGg1NBbKlYtOcIA= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/BurntSushi/toml v1.2.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= 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/go.mod h1:URdX5+vg25ts3aCh8H5IFZybJYKWhJHYMTnf+ULtoC4= github.com/ChainSafe/go-schnorrkel v1.0.0 h1:3aDA67lAykLaG1y3AOjs88dMxC88PgUuHRrLeDnvGIM= github.com/ChainSafe/go-schnorrkel v1.0.0/go.mod h1:dpzHYVxLZcp8pjlV+O+UR8K0Hp/z7vcchBSbMBEhCw4= github.com/CloudyKit/fastprinter v0.0.0-20170127035650-74b38d55f37a/go.mod h1:EFZQ978U7x8IRnstaskI3IysnWY5Ao3QgZUKOXlsAdw= -github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53/go.mod h1:+3IMCy2vIlbG1XG/0ggNQv0SvxCAIpPM5b1nCz56Xno= github.com/CloudyKit/jet v2.1.3-0.20180809161101-62edd43e4f88+incompatible/go.mod h1:HPYO+50pSWkPoj9Q/eq0aRGByCL6ScRlUmiEX5Zgm+w= -github.com/CloudyKit/jet/v3 v3.0.0/go.mod h1:HKQPgSJmdK8hdoAbKUUWajkHyHo4RaU5rMdUywE7VMo= github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= -github.com/DATA-DOG/go-sqlmock v1.5.0/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= github.com/DataDog/zstd v1.4.5/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= +github.com/DataDog/zstd v1.5.0 h1:+K/VEwIAaPcHiMtQvpLD4lqW7f0Gk3xdYZmI1hD+CXo= github.com/DataDog/zstd v1.5.0/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= -github.com/DataDog/zstd v1.5.2 h1:vUG4lAyuPCXO0TLbXvPv7EB7cNK1QV/luu55UHLrrn8= -github.com/DataDog/zstd v1.5.2/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= -github.com/Djarvur/go-err113 v0.0.0-20200410182137-af658d038157/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= -github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= -github.com/Djarvur/go-err113 v0.1.0/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= -github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0/go.mod h1:b3g59n2Y+T5xmcxJL+UEG2f8cQploZm1mR/v6BW0mU0= -github.com/GoogleCloudPlatform/cloudsql-proxy v0.0.0-20191009163259-e802c2cb94ae/go.mod h1:mjwGPas4yKduTyubHvD1Atl9r1rUq8DfVy+gkVvZ+oo= -github.com/GoogleCloudPlatform/k8s-cloud-provider v0.0.0-20190822182118-27a4ced34534/go.mod h1:iroGtC8B3tQiqtds1l+mgk/BBOrxbqjH+eUfFQYRc14= -github.com/HdrHistogram/hdrhistogram-go v1.1.0/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= +github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY= github.com/Joker/jade v1.0.1-0.20190614124447-d475f43051e7/go.mod h1:6E6s8o2AE4KhCrqr6GRJjdC/gNfTdxkIXvuGZZda2VM= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= -github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= -github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= -github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= -github.com/Masterminds/semver/v3 v3.0.3/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/semver/v3 v3.1.0/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/semver/v3 v3.2.0/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= -github.com/Masterminds/sprig v2.15.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= -github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= -github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= -github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= -github.com/Microsoft/go-winio v0.4.15-0.20200908182639-5b44b70ab3ab/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= -github.com/Microsoft/go-winio v0.4.15/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= -github.com/Microsoft/go-winio v0.4.16-0.20201130162521-d1ffc52c7331/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= -github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= -github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= +github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.6.0 h1:slsWYD/zyx7lCXoZVlvQrj0hPTM1HI4+v1sIda2yDvg= -github.com/Microsoft/go-winio v0.6.0/go.mod h1:cTAf44im0RAYeL23bpB+fzCyDH2MJiz2BO69KH/soAE= -github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= -github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= -github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ= -github.com/Microsoft/hcsshim v0.8.9/go.mod h1:5692vkUqntj1idxauYlpoINNKeqCiG6Sg38RRsjT5y8= -github.com/Microsoft/hcsshim v0.8.10/go.mod h1:g5uw8EV2mAlzqe94tfNBNdr89fnbD/n3HV0OhsddkmM= -github.com/Microsoft/hcsshim v0.8.14/go.mod h1:NtVKoYxQuTLx6gEq0L96c9Ju4JbRJ4nY2ow3VK6a9Lg= -github.com/Microsoft/hcsshim v0.8.15/go.mod h1:x38A4YbHbdxJtc0sF6oIz+RG0npwSCAvn69iY6URG00= -github.com/Microsoft/hcsshim v0.8.16/go.mod h1:o5/SZqmR7x9JNKsW3pu+nqHm0MF8vbA+VxGOoXdC600= -github.com/Microsoft/hcsshim v0.8.20/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= -github.com/Microsoft/hcsshim v0.8.21/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= -github.com/Microsoft/hcsshim v0.8.23/go.mod h1:4zegtUJth7lAvFyc6cH2gGQ5B3OFQim01nnU2M8jKDg= -github.com/Microsoft/hcsshim v0.9.2/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= -github.com/Microsoft/hcsshim v0.9.4/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= -github.com/Microsoft/hcsshim/test v0.0.0-20200826032352-301c83a30e7c/go.mod h1:30A5igQ91GEmhYJF8TaRP79pMBOYynRsyOByfVV0dU4= -github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5hlzMzRKMLyo42nCZ9oml8AdTlq/0cvIaBv6tK1RehU= -github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= -github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= -github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw= github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/OpenPeeDeeP/depguard v1.0.1/go.mod h1:xsIw86fROiiwelg+jB2uM9PiKihMMmUx/1V+TNhjQvM= -github.com/OpenPeeDeeP/depguard v1.1.1/go.mod h1:JtAMzWkmFEzDPyAd+W0NHl1lvpQKTvT9jnRVsohBKpc= -github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8= -github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/Shopify/goreferrer v0.0.0-20181106222321-ec9c9a553398/go.mod h1:a1uqRtAwp2Xwc6WNPJEufxJ7fx3npB4UV/JOLmbu5I0= -github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= @@ -603,101 +280,57 @@ github.com/VictoriaMetrics/fastcache v1.6.0 h1:C/3Oi3EiBCqufydp1neRZkqcwmEiuRT9c github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= -github.com/Workiva/go-datastructures v1.0.53 h1:J6Y/52yX10Xc5JjXmGtWoSSxs3mZnGSaq37xZZh7Yig= -github.com/Workiva/go-datastructures v1.0.53/go.mod h1:1yZL+zfsztete+ePzZz/Zb1/t5BnDuE2Ya2MMGhzP6A= +github.com/Workiva/go-datastructures v1.0.52/go.mod h1:Z+F2Rca0qCsVYDS8z7bAGm8f3UkzuWYS/oBZz5a7VVA= github.com/Zilliqa/gozilliqa-sdk v1.2.1-0.20201201074141-dd0ecada1be6/go.mod h1:eSYp2T6f0apnuW8TzhV3f6Aff2SE8Dwio++U4ha4yEM= -github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= +github.com/adlio/schema v1.1.13/go.mod h1:L5Z7tw+7lRK1Fnpi/LT/ooCP1elkXn0krMWBQHUhEDE= github.com/adlio/schema v1.3.3 h1:oBJn8I02PyTB466pZO1UZEn1TV5XLlifBSyMrmHl/1I= -github.com/adlio/schema v1.3.3/go.mod h1:1EsRssiv9/Ce2CMzq5DoL7RiMshhuigQxrR4DMV9fHg= github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= -github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= -github.com/alecthomas/kingpin v2.2.6+incompatible/go.mod h1:59OFYbFVLKQKq+mqrL6Rw5bR0c3ACQaawgXx0QYndlE= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= -github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk= -github.com/alexkohler/prealloc v1.0.0/go.mod h1:VetnK3dIgFBBKmg0YnD9F9x6Icjd+9cvfHR56wJVlKE= -github.com/alingse/asasalint v0.0.11/go.mod h1:nCaoMhw7a9kSJObvQyVzNTPBDbNpdocqrSP7t/cW5+I= -github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah4HI848JfFxHt+iPb26b4zyfspmqY0/8= github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= +github.com/allegro/bigcache v1.2.1 h1:hg1sY1raCwic3Vnsvje6TT7/pnZba83LeFck5NrFKSc= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= -github.com/andybalholm/brotli v1.0.2/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y= -github.com/andybalholm/brotli v1.0.3/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= -github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= -github.com/antihax/optional v0.0.0-20180407024304-ca021399b1a6/go.mod h1:V8iCPQYkqmusNa815XgQio277wI47sdRh1dUOLdyC6Q= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/aokoli/goutils v1.0.1/go.mod h1:SijmP0QR8LtwsmDs8Yii5Z/S4trXFGFC2oO5g9DP+DQ= github.com/apache/arrow/go/arrow v0.0.0-20191024131854-af6fa24be0db/go.mod h1:VTxUBvSJ3s3eHAg65PNgrsn5BtqCRPdmyXh6rAfdxN0= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= -github.com/apex/log v1.1.4/go.mod h1:AlpoD9aScyQfJDVHmLMEcx4oU6LqzkWp4Mg9GdAcEvQ= -github.com/apex/log v1.3.0/go.mod h1:jd8Vpsr46WAe3EZSQ/IUMs2qQD/GOycT5rPWCO1yGcs= -github.com/apex/logs v0.0.4/go.mod h1:XzxuLZ5myVHDy9SAmYpamKKRNApGj54PfYLcFrXqDwo= -github.com/aphistic/golf v0.0.0-20180712155816-02c07f170c5a/go.mod h1:3NqKYiepwy8kCu4PNA+aP7WUV72eXWJeP9/r3/K9aLE= -github.com/aphistic/sweet v0.2.0/go.mod h1:fWDlIh/isSE9n6EPsRmC0det+whmX6dJid3stzu0Xys= github.com/aristanetworks/goarista v0.0.0-20170210015632-ea17b1a17847/go.mod h1:D/tb0zPVXnP7fmsLZjtdUhSsumbK/ij54UXjjVgMGxQ= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= -github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-metrics v0.3.9/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= -github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= github.com/armon/go-metrics v0.4.1 h1:hR91U9KYmb6bLBYLQjyM+3j+rcd/UhE+G78SFnF8gJA= github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= -github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/ashanbrown/forbidigo v1.3.0/go.mod h1:vVW7PEdqEFqapJe95xHkTfB1+XvZXBFg8t0sG2FIxmI= -github.com/ashanbrown/makezero v1.1.1/go.mod h1:i1bJLCRSCHOcOa9Y6MyF2FTfMZMFdHvxKHxgO5Z1axI= github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= -github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= -github.com/aws/aws-sdk-go v1.15.27/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= -github.com/aws/aws-sdk-go v1.15.90/go.mod h1:es1KtYUFs7le0xQ3rOihkuoVD90z7D0fR2Qm4S00/gU= -github.com/aws/aws-sdk-go v1.16.26/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.19.18/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.19.45/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.20.6/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.25.11/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.25.37/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.25.48/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.27.1/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.31.6/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.36.30/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= -github.com/aws/aws-sdk-go v1.40.45/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q= -github.com/aws/aws-sdk-go v1.44.122 h1:p6mw01WBaNpbdP2xrisz5tIkcNwzj/HysobNoaAHjgo= github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.203 h1:pcsP805b9acL3wUqa4JR2vg1k2wnItkDYNvfmcy6F+U= +github.com/aws/aws-sdk-go v1.44.203/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/aws/aws-sdk-go-v2 v1.2.0/go.mod h1:zEQs02YRBw1DjK0PoJv3ygDYOFTre1ejlJWl8FwAuQo= -github.com/aws/aws-sdk-go-v2 v1.9.1/go.mod h1:cK/D0BBs0b/oWPIcX/Z/obahJK1TT7IPVjy53i/mX/4= github.com/aws/aws-sdk-go-v2/config v1.1.1/go.mod h1:0XsVy9lBI/BCXm+2Tuvt39YmdHwS5unDQmxZOYe8F5Y= github.com/aws/aws-sdk-go-v2/credentials v1.1.1/go.mod h1:mM2iIjwl7LULWtS6JCACyInboHirisUUdkBPoTHMOUo= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.0.2/go.mod h1:3hGg3PpiEjHnrkrlasTfxFqUsZ2GCk/fMUn4CbKgSkM= -github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.8.1/go.mod h1:CM+19rL1+4dFWnOQKwDc7H1KwXTz+h61oUSHyhV0b3o= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.0.2/go.mod h1:45MfaXZ0cNbeuT0KQ1XJylq8A6+OpVV2E5kvY/Kq+u8= github.com/aws/aws-sdk-go-v2/service/route53 v1.1.1/go.mod h1:rLiOUrPLW/Er5kRcQ7NkwbjlijluLsrIbu/iyl35RO4= github.com/aws/aws-sdk-go-v2/service/sso v1.1.1/go.mod h1:SuZJxklHxLAXgLTc1iFXbEWkXs7QRTQpCLGaKIprQW0= github.com/aws/aws-sdk-go-v2/service/sts v1.1.1/go.mod h1:Wi0EBZwiz/K44YliU0EKxqTCJGUfYTWXrrBwkq736bM= github.com/aws/smithy-go v1.1.0/go.mod h1:EzMw8dbp/YJL4A5/sbhGddag+NPT7q084agLbB9LgIw= -github.com/aws/smithy-go v1.8.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E= -github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59/go.mod h1:q/89r3U2H7sSsE2t6Kca0lfwTK8JdoNGS/yzM/4iH5I= github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g= -github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/benbjohnson/clock v1.3.5 h1:VvXlSJBzZpA/zum6Sj74hxwYI2DIxRWuNIoXAzHZz5o= github.com/benbjohnson/clock v1.3.5/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= -github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= @@ -710,40 +343,23 @@ github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816/go.mod h1:+zsy github.com/binance-chain/edwards25519 v0.0.0-20200305024217-f36fc4b53d43 h1:Vkf7rtHx8uHx8gDfkQaCdVfc+gfrF9v6sR6xJy7RXNg= github.com/binance-chain/edwards25519 v0.0.0-20200305024217-f36fc4b53d43/go.mod h1:TnVqVdGEK8b6erOMkcyYGWzCQMw7HEMCOw3BgFYCFWs= github.com/binance-chain/ledger-cosmos-go v0.9.9-binance.1/go.mod h1:FI6WAujuiBpoSavYreux2zTKyrUkngXDlRJczxsDK5M= -github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA= github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= -github.com/bkielbasa/cyclop v1.2.0/go.mod h1:qOI0yy6A7dYC4Zgsa72Ppm9kONl0RoIlPbzot9mhmeI= -github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb/go.mod h1:PkYb9DJNAwrSvRx5DYA+gUcOIgTGVMNkfSCbZM8cWpI= -github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/blang/semver v3.5.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/blizzy78/varnamelen v0.8.0/go.mod h1:V9TzQZ4fLJ1DSrjVDfl89H7aMnTvKkApdHeyESmyR7k= -github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40/go.mod h1:8rLXio+WjiTceGBHIoTvn60HIbs7Hm7bcHjyrSqYB9c= github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= -github.com/bombsimon/wsl/v2 v2.0.0/go.mod h1:mf25kr/SqFEPhhcxW1+7pxzGlW+hIl/hYTKY95VwV8U= -github.com/bombsimon/wsl/v2 v2.2.0/go.mod h1:Azh8c3XGEJl9LyX0/sFC+CKMc7Ssgua0g+6abzXN4Pg= -github.com/bombsimon/wsl/v3 v3.0.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc= -github.com/bombsimon/wsl/v3 v3.1.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc= -github.com/bombsimon/wsl/v3 v3.3.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc= github.com/bool64/dev v0.2.29 h1:x+syGyh+0eWtOzQ1ItvLzOGIWyNWnyjXpHIcpF2HvL4= github.com/bool64/shared v0.1.5 h1:fp3eUhBsrSjNCQPcSdQqZxxh9bBwrYiZ+zOKFkM0/2E= github.com/bool64/shared v0.1.5/go.mod h1:081yz68YC9jeFB3+Bbmno2RFWvGKv1lPKkMP6MHJlPs= github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625/go.mod h1:HYsPBTaaSFSlLx/70C2HPIMNZpVV8+vt/A+FMnYP11g= -github.com/breml/bidichk v0.2.3/go.mod h1:8u2C6DnAy0g2cEq+k/A2+tr9O1s+vHGxWn0LTc70T2A= -github.com/breml/errchkjson v0.3.0/go.mod h1:9Cogkyv9gcT8HREpzi3TiqBxCqDzo8awa92zSDFcofU= -github.com/bshuster-repo/logrus-logstash-hook v0.4.1/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= github.com/btcsuite/btcd v0.22.3 h1:kYNaWFvOw6xvqP0vR20RP1Zq1DVMBxEO8QN5d1/EfNg= github.com/btcsuite/btcd v0.22.3/go.mod h1:wqgTSL29+50LRkmOVknEdmt8ZojIzhuWvgu/iptuN7Y= github.com/btcsuite/btcd/btcec/v2 v2.1.2/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE= github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE= -github.com/btcsuite/btcd/btcec/v2 v2.2.1/go.mod h1:9/CSmJxmuvqzX9Wh2fXMWToLOHhPd11lSPuIupwTkI8= github.com/btcsuite/btcd/btcec/v2 v2.3.2 h1:5n0X6hX0Zk+6omWcihdYvdAlGf2DfasC0GMf7DClJ3U= github.com/btcsuite/btcd/btcec/v2 v2.3.2/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04= -github.com/btcsuite/btcd/btcutil v1.1.2/go.mod h1:UR7dsSJzJUfMmFiiLlIrMq1lS9jh9EdCV7FStZSnpi0= github.com/btcsuite/btcd/btcutil v1.1.3 h1:xfbtw8lwpp0G6NwSHb+UE67ryTFHJAiNuipusjXSohQ= github.com/btcsuite/btcd/btcutil v1.1.3/go.mod h1:UR7dsSJzJUfMmFiiLlIrMq1lS9jh9EdCV7FStZSnpi0= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.0/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= @@ -764,51 +380,25 @@ github.com/btcsuite/snappy-go v1.0.0/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792 h1:R8vQdOQdZ9Y3SkEwmHoWBmX1DNXhXZqlTpq6s4tyJGc= github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY= github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= -github.com/bufbuild/buf v1.9.0/go.mod h1:1Q+rMHiMVcfgScEF/GOldxmu4o9TrQ2sQQh58K6MscE= -github.com/bufbuild/connect-go v1.0.0/go.mod h1:9iNvh/NOsfhNBUH5CtvXeVUskQO1xsrEviH7ZArwZ3I= -github.com/bufbuild/protocompile v0.1.0 h1:HjgJBI85hY/qmW5tw/66sNDZ7z0UDdVSi/5r40WHw4s= -github.com/bufbuild/protocompile v0.1.0/go.mod h1:ix/MMMdsT3fzxfw91dvbfzKW3fRRnuPCP47kpAm5m/4= -github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= +github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= -github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= -github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= -github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50= -github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= -github.com/butuzov/ireturn v0.1.1/go.mod h1:Wh6Zl3IMtTpaIKbmwzqi6olnM9ptYQxxVacMsOEFPoc= github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= -github.com/bwesterb/go-ristretto v1.2.2/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34= -github.com/caarlos0/ctrlc v1.0.0/go.mod h1:CdXpj4rmq0q/1Eb44M9zi2nKB0QraNKuRGYGrrHhcQw= -github.com/campoy/unique v0.0.0-20180121183637-88950e537e7e/go.mod h1:9IOqJGCPMSc6E5ydlp5NIonxObaeu/Iub/X03EKPVYo= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= -github.com/casbin/casbin/v2 v2.37.0/go.mod h1:vByNa/Fchek0KZUgG5wEsl7iFsiviAYKRtgrQfcJqHg= -github.com/cavaliercoder/go-cpio v0.0.0-20180626203310-925f9528c45e/go.mod h1:oDpT4efm8tSYHXV5tHSdRvBet/b/QzxZ+XyyPehvm3A= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= -github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= -github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/cenkalti/backoff/v4 v4.2.0 h1:HN5dHm3WBOgndBH6E8V0q2jIYIR3s9yglV8k/+MN3u4= github.com/cenkalti/backoff/v4 v4.2.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= -github.com/census-instrumentation/opencensus-proto v0.2.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= -github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= -github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= github.com/cespare/cp v0.1.0 h1:SE+dxFebS7Iik5LK0tsi1k9ZCxEaFX4AjQmoyA+1dJk= github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/charithe/durationcheck v0.0.9/go.mod h1:SSbRIBVfMjCi/kEB6K65XEA83D6prSM8ap1UCpNKtgg= -github.com/chavacava/garif v0.0.0-20220630083739-93517212f375/go.mod h1:4m1Rv7xfuwWPNKXlThldNuJvutYM6J95wNuuVmn55To= -github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw= github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= -github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/logex v1.2.1 h1:XHDu3E6q+gdHgsdTPH6ImJMIp436vR6MPtH8gP05QzM= @@ -819,263 +409,121 @@ github.com/chzyer/readline v1.5.1/go.mod h1:Eh+b79XXUwfKfcPLepksvw2tcLE/Ct21YObk github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/chzyer/test v1.0.0 h1:p3BQDXSxOhOG0P9z6/hGnII4LGiEPOYBhs8asl/fC04= github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8= -github.com/cilium/ebpf v0.0.0-20200110133405-4032b1d8aae3/go.mod h1:MA5e5Lr8slmEg9bt0VpxxWqJlO4iwu3FBdHUzV7wQVg= -github.com/cilium/ebpf v0.0.0-20200702112145-1c8d4c9ef775/go.mod h1:7cR51M8ViRLIdUjrmSXlK9pkrsDlLHbO8jiB8X8JnOc= github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX2Qs= -github.com/cilium/ebpf v0.4.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= -github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA= github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= -github.com/clbanning/mxj v1.8.4/go.mod h1:BVjHeAH+rl9rs6f+QIpeRl0tfu10SXn1pUSa5PVGJng= github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I= -github.com/cloudflare/circl v1.3.1/go.mod h1:+CauBF6R70Jqcyl8N2hC8pAXYbWkGIezuSbuGLtRhnw= github.com/cloudflare/cloudflare-go v0.10.2-0.20190916151808-a80f83b9add9/go.mod h1:1MxXX1Ux4x6mqPmjkUgTP1CdXIBXKX7T+Jk9Gxrmx+U= github.com/cloudflare/cloudflare-go v0.14.0/go.mod h1:EnwdgGMaFOruiPZRFSgn+TsQ3hQ7C/YWzIGLeu5c304= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211130200136-a8f946100490/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/apd/v2 v2.0.2 h1:weh8u7Cneje73dDh+2tEVLUvyBc89iwepWCD8b8034E= github.com/cockroachdb/apd/v2 v2.0.2/go.mod h1:DDxRlzC2lo3/vSlmSoS7JkqbbrARPuFOGr0B9pvN3Gw= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= -github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= github.com/cockroachdb/datadriven v1.0.0/go.mod h1:5Ib8Meh+jk1RlHIXej6Pzevx/NLlNvQB9pmSBZErGA4= -github.com/cockroachdb/datadriven v1.0.2 h1:H9MtNqVoVhvd9nCBwOyDjUEdZCREqbIdCJD93PBm/jA= -github.com/cockroachdb/datadriven v1.0.2/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSUtcUFtT/C3kJlTU= -github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= github.com/cockroachdb/errors v1.6.1/go.mod h1:tm6FTP5G81vwJ5lC0SizQo374JNCOPrHyXGitRJoDqM= github.com/cockroachdb/errors v1.8.1/go.mod h1:qGwQn6JmZ+oMjuLwjWzUNqblqk0xl4CVV3SQbGwK7Ac= -github.com/cockroachdb/errors v1.9.1 h1:yFVvsI0VxmRShfawbt/laCIDy/mtTqqnvoNgiy5bEV8= -github.com/cockroachdb/errors v1.9.1/go.mod h1:2sxOtL2WIc096WSZqZ5h8fa17rdDq9HZOZLBCor4mBk= +github.com/cockroachdb/errors v1.10.0 h1:lfxS8zZz1+OjtV4MtNWgboi/W5tyLEB6VQZBXN+0VUU= +github.com/cockroachdb/errors v1.10.0/go.mod h1:lknhIsEVQ9Ss/qKDBQS/UqFSvPQjOwNq2qyKAxtHRqE= github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= -github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs= github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b h1:r6VH0faHjZeQy818SGhaone5OnYfxFR/+AzdY3sf5aE= github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs= -github.com/cockroachdb/pebble v0.0.0-20220726134658-7b78c71e4055/go.mod h1:890yq1fUb9b6dGNwssgeUO5vQV9qfXnCPxAJhBQfXw0= +github.com/cockroachdb/pebble v0.0.0-20220817183557-09c6e030a677 h1:qbb/AE938DFhOajUYh9+OXELpSF9KZw2ZivtmW6eX1Q= github.com/cockroachdb/pebble v0.0.0-20220817183557-09c6e030a677/go.mod h1:890yq1fUb9b6dGNwssgeUO5vQV9qfXnCPxAJhBQfXw0= -github.com/cockroachdb/pebble v0.0.0-20230209160836-829675f94811 h1:ytcWPaNPhNoGMWEhDvS3zToKcDpRsLuRolQJBVGdozk= -github.com/cockroachdb/pebble v0.0.0-20230209160836-829675f94811/go.mod h1:Nb5lgvnQ2+oGlE/EyZy4+2/CxRh9KfvCXnag1vtpxVM= github.com/cockroachdb/redact v1.0.8/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg= -github.com/cockroachdb/redact v1.1.3 h1:AKZds10rFSIj7qADf0g46UixK8NNLwWTNdCIGS5wfSQ= -github.com/cockroachdb/redact v1.1.3/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg= +github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwPJ30= +github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg= github.com/cockroachdb/sentry-go v0.6.1-cockroachdb.2/go.mod h1:8BT+cPK6xvFOcRlk0R8eg+OTkcqI6baNH4xAkpiYVvQ= -github.com/codahale/hdrhistogram v0.0.0-20160425231609-f8ad88b59a58/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0/go.mod h1:4Zcjuz89kmFXt9morQgcfYZAYZ5n8WHjt81YYWIwtTM= github.com/coinbase/kryptology v1.8.0/go.mod h1:RYXOAPdzOGUe3qlSFkMGn58i3xUA8hmxYHksuq+8ciI= github.com/coinbase/rosetta-sdk-go v0.6.10/go.mod h1:J/JFMsfcePrjJZkwQFLh+hJErkAmdm9Iyy3D5Y0LfXo= github.com/coinbase/rosetta-sdk-go v0.7.9 h1:lqllBjMnazTjIqYrOGv8h8jxjg9+hJazIGZr9ZvoCcA= github.com/coinbase/rosetta-sdk-go v0.7.9/go.mod h1:0/knutI7XGVqXmmH4OQD8OckFrbQ8yMsUZTG7FXCR2M= -github.com/cometbft/cometbft v0.34.28 h1:gwryf55P1SWMUP4nOXpRVI2D0yPoYEzN+IBqmRBOsDc= -github.com/cometbft/cometbft v0.34.28/go.mod h1:L9shMfbkZ8B+7JlwANEr+NZbBcn+hBpwdbeYvA5rLCw= +github.com/cometbft/cometbft v0.37.4 h1:xyvvEqlyfK8MgNIIKVJaMsuIp03wxOcFmVkT26+Ikpg= +github.com/cometbft/cometbft v0.37.4/go.mod h1:Cmg5Hp4sNpapm7j+x0xRyt2g0juQfmB752ous+pA0G8= github.com/consensys/bavard v0.1.8-0.20210406032232-f3452dc9b572/go.mod h1:Bpd0/3mZuaj6Sj+PqrmIquiOKy397AKGThQPaGzNXAQ= github.com/consensys/bavard v0.1.8-0.20210915155054-088da2f7f54a/go.mod h1:9ItSMtA/dXMAiL7BG6bqW2m3NdSEObYWoH223nGHukI= github.com/consensys/gnark-crypto v0.4.1-0.20210426202927-39ac3d4b3f1f/go.mod h1:815PAHg3wvysy0SyIqanF8gZ0Y1wjk/hrDHD/iT88+Q= github.com/consensys/gnark-crypto v0.5.3/go.mod h1:hOdPlWQV1gDLp7faZVeg8Y0iEPFaOUnCc4XeCCk96p0= -github.com/containerd/aufs v0.0.0-20200908144142-dab0cbea06f4/go.mod h1:nukgQABAEopAHvB6j7cnP5zJ+/3aVcE7hCYqvIwAHyE= -github.com/containerd/aufs v0.0.0-20201003224125-76a6863f2989/go.mod h1:AkGGQs9NM2vtYHaUen+NljV0/baGCAPELGm2q9ZXpWU= -github.com/containerd/aufs v0.0.0-20210316121734-20793ff83c97/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= -github.com/containerd/aufs v1.0.0/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= -github.com/containerd/btrfs v0.0.0-20201111183144-404b9149801e/go.mod h1:jg2QkJcsabfHugurUvvPhS3E08Oxiuh5W/g1ybB4e0E= -github.com/containerd/btrfs v0.0.0-20210316141732-918d888fb676/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss= -github.com/containerd/btrfs v1.0.0/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss= -github.com/containerd/cgroups v0.0.0-20190717030353-c4b9ac5c7601/go.mod h1:X9rLEHIqSf/wfK8NsPqxJmeZgW4pcfzdXITDrUSJ6uI= -github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f/go.mod h1:OApqhQ4XNSNC13gXIwDjhOQxjWa/NxkwZXJ1EvqT0ko= -github.com/containerd/cgroups v0.0.0-20200531161412-0dbf7f05ba59/go.mod h1:pA0z1pT8KYB3TCXK/ocprsh7MAkoW8bZVzPdih9snmM= -github.com/containerd/cgroups v0.0.0-20200710171044-318312a37340/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= -github.com/containerd/cgroups v0.0.0-20200824123100-0b889c03f102/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= github.com/containerd/cgroups v0.0.0-20201119153540-4cbc285b3327/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE= -github.com/containerd/cgroups v0.0.0-20210114181951-8a68de567b68/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE= -github.com/containerd/cgroups v1.0.1/go.mod h1:0SJrPIenamHDcZhEcJMNBB85rHcUsw4f25ZfBiPYRkU= -github.com/containerd/cgroups v1.0.3/go.mod h1:/ofk34relqNjSGyqPrmEULrO4Sc8LJhvJmWbUCUKqj8= github.com/containerd/cgroups v1.1.0 h1:v8rEWFl6EoqHB+swVNjVoCJE8o3jX7e8nqBGPLaDFBM= github.com/containerd/cgroups v1.1.0/go.mod h1:6ppBcbh/NOOUU+dMKrykgaBnK9lCIBxHqJDGwsa1mIw= -github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= -github.com/containerd/console v0.0.0-20181022165439-0650fd9eeb50/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= -github.com/containerd/console v0.0.0-20191206165004-02ecf6a7291e/go.mod h1:8Pf4gM6VEbTNRIT26AyyU7hxdQU3MvAvxVI0sc00XBE= -github.com/containerd/console v1.0.0/go.mod h1:8Pf4gM6VEbTNRIT26AyyU7hxdQU3MvAvxVI0sc00XBE= -github.com/containerd/console v1.0.1/go.mod h1:XUsP6YE/mKtz6bxc+I8UiKKTP04qjQL4qcS3XoQ5xkw= github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= -github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= -github.com/containerd/containerd v1.2.10/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.2/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.0-beta.2.0.20200729163537-40b22ef07410/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.1-0.20201117152358-0edc412565dc/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.1/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.3/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.9/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.5.0-beta.1/go.mod h1:5HfvG1V2FsKesEGQ17k5/T7V960Tmcumvqn8Mc+pCYQ= -github.com/containerd/containerd v1.5.0-beta.3/go.mod h1:/wr9AVtEM7x9c+n0+stptlo/uBBoBORwEx6ardVcmKU= -github.com/containerd/containerd v1.5.0-beta.4/go.mod h1:GmdgZd2zA2GYIBZ0w09ZvgqEq8EfBp/m3lcVZIvPHhI= -github.com/containerd/containerd v1.5.0-rc.0/go.mod h1:V/IXoMqNGgBlabz3tHD2TWDoTJseu1FGOKuoA4nNb2s= -github.com/containerd/containerd v1.5.1/go.mod h1:0DOxVqwDy2iZvrZp2JUx/E+hS0UNTVn7dJnIOwtYR4g= -github.com/containerd/containerd v1.5.7/go.mod h1:gyvv6+ugqY25TiXxcZC3L5yOeYgEw0QMhscqVp1AR9c= -github.com/containerd/containerd v1.5.8/go.mod h1:YdFSv5bTFLpG2HIYmfqDpSYYTDX+mc5qtSuYx1YUb/s= -github.com/containerd/containerd v1.6.1/go.mod h1:1nJz5xCZPusx6jJU8Frfct988y0NpumIq9ODB0kLtoE= -github.com/containerd/containerd v1.6.3-0.20220401172941-5ff8fce1fcc6/go.mod h1:WSt2SnDLAGWlu+Vl+EWay37seZLKqgRt6XLjIMy8SYM= -github.com/containerd/containerd v1.6.8/go.mod h1:By6p5KqPK0/7/CgO/A6t/Gz+CUYUu2zf1hUaaymVXB0= -github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/containerd/continuity v0.0.0-20190815185530-f2a389ac0a02/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe/go.mod h1:cECdGN1O8G9bgKTlLhuPJimka6Xb/Gg7vYzCTNVxhvo= -github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR3BEg7bDFaEddKm54WSmrol1fKWDU1nKYkgrcgZT7Y= -github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e/go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ= -github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM= -github.com/containerd/continuity v0.2.2/go.mod h1:pWygW9u7LtS1o4N/Tn0FoCFDIXZ7rxcMX7HX1Dmibvk= -github.com/containerd/continuity v0.2.3-0.20220330195504-d132b287edc8/go.mod h1:pWygW9u7LtS1o4N/Tn0FoCFDIXZ7rxcMX7HX1Dmibvk= +github.com/containerd/continuity v0.0.0-20190827140505-75bee3e2ccb6/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg= -github.com/containerd/continuity v0.3.0/go.mod h1:wJEAIwKOm/pBZuBd0JmeTvnLquTB1Ag8espWhkykbPM= -github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= -github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= -github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= -github.com/containerd/fifo v0.0.0-20201026212402-0724c46b320c/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= -github.com/containerd/fifo v0.0.0-20210316144830-115abcc95a1d/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= -github.com/containerd/fifo v1.0.0/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= -github.com/containerd/fuse-overlayfs-snapshotter v1.0.2/go.mod h1:nRZceC8a7dRm3Ao6cJAwuJWPFiBPaibHiFntRUnzhwU= -github.com/containerd/go-cni v1.0.1/go.mod h1:+vUpYxKvAF72G9i1WoDOiPGRtQpqsNW/ZHtSlv++smU= -github.com/containerd/go-cni v1.0.2/go.mod h1:nrNABBHzu0ZwCug9Ije8hL2xBCYh/pjfMb1aZGrrohk= -github.com/containerd/go-cni v1.1.0/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= -github.com/containerd/go-cni v1.1.3/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= -github.com/containerd/go-cni v1.1.4/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= -github.com/containerd/go-cni v1.1.6/go.mod h1:BWtoWl5ghVymxu6MBjg79W9NZrCRyHIdUtk4cauMe34= -github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= -github.com/containerd/go-runc v0.0.0-20190911050354-e029b79d8cda/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= -github.com/containerd/go-runc v0.0.0-20200220073739-7016d3ce2328/go.mod h1:PpyHrqVs8FTi9vpyHwPwiNEGaACDxT/N/pLcvMSRA9g= -github.com/containerd/go-runc v0.0.0-20201020171139-16b287bc67d0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= -github.com/containerd/go-runc v1.0.0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= -github.com/containerd/imgcrypt v1.0.1/go.mod h1:mdd8cEPW7TPgNG4FpuP3sGBiQ7Yi/zak9TYCG3juvb0= -github.com/containerd/imgcrypt v1.0.4-0.20210301171431-0ae5c75f59ba/go.mod h1:6TNsg0ctmizkrOgXRNQjAPFWpMYRWuiB6dSF4Pfa5SA= -github.com/containerd/imgcrypt v1.1.1-0.20210312161619-7ed62a527887/go.mod h1:5AZJNI6sLHJljKuI9IHnw1pWqo/F0nGDOuR9zgTs7ow= -github.com/containerd/imgcrypt v1.1.1/go.mod h1:xpLnwiQmEUJPvQoAapeb2SNCxz7Xr6PJrXQb0Dpc4ms= -github.com/containerd/imgcrypt v1.1.3/go.mod h1:/TPA1GIDXMzbj01yd8pIbQiLdQxed5ue1wb8bP7PQu4= -github.com/containerd/imgcrypt v1.1.4/go.mod h1:LorQnPtzL/T0IyCeftcsMEO7AqxUDbdO8j/tSUpgxvo= -github.com/containerd/nri v0.0.0-20201007170849-eb1350a75164/go.mod h1:+2wGSDGFYfE5+So4M5syatU0N0f0LbWpuqyMi4/BE8c= -github.com/containerd/nri v0.0.0-20210316161719-dbaa18c31c14/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= -github.com/containerd/nri v0.1.0/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= -github.com/containerd/stargz-snapshotter v0.0.0-20201027054423-3a04e4c2c116/go.mod h1:o59b3PCKVAf9jjiKtCc/9hLAd+5p/rfhBfm6aBcTEr4= -github.com/containerd/stargz-snapshotter v0.11.3/go.mod h1:2j2EAUyvrLU4D9unYlTIwGhDKQIk74KJ9E71lJsQCVM= -github.com/containerd/stargz-snapshotter/estargz v0.4.1/go.mod h1:x7Q9dg9QYb4+ELgxmo4gBUeJB0tl5dqH1Sdz0nJU1QM= -github.com/containerd/stargz-snapshotter/estargz v0.11.3/go.mod h1:7vRJIcImfY8bpifnMjt+HTJoQxASq7T28MYbP15/Nf0= -github.com/containerd/ttrpc v0.0.0-20190828154514-0e0f228740de/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= -github.com/containerd/ttrpc v0.0.0-20190828172938-92c8520ef9f8/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= -github.com/containerd/ttrpc v0.0.0-20191028202541-4f1b8fe65a5c/go.mod h1:LPm1u0xBw8r8NOKoOdNMeVHSawSsltak+Ihv+etqsE8= -github.com/containerd/ttrpc v1.0.1/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= -github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= -github.com/containerd/ttrpc v1.1.0/go.mod h1:XX4ZTnoOId4HklF4edwc4DcqskFZuvXB1Evzy5KFQpQ= -github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc= -github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd/go.mod h1:GeKYzf2pQcqv7tJ0AoCuuhtnqhva5LNU3U+OyKxxJpk= -github.com/containerd/typeurl v1.0.1/go.mod h1:TB1hUtrpaiO88KEK56ijojHS1+NeF0izUACaJW2mdXg= -github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= -github.com/containerd/zfs v0.0.0-20200918131355-0a33824f23a2/go.mod h1:8IgZOBdv8fAgXddBT4dBXJPtxyRsejFIpXoklgxgEjw= -github.com/containerd/zfs v0.0.0-20210301145711-11e8f1707f62/go.mod h1:A9zfAbMlQwE+/is6hi0Xw8ktpL+6glmqZYtevJgaB8Y= -github.com/containerd/zfs v0.0.0-20210315114300-dde8f0fda960/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= -github.com/containerd/zfs v0.0.0-20210324211415-d5c4544f0433/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= -github.com/containerd/zfs v1.0.0/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= -github.com/containernetworking/cni v0.7.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= -github.com/containernetworking/cni v0.8.0/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= -github.com/containernetworking/cni v0.8.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= -github.com/containernetworking/cni v1.0.1/go.mod h1:AKuhXbN5EzmD4yTNtfSsX3tPcmtrBI6QcRV0NiNt15Y= -github.com/containernetworking/cni v1.1.1/go.mod h1:sDpYKmGVENF3s6uvMvGgldDWeG8dMxakj/u+i9ht9vw= -github.com/containernetworking/plugins v0.8.6/go.mod h1:qnw5mN19D8fIwkqW7oHHYDHVlzhJpcY6TQxn/fUyDDM= -github.com/containernetworking/plugins v0.9.1/go.mod h1:xP/idU2ldlzN6m4p5LmGiwRDjeJr6FLK6vuiUwoH7P8= -github.com/containernetworking/plugins v1.0.1/go.mod h1:QHCfGpaTwYTbbH+nZXKVTxNBDZcxSOplJT5ico8/FLE= -github.com/containernetworking/plugins v1.1.1/go.mod h1:Sr5TH/eBsGLXK/h71HeLfX19sZPp3ry5uHSkI4LPxV8= -github.com/containers/ocicrypt v1.0.1/go.mod h1:MeJDzk1RJHv89LjsH0Sp5KTY3ZYkjXO/C+bKAeWFIrc= -github.com/containers/ocicrypt v1.1.0/go.mod h1:b8AOe0YR67uU8OqfVNcznfFpAzu3rdgUV4GP9qXPfu4= -github.com/containers/ocicrypt v1.1.1/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= -github.com/containers/ocicrypt v1.1.2/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= -github.com/containers/ocicrypt v1.1.3/go.mod h1:xpdkbVAuaH3WzbEabUd5yDsl9SwJA5pABH85425Es2g= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= -github.com/coreos/go-iptables v0.4.5/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= -github.com/coreos/go-iptables v0.5.0/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= -github.com/coreos/go-iptables v0.6.0/go.mod h1:Qe8Bv2Xik5FyTXwgIbLAnv2sWSBmvWdFETJConOQ//Q= -github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20161114122254-48702e0da86b/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd v0.0.0-20190620071333-e64a0ec8b42a/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd/v22 v22.0.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= -github.com/coreos/go-systemd/v22 v22.3.3-0.20220203105225-a9a7ef127534/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= -github.com/cosmos/cosmos-proto v1.0.0-beta.3 h1:VitvZ1lPORTVxkmF2fAp3IiA61xVwArQYKXTdEcpW6o= -github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960BvcTqtwuAxid3b/2rOD6I= +github.com/cosmos/cosmos-proto v1.0.0-beta.4 h1:aEL7tU/rLOmxZQ9z4i7mzxcLbSCY48OdY7lIWTLG7oU= +github.com/cosmos/cosmos-proto v1.0.0-beta.4/go.mod h1:oeB+FyVzG3XrQJbJng0EnV8Vljfk9XvTIpGILNU/9Co= github.com/cosmos/cosmos-sdk v0.43.0/go.mod h1:ctcrTEAhei9s8O3KSNvL0dxe+fVQGp07QyRb/7H9JYE= -github.com/cosmos/cosmos-sdk v0.46.13 h1:LhL6WDBadczqBuCW0t5BHUzGQR3vbujdOYOfU0ORt+o= -github.com/cosmos/cosmos-sdk v0.46.13/go.mod h1:EfY521ATNEla8eJ6oJuZBdgP5+p360s7InnRqX+TWdM= +github.com/cosmos/cosmos-sdk v0.47.10 h1:Wxf5yEN3jZbG4fftxAMKB6rpd8ME0mxuCVihpz65dt0= +github.com/cosmos/cosmos-sdk v0.47.10/go.mod h1:UWpgWkhcsBIATS68uUC0del7IiBN4hPv/vqg8Zz23uw= github.com/cosmos/cosmos-sdk/ics23/go v0.8.0 h1:iKclrn3YEOwk4jQHT2ulgzuXyxmzmPczUalMwW4XH9k= github.com/cosmos/cosmos-sdk/ics23/go v0.8.0/go.mod h1:2a4dBq88TUoqoWAU5eu0lGvpFP3wWDPgdHPargtyw30= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= -github.com/cosmos/gogoproto v1.4.7 h1:RzYKVnsEC7UIkDnhTIkqEB7LnIQbsySvmNEqPCiPevk= -github.com/cosmos/gogoproto v1.4.7/go.mod h1:gxGePp9qedovvl/StQL2BIJ6qlIBn1+9YxR0IulGBKA= +github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE= +github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ4GUkT+tbFI= +github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= +github.com/cosmos/gogoproto v1.4.10 h1:QH/yT8X+c0F4ZDacDv3z+xE3WU1P1Z3wQoLMBRJoKuI= +github.com/cosmos/gogoproto v1.4.10/go.mod h1:3aAZzeRWpAwr+SS/LLkICX2/kDFyaYVzckBDzygIxek= +github.com/cosmos/iavl v0.15.0-rc3.0.20201009144442-230e9bdf52cd/go.mod h1:3xOIaNNX19p0QrX0VqWa6voPRoJRGGYtny+DH8NEPvE= +github.com/cosmos/iavl v0.15.0-rc5/go.mod h1:WqoPL9yPTQ85QBMT45OOUzPxG/U/JcJoN7uMjgxke/I= +github.com/cosmos/iavl v0.15.3/go.mod h1:OLjQiAQ4fGD2KDZooyJG9yz+p2ao2IAYSbke8mVvSA4= github.com/cosmos/iavl v0.16.0/go.mod h1:2A8O/Jz9YwtjqXMO0CjnnbTYEEaovE8jWcwrakH3PoE= -github.com/cosmos/iavl v0.19.6 h1:XY78yEeNPrEYyNCKlqr9chrwoeSDJ0bV2VjocTk//OU= -github.com/cosmos/iavl v0.19.6/go.mod h1:X9PKD3J0iFxdmgNLa7b2LYWdsGd90ToV5cAONApkEPw= -github.com/cosmos/ibc-go/v6 v6.1.0 h1:o7oXws2vKkKfOFzJI+oNylRn44PCNt5wzHd/zKQKbvQ= -github.com/cosmos/ibc-go/v6 v6.1.0/go.mod h1:CY3zh2HLfetRiW8LY6kVHMATe90Wj/UOoY8T6cuB0is= +github.com/cosmos/iavl v0.20.1 h1:rM1kqeG3/HBT85vsZdoSNsehciqUQPWrR4BYmqE2+zg= +github.com/cosmos/iavl v0.20.1/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= +github.com/cosmos/ibc-go/v7 v7.2.0 h1:dx0DLUl7rxdyZ8NiT6UsrbzKOJx/w7s+BOaewFRH6cg= +github.com/cosmos/ibc-go/v7 v7.2.0/go.mod h1:OOcjKIRku/j1Xs1RgKK0yvKRrJ5iFuZYMetR1n3yMlc= +github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= +github.com/cosmos/ics23/go v0.10.0/go.mod h1:ZfJSmng/TBNTBkFemHHHj5YY7VAU/MBU980F4VU1NG0= github.com/cosmos/ledger-cosmos-go v0.11.1/go.mod h1:J8//BsAGTo3OC/vDLjMRFLW6q0WAaXvHnVc7ZmE8iUY= github.com/cosmos/ledger-cosmos-go v0.12.4 h1:drvWt+GJP7Aiw550yeb3ON/zsrgW0jgh5saFCr7pDnw= github.com/cosmos/ledger-cosmos-go v0.12.4/go.mod h1:fjfVWRf++Xkygt9wzCsjEBdjcf7wiiY35fv3ctT+k4M= github.com/cosmos/ledger-go v0.9.2/go.mod h1:oZJ2hHAZROdlHiwTg4t7kP+GKIIkBT+o6c9QWFanOyI= +github.com/cosmos/rosetta-sdk-go v0.10.0 h1:E5RhTruuoA7KTIXUcMicL76cffyeoyvNybzUGSKFTcM= +github.com/cosmos/rosetta-sdk-go v0.10.0/go.mod h1:SImAZkb96YbwvoRkzSMQB6noNJXFgWl/ENIznEoYQI4= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/creachadair/taskgroup v0.3.2 h1:zlfutDS+5XG40AOxcHDSThxKzns8Tnr9jnr6VqkYlkM= -github.com/creachadair/taskgroup v0.3.2/go.mod h1:wieWwecHVzsidg2CsUnFinW1faVN4+kq+TDlRJQ0Wbk= +github.com/creachadair/taskgroup v0.4.2 h1:jsBLdAJE42asreGss2xZGZ8fJra7WtwnHWeJFxv2Li8= +github.com/creachadair/taskgroup v0.4.2/go.mod h1:qiXUOSrbwAY3u0JPGTzObbE3yf9hcXHDKBZ2ZjpCbgM= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/cristalhq/acmd v0.8.1/go.mod h1:LG5oa43pE/BbxtfMoImHCQN++0Su7dzipdgBjMCBVDQ= -github.com/curioswitch/go-reassign v0.2.0/go.mod h1:x6OpXuWvgfQaMGks2BZybTngWjT84hqJfKoO8Tt/Roc= github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= -github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= -github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= -github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s= -github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8= -github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjIciD2oAxI7DmWRx6gbeqrkoLqv3MV0vzNad+I= -github.com/daixiang0/gci v0.8.1/go.mod h1:EpVfrztufwVgQRXjnX4zuNinEpLj5OmMjtu/+MB0V0c= github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U= -github.com/danieljoos/wincred v1.1.0/go.mod h1:XYlo+eRTsVA9aHGp7NGjFkPla4m+DCL7hqDjlFjiygg= github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0= github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0= github.com/dave/jennifer v1.2.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg= -github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -1095,74 +543,35 @@ github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0/go.mod h1:v57UDF4pDQJcEfFUCRop3 github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= github.com/deepmap/oapi-codegen v1.6.0/go.mod h1:ryDa9AgbELGeB+YEXE1dR53yAjHwFvE9iAUlWl9Al3M= github.com/deepmap/oapi-codegen v1.8.2/go.mod h1:YLgSKSDv/bZQB7N4ws6luhozi3cEdRktEqrX88CvjIw= -github.com/denis-tingaikin/go-header v0.4.3/go.mod h1:0wOCWuN71D5qIgE2nz9KrKmuYBAC2Mra5RassOIQ2/c= -github.com/denisenkom/go-mssqldb v0.12.0/go.mod h1:iiK0YP1ZeepvmBQk/QpLEhhTNJgfzrpArPY/aFvc9yU= -github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0= github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f h1:U5y3Y5UE0w7amNe7Z5G/twsBW0KEalRQXZzf8ufSh9I= github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f/go.mod h1:xH/i4TFMt8koVQZ6WFms69WAsDWr2XsYL3Hkl7jkoLE= -github.com/devigned/tab v0.1.1/go.mod h1:XG9mPq0dFghrYvoBF3xdRrJzSTX1b7IQrvaL9mzjeJY= github.com/dgraph-io/badger v1.6.0/go.mod h1:zwt7syl517jmP8s94KqSxTlM6IMsdhYy6psNgSztDR4= +github.com/dgraph-io/badger/v2 v2.2007.1/go.mod h1:26P/7fbL4kUZVEVKLAKXkBXKOydDmM2p1e+NhhnBCAE= github.com/dgraph-io/badger/v2 v2.2007.2/go.mod h1:26P/7fbL4kUZVEVKLAKXkBXKOydDmM2p1e+NhhnBCAE= github.com/dgraph-io/badger/v2 v2.2007.4 h1:TRWBQg8UrlUhaFdco01nO2uXwzKS7zd+HVdwV/GHc4o= github.com/dgraph-io/badger/v2 v2.2007.4/go.mod h1:vSw/ax2qojzbN6eXHIx6KPKtCSHJN/Uz0X0VPruTIhk= github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E= github.com/dgraph-io/ristretto v0.0.3/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E= -github.com/dgraph-io/ristretto v0.1.0 h1:Jv3CGQHp9OjuMBSne1485aDpUkTKEcUqF+jm/LuerPI= -github.com/dgraph-io/ristretto v0.1.0/go.mod h1:fux0lOrBhrVCJd3lcTHsIJhq1T2rokOu6v9Vcb3Q9ug= -github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dgraph-io/ristretto v0.1.1 h1:6CWw5tJNgpegArSHpNHJKldNeq03FQCwYvfMVWajOK8= +github.com/dgraph-io/ristretto v0.1.1/go.mod h1:S1GPSBCYCIhmVNfcth17y2zZtQT6wzkzgwUve0VDWWA= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-bitstream v0.0.0-20180413035011-3522498ce2c8/go.mod h1:VMaSuZ+SZcx/wljOQKvp5srsbCiKDEb6K2wC4+PiBmQ= github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WAFKLNi6ZS0675eEUC9y3AlwSbQu1Y= github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= -github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= github.com/dlclark/regexp2 v1.2.0/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= github.com/dlclark/regexp2 v1.7.0 h1:7lJfhqlPssTb1WQx4yvTHN0uElPEv52sbaECrAQxjAo= github.com/dlclark/regexp2 v1.7.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= -github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= -github.com/docker/cli v0.0.0-20190925022749-754388324470/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/cli v20.10.0-beta1.0.20201029214301-1d20b15adc38+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/cli v20.10.13+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/cli v20.10.14+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/cli v20.10.17+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= -github.com/docker/distribution v2.6.0-rc.1.0.20180327202408-83389a148052+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/distribution v2.8.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v0.0.0-20200511152416-a93e9eb0e95c/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v1.4.2-0.20180531152204-71cd53e4a197/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v1.4.2-0.20180625184442-8e610b2b55bf/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v17.12.0-ce-rc1.0.20200730172259-9f28837c1d93+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v20.10.0-beta1.0.20201110211921-af34b94a78a1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v20.10.3-0.20211208011758-87521affb077+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v20.10.7+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v20.10.17+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v20.10.19+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= -github.com/docker/docker-credential-helpers v0.6.4/go.mod h1:ofX3UI0Gz1TteYBjtgs07O36Pyasyp66D2uKT7H8W1c= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= -github.com/docker/go-events v0.0.0-20170721190031-9461782956ad/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= -github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= -github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916/go.mod h1:/u0gXw0Gay3ceNrsHubL3BtdOL2fHf93USgMTe0W5dI= -github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw= -github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docker/libnetwork v0.8.0-dev.2.0.20200917202933-d0951081b35f/go.mod h1:93m0aTqz6z+g32wla4l4WxTrdtvBRmVzYRkYvasA5Z8= -github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE= -github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dop251/goja v0.0.0-20200721192441-a695b0cdd498/go.mod h1:Mw6PkjjMXWbTj+nnj4s3QPXq1jaT0s5pC0iFD4+BOAA= github.com/dop251/goja v0.0.0-20211011172007-d99e4b8cbf48/go.mod h1:R9ET47fwRVRPZnOGvHxxhuZcbrMCuiqOz3Rlrh4KSnk= github.com/dop251/goja v0.0.0-20211022113120-dc8c55024d06/go.mod h1:R9ET47fwRVRPZnOGvHxxhuZcbrMCuiqOz3Rlrh4KSnk= @@ -1171,8 +580,9 @@ github.com/dop251/goja v0.0.0-20230122112309-96b1610dd4f7/go.mod h1:yRkwfj0CBpOG github.com/dop251/goja_nodejs v0.0.0-20210225215109-d91c329300e7/go.mod h1:hn7BA7c8pLvoGndExHudxTDKZ84Pyvv+90pbBjbTz0Y= github.com/dop251/goja_nodejs v0.0.0-20211022123610-8dd9abb0616d/go.mod h1:DngW8aVqWbuLRMHItjPUyqdj+HWPvnQe8V8y1nDpIbM= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/dvsekhvalnov/jose2go v0.0.0-20200901110807-248326c1351b/go.mod h1:7BvyPhdbLxMXIYTFPLsyJRFMsKmOZnQmzh6Gb+uquuM= github.com/dvsekhvalnov/jose2go v1.6.0 h1:Y9gnSnP4qEI0+/uQkHvFXeD2PLPJeXEL+ySMEA2EjTY= github.com/dvsekhvalnov/jose2go v1.6.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= @@ -1188,13 +598,8 @@ github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385/go.mod h1:0vRUJqYpeSZi github.com/elastic/gosigar v0.12.0/go.mod h1:iXRIGg2tLnu7LBdpqzyQfGDEidKCfWcCMS0WKyPWoMs= github.com/elastic/gosigar v0.14.2 h1:Dg80n8cr90OZ7x+bAax/QjoW/XqTI11RmA79ZwIm9/4= github.com/elastic/gosigar v0.14.2/go.mod h1:iXRIGg2tLnu7LBdpqzyQfGDEidKCfWcCMS0WKyPWoMs= -github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/proto v1.11.1 h1:CBZwNVwPJvkdevxvsoCuFedF9ENiBz0saen3L9y0OTA= github.com/emicklei/proto v1.11.1/go.mod h1:rn1FgRS/FANiZdD2djyH7TMA9jdRDcYQ9IEN9yvjX0A= -github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= github.com/enigmampc/btcutil v1.0.3-0.20200723161021-e2fb6adb2a25/go.mod h1:hTr8+TLQmkUkgcuh3mcr5fjrT9c64ZzsBCdCEC6UppY= github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= @@ -1205,47 +610,29 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.m github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= -github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= -github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= -github.com/envoyproxy/protoc-gen-validate v0.0.14/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v0.6.2/go.mod h1:2t7qjJNvHPx8IjnBOzl9E9/baC+qXE/TeeyBRzgJDws= -github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= -github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= -github.com/esimonov/ifshort v1.0.4/go.mod h1:Pe8zjlRrJ80+q2CxHLfEOfTwxCZ4O+MuhcHcfgNWTk0= github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= github.com/ethereum/go-ethereum v1.9.25/go.mod h1:vMkFiYLHI4tgPw4k2j4MHKoovchFE8plZ0M9VMk4/oM= github.com/ethereum/go-ethereum v1.10.17/go.mod h1:Lt5WzjM07XlXc95YzrhosmR4J9Ahd6X2wyEV2SvGhk0= github.com/ethereum/go-ethereum v1.10.26 h1:i/7d9RBBwiXCEuyduBQzJw/mKmnvzsN14jqBmytw72s= github.com/ethereum/go-ethereum v1.10.26/go.mod h1:EYFyF19u3ezGLD4RqOkLq+ZCXzYbLoNDdZlMt7kyKFg= -github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY= -github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evmos/ethermint v0.22.0 h1:ebJbC3Il+IbEbiGSBKUOv5lshJOibgTTgV2tNkJeo20= -github.com/evmos/ethermint v0.22.0/go.mod h1:6ne20tWhba7JnkdOUZZSCSL8wbb3KSaSP+YHFOPvllI= +github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51/go.mod h1:Yg+htXGokKKdzcwhuNDwVvN+uBxDGXJ7G/VN1d8fa64= github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c h1:8ISkoahWXwZR41ois5lSJBSVw4D0OV19Ht/JSTzvSv0= -github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c/go.mod h1:Yg+htXGokKKdzcwhuNDwVvN+uBxDGXJ7G/VN1d8fa64= github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 h1:JWuenKqqX8nojtoVVWjGfOF9635RETekkoH6Cc9SX0A= github.com/facebookgo/stack v0.0.0-20160209184415-751773369052/go.mod h1:UbMTZqLaRiH3MsBH8va0n7s1pQYcu3uTb8G4tygF4Zg= +github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870/go.mod h1:5tD+neXqOorC30/tWg0LCSkrqj/AR6gu8yY8/fpw1q0= github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4 h1:7HZCaLC5+BZpmbhCOZJ293Lz68O7PYrF2EzeiFMwCLk= -github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4/go.mod h1:5tD+neXqOorC30/tWg0LCSkrqj/AR6gu8yY8/fpw1q0= github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072/go.mod h1:duJ4Jxv5lDcvg4QuQr0oowTf7dz4/CR8NtyCooz9HL8= github.com/fatih/color v1.3.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= -github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= -github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/felixge/httpsnoop v1.0.2 h1:+nS9g82KMXccJ/wp0zyRW9ZBHFETmMGtkk+2CTTrW4o= github.com/felixge/httpsnoop v1.0.2/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/firefart/nonamedreturns v1.0.4/go.mod h1:TDhe/tjI1BXo48CmYbUduTV7BdIga8MAO/xbKdcVsGI= github.com/fjl/memsize v0.0.0-20180418122429-ca190fb6ffbc/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 h1:FtmdgXiUlNeRsoNMFlKLDt+S+6hbjVMEW6RGQ7aUf7c= github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= @@ -1254,43 +641,28 @@ github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI github.com/flynn/noise v1.0.0 h1:DlTHqmzmvcEiKj+4RYo/imoswx/4r6iBlCMfVtrMXpQ= github.com/flynn/noise v1.0.0/go.mod h1:xbMo+0i6+IGbYdJhF31t2eR1BIU0CYc12+BNAKwUTag= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/fortytw2/leaktest v1.2.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= github.com/francoispqt/gojay v1.2.13 h1:d2m3sFjloqoIUQU3TsHBgj6qg/BVGlTBeHDUmyJnXKk= github.com/francoispqt/gojay v1.2.13/go.mod h1:ehT5mTG4ua4581f1++1WLG0vPdaA9HaiDsoyrBGkyDY= github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= -github.com/franela/goblin v0.0.0-20210519012713-85d372ac71e2/go.mod h1:VzmDKDJVZI3aJmnRI9VjAn9nJ8qPPsN1fqzr9dqInIo= github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= -github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= github.com/frumioj/crypto11 v1.2.5-0.20210823151709-946ce662cc0e h1:HRagc2sBsKLDvVVXQMaCEU8ueRFAl3txucwykhQPbGc= github.com/frumioj/crypto11 v1.2.5-0.20210823151709-946ce662cc0e/go.mod h1:/1u7qgWwAI7wja4BdNu5Vd5gqMtmtoiACHlhl46uY1E= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= -github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= -github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA= -github.com/fullstorydev/grpcurl v1.6.0/go.mod h1:ZQ+ayqbKMJNhzLmbpCiurTVlaK2M/3nqZCxaQ2Ze/sM= -github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA= -github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY= github.com/gavv/httpexpect v2.0.0+incompatible/go.mod h1:x+9tiU1YnrOvnB725RkpoLv1M62hOWzwo5OXotisrKc= github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff h1:tY80oXqGNY4FhTFhk+o9oFHGINQ/+vhlm8HFzi6znCI= github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= github.com/getkin/kin-openapi v0.53.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= github.com/getkin/kin-openapi v0.61.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= -github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= -github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= -github.com/getsentry/sentry-go v0.12.0/go.mod h1:NSap0JBYWzHND8oMbyi0+XZhUalc1TBdRL1M71JZW2c= -github.com/getsentry/sentry-go v0.18.0 h1:MtBW5H9QgdcJabtZcuJG80BMOwaBpkRDZkxRkNC1sN0= -github.com/getsentry/sentry-go v0.18.0/go.mod h1:Kgon4Mby+FJ7ZWHFUAZgVaIa8sxHtnRJRLTXZr51aKQ= +github.com/getsentry/sentry-go v0.23.0 h1:dn+QRCeJv4pPt9OjVXiMcGIBIefaTJPw/h0bZWO05nE= +github.com/getsentry/sentry-go v0.23.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/ghemawat/stream v0.0.0-20171120220530-696b145b53b9/go.mod h1:106OIgooyS7OzLDOpUGgm9fA3bQENb/cFSyyBmMoJDs= -github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.0.0-20190301062529-5545eab6dad3/go.mod h1:VJ0WA2NBN22VlZ2dKZQPAPnyWw5XTlK1KymzLKsr59s= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= @@ -1299,50 +671,31 @@ github.com/gin-gonic/gin v1.4.0/go.mod h1:OW2EZn3DO8Ln9oIKOvM++LBO+5UPHJJDH72/q/ github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= github.com/gin-gonic/gin v1.8.1 h1:4+fr/el88TOO3ewCmQr8cx/CtZ/umlIRIs5M4NTNjf8= github.com/gliderlabs/ssh v0.1.1/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= -github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd/go.mod h1:/20jfyN9Y5QPEAprSgKAUr+glWDY39ZiUEAYOEv5dsE= github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24= github.com/go-check/check v0.0.0-20180628173108-788fd7840127/go.mod h1:9ES+weclKsC9YodN5RgxqK/VD9HM9JsCSh7rNhMZE98= github.com/go-chi/chi/v5 v5.0.0/go.mod h1:BBug9lr0cqtdAhsu6R4AAdvufI0/XBzAQSsUqJpoZOs= -github.com/go-chi/chi/v5 v5.0.7/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= -github.com/go-critic/go-critic v0.4.1/go.mod h1:7/14rZGnZbY6E38VEGk2kVhoq6itzc1E68facVDK23g= -github.com/go-critic/go-critic v0.4.3/go.mod h1:j4O3D4RoIwRqlZw5jJpx0BNfXWWbpcJoKu5cYSe4YmQ= -github.com/go-critic/go-critic v0.6.5/go.mod h1:ezfP/Lh7MA6dBNn4c6ab5ALv3sKnZVLx37tr00uuaOY= github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA= -github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= -github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= -github.com/go-git/go-git/v5 v5.5.1/go.mod h1:uz5PQ3d0gz7mSgzZhSJToM6ALPaKCdSnl58/Xb5hzr8= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-ini/ini v1.25.4/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= github.com/go-kit/kit v0.12.0 h1:e4o3o3IsBfAKQh5Qbbiqyfu97Ku7jrO/JbohvztANh4= github.com/go-kit/kit v0.12.0/go.mod h1:lHd+EkCZPIwYItmGDDRdhinkzX2A1sj+M9biaEaizzs= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU= github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= -github.com/go-lintpack/lintpack v0.5.2/go.mod h1:NwZuYi2nUHho8XEIZ6SIxihrnPoqBTDqfpXvXAN0sXM= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= -github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= -github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= -github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= -github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= -github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logfmt/logfmt v0.6.0 h1:wGYYu3uicYdqXVgoYbvnkrPVXkuLM1p1ifugDMEdRi4= +github.com/go-logfmt/logfmt v0.6.0/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-martini/martini v0.0.0-20170121215854-22fa46961aab/go.mod h1:/P9AEU963A2AYjv4d1V5eVL1CQbEJq6aCNHDDjibzu8= @@ -1350,20 +703,8 @@ github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dT github.com/go-ole/go-ole v1.2.5/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= -github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= -github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= -github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= -github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= -github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= -github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= -github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= -github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= -github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= -github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU= @@ -1371,42 +712,17 @@ github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+ github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/jYrnRPArHwAcmLoJZxyho= github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= github.com/go-playground/validator/v10 v10.11.1 h1:prmOlTVv+YjZjmRmNSF3VmspqJIxJWXmqUsHwfTRRkQ= -github.com/go-redis/redis v6.15.8+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= github.com/go-sourcemap/sourcemap v2.1.2+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= github.com/go-sourcemap/sourcemap v2.1.3+incompatible h1:W1iEw64niKVGogNgBN3ePyLFfuisuzeidWPMPWmECqU= github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= -github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= -github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-stack/stack v1.8.1 h1:ntEHSVwIt7PNXNpgPmVfMrNhLtgjlmnZha2kOpuRiDw= github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= -github.com/go-toolsmith/astcast v1.0.0/go.mod h1:mt2OdQTeAQcY4DQgPSArJjHCcOwlX+Wl/kwN+LbLGQ4= -github.com/go-toolsmith/astcopy v1.0.0/go.mod h1:vrgyG+5Bxrnz4MZWPF+pI4R8h3qKRjjyvV/DSez4WVQ= -github.com/go-toolsmith/astcopy v1.0.2/go.mod h1:4TcEdbElGc9twQEYpVo/aieIXfHhiuLh4aLAck6dO7Y= -github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6/go.mod h1:H+xSiq0+LtiDC11+h1G32h7Of5O3CYFJ99GVbS5lDKY= -github.com/go-toolsmith/astequal v1.0.0/go.mod h1:H+xSiq0+LtiDC11+h1G32h7Of5O3CYFJ99GVbS5lDKY= -github.com/go-toolsmith/astequal v1.0.2/go.mod h1:9Ai4UglvtR+4up+bAD4+hCj7iTo4m/OXVTSLnCyTAx4= -github.com/go-toolsmith/astequal v1.0.3/go.mod h1:9Ai4UglvtR+4up+bAD4+hCj7iTo4m/OXVTSLnCyTAx4= -github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086/go.mod h1:mP93XdblcopXwlyN4X4uodxXQhldPGZbcEJIimQHrkg= -github.com/go-toolsmith/astfmt v1.0.0/go.mod h1:cnWmsOAuq4jJY6Ct5YWlVLmcmLMn1JUPuQIHCY7CJDw= -github.com/go-toolsmith/astinfo v0.0.0-20180906194353-9809ff7efb21/go.mod h1:dDStQCHtmZpYOmjRP/8gHHnCCch3Zz3oEgCdZVdtweU= -github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30/go.mod h1:SV2ur98SGypH1UjcPpCatrV5hPazG6+IfNHbkDXBRrk= -github.com/go-toolsmith/astp v1.0.0/go.mod h1:RSyrtpVlfTFGDYRbrjyWP1pYu//tSFcvdYrA8meBmLI= -github.com/go-toolsmith/pkgload v0.0.0-20181119091011-e9e65178eee8/go.mod h1:WoMrjiy4zvdS+Bg6z9jZH82QXwkcgCBX6nOfnmdaHks= -github.com/go-toolsmith/pkgload v1.0.0/go.mod h1:5eFArkbO80v7Z0kdngIxsRXRMTaX4Ilcwuh3clNrQJc= -github.com/go-toolsmith/pkgload v1.0.2-0.20220101231613-e814995d17c5/go.mod h1:3NAwwmD4uY/yggRxoEjk/S00MIV3A+H7rrE3i87eYxM= -github.com/go-toolsmith/strparse v1.0.0/go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8= -github.com/go-toolsmith/typep v1.0.0/go.mod h1:JSQCQMUPdRlMZFswiq3TGpNp1GMktqkR2Ns5AIQkATU= -github.com/go-toolsmith/typep v1.0.2/go.mod h1:JSQCQMUPdRlMZFswiq3TGpNp1GMktqkR2Ns5AIQkATU= -github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM= github.com/go-yaml/yaml v2.1.0+incompatible/go.mod h1:w2MrLa16VYP0jy6N7M5kHaCkaLENm+P+Tv+MfurjSw0= -github.com/go-zookeeper/zk v1.0.2/go.mod h1:nOB03cncLtlp4t+UAkGSV+9beXP/akpekBwL+UX1Qcw= -github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee h1:s+21KNqlpePfkah2I+gwHF8xmJWRjooY+5248k6m4A0= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0 h1:QEmUOlnSjWtnpRGHF3SauEiOsy82Cup83Vf2LcMlnc8= @@ -1414,42 +730,25 @@ github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6Wezm github.com/gobwas/ws v1.0.2 h1:CoAavW/wd/kulfZmSIBt6p24n4j7tHgNVCjsfHVNUbo= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= github.com/goccy/go-json v0.9.11 h1:/pAaQDLHEoCq/5FFmSKBswWmK6H0e8g4159Kc/X/nqk= -github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= -github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= -github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+Hoeu/iUR3ruzNvZ+yQfO03a0= github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/godbus/dbus/v5 v5.0.6/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gofrs/flock v0.0.0-20190320160742-5135e617513b/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= -github.com/gofrs/flock v0.7.3/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= -github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= -github.com/gofrs/uuid v4.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= -github.com/gogo/gateway v1.1.0 h1:u0SuhL9+Il+UbjM9VIE3ntfRujKbvVpFvNB4HbjeVQ0= github.com/gogo/gateway v1.1.0/go.mod h1:S7rR8FRQyG3QFESeSv4l2WnsyzlCLG0CzBbUUo/mbic= github.com/gogo/googleapis v0.0.0-20180223154316-0cd9801be74a/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= -github.com/gogo/googleapis v1.2.0/go.mod h1:Njal3psf3qN6dwBtQfUmBZh2ybovJ0tlu3o/AC7HYjU= -github.com/gogo/googleapis v1.3.2/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= -github.com/gogo/googleapis v1.4.0/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= +github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= +github.com/gogo/googleapis v1.4.1 h1:1Yx4Myt7BxzvUr5ldGSbwYiZG6t9wGBZ+8/fX3Wvtq0= github.com/gogo/googleapis v1.4.1/go.mod h1:2lpHqI5OcWCtVElxXnPt+s8oJvMpySlOyM6xDCrzib4= github.com/gogo/status v1.1.0/go.mod h1:BFv9nrluPLmrS0EmGVvLaPNmRosr9KapBYd5/hpY1WM= -github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY= -github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= -github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -github.com/golang-jwt/jwt/v4 v4.1.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-jwt/jwt/v4 v4.3.0 h1:kHL1vqdqWNfATmA0FNMdmZNMyZI1U6O31X4rlIPoBog= github.com/golang-jwt/jwt/v4 v4.3.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= -github.com/golang-sql/sqlexp v0.0.0-20170517235910-f1bb20e5a188/go.mod h1:vXjM/+wXQnTPR4KqTKDgJukSZ6amVRtWMPEjE6sQoK8= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -1470,8 +769,6 @@ github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71 github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= -github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.0/go.mod h1:Qd/q+1AKNOZr9uGQzbzCmRO6sUih6GTPZv6a1/R87v0= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -1498,40 +795,12 @@ github.com/golang/snappy v0.0.3-0.20201103224600-674baa8c7fc3/go.mod h1:/XxbfmMg github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2/go.mod h1:k9Qvh+8juN+UKMCS/3jFtGICgW8O96FVaZsaxdzDkR4= -github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a/go.mod h1:ryS0uhF+x9jgbj/N71xsEqODy9BN81/GonCZiOzirOk= -github.com/golangci/errcheck v0.0.0-20181223084120-ef45e06d44b6/go.mod h1:DbHgvLiFKX1Sh2T1w8Q/h4NAI8MHIpzCdnBUDTXU3I0= -github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613/go.mod h1:SyvUF2NxV+sN8upjjeVYr5W7tyxaT1JVtvhKhOn2ii8= -github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe/go.mod h1:gjqyPShc/m8pEMpk0a3SeagVb0kaqvhscv+i9jI5ZhQ= -github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3/go.mod h1:JXrF4TWy4tXYn62/9x8Wm/K/dm06p8tCKwFRDPZG/1o= -github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee/go.mod h1:ozx7R9SIwqmqf5pRP90DhR2Oay2UIjGuKheCBCNwAYU= -github.com/golangci/gocyclo v0.0.0-20180528144436-0a533e8fa43d/go.mod h1:ozx7R9SIwqmqf5pRP90DhR2Oay2UIjGuKheCBCNwAYU= -github.com/golangci/gofmt v0.0.0-20190930125516-244bba706f1a/go.mod h1:9qCChq59u/eW8im404Q2WWTrnBUQKjpNYKMbU4M7EFU= -github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2/go.mod h1:9wOXstvyDRshQ9LggQuzBCGysxs3b6Uo/1MvYCR2NMs= -github.com/golangci/golangci-lint v1.23.7/go.mod h1:g/38bxfhp4rI7zeWSxcdIeHTQGS58TCak8FYcyCmavQ= -github.com/golangci/golangci-lint v1.27.0/go.mod h1:+eZALfxIuthdrHPtfM7w/R3POJLjHDfJJw8XZl9xOng= -github.com/golangci/golangci-lint v1.50.1/go.mod h1:AQjHBopYS//oB8xs0y0M/dtxdKHkdhl0RvmjUct0/4w= -github.com/golangci/ineffassign v0.0.0-20190609212857-42439a7714cc/go.mod h1:e5tpTHCfVze+7EpLEozzMB3eafxo2KT5veNg1k6byQU= github.com/golangci/lint-1 v0.0.0-20181222135242-d2cdd8c08219/go.mod h1:/X8TswGSh1pIozq4ZwCfxS0WA5JGXguxk94ar/4c87Y= -github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0/go.mod h1:66R6K6P6VWk9I95jvqGxkqJxVWGFy9XlDwLwVz1RCFg= -github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca/go.mod h1:tvlJhZqDe4LMs4ZHD0oMUlt9G2LWuDGoisJTBzLMV9o= -github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770/go.mod h1:dEbvlSfYbMQDtrpRMQU675gSDLDNa8sCPPChZ7PhiVA= -github.com/golangci/misspell v0.3.5/go.mod h1:dEbvlSfYbMQDtrpRMQU675gSDLDNa8sCPPChZ7PhiVA= -github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21/go.mod h1:tf5+bzsHdTM0bsB7+8mt0GUMvjCgwLpTapNZHU8AajI= -github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0/go.mod h1:qOQCunEYvmd/TLamH+7LlVccLvUH5kZNhbCgTHoBbp4= -github.com/golangci/revgrep v0.0.0-20180812185044-276a5c0a1039/go.mod h1:qOQCunEYvmd/TLamH+7LlVccLvUH5kZNhbCgTHoBbp4= -github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6/go.mod h1:0AKcRCkMoKvUvlf89F6O7H2LYdhr1zBh736mBItOdRs= -github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4/go.mod h1:Izgrg8RkN3rCIMLGE9CyYmU9pY2Jer6DgANEnZ/L/cQ= github.com/gomodule/redigo v1.7.1-0.20190724094224-574c33c3df38/go.mod h1:B4C85qUVwatsJoIUNIfCRsp7qO0iAmpGFZ4EELWSbC4= -github.com/google/btree v0.0.0-20180124185431-e89373fe6b4a/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= github.com/google/btree v1.1.2 h1:xf4v41cLI2Z6FxbKm+8Bu+m8ifhj15JuZ9sa0jZCMUU= github.com/google/btree v1.1.2/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4= -github.com/google/certificate-transparency-go v1.0.21/go.mod h1:QeJfpSbVSfYc7RgB3gJFj9cbuQMMchQxrWXz8Ruopmg= -github.com/google/certificate-transparency-go v1.1.1/go.mod h1:FDKqPvSXawb2ecErVRrD+nfy23RCzyl7eqVCEmlT1Zs= -github.com/google/crfs v0.0.0-20191108021818-71d77da419c9/go.mod h1:etGhoOqfwPkooV6aqoX3eBGQOJblqdoc9XvWOeuxpPw= github.com/google/flatbuffers v1.11.0/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -1550,27 +819,17 @@ github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-containerregistry v0.0.0-20191010200024-a3d713f9b7f8/go.mod h1:KyKXa9ciM8+lgMXwOVsXi7UxGrsf9mM61Mzs+xKUrKE= -github.com/google/go-containerregistry v0.1.2/go.mod h1:GPivBPgdAyd2SU+vf6EpsgOtWDuPqjW0hJZt4rNdTZ4= -github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ= -github.com/google/go-github/v28 v28.1.1/go.mod h1:bsqJWQX05omyWVmc00nEUql9mhQyv38lDZ8kPZcQVoM= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= -github.com/google/go-replayers/grpcreplay v0.1.0/go.mod h1:8Ig2Idjpr6gifRd6pNVggX6TC1Zw6Jx74AKp7QNH2QE= -github.com/google/go-replayers/httpreplay v0.1.0/go.mod h1:YKZViNhiGgqdBlUbI2MwGpq4pXxNmhJLPHQ7cv2b5no= -github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= -github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gopacket v1.1.17/go.mod h1:UdDNZ1OO62aGYVnPhxT1U6aI7ukYtA/kB8vaU0diBUM= github.com/google/gopacket v1.1.19 h1:ves8RnFZPGiFnTS0uPQStjwru6uO6h+nlr9j6fL7kF8= github.com/google/gopacket v1.1.19/go.mod h1:iJ8V8n6KS+z2U1A8pUwu8bW5SyEMkXJB8Yo/Vo+TKTo= +github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible h1:xmapqc1AyLoB+ddYT6r04bD9lIjlOqGaREovi0SzFaE= -github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= @@ -1583,27 +842,19 @@ github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200507031123-427632fa3b1c/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20230602150820-91b7bce49751 h1:hR7/MlvK23p6+lIw9SN1TigNLn9ZnF3W4SYRKq2gAHs= github.com/google/pprof v0.0.0-20230602150820-91b7bce49751/go.mod h1:Jh3hGz2jkYak8qXPD19ryItVnUgpgeqzdkY/D0EaeuA= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/rpmpack v0.0.0-20191226140753-aa36bfddb3a0/go.mod h1:RaTPr0KUf2K7fnZYLNDrr8rxAamWs3iNywJLtQ2AzBg= github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= -github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= -github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= -github.com/google/trillian v1.3.11/go.mod h1:0tPraVHrSDkA3BO6vKX67zgLXs6SsOAbHEivX+9mPgw= -github.com/google/uuid v0.0.0-20161128191214-064e2069ce9c/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -1611,15 +862,12 @@ github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/wire v0.3.0/go.mod h1:i1DMg/Lu8Sz5yYl25iOdmc5CT5qusaa+zmRWs16741s= -github.com/google/wire v0.4.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go v2.0.0+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= -github.com/googleapis/gax-go v2.0.2+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= github.com/googleapis/gax-go/v2 v2.0.3/go.mod h1:LLvjysVCY1JZeum8Z6l8qUty8fiNwE08qbEPm1M08qg= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= @@ -1630,33 +878,16 @@ github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99 github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= -github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= -github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= -github.com/googleapis/gnostic v0.2.2/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= -github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= -github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= -github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= -github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/gookit/color v1.2.4/go.mod h1:AhIE+pS6D4Ql0SQWbBeXPHw7gY0/sjHoA4s/n1KB7xg= -github.com/gookit/color v1.5.1/go.mod h1:wZFzea4X8qN6vHOSP2apMb4/+w/orMznEzYsIHPaqKM= -github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gopherjs/gopherjs v0.0.0-20190430165422-3e4dfb77656c h1:7lF+Vz0LqiRidnzC1Oq86fpX1q/iEv2KJdrCtttYjT4= github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU= -github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0= -github.com/goreleaser/goreleaser v0.136.0/go.mod h1:wiKrPUeSNh6Wu8nUHxZydSOVQ/OZvOaO7DTtFqie904= -github.com/goreleaser/nfpm v1.2.1/go.mod h1:TtWrABZozuLOttX2uDlYyECfQX7x5XYkVxhjYcR6G9w= -github.com/goreleaser/nfpm v1.3.0/go.mod h1:w0p7Kc9TAUgWMyrub63ex3M2Mgw88M4GZXoTq5UCb40= -github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75/go.mod h1:g2644b03hfBX9Ov0ZBDgXXens4rxSxmqFBbhvKv2yVA= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= -github.com/gorilla/handlers v0.0.0-20150720190736-60c7bfde3e33/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4= github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.7.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= @@ -1667,44 +898,25 @@ github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/ad github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gostaticanalysis/analysisutil v0.0.0-20190318220348-4088753ea4d3/go.mod h1:eEOZF4jCKGi+aprrirO9e7WKB3beBRtWgqGunKl6pKE= -github.com/gostaticanalysis/analysisutil v0.0.3/go.mod h1:eEOZF4jCKGi+aprrirO9e7WKB3beBRtWgqGunKl6pKE= -github.com/gostaticanalysis/analysisutil v0.1.0/go.mod h1:dMhHRU9KTiDcuLGdy87/2gTR8WruwYZrKdRq9m1O6uw= -github.com/gostaticanalysis/analysisutil v0.4.1/go.mod h1:18U/DLpRgIUd459wGxVHE0fRgmo1UgHDcbw7F5idXu0= -github.com/gostaticanalysis/analysisutil v0.7.1/go.mod h1:v21E3hY37WKMGSnbsw2S/ojApNWb6C1//mXO48CXbVc= -github.com/gostaticanalysis/comment v1.3.0/go.mod h1:xMicKDx7XRXYdVwY9f9wQpDJVnqWxw9wCauCMKp+IBI= -github.com/gostaticanalysis/comment v1.4.1/go.mod h1:ih6ZxzTHLdadaiSnF5WY3dxUoXfXAlTaRzuaNDlSado= -github.com/gostaticanalysis/comment v1.4.2/go.mod h1:KLUTGDv6HOCotCH8h2erHKmpci2ZoR8VPu34YA2uzdM= -github.com/gostaticanalysis/forcetypeassert v0.1.0/go.mod h1:qZEedyP/sY1lTGV1uJ3VhWZ2mqag3IkWsDHVbplHXak= -github.com/gostaticanalysis/nilerr v0.1.1/go.mod h1:wZYb6YI5YAxxq0i1+VJbY0s2YONW0HU0GPE3+5PWN4A= -github.com/gostaticanalysis/testutil v0.3.1-0.20210208050101-bfb5c8eec0e4/go.mod h1:D+FIZ+7OahH3ePw/izIEeH5I06eKs1IKI4Xr64/Am3M= -github.com/gostaticanalysis/testutil v0.4.0/go.mod h1:bLIoPefWXrRi/ssLFWX1dx7Repi5x3CuviD3dgAZaBU= -github.com/gotestyourself/gotestyourself v1.4.0/go.mod h1:zZKM6oeNM8k+FRljX1mnzVYeS8wiGgQyvST1/GafPbY= github.com/gotestyourself/gotestyourself v2.2.0+incompatible/go.mod h1:zZKM6oeNM8k+FRljX1mnzVYeS8wiGgQyvST1/GafPbY= github.com/graph-gophers/graphql-go v0.0.0-20191115155744-f33e81362277/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= github.com/graph-gophers/graphql-go v1.3.0/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-middleware v1.2.0/go.mod h1:mJzapYve32yjrKlk9GbyCZHuPgZsrbyIbyKhSzOpg6s= +github.com/grpc-ecosystem/go-grpc-middleware v1.2.1/go.mod h1:EaizFBKfUKtMIF5iaDEhniwNedqGo9FuLFzppDr3uwI= github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaDEhniwNedqGo9FuLFzppDr3uwI= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 h1:UH//fgunKIs4JdUbpDl1VZCDaL56wXCB/5+wF6uHfaI= github.com/grpc-ecosystem/go-grpc-middleware v1.4.0/go.mod h1:g5qyo/la0ALbONm6Vbp88Yd8NsDy6rZz+RcrMPxvld8= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.5.0/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= -github.com/grpc-ecosystem/grpc-gateway v1.6.2/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.9.2/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.12.1/go.mod h1:8XEsbTttt/W+VvjtQhLACqCisSPWTxCZ7sBRjU6iH9c= +github.com/grpc-ecosystem/grpc-gateway v1.14.7/go.mod h1:oYZKL012gGh6LMyg/xA7Q2yq6j8bu0wa+9w14EEthWU= github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= -github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8ZofjG1Y75iExal34USq5p+wiN1tpie8IrU= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0= github.com/gtank/merlin v0.1.1-0.20191105220539-8318aed1a79f/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s= @@ -1712,18 +924,10 @@ github.com/gtank/merlin v0.1.1 h1:eQ90iG7K9pOhtereWsmyRJ6RAwcP4tHTDBHXNg+u5is= github.com/gtank/merlin v0.1.1/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s= github.com/gtank/ristretto255 v0.1.2 h1:JEqUCPA1NvLq5DwYtuzigd7ss8fwbYay9fi4/5uMzcc= github.com/gtank/ristretto255 v0.1.2/go.mod h1:Ph5OpO6c7xKUGROZfWVLiJf9icMDwUeIvY4OmlYW69o= -github.com/hanwen/go-fuse v1.0.0/go.mod h1:unqXarDXqzAk0rt98O2tVndEPIpUgLD9+rwFisZH3Ok= -github.com/hanwen/go-fuse/v2 v2.0.3/go.mod h1:0EQM6aH2ctVpvZ6a+onrQ/vaykxh2GH7hy3e13vzTUY= -github.com/hanwen/go-fuse/v2 v2.1.1-0.20220112183258-f57e95bda82d/go.mod h1:B1nGE/6RBFyBRC1RRnf23UpwCdyJ31eukw34oAKukAc= github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= -github.com/hashicorp/consul/api v1.10.1/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M= -github.com/hashicorp/consul/api v1.11.0/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M= -github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0= github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= -github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms= -github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -1733,30 +937,17 @@ github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtng github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-getter v1.7.0 h1:bzrYP+qu/gMrL1au7/aDvkoOVGUJpeKBgbqRHACAFDY= -github.com/hashicorp/go-getter v1.7.0/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= -github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= -github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v1.0.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v1.2.0 h1:La19f8d7WIlm4ogzNHB0JGqs5AUDAZ2UfCY4sJXcJdM= -github.com/hashicorp/go-hclog v1.2.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-getter v1.7.1 h1:SWiSWN/42qdpR0MdhaOc/bLR48PLuP1ZQtYLRlM69uY= +github.com/hashicorp/go-getter v1.7.1/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= -github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= -github.com/hashicorp/go-retryablehttp v0.6.4/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= -github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= -github.com/hashicorp/go-retryablehttp v0.7.0 h1:eu1EI/mbirUgP5C8hVsTNaGZreBDlYiwC1FZWkvQPQ4= -github.com/hashicorp/go-retryablehttp v0.7.0/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= -github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I= github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= @@ -1765,13 +956,11 @@ github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/b github.com/hashicorp/go-uuid v1.0.1 h1:fv1ep09latC32wFoVwnqcnKJGnMSdBanPczbHAYm1BE= github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d h1:dg1dEPuWpEqDnvIw251EVy4zlP8gWbsGj4BsUKCRpYs= github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= @@ -1779,20 +968,11 @@ github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= -github.com/hashicorp/mdns v1.0.1/go.mod h1:4gW7WsVCke5TE7EPeYliwHlRUyBtfCwuFwuMg2DmyNY= -github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= -github.com/hashicorp/memberlist v0.2.2/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= -github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= -github.com/hashicorp/serf v0.9.5/go.mod h1:UWDWwZeL5cuWDJdl0C6wrvrUwEqtQ4ZKBKKENpqIUyk= -github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= -github.com/hashicorp/serf v0.9.7/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= -github.com/hashicorp/uuid v0.0.0-20160311170451-ebb0a03e909c/go.mod h1:fHzc09UnyJyqyW+bFuq864eh+wC7dj65aXmXLRe5to0= github.com/hdevalence/ed25519consensus v0.0.0-20210204194344-59a8610d2b87/go.mod h1:XGsKKeXxeRr95aEOgipvluMPlgjr7dGlk9ZTWOjcUcg= -github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3 h1:aSVUgRRRtOrZOC1fYmY9gV0e9z/Iu+xNVSASWjsuyGU= -github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3/go.mod h1:5PC6ZNPde8bBqU/ewGZig35+UIZtw9Ytxez8/q5ZyFE= -github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= +github.com/hdevalence/ed25519consensus v0.1.0 h1:jtBwzzcHuTmFrQN6xQZn6CQEO/V9f7HsjsjeEZ6auqU= +github.com/hdevalence/ed25519consensus v0.1.0/go.mod h1:w3BHWjwJbFU29IRHL1Iqkw3sus+7FctEyM4RqDxYNzo= github.com/holiman/bloomfilter/v2 v2.0.3 h1:73e0e/V0tCydx14a0SCYS/EWCxgwLZ18CZcZKVu0fao= github.com/holiman/bloomfilter/v2 v2.0.3/go.mod h1:zpoh+gs7qcpqrHr3dB55AMiJwo0iURXE7ZOP9L9hSkA= github.com/holiman/uint256 v1.1.1/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= @@ -1800,36 +980,26 @@ github.com/holiman/uint256 v1.2.0/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25 github.com/holiman/uint256 v1.2.2 h1:TXKcSGc2WaxPD2+bmzAsVthL4+pEN0YwXcL5qED83vk= github.com/holiman/uint256 v1.2.2/go.mod h1:SC8Ryt4n+UBbPbIBKaG9zbbDlp4jOru9xFZmPzLUTxw= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/huandu/xstrings v1.0.0/go.mod h1:4qWG/gcEcfX4z/mBDHJ++3ReCw9ibxbsNJbcucJdbSo= -github.com/huandu/xstrings v1.2.0/go.mod h1:DvyZB1rfVYsBIigL8HwpZgxHwXozlTgGqn63UyNX5k4= +github.com/huandu/go-assert v1.1.5 h1:fjemmA7sSfYHJD7CUqs9qTwwfdNAx7/j2/ZlHXzNB3c= +github.com/huandu/go-assert v1.1.5/go.mod h1:yOLvuqZwmcHIC5rIzrBhT7D3Q9c3GFnd0JrPVhn/06U= +github.com/huandu/skiplist v1.2.0 h1:gox56QD77HzSC0w+Ws3MH3iie755GBJU1OER3h5VsYw= +github.com/huandu/skiplist v1.2.0/go.mod h1:7v3iFjLcSAzO4fN5B8dvebvo/qsfumiLiDXMrPiHF9w= github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= -github.com/hudl/fargo v1.4.0/go.mod h1:9Ai6uvFy5fQNq6VPKtg+Ceq1+eTY4nKUlR2JElEOcDo= github.com/huin/goupnp v1.0.0/go.mod h1:n9v9KO1tAxYH82qOn+UTIFQDmx5n1Zxd/ClZDMX7Bnc= github.com/huin/goupnp v1.0.3-0.20220313090229-ca81a64b4204/go.mod h1:ZxNlw5WqJj6wSsRK5+YfflQGXYfccj5VgQsMNixHM7Y= github.com/huin/goupnp v1.2.0 h1:uOKW26NG1hsSSbXIZ1IR7XP9Gjd1U8pnLaCMgntmkmY= github.com/huin/goupnp v1.2.0/go.mod h1:gnGPsThkYa7bFi/KWmEysQRf48l2dvR5bxr2OFckNX8= github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o= github.com/hydrogen18/memlistener v0.0.0-20141126152155-54553eb933fb/go.mod h1:qEIFzExnS6016fRpRfxrExeVn2gbClQA99gQhnIcdhE= -github.com/hydrogen18/memlistener v0.0.0-20200120041712-dcc25e7acd91/go.mod h1:qEIFzExnS6016fRpRfxrExeVn2gbClQA99gQhnIcdhE= github.com/iancoleman/orderedmap v0.3.0 h1:5cbR2grmZR/DiVt+VJopEhtVs9YGInGIxAoMJn+Ichc= github.com/iancoleman/orderedmap v0.3.0/go.mod h1:XuLcCUkdL5owUCQeF2Ue9uuw1EptkJDkXXS7VoV7XGE= -github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.4/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/imkira/go-interpol v1.1.0/go.mod h1:z0h2/2T3XF8kyEPpRgJ3kmNv+C43p+I/CoI+jC3w2iA= github.com/improbable-eng/grpc-web v0.14.0/go.mod h1:6hRR09jOEG81ADP5wCQju1z71g6OL4eEvELdran/3cs= github.com/improbable-eng/grpc-web v0.15.0 h1:BN+7z6uNXZ1tQGcNAuaU1YjsLTApzkjt2tzCixLaUPQ= github.com/improbable-eng/grpc-web v0.15.0/go.mod h1:1sy9HKV4Jt9aEs9JSnkWlRJPuPtwNr0l57L4f878wP8= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/influxdata/flux v0.65.1/go.mod h1:J754/zds0vvpfwuq7Gc2wRdVwEodfpCFM7mYlOw2LqY= @@ -1837,7 +1007,6 @@ github.com/influxdata/influxdb v1.2.3-0.20180221223340-01288bdb0883/go.mod h1:qZ github.com/influxdata/influxdb v1.8.3/go.mod h1:JugdFhsvvI8gadxOI6noqNeeBHvWNTbfYGtiAn+2jhI= github.com/influxdata/influxdb-client-go/v2 v2.4.0/go.mod h1:vLNHdxTJkIf2mSLvGrpj8TCcISApPoXkaxP8g9uRlW8= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= -github.com/influxdata/influxdb1-client v0.0.0-20200827194710-b269163b24ab/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= github.com/influxdata/influxql v1.1.1-0.20200828144457-65d3ef77d385/go.mod h1:gHp9y86a/pxhjJ+zMjNXiQAA197Xk9wLxaz+fGG+kWk= github.com/influxdata/line-protocol v0.0.0-20180522152040-32c6aa80de5e/go.mod h1:4kt73NQhadE3daL3WhR5EJ/J2ocX0PZzwxQ0gXJ7oFE= github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo= @@ -1846,8 +1015,6 @@ github.com/influxdata/promql/v2 v2.12.0/go.mod h1:fxOPu+DY0bqCTCECchSRtWfc+0X19y github.com/influxdata/roaring v0.4.13-0.20180809181101-fc520f41fab6/go.mod h1:bSgUQ7q5ZLSO+bKBGqJiCBGAl+9DxyW63zLTujjUlOE= github.com/influxdata/tdigest v0.0.0-20181121200506-bf2b5ad3c0a9/go.mod h1:Js0mqiSBE6Ffsg94weZZ2c+v/ciT8QRHFOap7EKDrR0= github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368/go.mod h1:Wbbw6tYNvwa5dlB6304Sd+82Z3f7PmVZHVKU637d4po= -github.com/informalsystems/tm-load-test v1.3.0/go.mod h1:OQ5AQ9TbT5hKWBNIwsMjn6Bf4O0U4b1kRc+0qZlQJKw= -github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ= github.com/ipfs/boxo v0.10.0 h1:tdDAxq8jrsbRkYoF+5Rcqyeb91hgWe2hp7iLu7ORZLY= github.com/ipfs/boxo v0.10.0/go.mod h1:Fg+BnfxZ0RPzR0nOodzdIq3A7KgoWAOWsEIImrIQdBM= github.com/ipfs/go-cid v0.4.1 h1:A/T3qGvxi4kpKWWcPC/PgbvDA2bjVLO7n4UeVwnbs/s= @@ -1867,71 +1034,36 @@ github.com/ipld/go-ipld-prime v0.20.0/go.mod h1:PzqZ/ZR981eKbgdr3y2DJYeD/8bgMawd github.com/iris-contrib/blackfriday v2.0.0+incompatible/go.mod h1:UzZ2bDEoaSGPbkg6SAB4att1aAwTmVIx/5gCVqeyUdI= github.com/iris-contrib/go.uuid v2.0.0+incompatible/go.mod h1:iz2lgM/1UnEf1kP0L/+fafWORmlnuysV2EMP8MW+qe0= github.com/iris-contrib/i18n v0.0.0-20171121225848-987a633949d0/go.mod h1:pMCz62A0xJL6I+umB2YTlFRwWXaDFA0jy+5HzGiJjqI= -github.com/iris-contrib/jade v1.1.3/go.mod h1:H/geBymxJhShH5kecoiOCSssPX7QWYH7UaeZTSWddIk= -github.com/iris-contrib/pongo2 v0.0.1/go.mod h1:Ssh+00+3GAZqSQb30AvBRNxBx7rf0GqwkjqxNd0u65g= github.com/iris-contrib/schema v0.0.1/go.mod h1:urYA3uvUNG1TIIjOSCzHr9/LmbQo8LrOcOqfqxa4hXw= -github.com/ishidawataru/sctp v0.0.0-20191218070446-00ab2ac2db07/go.mod h1:co9pwDoBCm1kGxawmb4sPq0cSIOOWNPT4KnHotMP1Zg= -github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA= -github.com/j-keck/arping v1.0.2/go.mod h1:aJbELhR92bSk7tp79AWM/ftfc90EfEi2bQJrbBFOsPw= github.com/jackpal/go-nat-pmp v1.0.2-0.20160603034137-1fa385a6f458/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= github.com/jackpal/go-nat-pmp v1.0.2 h1:KzKSgb7qkJvOUTqYl9/Hg/me3pWgBmERKrTGD7BdWus= github.com/jackpal/go-nat-pmp v1.0.2/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= -github.com/jaguilar/vt100 v0.0.0-20150826170717-2703a27b14ea/go.mod h1:QMdK4dGB3YhEW2BmA1wgGpPYI3HZy/5gD705PXKUVSg= -github.com/jarcoal/httpmock v1.0.5/go.mod h1:ATjnClrvW/3tijVmpL/va5Z3aAyGvqU3gCT8nX0Txik= github.com/jarcoal/httpmock v1.3.0 h1:2RJ8GP0IIaWwcC9Fp2BmVi8Kog3v2Hn7VXM3fTd+nuc= github.com/jbenet/go-cienv v0.1.0/go.mod h1:TqNnHUmJgXau0nCzC7kXWeotg3J9W34CUv5Djy1+FlA= -github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jbenet/go-temp-err-catcher v0.1.0 h1:zpb3ZH6wIE8Shj2sKS+khgRvf7T7RABoLk/+KKHggpk= github.com/jbenet/go-temp-err-catcher v0.1.0/go.mod h1:0kJRvmDZXNMIiJirNPEYfhpPwbGVtZVWC34vc5WLsDk= github.com/jbenet/goprocess v0.1.4 h1:DRGOFReOMqqDNXwW70QkacFW0YN9QnwLV0Vqk+3oU0o= github.com/jbenet/goprocess v0.1.4/go.mod h1:5yspPrukOVuOLORacaBi858NqyClJPQxYZlqdZVfqY4= -github.com/jdxcode/netrc v0.0.0-20210204082910-926c7f70242a/go.mod h1:Zi/ZFkEqFHTm7qkjyNJjaWH4LQA9LQhGJyF0lTYGpxw= github.com/jedisct1/go-minisign v0.0.0-20190909160543-45766022959e/go.mod h1:G1CVv03EnqU1wYL2dFwXxW2An0az9JTl/ZsqXQeBlkU= github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1/go.mod h1:E0B/fFc00Y+Rasa88328GlI/XbtyysCtTHZS8h7IrBU= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= -github.com/jgautheron/goconst v1.5.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= -github.com/jhump/gopoet v0.0.0-20190322174617-17282ff210b3/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI= -github.com/jhump/gopoet v0.1.0/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI= -github.com/jhump/goprotoc v0.5.0/go.mod h1:VrbvcYrQOrTi3i0Vf+m+oqQWk9l72mjkJCYo7UvLHRQ= -github.com/jhump/protoreflect v1.6.1/go.mod h1:RZQ/lnuN+zqeRVpQigTwO6o0AJUkxbnSnpuG7toUTG4= github.com/jhump/protoreflect v1.8.2/go.mod h1:7GcYQDdMU/O/BBrl/cX6PNHpXh6cenjd8pneu5yW7Tg= -github.com/jhump/protoreflect v1.11.0/go.mod h1:U7aMIjN0NWq9swDP7xDdoMfRHb35uiuTd3Z9nFXJf5E= -github.com/jhump/protoreflect v1.13.1-0.20220928232736-101791cb1b4c/go.mod h1:JytZfP5d0r8pVNLZvai7U/MCuTWITgrI4tTg7puQFKI= github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= -github.com/jingyugao/rowserrcheck v0.0.0-20191204022205-72ab7603b68a/go.mod h1:xRskid8CManxVta/ALEhJha/pweKBaVG6fWgc0yH25s= -github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c= github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= github.com/jinzhu/now v1.1.4/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= -github.com/jirfag/go-printf-func-name v0.0.0-20191110105641-45db9963cdd3/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0= -github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0= -github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/jmhodges/levigo v1.0.0 h1:q5EC36kV79HWeTBWsod3mG11EgStG3qArTKcvlksN1U= github.com/jmhodges/levigo v1.0.0/go.mod h1:Q6Qx+uH3RAqyK4rFQroq9RL7mdkABMcfhEI+nNuzMJQ= -github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= -github.com/jmoiron/sqlx v1.2.1-0.20190826204134-d7d95172beb5/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= -github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52CupLJyoVwB10FQ/IQlF1pdL8= -github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/jonboulle/clockwork v0.2.0/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= -github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/josharian/txtarfs v0.0.0-20210218200122-0702f000015a/go.mod h1:izVPOvVRsHiKkeGCT6tYBNWyDVuzj9wAaBb5R9qamfw= -github.com/jpillora/backoff v0.0.0-20180909062703-3050d21c67d7/go.mod h1:2iMrUgbbvHEiQClaW2NsSzMyGHqN+rDFqY705q49KG0= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= -github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= @@ -1939,7 +1071,6 @@ github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/u github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/jsternberg/zap-logfmt v1.0.0/go.mod h1:uvPs/4X51zdkcm5jXl5SYoN+4RK21K8mysFmDaM/h+o= @@ -1947,64 +1078,40 @@ github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7 github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5/go.mod h1:W54LbzXuIE0boCoNJfwqpmkKJ1O4TCTZMetAt6jGk7Q= github.com/juju/loggo v0.0.0-20180524022052-584905176618/go.mod h1:vgyd7OREkbtVEN/8IXZe5Ooef3LQePvuBm9UWj6ZL8U= -github.com/juju/ratelimit v1.0.1/go.mod h1:qapgC/Gy+xNh9UxzV13HGGl/6UXNN+ct+vwSgWNm/qk= github.com/juju/testing v0.0.0-20180920084828-472a3e8b2073/go.mod h1:63prj8cnj0tU0S9OHjGJn+b1h0ZghCndfnbQolrYTwA= github.com/julienschmidt/httprouter v1.1.1-0.20170430222011-975b5c4c7c21/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/julz/importas v0.1.0/go.mod h1:oSFU2R4XK/P7kNBrnL/FEQlDGN1/6WoxXEjSSXO0DV0= github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= github.com/jwilder/encoding v0.0.0-20170811194829-b4e1701a28ef/go.mod h1:Ct9fl0F6iIOGgxJ5npU/IUOhOhqlVrGjyIZc8/MagT0= github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88/go.mod h1:3w7q1U84EfirKl04SVQ/s7nPm1ZPhiXd34z40TNz36k= github.com/karalabe/usb v0.0.0-20190919080040-51dc0efba356/go.mod h1:Od972xHfMJowv7NGVDiWVxk2zxnWgjLlJzE+F4F7AGU= github.com/karalabe/usb v0.0.2/go.mod h1:Od972xHfMJowv7NGVDiWVxk2zxnWgjLlJzE+F4F7AGU= github.com/kataras/golog v0.0.9/go.mod h1:12HJgwBIZFNGL0EJnMRhmvGA0PQGx8VFwrZtM4CqbAk= -github.com/kataras/golog v0.0.10/go.mod h1:yJ8YKCmyL+nWjERB90Qwn+bdyBZsaQwU3bTVFgkFIp8= github.com/kataras/iris/v12 v12.0.1/go.mod h1:udK4vLQKkdDqMGJJVd/msuMtN6hpYJhg/lSzuxjhO+U= -github.com/kataras/iris/v12 v12.1.8/go.mod h1:LMYy4VlP67TQ3Zgriz8RE2h2kMZV2SgMYbq3UhfoFmE= github.com/kataras/neffos v0.0.10/go.mod h1:ZYmJC07hQPW67eKuzlfY7SO3bC0mw83A3j6im82hfqw= -github.com/kataras/neffos v0.0.14/go.mod h1:8lqADm8PnbeFfL7CLXh1WHw53dG27MC3pgi2R1rmoTE= github.com/kataras/pio v0.0.0-20190103105442-ea782b38602d/go.mod h1:NV88laa9UiiDuX9AhMbDPkGYSPugBOV6yTZB1l2K9Z0= -github.com/kataras/pio v0.0.2/go.mod h1:hAoW0t9UmXi4R5Oyq5Z4irTbaTsOemSrDGUtaTl7Dro= -github.com/kataras/sitemap v0.0.5/go.mod h1:KY2eugMKiPwsJgx7+U103YZehfvNGOXURubcGyk0Bz8= -github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d/go.mod h1:JJNrCn9otv/2QP4D7SMJBgaleKpOf66PnW6F5WGNRIc= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/errcheck v1.6.2/go.mod h1:nXw/i/MfnvRHqXa7XXmQMUB0oNFGuBrNI8d8NLy0LPw= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kkHAIKE/contextcheck v1.1.3/go.mod h1:PG/cwd6c0705/LM0KTr1acO2gORUxkSVWyLJOFW5qoo= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= github.com/kkdai/bstream v1.0.0/go.mod h1:FDnDOHt5Yx4p3FaHcioFT0QjDOtgUpvjeZqAs+NVZZA= github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= -github.com/klauspost/compress v1.4.1/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= github.com/klauspost/compress v1.8.2/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= github.com/klauspost/compress v1.9.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= -github.com/klauspost/compress v1.9.7/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.11.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= -github.com/klauspost/compress v1.13.4/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= -github.com/klauspost/compress v1.13.5/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= -github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= -github.com/klauspost/compress v1.15.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= -github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= -github.com/klauspost/compress v1.15.15/go.mod h1:ZcK2JAFqKOpnBlxcLsJzYfrS9X1akm9fHZNnD9+Vo/4= -github.com/klauspost/compress v1.16.5 h1:IFV2oUNUzZaz+XyusxpLzpzS8Pt5rh0Z16For/djlyI= -github.com/klauspost/compress v1.16.5/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= +github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I= +github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= -github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= -github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/klauspost/cpuid v1.2.1/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg= github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6/go.mod h1:+ZoRqAPRLkC4NPOvfYeR5KNOrY6TD+/sAC3HXPZgDYg= github.com/klauspost/pgzip v1.0.2-0.20170402124221-0bf5dcad4ada/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= -github.com/klauspost/pgzip v1.2.5/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/koron/go-ssdp v0.0.0-20191105050749-2e1c40ed0b5d/go.mod h1:5Ky9EC2xfoUKUor0Hjgi2BJhCSXJfMOFlmyYrVKGQMk= github.com/koron/go-ssdp v0.0.4 h1:1IDwrghSKYM7yLf7XCzbByg2sJ/JcNOZRXS2jczTwz0= @@ -2019,37 +1126,21 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.3/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= -github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kulti/thelper v0.6.3/go.mod h1:DsqKShOvP40epevkFrvIwkCMNYxMeTNjdWL4dqWHZ6I= -github.com/kunwardeep/paralleltest v1.0.6/go.mod h1:Y0Y0XISdZM5IKm3TREQMZ6iteqn1YuwCsJO/0kL9Zes= -github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/kyoh86/exportloopref v0.1.8/go.mod h1:1tUcJeiioIs7VWe5gcOObrux3lb66+sBqGZrRkMwPgg= github.com/labstack/echo/v4 v4.1.11/go.mod h1:i541M3Fj6f76NZtHSj7TXnyM8n2gaodfvfxNnFqi74g= github.com/labstack/echo/v4 v4.2.1/go.mod h1:AA49e0DZ8kk5jTOOCKNuPR6oTnBS0dYiM4FW1e6jwpg= -github.com/labstack/echo/v4 v4.5.0/go.mod h1:czIriw4a0C1dFun+ObrXp7ok03xON0N1awStJ6ArI7Y= github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k= -github.com/ldez/gomoddirectives v0.2.3/go.mod h1:cpgBogWITnCfRq2qGoDkKMEVSaarhdBr6g8G04uz6d0= -github.com/ldez/tagliatelle v0.3.1/go.mod h1:8s6WJQwEYHbKZDsp/LjArytKOG8qaMrKQQ3mFukHs88= github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= -github.com/leonklingele/grouper v1.1.0/go.mod h1:uk3I3uDfi9B6PeUjsCKi6ndcf63Uy7snXgR4yDYQVDY= -github.com/letsencrypt/pkcs11key/v4 v4.0.0/go.mod h1:EFUvBDay26dErnNb70Nd0/VW3tJiIbETBPTl9ATXQag= -github.com/lib/pq v0.0.0-20180327071824-d34b9ff171c2/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.1.1/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.8.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lib/pq v1.9.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lib/pq v1.10.4/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lib/pq v1.10.6/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/lib/pq v1.10.7 h1:p7ZhMD+KsSRozJr34udlUrhboJwWAgCg34+/ZZNvZZw= github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/libp2p/go-buffer-pool v0.0.2/go.mod h1:MvaB6xw5vOrDl8rYZGLFdKAuk/hRoRZd1Vi32+RXyFM= github.com/libp2p/go-buffer-pool v0.1.0 h1:oK4mSFcQz7cTQIfqbe4MIj9gLW+mnanjyFtc6cdF0Y8= github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QTWy5HSiZacSbPg= github.com/libp2p/go-cidranger v1.1.0 h1:ewPN8EZ0dd1LSnrtuwd4709PXVcITVeuwbag38yPW7c= @@ -2081,118 +1172,68 @@ github.com/libp2p/go-yamux/v4 v4.0.0 h1:+Y80dV2Yx/kv7Y7JKu0LECyVdMXm1VUoko+VQ9rB github.com/libp2p/go-yamux/v4 v4.0.0/go.mod h1:NWjl8ZTLOGlozrXSOZ/HlfG++39iKNnM5wwmtQP1YB4= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= -github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo= -github.com/linxGnu/grocksdb v1.7.15 h1:AEhP28lkeAybv5UYNYviYISpR6bJejEnKuYbnWAnxx0= -github.com/linxGnu/grocksdb v1.7.15/go.mod h1:pY55D0o+r8yUYLq70QmhdudxYvoDb9F+9puf4m3/W+U= -github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4= github.com/lucasjones/reggen v0.0.0-20180717132126-cdb49ff09d77/go.mod h1:5ELEyG+X8f+meRWHuqUOewBOhvHkl7M76pdGEansxW4= -github.com/lufeee/execinquery v1.2.1/go.mod h1:EC7DrEKView09ocscGHC+apXMIaorh4xqSxS/dy8SbM= -github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= github.com/lunixbochs/vtclean v1.0.0/go.mod h1:pHhQNgMf3btfWnGBVipUOjRYhoOsdGqdm/+2c2E2WMI= -github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc87/1qhoTACD8w= -github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= -github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= -github.com/magefile/mage v1.14.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= -github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= -github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA= github.com/manifoldco/promptui v0.9.0/go.mod h1:ka04sppxSGFAtxX0qhlYQjISsg9mR4GWtQEhdbn6Pgg= -github.com/maratori/testableexamples v1.0.0/go.mod h1:4rhjL1n20TUTT4vdh3RDqSizKLyXp7K2u6HgraZCGzE= -github.com/maratori/testpackage v1.0.1/go.mod h1:ddKdw+XG0Phzhx8BFDTKgpWP4i7MpApTE5fXSKAqwDU= -github.com/maratori/testpackage v1.1.0/go.mod h1:PeAhzU8qkCwdGEMTEupsHJNlQu2gZopMC6RjbhmHeDc= -github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho= github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd h1:br0buuQ854V8u83wA0rVZ8ttrq5CpaPZdvrK0LP2lOk= github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd/go.mod h1:QuCEs1Nt24+FYQEqAAncTDPJIuGs+LxK1MCiFL25pMU= -github.com/matoous/godox v0.0.0-20190911065817-5d6d842e92eb/go.mod h1:1BELzlh859Sh1c6+90blK8lbYy0kwQf1bYlBhBysy1s= -github.com/matoous/godox v0.0.0-20210227103229-6504466cf951/go.mod h1:1BELzlh859Sh1c6+90blK8lbYy0kwQf1bYlBhBysy1s= -github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= -github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU= github.com/matryer/moq v0.0.0-20190312154309-6cfb0558e1bd/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.0/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.7/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= github.com/mattn/go-ieproxy v0.0.0-20190702010315-6dee0af9227d/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= -github.com/mattn/go-ieproxy v0.0.1/go.mod h1:pYabZ6IHcRpFh7vIaLfK7rdcWgFEb3SFJ6/gNWuh88E= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.5-0.20180830101745-3fb116b82035/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= -github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= -github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.13/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.6/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0= github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= -github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= -github.com/mattn/go-shellwords v1.0.10/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= -github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= -github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= -github.com/mattn/go-sqlite3 v1.14.9/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/mattn/go-sqlite3 v1.14.15/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/mattn/go-sqlite3 v1.14.19 h1:fhGleo2h1p8tVChob4I9HpmVFIAkKGpiukdrgQbWfGI= github.com/mattn/go-sqlite3 v1.14.19/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104/go.mod h1:XPvLUNfbS4fJH25nqRHfWLMa1ONC8Amw+mIA639KxkE= -github.com/mattn/go-zglob v0.0.1/go.mod h1:9fxibJccNxU2cnpIKLRRFA7zX7qhkJIQWBb449FYHOo= github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= -github.com/mbilski/exhaustivestruct v1.2.0/go.mod h1:OeTBVxQWoEmB2J2JCHmXWPJ0aksxSUOUy+nvtVEfzXc= github.com/mediocregopher/mediocre-go-lib v0.0.0-20181029021733-cb65787f37ed/go.mod h1:dSsfyI2zABAdhcbvkXqgxOxrCsbYeHCPgrZkku60dSg= github.com/mediocregopher/radix/v3 v3.3.0/go.mod h1:EmfVyvspXz1uZEyPBMyGK+kjWiKQGvsUt6O3Pj+LDCQ= -github.com/mediocregopher/radix/v3 v3.4.2/go.mod h1:8FL3F6UQRXHXIBSPUs5h0RybMF8i4n7wVopoX3x7Bv8= -github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517/go.mod h1:KQ7+USdGKfpPjXk4Ga+5XxQM4Lm4e3gAogrreFAYpOg= -github.com/mgechev/revive v1.2.4/go.mod h1:iAWlQishqCuj4yhV24FTnKSXGpbAA+0SckXB8GQMX/Q= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/microcosm-cc/bluemonday v1.0.1/go.mod h1:hsXNsILzKxV+sX77C5b8FSuKF00vh2OMYv+xgHpAMF4= github.com/microcosm-cc/bluemonday v1.0.2/go.mod h1:iVP4YcDBq+n/5fb23BhYFvIMq/leAFZyRl6bYmGDlGc= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= -github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= -github.com/miekg/dns v1.1.35/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM= github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= -github.com/miekg/dns v1.1.43/go.mod h1:+evo5L0630/F6ca/Z9+GAqzhjGyn8/c+TBaOyfEl0V4= github.com/miekg/dns v1.1.54 h1:5jon9mWcb0sFJGpnI99tOMhCPyJ+RPVz5b63MQG0VWI= github.com/miekg/dns v1.1.54/go.mod h1:uInx36IzPl7FYnDcMeVWxj9byh7DutNykX4G9Sj60FY= -github.com/miekg/pkcs11 v1.0.2/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= github.com/miekg/pkcs11 v1.0.3-0.20190429190417-a667d056470f/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= -github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= github.com/miekg/pkcs11 v1.1.1 h1:Ugu9pdy6vAYku5DEpVWVFPYnzV+bxB+iRdbuFSu7TvU= github.com/miekg/pkcs11 v1.1.1/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= github.com/mikioh/tcp v0.0.0-20190314235350-803a9b46060c h1:bzE/A84HN25pxAuk9Eej1Kz9OUelF97nAc82bDquQI8= @@ -2211,79 +1252,36 @@ github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLT github.com/minio/sha256-simd v0.1.1-0.20190913151208-6de447530771/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM= github.com/minio/sha256-simd v1.0.1 h1:6kaan5IFmwTNynnKKpDHe6FWHohJOHhCPchzK49dzMM= github.com/minio/sha256-simd v1.0.1/go.mod h1:Pz6AKMiUdngCLpeTL/RJY1M9rUuPMYujV5xJjtbRSN8= -github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= -github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b/go.mod h1:r1VsdOzOPt1ZSrGZWFoNhsAedKnEd6r9Np1+5blZCWk= -github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= -github.com/mitchellh/hashstructure v1.0.0/go.mod h1:QjSHrPWS+BGUVBYkbTZWEnOh3G1DutKwClXU/ABz6AQ= -github.com/mitchellh/hashstructure/v2 v2.0.2/go.mod h1:MG3aRVU/N29oo/V/IhBX8GR/zz4kQkprJgF2EVszyDE= github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.3.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.4.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A= github.com/mitchellh/pointerstructure v1.2.0 h1:O+i9nHnXS3l/9Wu7r4NrEdwA2VFTicjUEN1uBnDo34A= github.com/mitchellh/pointerstructure v1.2.0/go.mod h1:BRAsLI5zgXmw97Lf6s25bs8ohIXc3tViBH44KcwB2g4= -github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/moby/buildkit v0.8.1/go.mod h1:/kyU1hKy/aYCuP39GZA9MaKioovHku57N6cqlKZIaiQ= -github.com/moby/buildkit v0.10.4/go.mod h1:Yajz9vt1Zw5q9Pp4pdb3TCSUXJBIroIQGQ3TTs/sLug= -github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= -github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= -github.com/moby/sys/mount v0.1.0/go.mod h1:FVQFLDRWwyBjDTBNQXDlWnSFREqOo3OKX9aqhmeoo74= -github.com/moby/sys/mount v0.1.1/go.mod h1:FVQFLDRWwyBjDTBNQXDlWnSFREqOo3OKX9aqhmeoo74= -github.com/moby/sys/mount v0.3.0/go.mod h1:U2Z3ur2rXPFrFmy4q6WMwWrBOAQGYtYTRVM8BIvzbwk= -github.com/moby/sys/mountinfo v0.1.0/go.mod h1:w2t2Avltqx8vE7gX5l+QiBKxODu2TX0+Syr3h52Tw4o= -github.com/moby/sys/mountinfo v0.1.3/go.mod h1:w2t2Avltqx8vE7gX5l+QiBKxODu2TX0+Syr3h52Tw4o= -github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= -github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU= -github.com/moby/sys/mountinfo v0.6.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU= -github.com/moby/sys/signal v0.6.0/go.mod h1:GQ6ObYZfqacOwTtlXvcmh9A26dVRul/hbOZn88Kg8Tg= -github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ= -github.com/moby/sys/symlink v0.2.0/go.mod h1:7uZVF2dqJjG/NsClqul95CqKOBRQyYSNnJ6BMgR/gFs= -github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo= -github.com/moby/term v0.0.0-20200915141129-7f0af18e79f2/go.mod h1:TjQg8pa4iejrUrjiz0MCtMV38jdMNW4doKSiBrEvCQQ= -github.com/moby/term v0.0.0-20201216013528-df9cb8a40635/go.mod h1:FBS0z0QWA44HXygs7VXDUOGoN/1TV3RuWkLO04am3wc= -github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A= -github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= -github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180320133207-05fbef0ca5da/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= -github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= -github.com/moricho/tparallel v0.2.1/go.mod h1:fXEIZxG2vdfl0ZF8b42f5a78EhjjD5mX8qUplsoSU4k= -github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/moul/http2curl v1.0.0/go.mod h1:8UbvGypXm98wA/IqH45anm5Y2Z6ep6O31QGOAZ3H0fQ= -github.com/mozilla/scribe v0.0.0-20180711195314-fb71baf557c1/go.mod h1:FIczTrinKo8VaLxe6PWTPEXRXDIHz2QAwiaBaP5/4a8= -github.com/mozilla/tls-observatory v0.0.0-20190404164649-a3c1b6cfecfd/go.mod h1:SrKMQvPiws7F7iqYp8/TX+IhxCYhzr6N/1yb8cwHsGk= -github.com/mozilla/tls-observatory v0.0.0-20200317151703-4fa42e1c2dee/go.mod h1:SrKMQvPiws7F7iqYp8/TX+IhxCYhzr6N/1yb8cwHsGk= -github.com/mozilla/tls-observatory v0.0.0-20210609171429-7bc42856d2e5/go.mod h1:FUqVoUPHSEdDR0MnFM3Dh8AU0pZHLXUD127SAJGER/s= github.com/mr-tron/base58 v1.1.2/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc= github.com/mr-tron/base58 v1.2.0 h1:T/HDJBh4ZCPbU39/+c3rRvE0uKBQlU27+QI8LJ4t64o= github.com/mr-tron/base58 v1.2.0/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc= -github.com/mrunalp/fileutils v0.0.0-20200520151820-abd8a0e76976/go.mod h1:x8F1gnqOkIEiO4rqoeEEEqQbo7HjGMTvyoq3gej4iT0= github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg= github.com/mtibben/percent v0.2.1 h1:5gssi8Nqo8QU/r2pynCm+hBQHpkB/uNK7BJCFogWdzs= @@ -2312,145 +1310,69 @@ github.com/multiformats/go-multistream v0.4.1/go.mod h1:Mz5eykRVAjJWckE2U78c6xqd github.com/multiformats/go-varint v0.0.1/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= github.com/multiformats/go-varint v0.0.7 h1:sWSGR+f/eu5ABZA2ZpYKBILXTTs9JWpdEM/nEGOHFS8= github.com/multiformats/go-varint v0.0.7/go.mod h1:r8PUYw/fD/SjBCiKOoDlGF6QawOELpZAu9eioSos/OU= -github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-proto-validators v0.0.0-20180403085117-0950a7990007/go.mod h1:m2XC9Qq0AlmmVksL6FktJCdTYyLk7V3fKyp0sl1yWQo= -github.com/mwitkow/go-proto-validators v0.2.0/go.mod h1:ZfA1hW+UH/2ZHOWvQ3HnQaU0DtnpXu850MZiy+YUgcc= github.com/mwitkow/grpc-proxy v0.0.0-20181017164139-0f1106ef9c76/go.mod h1:x5OoJHDHqxHS801UIuhqGl6QdSAEJvtausosHSdazIo= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= -github.com/nakabonne/nestif v0.3.0/go.mod h1:dI314BppzXjJ4HsCnbo7XzrJHPszZsjnk5wEBSYHI2c= -github.com/nakabonne/nestif v0.3.1/go.mod h1:9EtoZochLn5iUprVDmDjqGKPofoUEBL8U4Ngq6aY7OE= github.com/nanmu42/etherscan-api v1.10.0 h1:8lAwKbaHEVzXK+cbLaApxbmp4Kai12WKEcY9CxqxKbY= github.com/nanmu42/etherscan-api v1.10.0/go.mod h1:P8oAUxbYfsdfGXQnHCgjTDs4YbmasUVCtYAYc4rrZ5w= github.com/naoina/go-stringutil v0.1.0/go.mod h1:XJ2SJL9jCtBh+P9q5btrd/Ylo8XwT/h1USek5+NqSA0= github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416/go.mod h1:NBIhNtsFMo3G2szEBne+bO4gS192HuIYRqfvOWb4i1E= github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= -github.com/nats-io/jwt v1.2.2/go.mod h1:/xX356yQA6LuXI9xWW7mZNpxgF2mBmGecH+Fj34sP5Q= -github.com/nats-io/jwt/v2 v2.0.3/go.mod h1:VRP+deawSXyhNjXmxPCHskrR6Mq50BqpEI5SEcNiGlY= github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= -github.com/nats-io/nats-server/v2 v2.5.0/go.mod h1:Kj86UtrXAL6LwYRA6H4RqzkHhK0Vcv2ZnKD5WbQ1t3g= github.com/nats-io/nats.go v1.8.1/go.mod h1:BrFz9vVn0fU3AcH9Vn4Kd7W0NpJ651tD5omQ3M8LwxM= github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= -github.com/nats-io/nats.go v1.12.1/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w= github.com/nats-io/nkeys v0.0.2/go.mod h1:dab7URMsZm6Z/jp9Z5UGa87Uutgc2mVpXLC4B7TDb/4= github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= -github.com/nats-io/nkeys v0.2.0/go.mod h1:XdZpAbhgyyODYqjTawOnIOI7VlbKSarI9Gfy1tqEu/s= -github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= -github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU= -github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354/go.mod h1:KSVJerMDfblTH7p5MZaTt+8zaT2iEk3AkVb9PQdZuE8= -github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86/go.mod h1:kHJEU3ofeGjhHklVoIGuVj85JJwZ6kWPaJwCIxgnFmo= github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab/go.mod h1:Qr6/a/Q4r9LP1IltGz7tA7iOK1WonHEYhu1HRBA7ZiM= github.com/neilotoole/errgroup v0.1.5/go.mod h1:Q2nLGf+594h0CLBs/Mbg6qOr7GtqDK7C2S41udRnToE= github.com/neilotoole/errgroup v0.1.6/go.mod h1:Q2nLGf+594h0CLBs/Mbg6qOr7GtqDK7C2S41udRnToE= -github.com/networkplumbing/go-nft v0.2.0/go.mod h1:HnnM+tYvlGAsMU7yoYwXEVLLiDW9gdMmb5HoGcwpuQs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/nishanths/exhaustive v0.8.3/go.mod h1:qj+zJJUgJ76tR92+25+03oYUhzF4R7/2Wk7fGTfCHmg= -github.com/nishanths/predeclared v0.0.0-20190419143655-18a43bb90ffc/go.mod h1:62PewwiQTlm/7Rj+cxVYqZvDIUc+JjZq6GHAC1fsObQ= github.com/nishanths/predeclared v0.0.0-20200524104333-86fad755b4d3/go.mod h1:nt3d53pc1VYcphSCIaYAJtnPYnr3Zyn8fMq2wvPGPso= -github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c= github.com/notional-labs/cometbft-db v0.0.0-20230321185329-6dc7c0ca6345 h1:QeXhTzmndyedxsINoIZLWkDF17U9V/yCaBffFYXjbaQ= github.com/notional-labs/cometbft-db v0.0.0-20230321185329-6dc7c0ca6345/go.mod h1:a5TUP6VLnFBEcmg+xhGwb2lO9BjzkHGxg0c8wyRfjN8= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= -github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/oklog/ulid/v2 v2.1.0/go.mod h1:rcEKHmBBKfef9DhnvX7y1HZBYxjXb0cP5ExxNsTT1QQ= github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/olekukonko/tablewriter v0.0.2-0.20190409134802-7e037d187b0c/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= -github.com/olekukonko/tablewriter v0.0.2/go.mod h1:rSAaSIOAGT9odnlyGlUfAJaoc5w2fSBUmeGDbRWPxyQ= github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/onrik/ethrpc v1.2.0 h1:BBcr1iWxW1RBP/eyZfzvSKtGgeqexq5qS0yyf4pmKbc= github.com/onrik/ethrpc v1.2.0/go.mod h1:uvyqpn8+WbsTgBYfouImgEfpIMb0hR8fWGjwdgPHtFU= -github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= github.com/onsi/ginkgo v1.13.0/go.mod h1:+REjRxOmWfHCjfv9TTWB1jD1Frx4XydAD3zm1lskyM0= github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/ginkgo v1.16.2/go.mod h1:CObGmKUOKaSC0RjmoAK7tKyn4Azo5P2IWuoMnvwxz1E= -github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= -github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= -github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU= github.com/onsi/ginkgo/v2 v2.9.7 h1:06xGQy5www2oN160RtEZoTvnP2sPhEfePYmCDc2szss= github.com/onsi/ginkgo/v2 v2.9.7/go.mod h1:cxrmXWykAwTwhQsJOPfdIDiJ+l2RYq7U8hFU+M/1uw0= -github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.8.1/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= -github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= -github.com/onsi/gomega v1.13.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je41yGY= -github.com/onsi/gomega v1.15.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0= -github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= -github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= -github.com/onsi/gomega v1.20.0/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= github.com/onsi/gomega v1.27.7 h1:fVih9JD6ogIiHUN6ePK7HJidyEDpWGVB5mzM7cWNXoU= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= -github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/go-digest v1.0.0-rc1.0.20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= -github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/opencontainers/image-spec v1.0.0/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/image-spec v1.0.2-0.20211117181255-693428a734f5/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/image-spec v1.1.0-rc2 h1:2zx/Stx4Wc5pIPDvIxHXvXtQFW/7XWJGmnM7r3wg034= -github.com/opencontainers/image-spec v1.1.0-rc2/go.mod h1:3OVijpioIKYWTqjiG0zfF6wvoJ4fAXGbjdZuI2NgsRQ= -github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.0-rc10/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.0-rc8.0.20190926000215-3e425f80a8c9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.0-rc9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.0-rc92/go.mod h1:X1zlU4p7wOlX4+WRCz+hvlRv8phdL7UqbYD+vQwNMmE= -github.com/opencontainers/runc v1.0.0-rc93/go.mod h1:3NOsor4w32B2tC0Zbl8Knk4Wg84SM2ImC1fxBuqJ/H0= github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04suvGRQFzWTD0= -github.com/opencontainers/runc v1.1.0/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= -github.com/opencontainers/runc v1.1.1/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= -github.com/opencontainers/runc v1.1.2/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= github.com/opencontainers/runc v1.1.3 h1:vIXrkId+0/J2Ymu2m7VjGvbSlAId9XNRPhn2p4b+d8w= -github.com/opencontainers/runc v1.1.3/go.mod h1:1J5XiS+vdZ3wCyZybsuxXZWGrgSr8fFJHLXuG2PsnNg= -github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.2-0.20190207185410-29686dbc5559/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.3-0.20200728170252-4d89ac9fbff6/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 h1:3snG66yBm59tKhhSPQrQ/0bCrv1LQbKt40LnUPiUxdc= github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs= -github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqiriPsEqVhc+svHE= -github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo= github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8= -github.com/opencontainers/selinux v1.10.0/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI= -github.com/opencontainers/selinux v1.10.1/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI= github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= -github.com/opentracing-contrib/go-stdlib v1.0.0/go.mod h1:qtI1ogk+2JhVPIXVc6q+NHziSmy2W5GbdQZFUHADCBU= github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.0.3-0.20180606204148-bd9c31933947/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= @@ -2459,20 +1381,15 @@ github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+ github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA= github.com/openzipkin/zipkin-go v0.1.1/go.mod h1:NtoC/o8u3JlF1lSlyPNswIbeQH9bJTmOf0Erfk+hxe8= -github.com/openzipkin/zipkin-go v0.1.3/go.mod h1:NtoC/o8u3JlF1lSlyPNswIbeQH9bJTmOf0Erfk+hxe8= github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/openzipkin/zipkin-go v0.2.5/go.mod h1:KpXfKdgRDnnhsxw4pNIH9Md5lyFqKUa4YDFlwRYAMyE= github.com/ory/dockertest v3.3.5+incompatible h1:iLLK6SQwIhcbrG783Dghaaa3WPzGc+4Emza6EbVUUGA= github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs= -github.com/ory/dockertest/v3 v3.9.1/go.mod h1:42Ir9hmvaAPm0Mgibk6mBPi7SFvTXxEcnztDYOJ//uM= -github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw= github.com/otiai10/copy v1.6.0/go.mod h1:XWfuS3CrI0R6IE0FbgHsEazaXO8G0LpMp9o8tos0x4E= github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs= github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= -github.com/otiai10/mint v1.3.1/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc= github.com/otiai10/mint v1.3.2 h1:VYWnrP5fXmz1MXvjuUvcBrXSjGE6xjON+axB/UrpO3E= github.com/otiai10/mint v1.3.2/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc= github.com/otiai10/primes v0.0.0-20180210170552-f6d2a1ba97c4 h1:blMAhTXF6uL1+e3eVSajjLT43Cc0U8mU1gcigbbolJM= @@ -2484,86 +1401,56 @@ github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144T github.com/paulbellamy/ratecounter v0.2.0/go.mod h1:Hfx1hDpSGoqxkVVpBi/IlYD7kChlfo5C6hzIHwPqfFE= github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 h1:onHthvaw9LFnH4t2DcNVpwGmV9E1BkGknEliJkfwQj0= github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhMYhSNPKjeNKa5WY9YCIEBRbNzFFPJbWO6Y= -github.com/pborman/getopt v0.0.0-20170112200414-7148bc3a4c30/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o= github.com/pborman/uuid v0.0.0-20170112150404-1b00554d8222/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.8.0/go.mod h1:D6yutnOGMveHEPV7VQOuvI/gXY61bv+9bAOTRnLElKs= -github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc= github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= -github.com/pelletier/go-toml/v2 v2.0.2/go.mod h1:MovirKjgVRESsAvNZlAjtFwV867yGuwRkXbG66OzopI= -github.com/pelletier/go-toml/v2 v2.0.5/go.mod h1:OMHamSCAODeSsVrwwvcJOaoN0LIUIaFVNZzmWyNfXas= -github.com/pelletier/go-toml/v2 v2.0.7 h1:muncTPStnKRos5dpVKULv2FVd4bMOhNePj9CjgDb8Us= -github.com/pelletier/go-toml/v2 v2.0.7/go.mod h1:eumQOmlWiOPt5WriQQqoM5y18pDHwha2N+QD+EUNTek= +github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= +github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= -github.com/performancecopilot/speed/v4 v4.0.0/go.mod h1:qxrSyuDGrTOWfV+uKRFhfxw6h/4HXRGUiZiufxo49BM= -github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 h1:hDSdbBuw3Lefr6R18ax0tZ2BJeNB3NehB3trOwYBsdU= github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= -github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d/go.mod h1:3OzsM7FXDQlpCiw2j81fOmAwQLnZnLGXVKUzeKQXIAw= github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= -github.com/philhofer/fwd v1.1.1/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8= -github.com/pjbgf/sha1cd v0.2.3/go.mod h1:HOK9QrgzdHpbc2Kzip0Q1yi3M2MFGPADtR6HjG65m5M= -github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= -github.com/pkg/profile v1.5.0/go.mod h1:qBsxPvzyUincmltOk6iyRVxHYg4adc0OFOv72ZdLa18= -github.com/pkg/profile v1.6.0/go.mod h1:qBsxPvzyUincmltOk6iyRVxHYg4adc0OFOv72ZdLa18= github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= -github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5/go.mod h1:eCbImbZ95eXtAUIbLAuAVnBnwf83mjf6QIVH8SHYwqQ= -github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/polydawn/refmt v0.89.0 h1:ADJTApkvkeBZsN0tBTx8QjpD9JkmxbKp0cxfr9qszm4= github.com/polydawn/refmt v0.89.0/go.mod h1:/zvteZs/GwLtCgZ4BL6CBsk9IKIlexP43ObX9AxTqTw= -github.com/polyfloyd/go-errorlint v1.0.5/go.mod h1:APVvOesVSAnne5SClsPxPdfvZTVDojXh1/G3qb5wjGI= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= -github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= -github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= -github.com/prometheus/client_golang v0.0.0-20180209125602-c332b6f63c06/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.8.0/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= +github.com/prometheus/client_golang v1.8.0/go.mod h1:O9VU6huf47PktckDQfMTX0Y8tY0/7TSWwj+ITvv0TnM= github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_golang v1.14.0 h1:nJdhIvne2eSX/XRAFV9PcvFFRbrjbcTUj0VP62TMhnw= github.com/prometheus/client_golang v1.14.0/go.mod h1:8vpkKitgIVNcqrRBWh1C4TIUQgYNtG/XQE4E/Zae36Y= -github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= -github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= @@ -2573,48 +1460,27 @@ github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+ github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= +github.com/prometheus/common v0.14.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/common v0.30.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= github.com/prometheus/common v0.42.0 h1:EKsfXEYo4JpWMHH5cg+KOUWeuJSov1Id8zGR8eeI1YM= github.com/prometheus/common v0.42.0/go.mod h1:xBwqVerjNdUDjgODMpudtOMwlOwf2SaTr1yjz4b7Zbc= -github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= -github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.3.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= github.com/prometheus/procfs v0.9.0 h1:wzCHvIvM5SxWqYvwgVL7yJY8Lz3PKn49KQtpgMYJfhI= github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB/chUwxUZY= github.com/prometheus/tsdb v0.6.2-0.20190402121629-4f204dcbc150/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/prometheus/tsdb v0.7.1 h1:YZcsG11NqnK4czYLrWd9mpEuAJIHVQLwdrleYfszMAA= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pseudomuto/protoc-gen-doc v1.3.2/go.mod h1:y5+P6n3iGrbKG+9O04V5ld71in3v/bX88wUwgt+U8EA= -github.com/pseudomuto/protokit v0.2.0/go.mod h1:2PdH30hxVHsup8KpBTOXTBeMVhJZVio3Q8ViKSAXT0Q= -github.com/quasilyte/go-consistent v0.0.0-20190521200055-c6f3937de18c/go.mod h1:5STLWrekHfjyYwxBRVRXNOSewLJ3PWfDJd1VyTS21fI= -github.com/quasilyte/go-ruleguard v0.1.2-0.20200318202121-b00d7a75d3d8/go.mod h1:CGFX09Ci3pq9QZdj86B+VGIdNj4VyCo2iPOGS9esB/k= -github.com/quasilyte/go-ruleguard v0.3.1-0.20210203134552-1b5a410e1cc8/go.mod h1:KsAh3x0e7Fkpgs+Q9pNLS5XpFSvYCEVl5gP9Pp1xp30= -github.com/quasilyte/go-ruleguard v0.3.18/go.mod h1:lOIzcYlgxrQ2sGJ735EHXmf/e9MJ516j16K/Ifcttvs= -github.com/quasilyte/go-ruleguard/dsl v0.3.0/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU= -github.com/quasilyte/go-ruleguard/dsl v0.3.21/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU= -github.com/quasilyte/go-ruleguard/rules v0.0.0-20201231183845-9e62ed36efe1/go.mod h1:7JTjp89EGyU1d6XfBiXihJNG37wB2VRkd125Q1u7Plc= -github.com/quasilyte/go-ruleguard/rules v0.0.0-20211022131956-028d6511ab71/go.mod h1:4cgAphtvu7Ftv7vOT2ZOYhC6CvBxZixcasr8qIOTA50= -github.com/quasilyte/gogrep v0.0.0-20220828223005-86e4605de09f/go.mod h1:Cm9lpz9NZjEoL1tgZ2OgeUKPIxL1meE7eo60Z6Sk+Ng= -github.com/quasilyte/regex/syntax v0.0.0-20200407221936-30656e2c4a95/go.mod h1:rlzQ04UMyJXu/aOvhd8qT+hvDrFpiwqp8MRXDY9szc0= -github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567/go.mod h1:DWNGW8A4Y+GyBgPuaQJuWiy0XYftx4Xm/y5Jqk9I6VQ= github.com/quic-go/qpack v0.4.0 h1:Cr9BXA1sQS2SmDUWjSofMPNKmvF6IiIfDRmgU0w1ZCo= github.com/quic-go/qpack v0.4.0/go.mod h1:UZVnYIfi5GRk+zI9UMaCPsmZ2xKJP7XBUvVyT1Knj9A= github.com/quic-go/qtls-go1-19 v0.3.3 h1:wznEHvJwd+2X3PqftRha0SUKmGsnb6dfArMhy9PeJVE= @@ -2630,92 +1496,56 @@ github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Ung github.com/raulk/go-watchdog v1.3.0 h1:oUmdlHxdkXRJlwfG0O9omj8ukerm8MEQavSiDTEtBsk= github.com/raulk/go-watchdog v1.3.0/go.mod h1:fIvOnLbF0b0ZwkB9YU4mOW9Did//4vPZtDqv66NfsMU= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/regen-network/cosmos-proto v0.3.1 h1:rV7iM4SSFAagvy8RiyhiACbWEGotmqzywPxOvwMdxcg= github.com/regen-network/cosmos-proto v0.3.1/go.mod h1:jO0sVX6a1B36nmE8C9xBFXpNwWejXC7QqCOnH3O0+YM= github.com/regen-network/protobuf v1.3.3-alpha.regen.1 h1:OHEc+q5iIAXpqiqFKeLpu5NwTIkVXUs48vFMwzqpqY4= github.com/regen-network/protobuf v1.3.3-alpha.regen.1/go.mod h1:2DjTFR1HhMQhiWC5sZ4OhQ3+NtdbZ6oBDKQwq5Ou+FI= -github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= -github.com/remyoudompheng/go-dbus v0.0.0-20121104212943-b7232d34b1d5/go.mod h1:+u151txRmLpwxBmpYn9z3d1sdJdjRPQpsXuYeY9jNls= -github.com/remyoudompheng/go-liblzma v0.0.0-20190506200333-81bf2d431b96/go.mod h1:90HvCY7+oHHUKkbeMCiHt1WuFR2/hPJ9QrljDG+v6ls= -github.com/remyoudompheng/go-misc v0.0.0-20190427085024-2d6ac652a50e/go.mod h1:80FQABjoFzZ2M5uEa6FUaJYEmqU2UOKojlFVak1UAwI= github.com/retailnext/hllpp v1.0.1-0.20180308014038-101a6d2f8b52/go.mod h1:RDpi1RftBQPUCDRw6SmxeaREsAaRKnOclghuzp/WRzc= github.com/rjeczalik/notify v0.9.1 h1:CLCKso/QK1snAlnhNR/CNvNiFU2saUtjV0bx3EwNeCE= github.com/rjeczalik/notify v0.9.1/go.mod h1:rKwnCoCGeuQnwBtTSPL9Dad03Vh2n40ePRrjvIXnJho= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= -github.com/rogpeppe/fastuuid v1.1.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.5.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/cors v0.0.0-20160617231935-a62a804a8a00/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= -github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/cors v1.8.3 h1:O+qNyWn7Z+F9M0ILBHgMVPuB1xTOucVd5gtaYyXBpRo= github.com/rs/cors v1.8.3/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xhandler v0.0.0-20160618193221-ed27b6fd6521/go.mod h1:RvLn4FgxWubrpZHtQLnOf6EwhN2hEMusxZOhcW9H3UQ= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= -github.com/rs/xid v1.3.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= -github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= +github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= github.com/rs/zerolog v1.23.0/go.mod h1:6c7hFfxPOy7TacJc4Fcdi24/J0NKYGzjG8FWRI916Qo= -github.com/rs/zerolog v1.27.0/go.mod h1:7frBqO0oezxmnO7GF86FY++uy8I0Tk/If5ni1G9Qc0U= -github.com/rs/zerolog v1.29.1 h1:cO+d60CHkknCbvzEWxP0S9K6KqyTjrCNUy1LdQLCGPc= -github.com/rs/zerolog v1.29.1/go.mod h1:Le6ESbR7hc+DP6Lt1THiV8CQSdkkNrd3R0XbEgp3ZBU= -github.com/rubiojr/go-vhd v0.0.0-20160810183302-0bfd3b39853c/go.mod h1:DM5xW0nvfNNm2uytzsvhI3OnX8uzaRAg8UX/CnDqbto= +github.com/rs/zerolog v1.32.0 h1:keLypqrlIjaFsbmJOBdB/qvyF8KEtCWHwobLp5l/mQ0= +github.com/rs/zerolog v1.32.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= -github.com/russross/blackfriday v1.6.0/go.mod h1:ti0ldHuxg49ri4ksnFxlkCfN+hvslNlmVHqNRXXJNAY= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ryancurrah/gomodguard v1.0.4/go.mod h1:9T/Cfuxs5StfsocWr4WzDL36HqnX0fVb9d5fSEaLhoE= -github.com/ryancurrah/gomodguard v1.1.0/go.mod h1:4O8tr7hBODaGE6VIhfJDHcwzh5GUccKSJBU0UMXJFVM= -github.com/ryancurrah/gomodguard v1.2.4/go.mod h1:+Kem4VjWwvFpUJRJSwa16s1tBJe+vbv02+naTow2f6M= -github.com/ryanrolds/sqlclosecheck v0.3.0/go.mod h1:1gREqxyTGR3lVtpngyFo3hZAgk0KCtEdgEkHwDbigdA= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= -github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= -github.com/sagikazarmark/crypt v0.3.0/go.mod h1:uD/D+6UF4SrIR1uGEv7bBNkNqLGqUr43MRiaGWX1Nig= -github.com/sagikazarmark/crypt v0.6.0/go.mod h1:U8+INwJo3nBv1m6A/8OBXAq7Jnpspk5AxSgDyEQcea8= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= -github.com/sanposhiho/wastedassign/v2 v2.0.6/go.mod h1:KyZ0MWTwxxBmfwn33zh3k1dmsbF2ud9pAAGfoLfjhtI= +github.com/sasha-s/go-deadlock v0.2.0/go.mod h1:StQn567HiB1fF2yJ44N9au7wOhrPS3iZqiDbRupzT10= +github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0= github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= -github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ= -github.com/sashamelentyev/usestdlibvars v1.20.0/go.mod h1:0GaP+ecfZMXShS0A94CJn6aEuPRILv8h/VuWI9n1ygg= -github.com/sassoftware/go-rpmutils v0.0.0-20190420191620-a8f1baeba37b/go.mod h1:am+Fp8Bt506lA3Rk3QCmSqmYmLMnPDhdDUcosQCAx+I= -github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= -github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g= github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= -github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo= -github.com/seccomp/libseccomp-golang v0.9.2-0.20210429002308-3879420cc921/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= -github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= -github.com/securego/gosec v0.0.0-20200103095621-79fbf3af8d83/go.mod h1:vvbZ2Ae7AzSq3/kywjUDxSNq2SJ27RxCz2un0H3ePqE= -github.com/securego/gosec v0.0.0-20200401082031-e946c8c39989/go.mod h1:i9l/TNj+yDFh9SZXUTvspXTjbFXgZGP/UvhU1S65A4A= -github.com/securego/gosec/v2 v2.3.0/go.mod h1:UzeVyUXbxukhLeHKV3VVqo7HdoQR9MrRfFmZYotn8ME= -github.com/securego/gosec/v2 v2.13.1/go.mod h1:EO1sImBMBWFjOTFzMWfTRrZW6M15gm60ljzrmy/wtHo= github.com/segmentio/fasthash v1.0.3/go.mod h1:waKX8l2N8yckOgmSsXJi7x1ZfdKZ4x7KRMzBtS3oedY= github.com/segmentio/kafka-go v0.1.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= github.com/segmentio/kafka-go v0.2.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= -github.com/serialx/hashring v0.0.0-20190422032157-8b2912629002/go.mod h1:/yeG0My1xr/u+HZrFQ1tOQQQQrOawfyMUH13ai5brBc= -github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c/go.mod h1:/PevMnwAxekIXwN8qQyfc5gl2NlkB3CQlkizAbOkeBs= -github.com/shirou/gopsutil v0.0.0-20190901111213-e4ec7b275ada/go.mod h1:WWnYX4lzhCH5h/3YBfyVA3VbLYjlMZZAQcW9ojMexNc= github.com/shirou/gopsutil v2.20.5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible h1:Bn1aCHHRnjv4Bl16T8rcaFjYSrGrIZvpiGO6P3Q4GpU= github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= -github.com/shirou/gopsutil/v3 v3.22.9/go.mod h1:bBYl1kjgEJpWpxeHmLI+dVHWtyAwfcmSBLDsp2TNT8A= -github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4/go.mod h1:qsXQc7+bwAM3Q1u/4XEfrquwF8Lw7D7y5cD8CuHnfIc= github.com/shurcooL/component v0.0.0-20170202220835-f88ec8f54cc4/go.mod h1:XhFIlyj5a1fBNx5aJTbKoIq0mNaPvOagO+HjB3EtxrY= github.com/shurcooL/events v0.0.0-20181021180414-410e4ca65f48/go.mod h1:5u70Mqkb5O5cxEA8nxTsgrgLehJeAw6Oc4Ab1c/P1HM= github.com/shurcooL/github_flavored_markdown v0.0.0-20181002035957-2122de532470/go.mod h1:2dOwnU2uBioM+SGy2aZoq1f/Sd1l9OkAeAUvjSyvgU0= @@ -2739,8 +1569,6 @@ github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95/go. github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537/go.mod h1:QJTqeLYEDaXHZDBsXlPCDqdhQuJkuw4NOtaxYe3xii4= github.com/shurcooL/webdavfs v0.0.0-20170829043945-18c3829fa133/go.mod h1:hKmq5kWdCj2z2KEozexVbfEZIWiTjhE0+UjmZgPqehw= -github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= -github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= @@ -2748,92 +1576,57 @@ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrf github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= -github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/sivchari/containedctx v1.0.2/go.mod h1:PwZOeqm4/DLoJOqMSIJs3aKqXRX4YO+uXww087KZ7Bw= -github.com/sivchari/nosnakecase v1.7.0/go.mod h1:CwDzrzPea40/GB6uynrNLiorAlgFRvRbFSgJx2Gs+QY= -github.com/sivchari/tenv v1.7.0/go.mod h1:64yStXKSOxDfX47NlhVwND4dHwfZDdbp2Lyl018Icvg= -github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/assertions v1.0.0/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM= github.com/smartystreets/assertions v1.2.0 h1:42S6lae5dvLc7BrLu/0ugRtcFVjoJNMC/N3yZFZkDFs= github.com/smartystreets/assertions v1.2.0/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo= -github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9/go.mod h1:SnhjPscd9TpLiy1LpzGSKh3bXCfxxXuqd9xmQJy3slM= -github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v1.7.2 h1:9RBaZCeXEQ3UselpuwUQHltGVXvdwm6cv1hgR6gDIPg= github.com/smartystreets/goconvey v1.7.2/go.mod h1:Vw0tHAZW6lzCRk3xgdin6fKYcG+G3Pg9vgXWeJpQFMM= -github.com/smartystreets/gunit v1.0.0/go.mod h1:qwPWnhz6pn0NnRBP++URONOVyNkPyr4SauJk4cUOwJs= github.com/snikch/goodman v0.0.0-20171125024755-10e37e294daa/go.mod h1:oJyF+mSPHbB5mVY2iO9KV3pTt/QbIkGaO8gQ2WrDbP4= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= -github.com/sonatard/noctx v0.0.1/go.mod h1:9D2D/EoULe8Yy2joDHJj7bv3sZoq9AaSb8B4lqBjiZI= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d/go.mod h1:UdhH50NIW0fCiwBSr0co2m7BnFLdv4fQTgdqdJTHFeE= -github.com/sourcegraph/go-diff v0.5.1/go.mod h1:j2dHj3m8aZgQO8lMTcTnBcXkRRRqi34cd2MNlA9u1mE= -github.com/sourcegraph/go-diff v0.5.3/go.mod h1:v9JDtjCE4HHHCZGId75rg8gkKKa98RVjBcBGsVmMmak= -github.com/sourcegraph/go-diff v0.6.1/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs= github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e/go.mod h1:HuIsMU8RRBOtsCgI77wP899iHVBQpCmg4ErYMZB+2IA= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= -github.com/spf13/afero v1.8.2/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo= -github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8= github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= -github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= -github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= +github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= +github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= +github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI= github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= -github.com/spf13/cobra v1.3.0/go.mod h1:BrRVncBjOJa/eUcVVm9CE+oC6as8k+VYr4NY7WCi9V4= -github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g= -github.com/spf13/cobra v1.6.0/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= -github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= -github.com/spf13/viper v1.6.1/go.mod h1:t3iDnF5Jlj76alVNuyFBk5oUMCvsrkbvZK0WQdfDi5k= github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= +github.com/spf13/viper v1.7.1/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= github.com/spf13/viper v1.8.0/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= -github.com/spf13/viper v1.10.0/go.mod h1:SoyBPwAtKDzypXNDFKN5kzH7ppppbGZtls1UpIy5AsM= -github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI= -github.com/spf13/viper v1.13.0/go.mod h1:Icm2xNL3/8uyh/wFuB1jI7TiTNKp8632Nwegu+zgdYw= -github.com/spf13/viper v1.15.0 h1:js3yy885G8xwJa6iOISGFwd+qlUo5AvyXb7CiihdtiU= -github.com/spf13/viper v1.15.0/go.mod h1:fFcTBJxvhhzSJiZy8n+PeW6t8l+KeT/uTARa0jHOQLA= -github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I= +github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc= +github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg= github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= github.com/status-im/keycard-go v0.2.0 h1:QDLFswOQu1r5jsycloeQh3bVU8n/NatHHaZobtDnDzA= github.com/status-im/keycard-go v0.2.0/go.mod h1:wlp8ZLbsmrF6g6WjugPAx+IzoLrkdf9+mHxBEeo3Hbg= -github.com/stbenjam/no-sprintf-host-port v0.1.1/go.mod h1:TLhvtIvONRzdmkFiio4O8LHsN9N74I+PhRquPsxpL0I= github.com/steakknife/bloomfilter v0.0.0-20180922174646-6819c0d2a570/go.mod h1:8OR4w3TdeIHIh1g6EMY5p0gVNOovcWC+1vpc7naMuAw= github.com/steakknife/hamming v0.0.0-20180906055917-c99c65617cd3/go.mod h1:hpGUWaI9xL8pRQCTXQgocU38Qw1g0Us7n5PxxTwTCYU= -github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8= -github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= -github.com/streadway/amqp v1.0.0/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= -github.com/streadway/handy v0.0.0-20200128134331-0f66f006fb2e/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= -github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= @@ -2841,10 +1634,6 @@ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSS github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/objx v0.5.1 h1:4VhoImhV/Bm0ToFkXFi8hXNXwpDRZ/ynw3amt82mzq0= github.com/stretchr/objx v0.5.1/go.mod h1:/iHQpkQwBD6DLUmQ4pE+s1TXdob1mORJ4/UFdrifcy0= -github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v0.0.0-20170130113145-4d4bfba8f1d1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.1.4/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.0/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= @@ -2853,31 +1642,21 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5 github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= -github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= -github.com/subosito/gotenv v1.3.0/go.mod h1:YzJjq/33h7nrwdY+iHMhEOEEbW0ovIz0tB6t6PwAXzs= -github.com/subosito/gotenv v1.4.0/go.mod h1:mZd6rFysKEcUhUHXJk0C/08wAgyDBFuwEYL7vWWGaGo= -github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/swaggest/assertjson v1.9.0 h1:dKu0BfJkIxv/xe//mkCrK5yZbs79jL7OVf9Ija7o2xQ= github.com/swaggest/assertjson v1.9.0/go.mod h1:b+ZKX2VRiUjxfUIal0HDN85W0nHPAYUbYH5WkkSsFsU= -github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= -github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07/go.mod h1:kDXzergiv9cbyO7IOYJZWg1U88JhDg3PB6klq9Hg2pA= -github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ23RP/odRBOTVjwp2cDyi6I= -github.com/tdakkota/asciicheck v0.0.0-20200416190851-d7f85be797a2/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM= -github.com/tdakkota/asciicheck v0.0.0-20200416200610-e657995f937b/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM= -github.com/tdakkota/asciicheck v0.1.1/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM= github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c h1:g+WoO5jjkqGAzHWCjJB1zZfXPIAaDpzXIEJ0eS6B5Ok= github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c/go.mod h1:ahpPrc7HpcfEWDQRZEmnXMzHY03mLDYMCxeDzy46i+8= github.com/tendermint/btcd v0.0.0-20180816174608-e5840949ff4f/go.mod h1:DC6/m53jtQzr/NFmMNEu0rxf18/ktVoVtMrnDD5pN+U= @@ -2888,15 +1667,21 @@ github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM github.com/tendermint/go-amino v0.14.1/go.mod h1:i/UKE5Uocn+argJJBb12qTZsCDBcAYMbR92AaJVmKso= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tenntenn/modver v1.0.1/go.mod h1:bePIyQPb7UeioSRkw3Q0XeMhYZSMx9B8ePqg6SAMGH0= -github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3/go.mod h1:ON8b8w4BN/kE1EOhwT0o+d62W65a6aPw1nouo9LMgyY= -github.com/tetafro/godot v0.3.7/go.mod h1:/7NLHhv08H1+8DNj0MElpAACw1ajsCuf3TKNQxA5S+0= -github.com/tetafro/godot v0.4.2/go.mod h1:/7NLHhv08H1+8DNj0MElpAACw1ajsCuf3TKNQxA5S+0= -github.com/tetafro/godot v1.4.11/go.mod h1:LR3CJpxDVGlYOWn3ZZg1PgNZdTUvzsZWu8xaEohUpn8= +github.com/tendermint/tendermint v0.34.0-rc4/go.mod h1:yotsojf2C1QBOw4dZrTcxbyxmPUrT4hNuOQWX9XUwB4= +github.com/tendermint/tendermint v0.34.0-rc6/go.mod h1:ugzyZO5foutZImv0Iyx/gOFCX6mjJTgbLHTwi17VDVg= +github.com/tendermint/tendermint v0.34.0/go.mod h1:Aj3PIipBFSNO21r+Lq3TtzQ+uKESxkbA3yo/INM4QwQ= +github.com/tendermint/tendermint v0.34.10/go.mod h1:aeHL7alPh4uTBIJQ8mgFEE8VwJLXI1VD3rVOmH2Mcy0= +github.com/tendermint/tendermint v0.34.11/go.mod h1:aeHL7alPh4uTBIJQ8mgFEE8VwJLXI1VD3rVOmH2Mcy0= +github.com/tendermint/tendermint v0.34.12/go.mod h1:aeHL7alPh4uTBIJQ8mgFEE8VwJLXI1VD3rVOmH2Mcy0= +github.com/tendermint/tendermint v0.34.14 h1:GCXmlS8Bqd2Ix3TQCpwYLUNHe+Y+QyJsm5YE+S/FkPo= +github.com/tendermint/tendermint v0.34.14/go.mod h1:FrwVm3TvsVicI9Z7FlucHV6Znfd5KBc/Lpp69cCwtk0= +github.com/tendermint/tm-db v0.6.2/go.mod h1:GYtQ67SUvATOcoY8/+x6ylk8Qo02BQyLrAs+yAcLvGI= +github.com/tendermint/tm-db v0.6.3/go.mod h1:lfA1dL9/Y/Y8wwyPp2NMLyn5P5Ptr/gvDFNWtrCWSf8= +github.com/tendermint/tm-db v0.6.4/go.mod h1:dptYhIpJ2M5kUuenLr+Yyf3zQOv1SgBZcl8/BmWlMBw= github.com/thales-e-security/pool v0.0.2 h1:RAPs4q2EbWsTit6tpzuvTFlgFRJ3S8Evf5gtvVDbmPg= github.com/thales-e-security/pool v0.0.2/go.mod h1:qtpMm2+thHtqhLzTwgDBj/OuNnMpupY8mv0Phz0gjhU= -github.com/tidwall/btree v1.5.0 h1:iV0yVY/frd7r6qGBXfEYs7DH0gTDgrKTrDjS7xt/IyQ= -github.com/tidwall/btree v1.5.0/go.mod h1:LGm8L/DZjPLmeWGjv5kFrY8dL4uVhMmzmmLYmsObdKE= +github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg= +github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= github.com/tidwall/gjson v1.6.7/go.mod h1:zeFuBCIqD4sN/gmqBzZ4j7Jd6UcA2Fc56x7QFsv+8fI= github.com/tidwall/gjson v1.12.1/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/gjson v1.14.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= @@ -2913,16 +1698,7 @@ github.com/tidwall/sjson v1.1.4/go.mod h1:wXpKXu8CtDjKAZ+3DrKY5ROCorDFahq8l0tey/ github.com/tidwall/sjson v1.2.4/go.mod h1:098SZ494YoMWPmMO6ct4dcFnqxwj9r/gF0Etp19pSNM= github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= -github.com/timakin/bodyclose v0.0.0-20190930140734-f7f2e9bca95e/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk= -github.com/timakin/bodyclose v0.0.0-20200424151742-cb6215831a94/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk= -github.com/timakin/bodyclose v0.0.0-20210704033933-f49887972144/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk= -github.com/timonwong/loggercheck v0.9.3/go.mod h1:wUqnk9yAOIKtGA39l1KLE9Iz0QiTocu/YZoOf+OzFdw= github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= -github.com/tinylib/msgp v1.1.5/go.mod h1:eQsjooMTnV42mHu917E26IogZ2930nFyBQdofk10Udg= -github.com/tj/assert v0.0.0-20171129193455-018094318fb0/go.mod h1:mZ9/Rh9oLWpLLDRpvE+3b7gP/C2YyLFYxNmcLnPTMe0= -github.com/tj/go-elastic v0.0.0-20171221160941-36157cbbebc2/go.mod h1:WjeM0Oo1eNAjXGDx2yma7uG2XoyRZTq1uv3M/o7imD0= -github.com/tj/go-kinesis v0.0.0-20171128231115-08b17f58cb1b/go.mod h1:/yhzCV0xPfx6jb1bBgRFjl5lytqVqZXEaeqWP8lTEao= -github.com/tj/go-spin v1.1.0/go.mod h1:Mg1mzmePZm4dva8Qz60H2lHwmJ2loum4VIrLgVnKwh4= github.com/tklauser/go-sysconf v0.3.5/go.mod h1:MkWzOF4RMCshBAMXuhXJs64Rte09mITnppBXY/rYEFI= github.com/tklauser/go-sysconf v0.3.10 h1:IJ1AZGZRWbY8T5Vfk04D9WOA5WSejdflXxP03OUqALw= github.com/tklauser/go-sysconf v0.3.10/go.mod h1:C8XykCvCb+Gn0oNCWPIlcb0RuglQTYaQ2hGm7jmxEFk= @@ -2931,109 +1707,56 @@ github.com/tklauser/numcpus v0.4.0 h1:E53Dm1HjH1/R2/aoCtXtPgzmElmn51aOkhCFSuZq// github.com/tklauser/numcpus v0.4.0/go.mod h1:1+UI3pD8NW14VMwdgJNJ1ESk2UnwhAnz5hMwiKKqXCQ= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tomarrell/wrapcheck/v2 v2.7.0/go.mod h1:ao7l5p0aOlUNJKI0qVwB4Yjlqutd0IvAB9Rdwyilxvg= -github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce/go.mod h1:o8v6yHRoik09Xen7gje4m9ERNah1d1PPsVq1VEx9vE4= -github.com/tommy-muehle/go-mnd v1.1.1/go.mod h1:dSUh0FtTP8VhvkL1S+gUR1OKd9ZnSaozuI6r3m6wOig= -github.com/tommy-muehle/go-mnd v1.3.1-0.20200224220436-e6f9a994e8fa/go.mod h1:dSUh0FtTP8VhvkL1S+gUR1OKd9ZnSaozuI6r3m6wOig= -github.com/tommy-muehle/go-mnd/v2 v2.5.1/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw= -github.com/tonistiigi/fsutil v0.0.0-20201103201449-0834f99b7b85/go.mod h1:a7cilN64dG941IOXfhJhlH0qB92hxJ9A1ewrdUmJ6xo= -github.com/tonistiigi/fsutil v0.0.0-20220115021204-b19f7f9cb274/go.mod h1:oPAfvw32vlUJSjyDcQ3Bu0nb2ON2B+G0dtVN/SZNJiA= -github.com/tonistiigi/go-actions-cache v0.0.0-20220404170428-0bdeb6e1eac7/go.mod h1:qqvyZqkfwkoJuPU/bw61bItaoO0SJ8YSW0vSVRRvsRg= -github.com/tonistiigi/go-archvariant v1.0.0/go.mod h1:TxFmO5VS6vMq2kvs3ht04iPXtu2rUT/erOnGFYfk5Ho= -github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea/go.mod h1:WPnis/6cRcDZSUvVmezrxJPkiO87ThFYsoUiMwWNDJk= -github.com/tonistiigi/vt100 v0.0.0-20210615222946-8066bb97264f/go.mod h1:ulncasL3N9uLrVann0m+CDlJKWsIAP34MPcOJF6VRvc= -github.com/ttacon/chalk v0.0.0-20160626202418-22c06c80ed31/go.mod h1:onvgF043R+lC5RZ8IT9rBXDaEDnpnw/Cl+HFiw+v/7Q= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= -github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod h1:hzIxponao9Kjc7aWznkXaL4U4TWaDSs8zcsY4Ka08nM= github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/tyler-smith/go-bip39 v1.0.2/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/tyler-smith/go-bip39 v1.1.0 h1:5eUemwrMargf3BSLRRCalXT93Ns6pQJIjYQN2nyfOP8= github.com/tyler-smith/go-bip39 v1.1.0/go.mod h1:gUYDtqQw1JS3ZJ8UWVcGTGqqr6YIN3CWg+kkNaLt55U= -github.com/uber/jaeger-client-go v2.25.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= -github.com/uber/jaeger-lib v2.2.0+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= github.com/ugorji/go/codec v1.2.7 h1:YPXUKf7fYbp/y8xloBqZOw2qaVggbfwMlI8WM3wZUJ0= -github.com/ulikunitz/xz v0.5.6/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= -github.com/ulikunitz/xz v0.5.7/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= -github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8= github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= -github.com/ultraware/funlen v0.0.2/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA= -github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA= -github.com/ultraware/whitespace v0.0.4/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA= -github.com/ultraware/whitespace v0.0.5/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA= -github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8= +github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli v1.22.10 h1:p8Fspmz3iTctJstry1PYS3HVdllxnEzTEsgIgtxTrCk= github.com/urfave/cli v1.22.10/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= github.com/urfave/cli/v2 v2.10.2 h1:x3p8awjp/2arX+Nl/G2040AZpOCHS/eMJJ1/a+mye4Y= github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4= -github.com/uudashr/gocognit v1.0.1/go.mod h1:j44Ayx2KW4+oB6SWMv8KsmHzZrOInQav7D3cQMJ5JUM= -github.com/uudashr/gocognit v1.0.6/go.mod h1:nAIUuVBnYU7pcninia3BHOvQkpQCeO76Uscky5BOwcY= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasthttp v1.2.0/go.mod h1:4vX61m6KN+xDduDNwXrhIAVZaZaZiQ1luJk8LWSxF3s= github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBnvPM1Su9w= -github.com/valyala/fasthttp v1.30.0/go.mod h1:2rsYD01CKFrjjsvFxx75KlEUNpWNBY9JWD3K/7o2Cus= github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/valyala/quicktemplate v1.2.0/go.mod h1:EH+4AkTd43SvgIbQHYu59/cJyxDoOVRUAfrukLPuGJ4= -github.com/valyala/quicktemplate v1.7.0/go.mod h1:sqKJnoaOF88V07vkO+9FL8fb9uZg/VPSJnLYn+LmLk8= github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio= -github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc= -github.com/vbatts/tar-split v0.11.2/go.mod h1:vV3ZuO2yWSVsz+pfFzDG/upWH1JhjOiEaWq6kXyQ3VI= -github.com/vdemeester/k8s-pkg-credentialprovider v1.17.4/go.mod h1:inCTmtUdr5KJbreVojo06krnTgaeAz/Z7lynpPk/Q2c= -github.com/vektra/mockery/v2 v2.14.0/go.mod h1:bnD1T8tExSgPD1ripLkDbr60JA9VtQeu12P3wgLZd7M= github.com/viant/assertly v0.4.8/go.mod h1:aGifi++jvCrUaklKEKT0BU95igDNaqkvz+49uaYMPRU= github.com/viant/toolbox v0.24.0/go.mod h1:OxMCG57V0PXuIP2HNQrtJf2CjqdmbrOx5EkMILuUhzM= -github.com/viki-org/dnscache v0.0.0-20130720023526-c70c1f23c5d8/go.mod h1:dniwbG03GafCjFohMDmz6Zc6oCuiqgH6tGNyXTkHzXE= -github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk= github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= -github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= -github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= -github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc/go.mod h1:ZjcWmFBXmLKZu9Nxj3WKYEafiSqer2rnvPr0en9UNpI= github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= -github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= -github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= github.com/vmihailenco/msgpack/v5 v5.1.4/go.mod h1:C5gboKD0TJPqWDTVTtrQNfRbiBwHZGo8UTqP/9/XvLI= github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= -github.com/vmware/govmomi v0.20.3/go.mod h1:URlwyTFZX72RmxtxuaFL2Uj3fD1JTvZdx59bHWk6aFU= github.com/warpfork/go-wish v0.0.0-20220906213052-39a1cc7a02d0 h1:GDDkbFiaK8jsSDJfjId/PEGEShv6ugrt4kYsC5UIDaQ= github.com/warpfork/go-wish v0.0.0-20220906213052-39a1cc7a02d0/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw= github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 h1:EKhdznlJHPMoKr0XTrX+IlJs1LH3lyx2nfr1dOlZ79k= github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1/go.mod h1:8UvriyWtv5Q5EOgjHaSseUEdkQfvwFv1I/In/O2M9gc= github.com/willf/bitset v1.1.3/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= -github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= -github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr3+MjI= github.com/wsddn/go-ecdh v0.0.0-20161211032359-48726bab9208/go.mod h1:IotVbo4F+mw0EzQ08zFqg7pK3FebNXpaMsRy2RT+Ees= -github.com/xanzy/go-gitlab v0.31.0/go.mod h1:sPLojNBn68fMUWSxIJtdVVIP8uSBYqesTfDUseX11Ug= -github.com/xanzy/go-gitlab v0.32.0/go.mod h1:sPLojNBn68fMUWSxIJtdVVIP8uSBYqesTfDUseX11Ug= -github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= -github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= -github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= -github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8/go.mod h1:HUYIGzjTL3rfEspMxjDjgmT5uz5wzYJKVo23qUhYTos= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xlab/treeprint v0.0.0-20180616005107-d6fb6747feb6/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= -github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778/go.mod h1:2MuV+tbUrU1zIOPMxZ5EncGwgmMJsa+9ucAQZXxsObs= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU= -github.com/yagipy/maintidx v1.0.0/go.mod h1:0qNf/I/CCZXSMhsRsrEPDZ+DkekpKLXAJfsTACwgXLk= github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0/go.mod h1:/LWChgwKmvncFJFHJ7Gvn9wZArjbV5/FppcK2fKk/tI= github.com/ybbus/jsonrpc v2.1.2+incompatible/go.mod h1:XJrh1eMSzdIYFbM08flv0wp5G35eRniyeGut1z+LSiE= -github.com/yeya24/promlinter v0.2.0/go.mod h1:u54lkmBOZrpEbQQ6gox2zWKKLKu2SGe+2KOiextY+IA= github.com/yudai/gojsondiff v1.0.0 h1:27cbfqXLVEJ1o8I6v3y9lg8Ydm53EKqHXAOMxEGlCOA= github.com/yudai/gojsondiff v1.0.0/go.mod h1:AY32+k2cwILAkW1fbgxQ5mUmMiZFgLIV+FBNExI05xg= github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 h1:BHyfKlQyqbsFN5p3IfnEUduWvb9is428/nNb5L3U01M= @@ -3045,13 +1768,9 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= -github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs= -github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA= -github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg= +github.com/zeta-chain/ethermint v0.0.0-20240429123701-35f3f79bf83f h1:joafCsPgohPEn93VCbNXi9IAl6kNvKy8u+kv5amEvUk= +github.com/zeta-chain/ethermint v0.0.0-20240429123701-35f3f79bf83f/go.mod h1:s1zA6OpXv3Tb5I0M6M6j5fo/AssaZL/pgkc7G0W2kN8= github.com/zeta-chain/go-tss v0.1.1-0.20240208222330-f3be0d4a0d98 h1:GCSRgszQbAR7h/qK0YKjlm1mcnZOaGMbztRLaAfoOx0= github.com/zeta-chain/go-tss v0.1.1-0.20240208222330-f3be0d4a0d98/go.mod h1:+lJfk/qqt+oxXeVuJV+PzpUoxftUfoTRf2eF3qlbyFI= github.com/zeta-chain/keystone/keys v0.0.0-20231105174229-903bc9405da2 h1:gd2uE0X+ZbdFJ8DubxNqLbOVlCB12EgWdzSNRAR82tM= @@ -3064,38 +1783,19 @@ github.com/zondax/hid v0.9.2/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWp github.com/zondax/ledger-go v0.12.1/go.mod h1:KatxXrVDzgWwbssUWsF5+cOJHXPvzQ09YSlzGNuhOEo= github.com/zondax/ledger-go v0.14.3 h1:wEpJt2CEcBJ428md/5MgSLsXLBos98sBOyxNmCjfUCw= github.com/zondax/ledger-go v0.14.3/go.mod h1:IKKaoxupuB43g4NxeQmbLXv7T9AlQyie1UpHb342ycI= -gitlab.com/bosi/decorder v0.2.3/go.mod h1:9K1RB5+VPNQYtXtTDAzd2OEftsZb1oV0IrJrzChSdGE= gitlab.com/thorchain/binance-sdk v1.2.3-0.20210117202539-d569b6b9ba5d h1:GGPSI9gU22zW75m1YO7ZEMFtVEI5NgyK4g17CIXFjqI= gitlab.com/thorchain/binance-sdk v1.2.3-0.20210117202539-d569b6b9ba5d/go.mod h1:SW01IZMpqlPNPdhHnn99qnJNvg8ll/agyyW7p85npwY= gitlab.com/thorchain/tss/tss-lib v0.1.5 h1:L9MD+E3B4lJmadso69lTIP6s2Iks24fS7Ancs62LTZo= gitlab.com/thorchain/tss/tss-lib v0.1.5/go.mod h1:pEM3W/1inIzmdQn9IY9pA0MkG1bTGKhsSivxizeyyt4= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= -go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= go.etcd.io/bbolt v1.3.7 h1:j+zJOnnEjF/kyHlDDgGnVL/AIqIJPq8UoB2GSNfkUfQ= go.etcd.io/bbolt v1.3.7/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= -go.etcd.io/etcd v0.0.0-20200513171258-e048e166ab9c/go.mod h1:xCI7ZzBfRuGgBXyXO6yfWfDmlWd35khcWpUa4L0xI/k= -go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= -go.etcd.io/etcd/api/v3 v3.5.1/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= -go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/pkg/v3 v3.5.1/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/pkg/v3 v3.5.4/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= -go.etcd.io/etcd/client/v2 v2.305.1/go.mod h1:pMEacxZW7o8pg4CrFE7pquyCJJzZvkvdD2RibOCCCGs= -go.etcd.io/etcd/client/v2 v2.305.4/go.mod h1:Ud+VUwIi9/uQHOMA+4ekToJ12lTxlv0zB/+DHwTGEbU= -go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0= -go.etcd.io/etcd/client/v3 v3.5.4/go.mod h1:ZaRkVgBZC+L+dLCjTcF1hRXpgZXQPOvnA/Ak/gq3kiY= -go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE= -go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD00Szc= -go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4= -go.etcd.io/gofail v0.1.0/go.mod h1:VZBCXYGZhHAinaBiiqYvuDynvahNsAyLFwB3kEHKz1M= -go.mozilla.org/mozlog v0.0.0-20170222151521-4bb13139d403/go.mod h1:jHoPAGnDrCy6kaI2tAze5Prf0Nr0w/oNkROt2lw3n3o= -go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk= go.nhat.io/aferomock v0.4.0 h1:gs3nJzIqAezglUuaPfautAmZwulwRWLcfSSzdK4YCC0= go.nhat.io/grpcmock v0.25.0 h1:zk03vvA60w7UrnurZbqL4wxnjmJz1Kuyb7ig2MF+n4c= go.nhat.io/grpcmock v0.25.0/go.mod h1:5U694ASEFBkiZP7aPuz9kbbb/jphVlfpbOnocyht/rE= @@ -3103,10 +1803,7 @@ go.nhat.io/matcher/v2 v2.0.0 h1:W+rbHi0hKuZHtOQH4U5g+KwyKyfVioIxrxjoGRcUETE= go.nhat.io/matcher/v2 v2.0.0/go.mod h1:cL5oYp0M9A4L8jEGqjmUfy+k7AXVDddoVt6aYIL1r5g= go.nhat.io/wait v0.1.0 h1:aQ4YDzaOgFbypiJ9c/eAfOIB1G25VOv7Gd2QS8uz1gw= go.nhat.io/wait v0.1.0/go.mod h1:+ijMghc9/9zXi+HDcs49HNReprvXOZha2Q3jTOtqJrE= -go.opencensus.io v0.15.0/go.mod h1:UffZAU+4sDEINUGP/B7UfBBkq4fqLu9zXAX7ke6CHW0= go.opencensus.io v0.18.0/go.mod h1:vKdFvxhtzZ9onBp9VKHK8z/sRpBMnKAsufL7wlDrCOA= -go.opencensus.io v0.19.1/go.mod h1:gug0GbSHa8Pafr0d2urOSgoXHZ6x/RUlaiT0d9pqb4A= -go.opencensus.io v0.19.2/go.mod h1:NO/8qkisMZLZ1FCsKNqtJPwc8/TaclWyY0B6wcYNg9M= go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= @@ -3118,61 +1815,19 @@ go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0/go.mod h1:vEhqr0m4eTc+DWxfsXoXue2GBgV2uUwVznkGIHW/e5w= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.29.0/go.mod h1:LsankqVDx4W+RhZNA5uWarULII/MBhF5qwCYxTuyXjs= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.36.3/go.mod h1:Dts42MGkzZne2yCru741+bFiTMWkIj/LLRizad7b9tw= -go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.29.0/go.mod h1:vHItvsnJtp7ES++nFLLFBzUWny7fJQSvTlxFcqQGUr4= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.29.0/go.mod h1:tLYsuf2v8fZreBVwp9gVMhefZlLFZaUiNVSq8QxXRII= -go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= -go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVjb2PTs= -go.opentelemetry.io/otel v1.4.0/go.mod h1:jeAqMFKy2uLIxCtKxoFj0FAL5zAPKQagc3+GtBWakzk= -go.opentelemetry.io/otel v1.4.1/go.mod h1:StM6F/0fSwpd8dKWDCdRr7uRvEPYdW0hBSlbdTiUde4= -go.opentelemetry.io/otel v1.11.0/go.mod h1:H2KtuEphyMvlhZ+F7tg9GRhAOe60moNx61Ex+WmiKkk= -go.opentelemetry.io/otel v1.16.0 h1:Z7GVAX/UkAXPKsy94IU+i6thsQS4nb7LviLpnaNeW8s= -go.opentelemetry.io/otel v1.16.0/go.mod h1:vl0h9NUa1D5s1nv3A5vZOYWn8av4K8Ml6JDeHrT/bx4= -go.opentelemetry.io/otel/exporters/jaeger v1.4.1/go.mod h1:ZW7vkOu9nC1CxsD8bHNHCia5JUbwP39vxgd1q4Z5rCI= -go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= -go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4= -go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.4.1/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.3.0/go.mod h1:hO1KLR7jcKaDDKDkvI9dP/FIhpmna5lkqPUQdEjFAM8= -go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.4.1/go.mod h1:o5RW5o2pKpJLD5dNTCmjF1DorYwMeFJmb/rKr5sLaa8= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.3.0/go.mod h1:keUU7UfnwWTWpJ+FWnyqmogPa82nuU5VUANFq49hlMY= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.4.1/go.mod h1:c6E4V3/U+miqjs/8l950wggHGL1qzlp0Ypj9xoGrPqo= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.3.0/go.mod h1:QNX1aly8ehqqX1LEa6YniTU7VY9I6R3X/oPxhGdTceE= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.4.1/go.mod h1:VwYo0Hak6Efuy0TXsZs8o1hnV3dHDPNtDbycG0hI8+M= -go.opentelemetry.io/otel/internal/metric v0.27.0/go.mod h1:n1CVxRqKqYZtqyTh9U/onvKapPGv7y/rpyOTI+LFNzw= -go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= -go.opentelemetry.io/otel/metric v0.27.0/go.mod h1:raXDJ7uP2/Jc0nVZWQjJtzoyssOYWu/+pjZqRzfvZ7g= -go.opentelemetry.io/otel/metric v0.32.3/go.mod h1:pgiGmKohxHyTPHGOff+vrtIH39/R9fiO/WoenUQ3kcc= -go.opentelemetry.io/otel/metric v1.16.0 h1:RbrpwVG1Hfv85LgnZ7+txXioPDoh6EdbZHo26Q3hqOo= -go.opentelemetry.io/otel/metric v1.16.0/go.mod h1:QE47cpOmkwipPiefDwo2wDzwJrlfxxNYodqc4xnGCo4= -go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= -go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= -go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs= -go.opentelemetry.io/otel/sdk v1.4.1/go.mod h1:NBwHDgDIBYjwK2WNu1OPgsIc2IJzmBXNnvIJxJc8BpE= -go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= -go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= -go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= -go.opentelemetry.io/otel/trace v1.3.0/go.mod h1:c/VDhno8888bvQYmbYLqe41/Ldmr/KKunbvWM4/fEjk= -go.opentelemetry.io/otel/trace v1.4.0/go.mod h1:uc3eRsqDfWs9R7b92xbQbU42/eTNz4N+gLP8qJCi4aE= -go.opentelemetry.io/otel/trace v1.4.1/go.mod h1:iYEVbroFCNut9QkwEczV9vMRPHNKSSwYZjulEtsmhFc= -go.opentelemetry.io/otel/trace v1.11.0/go.mod h1:nyYjis9jy0gytE9LXGU+/m1sHTKbRY0fX0hulNNDP1U= -go.opentelemetry.io/otel/trace v1.16.0 h1:8JRpaObFoW0pxuVPapkgH8UhHQj+bJW8jJsCZEu5MQs= -go.opentelemetry.io/otel/trace v1.16.0/go.mod h1:Yt9vYq1SdNz3xdjZZK7wcXv1qv2pwLkqr2QVwea0ef0= +go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs= +go.opentelemetry.io/otel v1.19.0/go.mod h1:i0QyjOq3UPoTzff0PJB2N66fb4S0+rSbSB15/oyH9fY= +go.opentelemetry.io/otel/metric v1.19.0 h1:aTzpGtV0ar9wlV4Sna9sdJyII5jTVJEvKETPiOKwvpE= +go.opentelemetry.io/otel/metric v1.19.0/go.mod h1:L5rUsV9kM1IxCj1MmSdS+JQAcVm319EUrDVLrt7jqt8= +go.opentelemetry.io/otel/sdk v1.19.0 h1:6USY6zH+L8uMH8L3t1enZPR3WFEmSTADlqldyHtJi3o= +go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1Dzxpg= +go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ= -go.opentelemetry.io/proto/otlp v0.12.0/go.mod h1:TsIjwGWIx5VFYv9KGVlOpxoBl5Dy+63SUguV7GGvlSQ= -go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/dig v1.17.0 h1:5Chju+tUvcC+N7N6EV08BJz41UZuO3BmHcN4A287ZLI= @@ -3181,16 +1836,11 @@ go.uber.org/fx v1.19.2 h1:SyFgYQFr1Wl0AYstE8vyYIzP4bFz2URrScjwC4cwUvY= go.uber.org/fx v1.19.2/go.mod h1:43G1VcqSzbIv77y00p1DRAsyZS8WdzuYdhZXmEUkMyQ= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= -go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/goleak v1.1.12 h1:gZAh5/EyT/HQwlpkCy6wTpqfH9H8Lz8zbm3dZh+OyzA= -go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= -go.uber.org/multierr v1.4.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/multierr v1.7.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= -go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= @@ -3201,21 +1851,14 @@ go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ= go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= go.uber.org/zap v1.19.1/go.mod h1:j3DNczoxDZroyBnOT1L/Q79cfUMGZxlv/9dzN7SM1rI= -go.uber.org/zap v1.23.0/go.mod h1:D+nX8jyLsMHMYrln8A0rJjFt/T/9/bGgIhAqxv5URuY= go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= go4.org v0.0.0-20180809161055-417644f6feb5/go.mod h1:MkTOUMDaeVYJUOUsaDXIhWPZYa1yOyC1qaOBpL57BhE= -gocloud.dev v0.19.0/go.mod h1:SmKwiR8YwIMMJvQBKLsC3fHNyMwXLw3PMDO+VVteJMI= golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d/go.mod h1:OWs+y06UdEOHN4y+MfF/py+xQ/tYqIWW03b70/CG9Rw= -golang.org/x/build v0.0.0-20190314133821-5284462c4bec/go.mod h1:atTaCNAy0f16Ah5aV1gMSwgiKVHwu/JncqDpuRr7lS4= -golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20180501155221-613d6eafa307/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -3225,44 +1868,21 @@ golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190909091759-094676da4a83/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= -golang.org/x/crypto v0.0.0-20191002192127-34f69633bfdc/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200115085410-6d4e4cb37c7d/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200602180216-279210d13fed/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201117144127-c1f2f97bffc9/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= -golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= -golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= -golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210915214749-c084706c2272/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= -golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k= golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -3270,7 +1890,6 @@ golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190312203227-4b39c73a6495/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56/go.mod h1:JhuoJpWY28nO4Vef9tZUw9qufEGTyX1+7lmHxV5q5G4= golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= @@ -3282,19 +1901,13 @@ golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EH golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= golang.org/x/exp v0.0.0-20200513190911-00229845015e/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod h1:Kr81I6Kryrl9sr8s2FK3vxD90NdsKWRuOIl2O4CvYbA= -golang.org/x/exp v0.0.0-20230321023759-10a507213a29 h1:ooxPy7fPvB4kwsA2h+iBNHkAbp/4JxTSwCmvdjEYmug= -golang.org/x/exp v0.0.0-20230321023759-10a507213a29/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= -golang.org/x/exp/typeparams v0.0.0-20220218215828-6cf2b201936e/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= -golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= -golang.org/x/exp/typeparams v0.0.0-20220613132600-b0d781184e0d/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= -golang.org/x/exp/typeparams v0.0.0-20220827204233-334a2380cb91/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= +golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb h1:xIApU0ow1zwMa2uL1VDNeQlNVFTWMQxZUZCMDy0Q4Us= +golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20181217174547-8f45f776aaf1/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= @@ -3319,25 +1932,17 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= -golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= -golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= -golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk= -golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/mod v0.11.0 h1:bUO06HqtnRcc/7l71XBe4WcqTZ+3AH1J59zWDDwLKgU= +golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180911220305-26e67e76b6c3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181029044818-c44066c5c816/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181106065722-10aee1819953/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181108082009-03003ca0c849/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -3353,7 +1958,6 @@ golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190619014844-b5b0513f8c1b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -3361,8 +1965,6 @@ golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191002035440-2ec189313ef0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191112182307-2180aed22343/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -3381,12 +1983,10 @@ golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81R golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200904194848-62affa334b73/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= @@ -3394,54 +1994,30 @@ golang.org/x/net v0.0.0-20210220033124-5f55cee0dc0d/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8= -golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210510120150-4163338589ed/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210917221730-978cfadd31cf/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211008194852-3b03d305991f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210903162142-ad29c8ab022f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.0.0-20220812174116-3211cb980234/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.0.0-20221017152216-f25eb7ecb193/go.mod h1:RpDiru2p0u2F0lLpEoqnP2+7xs0ifAuOcJ442g6GU2s= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= -golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= -golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= -golang.org/x/oauth2 v0.0.0-20180724155351-3d292e4d0cdc/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20181106182150-f42d05182288/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -3456,7 +2032,6 @@ golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= @@ -3465,10 +2040,8 @@ golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7Lm golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec= golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ= golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852/go.mod h1:JLpeXjPJfIyPr5TlbXLkXWLhP8nz10XfvxElABhCtcw= @@ -3476,7 +2049,6 @@ golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -3484,15 +2056,11 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220513210516-0976fa681c29/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180810173357-98c5dad5d1a0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -3504,9 +2072,7 @@ golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181218192612-074acd46bca6/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190130150945-aca44879d564/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -3517,47 +2083,33 @@ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190620070143-6f217b454f45/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190712062909-fae7ac547cb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190812073006-9eafafc0a87e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191112214154-59a1497f0cea/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200107162124-548cf772de50/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200120151820-655fe14d7479/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200217220822-9197077df867/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -3570,38 +2122,23 @@ golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200817155316-9781c653f443/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200826173525-f9321e4c35a6/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200917073148-efd3b9a0ff20/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200922070232-aee5d888a860/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201013081832-0aaa2718063a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201117170446-d9b008d0a637/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201202213521-69691e467435/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210313202042-bd2e13477e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -3610,14 +2147,12 @@ golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210420205809-ac73e9fd8988/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -3625,76 +2160,44 @@ golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210903071746-97244b99971b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210909193231-528a39cd75f3/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210917161153-d61c044b1678/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211105183446-c75c47738b0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220405210540-1e041c57c461/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220406163625-3f8b81556e12/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220627191245-f75cf1eec38b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220702020025-31831981b65f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220817070843-5a390386f1f2/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220915200043-7b5979e65e41/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20221013171732-95e765b1cc43/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= +golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.0.0-20220526004731-065cf7ba2467/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.0.0-20220919170432-7a66f970e087/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= -golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= -golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -3706,162 +2209,86 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= -golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030000716-a0a13e073c7b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181117154741-2ddaf7f79a09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181219222714-6e267b5cc78e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181221001348-537d06c36207/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190110163146-51295c7ec13a/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190221204921-83362c3779f5/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190228203856-589c23e65e65/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190307163923-6a08e3108db3/go.mod h1:25r3+/G6/xytQM8iWZKq3Hn0kr0rgFKPUNVEL/dr3z4= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190311215038-5c2858a9cfe5/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190321232350-e250d351ecad/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190322203728-c1a832b0ad89/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190327201419-c70d86f8b7cf/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190422233926-fe54fb35175b/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190521203540-521d6ed310dd/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= -golang.org/x/tools v0.0.0-20190719005602-e377ae9d6386/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190910044552-dd2b5c81c578/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190916130336-e45ffcd953cc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191010075000-0337d82405ff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113232020-e2727e816f5a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216052735-49a3e744a425/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200102140908-9497f49d5709/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200108203644-89082a384178/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117012304-6edc0a871e69/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117220505-0cba7a3a9ee9/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204192400-7124308813f3/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200324003944-a576cf524670/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200329025819-fd4102a86c65/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200331202046-9d5940d49312/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200414032229-332987a829c3/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200422022333-3d57cf2e726e/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200426102838-f3a5411a4c3b/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200502202811-ed308ab3e770/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200522201501-cb1345f3a375/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200616133436-c1934b75d054/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200622203043-20e05c1c8ffa/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200624225443-88f3c62a19ff/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200625211823-6506e20df31f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200626171337-aa94e735be7f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200630154851-b2d8b0336632/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200706234117-b22de6825cf7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200717024301-6ddee64345a6/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200724022722-7017fd6b1305/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200812195022-5ae4c3c160a0/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200820010801-b793a1359eac/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200831203904-5a2aa26beb65/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20201001104356-43ebab892c4c/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20201002184944-ecd9fd270d5d/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20201022035929-9cf592e881e9/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201023174141-c8cfbd0f21e6/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201028025901-8cd080b735b3/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201230224404-63754364767c/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.1-0.20210205202024-ef80cdb6ec6d/go.mod h1:9bzcO0MWcOuT0tm1iBGzDVPshzfwoVvREIui8C+MHqU= -golang.org/x/tools v0.1.1-0.20210302220138-2ac05c832e1a/go.mod h1:9bzcO0MWcOuT0tm1iBGzDVPshzfwoVvREIui8C+MHqU= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.7/go.mod h1:LGqMHiF4EqQNHR1JncWGqT5BVaXmza+X+BDGol+dOxo= -golang.org/x/tools v0.1.8/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= -golang.org/x/tools v0.1.9-0.20211228192929-ee1ca4ffc4da/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= -golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= -golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= -golang.org/x/tools v0.1.11-0.20220513221640-090b14e8501f/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= -golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= -golang.org/x/tools v0.1.12-0.20220628192153-7743d1d949f1/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= -golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= -golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= golang.org/x/tools v0.9.1 h1:8WMNJAz3zrtPmnYC7ISf5dEn3MT0gY7jBJfw27yrrLo= golang.org/x/tools v0.9.1/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -3875,31 +2302,21 @@ golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3j golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= gonum.org/v1/gonum v0.0.0-20181121035319-3f7ecaa7e8ca/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= -gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485/go.mod h1:2ltnJ7xHfj0zHS40VVPYEAAMTa3ZGguvHGBSJeRWqE0= gonum.org/v1/gonum v0.6.0/go.mod h1:9mxDZsDKxgMAuccQkewq682L+0eCu4dCN2yonUJTCLU= gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= gonum.org/v1/gonum v0.13.0 h1:a0T3bh+7fhRyqeNbiC3qVHYmkiQgit3wnNan/2c0HMM= gonum.org/v1/gonum v0.13.0/go.mod h1:/WPYRckkfWrhWefxyYTfrTtQR0KH4iyHNuzxqXAKyAU= gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod h1:kS+toOQn6AQKjmKJ7gzohV1XkqsFehRA2FbsbkopSuQ= gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= -google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.0.0-20181030000543-1d582fd0359e/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= -google.golang.org/api v0.0.0-20181220000619-583d854617af/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.1.0/go.mod h1:UGEZY7KEX120AnNLIHFMKIo4obdJhkp2tPbaPlQx13Y= -google.golang.org/api v0.2.0/go.mod h1:IfRCZScioGtypHNTlz3gFk67J8uePVW7uDTBzXuIkhU= -google.golang.org/api v0.3.0/go.mod h1:IuvZyQh8jgscv8qWfQ4ABd8m7hEudgBFM/EdhA3BnXw= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.5.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.6.0/go.mod h1:btoxGiFvQNVUZQ8W08zLtrVS08CNpINPEfxXxgJL1Q4= -google.golang.org/api v0.6.1-0.20190607001116-5213b8090861/go.mod h1:btoxGiFvQNVUZQ8W08zLtrVS08CNpINPEfxXxgJL1Q4= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.10.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= @@ -3909,7 +2326,6 @@ google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/ google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.25.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= @@ -3927,9 +2343,7 @@ google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6 google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= -google.golang.org/api v0.59.0/go.mod h1:sT2boj7M9YJxZzgeZqXogmhfmRWDtPzT31xkieUbuZU= google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= -google.golang.org/api v0.62.0/go.mod h1:dKmwPCydfsad4qCH08MSdgWjfHOyfpd4VtDGgRFdavw= google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= @@ -3939,7 +2353,6 @@ google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69 google.golang.org/api v0.77.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6rKmw= google.golang.org/api v0.80.0/go.mod h1:xY3nI94gbvBrE0J6NHXhxOmW97HG7Khjkku6AFB3Hyg= -google.golang.org/api v0.81.0/go.mod h1:FA6Mb/bZxj706H2j+j2d6mHEEaHBmbbWnkfvmorOCko= google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3pa8o= google.golang.org/api v0.85.0/go.mod h1:AqZf8Ep9uZ2pyTvgL+x0D3Zt0eoT9b5E8fmzfu6FO2g= google.golang.org/api v0.90.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= @@ -3948,10 +2361,7 @@ google.golang.org/api v0.95.0/go.mod h1:eADj+UBuxkh5zlrSntJghuNeg8HwQ1w5lTKkuqaE google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= -google.golang.org/api v0.99.0/go.mod h1:1YOf74vkVndF7pG6hIHuINsM7eWwpVTAfNMNiL91A08= google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= -google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo= -google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4qU9w0= google.golang.org/api v0.152.0 h1:t0r1vPnfMc260S2Ci+en7kfCZaLOPs5KI0sVV/6jZrY= google.golang.org/api v0.152.0/go.mod h1:3qNJX5eOmhiWYc67jRA/3GsDw97UFb5ivv7Y2PrriAY= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -3960,42 +2370,32 @@ google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7 google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= -google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk= -google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180518175338-11a468237815/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20181029155118-b69ba1387ce2/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20181107211654-5fc9ac540362/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20181202183823-bd91e49a0898/go.mod h1:7Ep/1NZk928CDR8SjdVbjWNpdIf6nzjE3BTgJDr2Atg= -google.golang.org/genproto v0.0.0-20181219182458-5a97ab628bfb/go.mod h1:7Ep/1NZk928CDR8SjdVbjWNpdIf6nzjE3BTgJDr2Atg= google.golang.org/genproto v0.0.0-20190306203927-b5d61aea6440/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190508193815-b515fa19cec8/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= -google.golang.org/genproto v0.0.0-20190620144150-6af8c5fc6601/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20190927181202-20e1ac93f88c/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200108215221-bd8f9a0ef82f/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= @@ -4011,25 +2411,19 @@ google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200626011028-ee7919e894b5/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200707001353-8e8330bf89df/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201111145450-ac7456db90a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201119123407-9b1e624d6bc4/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= @@ -4050,13 +2444,8 @@ google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEc google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211028162531-8db9c33dc351/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211129164237-f09f9a12af12/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211203200212-54befc351ae9/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= @@ -4066,8 +2455,8 @@ google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220329172620-7be39ac1afc7/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= @@ -4076,7 +2465,6 @@ google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= -google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto v0.0.0-20220523171625-347a074981d8/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= @@ -4101,24 +2489,13 @@ google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce/go.mod h1:woMGP53B google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqwhZAwq4wsRUaVG555sVgsNmIjRtO7t/JH29U= google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= -google.golang.org/genproto v0.0.0-20221024153911-1573dae28c9c/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo= -google.golang.org/genproto v0.0.0-20221114212237-e4508ebdbee1/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221117204609-8f9c96812029/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd/go.mod h1:cTsE614GARnxrLsqKREzmNYJACSWWpAWdNMwnD7c2BE= -google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3 h1:1hfbdAfFbkmpg41000wDVqr7jUpK/Yo+LPnIxxGzmkg= -google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3/go.mod h1:5RBcpGRxr25RbDzY5w+dmaqpSEvl8Gwl1x2CICf60ic= -google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f h1:2yNACc1O40tTnrsbk9Cv6oxiW8pxI/pXj0wRtdlYmgY= -google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f/go.mod h1:Uy9bTZJqmfrw2rIBxgGLnamc78euZULUBrLZ9XTITKI= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 h1:/jFB8jK5R3Sq3i/lmeZO0cATSzFfZaJq1J2Euan3XKU= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0/go.mod h1:FUoWkonphQm3RhTS+kOEhF8h0iDpm4tdXolVCeZ9KKA= -google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= -google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= +google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917 h1:nz5NESFLZbJGPFxDT/HCn+V1mZ8JGNoY4nUpmW/Y2eg= +google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917/go.mod h1:pZqR+glSb11aJ+JQcczCvgf47+duRuzNSKqE8YAQnV0= +google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 h1:s1w3X6gQxwrLEpxnLd/qXTVLgQE2yXwaOaoa6IlY/+o= +google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0/go.mod h1:CAny0tYF+0/9rmDB9fahA9YLzX3+AEVl1qXbv5hhj6c= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 h1:gphdwh0npgs8elJ4T6J+DQJHPVF7RsuJHCfwztUb4J4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1/go.mod h1:daQN87bsDqDoe316QbbvX60nMoJQa4r6Ds0ZuoAe5yA= google.golang.org/grpc v1.12.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio= @@ -4132,13 +2509,11 @@ google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ij google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.0/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= @@ -4157,8 +2532,6 @@ google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnD google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= @@ -4168,9 +2541,6 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= -google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= -google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= google.golang.org/grpc v1.60.1 h1:26+wFr+cNqSGFcOXcabYC0lUVJVRa2Sb2ortSK7VrEU= google.golang.org/grpc v1.60.1/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= @@ -4190,13 +2560,10 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.28.2-0.20220831092852-f930b1dc76e8/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= +google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= +google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20141024133853-64131543e789/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -4205,37 +2572,24 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntN gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= -gopkg.in/cheggaaa/pb.v1 v1.0.28/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/gcfg.v1 v1.2.0/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= -gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo= gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE= gopkg.in/go-playground/validator.v8 v8.18.2/go.mod h1:RX2a/7Ha8BgOhfk7j780h4/u/RRjR0eouCJSH80/M2Y= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.51.1/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.56.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.66.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.66.6/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce/go.mod h1:yeKp02qBN3iKW1OzL3MGk2IdtZzaj7SFntXj72NppTA= -gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce h1:+JknDZhAj8YMt7GC73Ei8pv4MzjDUNPHgQWJdtMAaDU= gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c= gopkg.in/olebedev/go-duktape.v3 v3.0.0-20200619000410-60c24ae608a6/go.mod h1:uAJfkITjFhyEEuUfm7bsmCZRbW5WRq8s9EY8HZ6hCns= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/urfave/cli.v1 v1.20.0/go.mod h1:vuBzUtMdQeixQj8LVd+/98pzhxNGQoyuPBlsXHOQNO0= -gopkg.in/warnings.v0 v0.1.1/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -4243,17 +2597,12 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.6/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20191120175047-4206685974f2/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gorm.io/driver/sqlite v1.4.4 h1:gIufGoR0dQzjkyqDyYSCvsYR6fba1Gw5YKDqKeChxFc= @@ -4261,13 +2610,11 @@ gorm.io/driver/sqlite v1.4.4/go.mod h1:0Aq3iPO+v9ZKbcdiz8gLWRw5VOPcBOPUQJFLq5e2e gorm.io/gorm v1.24.0/go.mod h1:DVrVomtaYTbqs7gB/x2uVvqnXzv0nqjB396B8cG4dBA= gorm.io/gorm v1.24.6 h1:wy98aq9oFEetsc4CAbKD2SoBCdMzsbSIvSUUFJuHi5s= gorm.io/gorm v1.24.6/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k= +gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= -gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= -gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= -gotest.tools/v3 v3.2.0/go.mod h1:Mcr9QNxkg0uMvy/YElmo4SpXgJKWgQvYrT7Kw5RzJ1A= +gotest.tools/v3 v3.5.1 h1:EENdUnS3pdur5nybKYIh2Vfgc8IUNBjxDPSjtiJcOzU= grpc.go4.org v0.0.0-20170609214715-11d0a25b4919/go.mod h1:77eQGdRu53HpSqPFJFmuJdjuHRquDANNeA4x7B8WQ9o= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20180920025451-e3ad64cb4ed3/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -4275,124 +2622,22 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.5/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= -honnef.co/go/tools v0.3.3/go.mod h1:jzwdWgg7Jdq75wlfblQxO4neNaFFSvgc1tD5Wv8U0Yw= -k8s.io/api v0.0.0-20180904230853-4e7be11eab3f/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= -k8s.io/api v0.17.4/go.mod h1:5qxx6vjmwUVG2nHQTKGlLts8Tbok8PzHl4vHtVFuZCA= -k8s.io/api v0.19.0/go.mod h1:I1K45XlvTrDjmj5LoM5LuP/KYrhWbjUKT/SoPG0qTjw= -k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo= -k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ= -k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8= -k8s.io/api v0.22.5/go.mod h1:mEhXyLaSD1qTOf40rRiKXkc+2iCem09rWLlFwhCEiAs= -k8s.io/api v0.23.4/go.mod h1:i77F4JfyNNrhOjZF7OwwNJS5Y1S9dpwvb9iYRYRczfI= -k8s.io/apimachinery v0.0.0-20180904193909-def12e63c512/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= -k8s.io/apimachinery v0.17.4/go.mod h1:gxLnyZcGNdZTCLnq3fgzyg2A5BVCHTNDFrw8AmuJ+0g= -k8s.io/apimachinery v0.19.0/go.mod h1:DnPGDnARWFvYa3pMHgSxtbZb7gpzzAZ1pTfaUNDVlmA= -k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= -k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= -k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc= -k8s.io/apimachinery v0.22.1/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0= -k8s.io/apimachinery v0.22.5/go.mod h1:xziclGKwuuJ2RM5/rSFQSYAj0zdbci3DH8kj+WvyN0U= -k8s.io/apimachinery v0.23.4/go.mod h1:BEuFMMBaIbcOqVIJqNZJXGFTP4W6AycEpb5+m/97hrM= -k8s.io/apiserver v0.17.4/go.mod h1:5ZDQ6Xr5MNBxyi3iUZXS84QOhZl+W7Oq2us/29c0j9I= -k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU= -k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM= -k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q= -k8s.io/apiserver v0.22.5/go.mod h1:s2WbtgZAkTKt679sYtSudEQrTGWUSQAPe6MupLnlmaQ= -k8s.io/client-go v0.0.0-20180910083459-2cefa64ff137/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= -k8s.io/client-go v0.17.4/go.mod h1:ouF6o5pz3is8qU0/qYL2RnoxOPqgfuidYLowytyLJmc= -k8s.io/client-go v0.19.0/go.mod h1:H9E/VT95blcFQnlyShFgnFT9ZnJOAceiUHM3MlRC+mU= -k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y= -k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k= -k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0= -k8s.io/client-go v0.22.5/go.mod h1:cs6yf/61q2T1SdQL5Rdcjg9J1ElXSwbjSrW2vFImM4Y= -k8s.io/client-go v0.23.4/go.mod h1:PKnIL4pqLuvYUK1WU7RLTMYKPiIh7MYShLshtRY9cj0= -k8s.io/cloud-provider v0.17.4/go.mod h1:XEjKDzfD+b9MTLXQFlDGkk6Ho8SGMpaU8Uugx/KNK9U= -k8s.io/code-generator v0.17.2/go.mod h1:DVmfPQgxQENqDIzVR2ddLXMH34qeszkKSdH/N+s+38s= -k8s.io/code-generator v0.19.7/go.mod h1:lwEq3YnLYb/7uVXLorOJfxg+cUu2oihFhHZ0n9NIla0= -k8s.io/component-base v0.17.4/go.mod h1:5BRqHMbbQPm2kKu35v3G+CpVq4K0RJKC7TRioF0I9lE= -k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk= -k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI= -k8s.io/component-base v0.20.6/go.mod h1:6f1MPBAeI+mvuts3sIdtpjljHWBQ2cIy38oBIWMYnrM= -k8s.io/component-base v0.22.5/go.mod h1:VK3I+TjuF9eaa+Ln67dKxhGar5ynVbwnGrUiNF4MqCI= -k8s.io/cri-api v0.17.3/go.mod h1:X1sbHmuXhwaHs9xxYffLqJogVsnI+f6cPRcgPel7ywM= -k8s.io/cri-api v0.20.1/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= -k8s.io/cri-api v0.20.4/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= -k8s.io/cri-api v0.20.6/go.mod h1:ew44AjNXwyn1s0U4xCKGodU7J1HzBeZ1MpGrpa5r8Yc= -k8s.io/cri-api v0.23.1/go.mod h1:REJE3PSU0h/LOV1APBrupxrEJqnoxZC8KWzkBUHwrK4= -k8s.io/cri-api v0.24.0-alpha.3/go.mod h1:c/NLI5Zdyup5+oEYqFO2IE32ptofNiZpS1nL2y51gAg= -k8s.io/csi-translation-lib v0.17.4/go.mod h1:CsxmjwxEI0tTNMzffIAcgR9lX4wOh6AKHdxQrT7L0oo= -k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20190822140433-26a664648505/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20200428234225-8167cfdcfc14/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20201113003025-83324d819ded/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= -k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= -k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= -k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= -k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.9.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= -k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-openapi v0.0.0-20180731170545-e3762e86a74c/go.mod h1:BXM9ceUBTj2QnfH2MK1odQs778ajze1RxcmP6S8RVVc= -k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a/go.mod h1:1TqjTSzOxsLGIKfj0lK8EeCP7K1iUG65v09OM0/WG5E= -k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o= -k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= -k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= -k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= -k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= -k8s.io/kubernetes v1.11.10/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= -k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= -k8s.io/legacy-cloud-providers v0.17.4/go.mod h1:FikRNoD64ECjkxO36gkDgJeiQWwyZTuBkhu+yxOc1Js= -k8s.io/utils v0.0.0-20191114184206-e782cd3c129f/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= -k8s.io/utils v0.0.0-20200729134348-d5654de09c73/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= lukechampine.com/blake3 v1.2.1 h1:YuqqRuaqsGV71BV/nm9xlI0MKUv4QC54jQnBChWbGnI= lukechampine.com/blake3 v1.2.1/go.mod h1:0OFRp7fBtAylGVCO40o87sbupkyIGgbpv1+M1k1LM6k= -modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw= -modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk= -modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k= -modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs= -modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I= -mvdan.cc/gofumpt v0.4.0/go.mod h1:PljLOHDeZqgS8opHRKLzp2It2VBuSdteAgqUfzMTxlQ= -mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed/go.mod h1:Xkxe497xwlCKkIaQYRfC7CSLworTXY9RMqwhhCm+8Nc= -mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jCoyKnw3vv5biOc3JnIcYfL4= -mvdan.cc/unparam v0.0.0-20190720180237-d51796306d8f/go.mod h1:4G1h5nDURzA3bwVMZIVpwbkw+04kSxk3rAtzlimaUJw= -mvdan.cc/unparam v0.0.0-20200501210554-b37ab49443f7/go.mod h1:HGC5lll35J70Y5v7vCGb9oLhHoScFwkHDJm/05RdSTc= -mvdan.cc/unparam v0.0.0-20220706161116-678bad134442/go.mod h1:F/Cxw/6mVrNKqrR2YjFf5CaW0Bw4RL8RfbEf4GRggJk= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= nhooyr.io/websocket v1.8.7 h1:usjR2uOr/zjjkVMy0lW+PPohFok7PCow5sDjLgX4P4g= nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= -pack.ag/amqp v0.11.2/go.mod h1:4/cbmt4EJXSKlG6LCfWHoqmN0uFdy5i/+YFz+fTfhV4= -pgregory.net/rapid v0.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA= +pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw= +pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= rsc.io/tmplfunc v0.0.3/go.mod h1:AG3sTPzElb1Io3Yg4voV9AGZJuleGAwaVRxL9M49PhA= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.22/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= -sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs= -sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod h1:wWxsB5ozmmv/SG7nM11ayaAW51xMvak/t1r0CSlcokI= -sigs.k8s.io/structured-merge-diff v1.0.1-0.20191108220359-b1b620dd3f06/go.mod h1:/ULNhyfzRopfcjskuui0cTITekDduZ7ycKN3oUT9R18= -sigs.k8s.io/structured-merge-diff/v4 v4.0.1/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= -sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= -sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= -sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= -sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= +sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E= +sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= sourcegraph.com/sourcegraph/go-diff v0.5.0/go.mod h1:kuch7UrkMzY0X+p9CRK03kfuPQ2zzQcaEFbx8wA8rck= sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4/go.mod h1:ketZ/q3QxT9HOBeFhu6RdvsftgpsbFHBF5Cas6cDKZ0= -sourcegraph.com/sqs/pbtypes v1.0.0/go.mod h1:3AciMUv4qUuRHRHhOG4TZOB+72GdPVz5k+c648qsFS4= diff --git a/pkg/chains/chains.pb.go b/pkg/chains/chains.pb.go index 27e8736dac..9075543425 100644 --- a/pkg/chains/chains.pb.go +++ b/pkg/chains/chains.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pkg/chains/chains.proto +// source: zetachain/zetacore/pkg/chains/chains.proto package chains import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -49,7 +48,7 @@ func (x ReceiveStatus) String() string { } func (ReceiveStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_37ad35e0488e8bbc, []int{0} + return fileDescriptor_236b85e7bff6130d, []int{0} } type ChainName int32 @@ -119,11 +118,11 @@ func (x ChainName) String() string { } func (ChainName) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_37ad35e0488e8bbc, []int{1} + return fileDescriptor_236b85e7bff6130d, []int{1} } type Chain struct { - ChainName ChainName `protobuf:"varint,1,opt,name=chain_name,json=chainName,proto3,enum=chains.ChainName" json:"chain_name,omitempty"` + ChainName ChainName `protobuf:"varint,1,opt,name=chain_name,json=chainName,proto3,enum=zetachain.zetacore.pkg.chains.ChainName" json:"chain_name,omitempty"` ChainId int64 `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` } @@ -131,7 +130,7 @@ func (m *Chain) Reset() { *m = Chain{} } func (m *Chain) String() string { return proto.CompactTextString(m) } func (*Chain) ProtoMessage() {} func (*Chain) Descriptor() ([]byte, []int) { - return fileDescriptor_37ad35e0488e8bbc, []int{0} + return fileDescriptor_236b85e7bff6130d, []int{0} } func (m *Chain) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -175,40 +174,43 @@ func (m *Chain) GetChainId() int64 { } func init() { - proto.RegisterEnum("chains.ReceiveStatus", ReceiveStatus_name, ReceiveStatus_value) - proto.RegisterEnum("chains.ChainName", ChainName_name, ChainName_value) - proto.RegisterType((*Chain)(nil), "chains.Chain") + proto.RegisterEnum("zetachain.zetacore.pkg.chains.ReceiveStatus", ReceiveStatus_name, ReceiveStatus_value) + proto.RegisterEnum("zetachain.zetacore.pkg.chains.ChainName", ChainName_name, ChainName_value) + proto.RegisterType((*Chain)(nil), "zetachain.zetacore.pkg.chains.Chain") } -func init() { proto.RegisterFile("pkg/chains/chains.proto", fileDescriptor_37ad35e0488e8bbc) } +func init() { + proto.RegisterFile("zetachain/zetacore/pkg/chains/chains.proto", fileDescriptor_236b85e7bff6130d) +} -var fileDescriptor_37ad35e0488e8bbc = []byte{ - // 396 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x92, 0x4f, 0x6f, 0xd3, 0x30, - 0x14, 0xc0, 0xe3, 0x6e, 0x6d, 0x97, 0xd7, 0xad, 0x35, 0x06, 0x89, 0xb1, 0x43, 0x34, 0x71, 0x1a, - 0x93, 0x68, 0x10, 0x1c, 0xb9, 0x51, 0x09, 0x89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55, 0x55, 0x68, 0x29, - 0x61, 0x14, 0xce, 0x7f, 0xa1, 0xe5, 0x81, 0x4c, 0x9c, 0x92, 0x59, 0x11, 0xc0, 0x09, 0x7b, 0x0e, - 0xab, 0xda, 0x94, 0x7b, 0x69, 0xaa, 0x00, 0x4f, 0xbd, 0xd5, 0x8e, 0xd6, 0x94, 0x31, 0x58, 0x4a, - 0x83, 0x4d, 0xa9, 0x76, 0x16, 0x5b, 0xeb, 0xd8, 0xcc, 0x31, 0xdd, 0xe9, 0x8c, 0x8f, 0x6c, 0xee, - 0xba, 0x49, 0x5e, 0x71, 0x51, 0x60, 0x80, 0x67, 0x4e, 0xcc, 0xb8, 0xc9, 0x78, 0x16, 0x58, 0x3c, - 0x4c, 0x18, 0x00, 0x84, 0x55, 0x07, 0xb2, 0x18, 0x56, 0x1d, 0xc0, 0xb9, 0x6b, 0xde, 0x62, 0x6d, - 0x4a, 0x35, 0x5a, 0x17, 0x7e, 0x62, 0xbf, 0x59, 0x69, 0x04, 0x2f, 0x1d, 0x5c, 0x0e, 0xa5, 0x0d, - 0x4a, 0x27, 0xd2, 0x95, 0xeb, 0xce, 0xb5, 0xd9, 0x87, 0x3a, 0xda, 0xff, 0xca, 0x4f, 0x9b, 0xfb, - 0x43, 0x42, 0x1e, 0x0e, 0x09, 0xf9, 0x7f, 0x48, 0xc8, 0xef, 0x63, 0x12, 0x3d, 0x1c, 0x93, 0xe8, - 0xdf, 0x31, 0x89, 0xbe, 0xbf, 0x91, 0xca, 0x16, 0x5d, 0xb6, 0x16, 0x46, 0xa7, 0x6e, 0xb1, 0xb7, - 0xfe, 0xea, 0x7c, 0x28, 0x4c, 0x83, 0xe9, 0xf8, 0x9a, 0xb2, 0x99, 0x7f, 0x29, 0x1f, 0x1e, 0x03, - 0x00, 0x00, 0xff, 0xff, 0xda, 0x8f, 0xd7, 0xf3, 0x62, 0x02, 0x00, 0x00, +var fileDescriptor_236b85e7bff6130d = []byte{ + // 407 bytes of a gzipped FileDescriptor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 0xa7, 0x34, 0x39, 0x9c, + 0xd2, 0xe4, 0xf7, 0x29, 0x4d, 0xbe, 0xbe, 0x96, 0xca, 0x6e, 0xdb, 0x3c, 0x13, 0x46, 0xfb, 0x83, + 0x7b, 0xf3, 0xdf, 0xdb, 0xcb, 0x07, 0xfe, 0x80, 0xde, 0xfd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x58, + 0x82, 0x1f, 0x90, 0xa3, 0x02, 0x00, 0x00, } func (m *Chain) Marshal() (dAtA []byte, err error) { diff --git a/pkg/coin/coin.pb.go b/pkg/coin/coin.pb.go index ac4a65780c..b3c3999173 100644 --- a/pkg/coin/coin.pb.go +++ b/pkg/coin/coin.pb.go @@ -1,14 +1,13 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pkg/coin/coin.proto +// source: zetachain/zetacore/pkg/coin/coin.proto package coin import ( fmt "fmt" - math "math" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -50,27 +49,29 @@ func (x CoinType) String() string { } func (CoinType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dc61d0144bf70fc2, []int{0} + return fileDescriptor_924f8c5071ab3892, []int{0} } func init() { - proto.RegisterEnum("coin.CoinType", CoinType_name, CoinType_value) + proto.RegisterEnum("zetachain.zetacore.pkg.coin.CoinType", CoinType_name, CoinType_value) } -func init() { proto.RegisterFile("pkg/coin/coin.proto", fileDescriptor_dc61d0144bf70fc2) } +func init() { + proto.RegisterFile("zetachain/zetacore/pkg/coin/coin.proto", fileDescriptor_924f8c5071ab3892) +} -var fileDescriptor_dc61d0144bf70fc2 = []byte{ - // 178 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2e, 0xc8, 0x4e, 0xd7, - 0x4f, 0xce, 0xcf, 0xcc, 0x03, 0x13, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x2c, 0x20, 0xb6, - 0x94, 0x48, 0x7a, 0x7e, 0x7a, 0x3e, 0x58, 0x40, 0x1f, 0xc4, 0x82, 0xc8, 0x69, 0x99, 0x73, 0x71, - 0x38, 0xe7, 0x67, 0xe6, 0x85, 0x54, 0x16, 0xa4, 0x0a, 0x71, 0x70, 0xb1, 0x44, 0xa5, 0x96, 0x24, - 0x0a, 0x30, 0x08, 0xb1, 0x73, 0x31, 0xbb, 0x27, 0x16, 0x0b, 0x30, 0x0a, 0x71, 0x72, 0xb1, 0xba, - 0x06, 0x39, 0x1b, 0x19, 0x08, 0x30, 0x81, 0xc4, 0x9c, 0x73, 0x53, 0x04, 0x98, 0xa5, 0x58, 0x56, - 0x2c, 0x91, 0x63, 0x74, 0x72, 0x3c, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, - 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, - 0xf5, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, 0xaa, 0xd4, 0x92, 0x44, - 0xdd, 0xe4, 0x8c, 0xc4, 0xcc, 0x3c, 0x30, 0x33, 0x39, 0xbf, 0x28, 0x55, 0x1f, 0xe6, 0xc4, 0x24, - 0x36, 0xb0, 0x13, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4c, 0x7f, 0xab, 0x6e, 0xb5, 0x00, - 0x00, 0x00, +var fileDescriptor_924f8c5071ab3892 = []byte{ + // 190 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xab, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x0b, 0xb2, 0xd3, 0xf5, + 0x93, 0xf3, 0x33, 0xf3, 0xc0, 0x84, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x34, 0x5c, 0x9d, + 0x1e, 0x4c, 0x9d, 0x5e, 0x41, 0x76, 0xba, 0x1e, 0x48, 0x89, 0x94, 0x48, 0x7a, 0x7e, 0x7a, 0x3e, + 0x58, 0x9d, 0x3e, 0x88, 0x05, 0xd1, 0xa2, 0x65, 0xce, 0xc5, 0xe1, 0x9c, 0x9f, 0x99, 0x17, 0x52, + 0x59, 0x90, 0x2a, 0xc4, 0xc1, 0xc5, 0x12, 0x95, 0x5a, 0x92, 0x28, 0xc0, 0x20, 0xc4, 0xce, 0xc5, + 0xec, 0x9e, 0x58, 0x2c, 0xc0, 0x28, 0xc4, 0xc9, 0xc5, 0xea, 0x1a, 0xe4, 0x6c, 0x64, 0x20, 0xc0, + 0x04, 0x12, 0x73, 0xce, 0x4d, 0x11, 0x60, 0x96, 0x62, 0x59, 0xb1, 0x44, 0x8e, 0xd1, 0xc9, 0xf1, + 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, 0xd4, 0xd3, 0x33, 0x4b, 0x32, 0x4a, + 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xc1, 0xce, 0xd5, 0xc5, 0xe1, 0xf2, 0x24, 0x36, 0xb0, 0x13, 0x8c, + 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x52, 0x5c, 0x7d, 0x09, 0xdf, 0x00, 0x00, 0x00, } diff --git a/pkg/crypto/crypto.pb.go b/pkg/crypto/crypto.pb.go index db9a9a6821..05fa778c1a 100644 --- a/pkg/crypto/crypto.pb.go +++ b/pkg/crypto/crypto.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pkg/crypto/crypto.proto +// source: zetachain/zetacore/pkg/crypto/crypto.proto package crypto import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -34,7 +33,7 @@ func (m *PubKeySet) Reset() { *m = PubKeySet{} } func (m *PubKeySet) String() string { return proto.CompactTextString(m) } func (*PubKeySet) ProtoMessage() {} func (*PubKeySet) Descriptor() ([]byte, []int) { - return fileDescriptor_5643a513c82df681, []int{0} + return fileDescriptor_89594c231a15fb86, []int{0} } func (m *PubKeySet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -78,26 +77,28 @@ func (m *PubKeySet) GetEd25519() PubKey { } func init() { - proto.RegisterType((*PubKeySet)(nil), "crypto.PubKeySet") + proto.RegisterType((*PubKeySet)(nil), "zetachain.zetacore.pkg.crypto.PubKeySet") } -func init() { proto.RegisterFile("pkg/crypto/crypto.proto", fileDescriptor_5643a513c82df681) } +func init() { + proto.RegisterFile("zetachain/zetacore/pkg/crypto/crypto.proto", fileDescriptor_89594c231a15fb86) +} -var fileDescriptor_5643a513c82df681 = []byte{ - // 195 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2f, 0xc8, 0x4e, 0xd7, - 0x4f, 0x2e, 0xaa, 0x2c, 0x28, 0xc9, 0x87, 0x52, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x6c, - 0x10, 0x9e, 0x94, 0x48, 0x7a, 0x7e, 0x7a, 0x3e, 0x58, 0x48, 0x1f, 0xc4, 0x82, 0xc8, 0x2a, 0x65, - 0x70, 0x71, 0x06, 0x94, 0x26, 0x79, 0xa7, 0x56, 0x06, 0xa7, 0x96, 0x08, 0x99, 0x72, 0x71, 0x16, - 0xa7, 0x26, 0x17, 0x18, 0x99, 0x9a, 0x65, 0x1b, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x3a, 0x89, - 0x3f, 0xba, 0x27, 0xcf, 0x19, 0x0c, 0x13, 0xfc, 0x75, 0x4f, 0x9e, 0x0d, 0xa2, 0x3c, 0x08, 0xa1, - 0x52, 0x48, 0x85, 0x8b, 0x3d, 0x35, 0xc5, 0xc8, 0xd4, 0xd4, 0xd0, 0x52, 0x82, 0x09, 0xac, 0x89, - 0x0b, 0x49, 0x1d, 0x4c, 0xca, 0xc9, 0xf9, 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, 0x34, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0xab, 0x52, 0x4b, - 0x12, 0x75, 0x93, 0x33, 0x12, 0x33, 0xf3, 0xc0, 0xcc, 0xe4, 0xfc, 0xa2, 0x54, 0x7d, 0x84, 0xcf, - 0x92, 0xd8, 0xc0, 0xae, 0x36, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x44, 0x43, 0x35, 0xee, - 0x00, 0x00, 0x00, +var fileDescriptor_89594c231a15fb86 = []byte{ + // 207 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xaa, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x0b, 0xb2, 0xd3, 0xf5, + 0x93, 0x8b, 0x2a, 0x0b, 0x4a, 0xf2, 0xa1, 0x94, 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x2c, + 0x5c, 0xad, 0x1e, 0x4c, 0xad, 0x5e, 0x41, 0x76, 0xba, 0x1e, 0x44, 0x91, 0x94, 0x48, 0x7a, 0x7e, + 0x7a, 0x3e, 0x58, 0xa5, 0x3e, 0x88, 0x05, 0xd1, 0xa4, 0x94, 0xc1, 0xc5, 0x19, 0x50, 0x9a, 0xe4, + 0x9d, 0x5a, 0x19, 0x9c, 0x5a, 0x22, 0x64, 0xca, 0xc5, 0x59, 0x9c, 0x9a, 0x5c, 0x60, 0x64, 0x6a, + 0x96, 0x6d, 0x28, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0xe9, 0x24, 0xfe, 0xe8, 0x9e, 0x3c, 0x67, 0x30, + 0x4c, 0xf0, 0xd7, 0x3d, 0x79, 0x36, 0x88, 0xf2, 0x20, 0x84, 0x4a, 0x21, 0x15, 0x2e, 0xf6, 0xd4, + 0x14, 0x23, 0x53, 0x53, 0x43, 0x4b, 0x09, 0x26, 0xb0, 0x26, 0x2e, 0x24, 0x75, 0x30, 0x29, 0x27, + 0xe7, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, + 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0xd2, 0x4c, 0xcf, 0x2c, 0xc9, + 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0x05, 0xfb, 0x52, 0x17, 0xa7, 0x87, 0x93, 0xd8, 0xc0, 0xae, + 0x36, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x4d, 0x96, 0xf0, 0xc3, 0x18, 0x01, 0x00, 0x00, } func (m *PubKeySet) Marshal() (dAtA []byte, err error) { diff --git a/pkg/crypto/pubkey_test.go b/pkg/crypto/pubkey_test.go index f86f07fcc0..396a8cc91d 100644 --- a/pkg/crypto/pubkey_test.go +++ b/pkg/crypto/pubkey_test.go @@ -7,9 +7,9 @@ import ( "os" "testing" + "github.com/cometbft/cometbft/crypto/secp256k1" "github.com/cosmos/cosmos-sdk/crypto/codec" "github.com/cosmos/cosmos-sdk/testutil/testdata" - "github.com/tendermint/tendermint/crypto/secp256k1" . "gopkg.in/check.v1" "github.com/stretchr/testify/require" diff --git a/pkg/proofs/bitcoin/bitcoin.pb.go b/pkg/proofs/bitcoin/bitcoin.pb.go index 07f03aa927..bc0f0f5693 100644 --- a/pkg/proofs/bitcoin/bitcoin.pb.go +++ b/pkg/proofs/bitcoin/bitcoin.pb.go @@ -1,15 +1,14 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pkg/proofs/bitcoin/bitcoin.proto +// source: zetachain/zetacore/pkg/proofs/bitcoin/bitcoin.proto package bitcoin import ( fmt "fmt" + proto "github.com/cosmos/gogoproto/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. @@ -33,7 +32,7 @@ func (m *Proof) Reset() { *m = Proof{} } func (m *Proof) String() string { return proto.CompactTextString(m) } func (*Proof) ProtoMessage() {} func (*Proof) Descriptor() ([]byte, []int) { - return fileDescriptor_683fe0fe4796f27d, []int{0} + return fileDescriptor_761b957bca33df27, []int{0} } func (m *Proof) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -84,25 +83,28 @@ func (m *Proof) GetIndex() uint32 { } func init() { - proto.RegisterType((*Proof)(nil), "bitcoin.Proof") + proto.RegisterType((*Proof)(nil), "zetachain.zetacore.pkg.proofs.bitcoin.Proof") } -func init() { proto.RegisterFile("pkg/proofs/bitcoin/bitcoin.proto", fileDescriptor_683fe0fe4796f27d) } +func init() { + proto.RegisterFile("zetachain/zetacore/pkg/proofs/bitcoin/bitcoin.proto", fileDescriptor_761b957bca33df27) +} -var fileDescriptor_683fe0fe4796f27d = []byte{ - // 183 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x28, 0xc8, 0x4e, 0xd7, - 0x2f, 0x28, 0xca, 0xcf, 0x4f, 0x2b, 0xd6, 0x4f, 0xca, 0x2c, 0x49, 0xce, 0xcf, 0xcc, 0x83, 0xd1, - 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0xec, 0x50, 0xae, 0x92, 0x0f, 0x17, 0x6b, 0x00, 0x48, - 0xa1, 0x90, 0x24, 0x17, 0x47, 0x49, 0x45, 0x7c, 0x52, 0x65, 0x49, 0x6a, 0xb1, 0x04, 0xa3, 0x02, - 0xa3, 0x06, 0x4f, 0x10, 0x7b, 0x49, 0x85, 0x13, 0x88, 0x2b, 0x24, 0xc4, 0xc5, 0x52, 0x90, 0x58, - 0x92, 0x21, 0xc1, 0x04, 0x16, 0x06, 0xb3, 0x85, 0x44, 0xb8, 0x58, 0x33, 0xf3, 0x52, 0x52, 0x2b, - 0x24, 0x98, 0x15, 0x18, 0x35, 0x78, 0x83, 0x20, 0x1c, 0x27, 0xef, 0x13, 0x8f, 0xe4, 0x18, 0x2f, - 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, - 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x4c, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, - 0xd5, 0xaf, 0x4a, 0x2d, 0x49, 0xd4, 0x4d, 0xce, 0x48, 0xcc, 0xcc, 0x03, 0x33, 0x93, 0xf3, 0x8b, - 0x52, 0xf5, 0x31, 0x5d, 0x9c, 0xc4, 0x06, 0x76, 0xaa, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x4f, - 0xf2, 0x97, 0x80, 0xce, 0x00, 0x00, 0x00, +var fileDescriptor_761b957bca33df27 = []byte{ + // 198 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xae, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x0b, 0xb2, 0xd3, 0xf5, + 0x0b, 0x8a, 0xf2, 0xf3, 0xd3, 0x8a, 0xf5, 0x93, 0x32, 0x4b, 0x92, 0xf3, 0x33, 0xf3, 0x60, 0xb4, + 0x5e, 0x41, 0x51, 0x7e, 0x49, 0xbe, 0x90, 0x2a, 0x5c, 0x93, 0x1e, 0x4c, 0x93, 0x5e, 0x41, 0x76, + 0xba, 0x1e, 0x44, 0x93, 0x1e, 0x54, 0xb1, 0x92, 0x0f, 0x17, 0x6b, 0x00, 0x48, 0x44, 0x48, 0x92, + 0x8b, 0xa3, 0xa4, 0x22, 0x3e, 0xa9, 0xb2, 0x24, 0xb5, 0x58, 0x82, 0x51, 0x81, 0x51, 0x83, 0x27, + 0x88, 0xbd, 0xa4, 0xc2, 0x09, 0xc4, 0x15, 0x12, 0xe2, 0x62, 0x29, 0x48, 0x2c, 0xc9, 0x90, 0x60, + 0x02, 0x0b, 0x83, 0xd9, 0x42, 0x22, 0x5c, 0xac, 0x99, 0x79, 0x29, 0xa9, 0x15, 0x12, 0xcc, 0x0a, + 0x8c, 0x1a, 0xbc, 0x41, 0x10, 0x8e, 0x93, 0xf7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, + 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, + 0x31, 0x44, 0x19, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0x82, 0x3d, 0xa1, + 0x4b, 0xd0, 0x3f, 0x49, 0x6c, 0x60, 0x8f, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x6b, 0xf6, + 0xf8, 0x28, 0xff, 0x00, 0x00, 0x00, } func (m *Proof) Marshal() (dAtA []byte, err error) { diff --git a/pkg/proofs/ethereum/ethereum.pb.go b/pkg/proofs/ethereum/ethereum.pb.go index 4cbfd2ba74..865e5bde99 100644 --- a/pkg/proofs/ethereum/ethereum.pb.go +++ b/pkg/proofs/ethereum/ethereum.pb.go @@ -1,15 +1,14 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pkg/proofs/ethereum/ethereum.proto +// source: zetachain/zetacore/pkg/proofs/ethereum/ethereum.proto package ethereum import ( fmt "fmt" + proto "github.com/cosmos/gogoproto/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. @@ -32,7 +31,7 @@ func (m *Proof) Reset() { *m = Proof{} } func (m *Proof) String() string { return proto.CompactTextString(m) } func (*Proof) ProtoMessage() {} func (*Proof) Descriptor() ([]byte, []int) { - return fileDescriptor_bd99cabd67598caa, []int{0} + return fileDescriptor_c049832c17ba64fb, []int{0} } func (m *Proof) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -76,26 +75,26 @@ func (m *Proof) GetValues() [][]byte { } func init() { - proto.RegisterType((*Proof)(nil), "ethereum.Proof") + proto.RegisterType((*Proof)(nil), "zetachain.zetacore.pkg.proofs.ethereum.Proof") } func init() { - proto.RegisterFile("pkg/proofs/ethereum/ethereum.proto", fileDescriptor_bd99cabd67598caa) + proto.RegisterFile("zetachain/zetacore/pkg/proofs/ethereum/ethereum.proto", fileDescriptor_c049832c17ba64fb) } -var fileDescriptor_bd99cabd67598caa = []byte{ - // 161 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2a, 0xc8, 0x4e, 0xd7, - 0x2f, 0x28, 0xca, 0xcf, 0x4f, 0x2b, 0xd6, 0x4f, 0x2d, 0xc9, 0x48, 0x2d, 0x4a, 0x2d, 0xcd, 0x85, - 0x33, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x38, 0x60, 0x7c, 0x25, 0x63, 0x2e, 0xd6, 0x00, - 0x90, 0x5a, 0x21, 0x21, 0x2e, 0x96, 0xec, 0xd4, 0xca, 0x62, 0x09, 0x46, 0x05, 0x66, 0x0d, 0x9e, - 0x20, 0x30, 0x5b, 0x48, 0x8c, 0x8b, 0xad, 0x2c, 0x31, 0xa7, 0x34, 0xb5, 0x58, 0x82, 0x09, 0x2c, - 0x0a, 0xe5, 0x39, 0xf9, 0x9c, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, - 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x51, - 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x55, 0x6a, 0x49, 0xa2, 0x6e, - 0x72, 0x46, 0x62, 0x66, 0x1e, 0x98, 0x99, 0x9c, 0x5f, 0x94, 0xaa, 0x8f, 0xc5, 0x6d, 0x49, 0x6c, - 0x60, 0x37, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xdc, 0xc4, 0xcc, 0xc8, 0xb9, 0x00, 0x00, - 0x00, +var fileDescriptor_c049832c17ba64fb = []byte{ + // 175 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xad, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x0b, 0xb2, 0xd3, 0xf5, + 0x0b, 0x8a, 0xf2, 0xf3, 0xd3, 0x8a, 0xf5, 0x53, 0x4b, 0x32, 0x52, 0x8b, 0x52, 0x4b, 0x73, 0xe1, + 0x0c, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x35, 0xb8, 0x36, 0x3d, 0x98, 0x36, 0xbd, 0x82, + 0xec, 0x74, 0x3d, 0x88, 0x36, 0x3d, 0x98, 0x6a, 0x25, 0x63, 0x2e, 0xd6, 0x00, 0x90, 0x90, 0x90, + 0x10, 0x17, 0x4b, 0x76, 0x6a, 0x65, 0xb1, 0x04, 0xa3, 0x02, 0xb3, 0x06, 0x4f, 0x10, 0x98, 0x2d, + 0x24, 0xc6, 0xc5, 0x56, 0x96, 0x98, 0x53, 0x9a, 0x5a, 0x2c, 0xc1, 0x04, 0x16, 0x85, 0xf2, 0x9c, + 0x7c, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, + 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x28, 0x3d, 0xb3, 0x24, + 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x17, 0xec, 0x5c, 0x5d, 0xc2, 0x2e, 0x4f, 0x62, 0x03, 0xbb, + 0xd8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x3d, 0x6d, 0xba, 0x77, 0xea, 0x00, 0x00, 0x00, } func (m *Proof) Marshal() (dAtA []byte, err error) { diff --git a/pkg/proofs/proofs.pb.go b/pkg/proofs/proofs.pb.go index f866e9d782..6f3046934d 100644 --- a/pkg/proofs/proofs.pb.go +++ b/pkg/proofs/proofs.pb.go @@ -1,18 +1,17 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pkg/proofs/proofs.proto +// source: zetachain/zetacore/pkg/proofs/proofs.proto package proofs import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" bitcoin "github.com/zeta-chain/zetacore/pkg/proofs/bitcoin" ethereum "github.com/zeta-chain/zetacore/pkg/proofs/ethereum" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. @@ -39,7 +38,7 @@ func (m *BlockHeader) Reset() { *m = BlockHeader{} } func (m *BlockHeader) String() string { return proto.CompactTextString(m) } func (*BlockHeader) ProtoMessage() {} func (*BlockHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_248469268b1ea9af, []int{0} + return fileDescriptor_874830d2276ded66, []int{0} } func (m *BlockHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -115,7 +114,7 @@ func (m *HeaderData) Reset() { *m = HeaderData{} } func (m *HeaderData) String() string { return proto.CompactTextString(m) } func (*HeaderData) ProtoMessage() {} func (*HeaderData) Descriptor() ([]byte, []int) { - return fileDescriptor_248469268b1ea9af, []int{1} + return fileDescriptor_874830d2276ded66, []int{1} } func (m *HeaderData) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -201,7 +200,7 @@ func (m *Proof) Reset() { *m = Proof{} } func (m *Proof) String() string { return proto.CompactTextString(m) } func (*Proof) ProtoMessage() {} func (*Proof) Descriptor() ([]byte, []int) { - return fileDescriptor_248469268b1ea9af, []int{2} + return fileDescriptor_874830d2276ded66, []int{2} } func (m *Proof) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -276,39 +275,42 @@ func (*Proof) XXX_OneofWrappers() []interface{} { } func init() { - proto.RegisterType((*BlockHeader)(nil), "proofs.BlockHeader") - proto.RegisterType((*HeaderData)(nil), "proofs.HeaderData") - proto.RegisterType((*Proof)(nil), "proofs.Proof") + proto.RegisterType((*BlockHeader)(nil), "zetachain.zetacore.pkg.proofs.BlockHeader") + proto.RegisterType((*HeaderData)(nil), "zetachain.zetacore.pkg.proofs.HeaderData") + proto.RegisterType((*Proof)(nil), "zetachain.zetacore.pkg.proofs.Proof") } -func init() { proto.RegisterFile("pkg/proofs/proofs.proto", fileDescriptor_248469268b1ea9af) } +func init() { + proto.RegisterFile("zetachain/zetacore/pkg/proofs/proofs.proto", fileDescriptor_874830d2276ded66) +} -var fileDescriptor_248469268b1ea9af = []byte{ - // 373 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x91, 0xbd, 0x6e, 0xea, 0x30, - 0x14, 0xc7, 0x63, 0x08, 0xe1, 0xea, 0x84, 0x0b, 0x92, 0x75, 0x75, 0x6f, 0x2e, 0x43, 0x88, 0xb2, - 0x14, 0x86, 0x26, 0x15, 0x55, 0xa5, 0xce, 0x69, 0x07, 0xba, 0x55, 0x19, 0xbb, 0x44, 0x26, 0x71, - 0xe3, 0x88, 0x82, 0xa3, 0x60, 0x96, 0x6e, 0x7d, 0x83, 0xbe, 0x45, 0x5f, 0x85, 0x91, 0xb1, 0x53, - 0x55, 0xc1, 0x8b, 0x54, 0x71, 0x6c, 0x60, 0xf2, 0xf9, 0xf8, 0x9d, 0xbf, 0xcf, 0x07, 0xfc, 0x2b, - 0x17, 0x79, 0x58, 0x56, 0x9c, 0x3f, 0xaf, 0xd5, 0x13, 0x94, 0x15, 0x17, 0x1c, 0x5b, 0x8d, 0x37, - 0xfc, 0x93, 0xf3, 0x9c, 0xcb, 0x50, 0x58, 0x5b, 0x4d, 0x76, 0xe8, 0x9d, 0x95, 0xcd, 0x0b, 0x91, - 0xf2, 0x62, 0xa5, 0x5f, 0x45, 0xf8, 0x67, 0x04, 0x15, 0x8c, 0x56, 0x74, 0xb3, 0x3c, 0x1a, 0x0d, - 0xe3, 0x7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0x7b, 0x17, 0xed, 0xf6, 0x2e, 0xfa, 0xde, - 0xbb, 0xe8, 0xfd, 0xe0, 0x1a, 0xbb, 0x83, 0x6b, 0x7c, 0x1e, 0x5c, 0xe3, 0x69, 0x92, 0x17, 0x82, - 0x6d, 0xe6, 0x41, 0xca, 0x97, 0xe1, 0x2b, 0x15, 0xe4, 0x52, 0xae, 0x54, 0x9a, 0x29, 0xaf, 0x68, - 0x78, 0x3a, 0xfa, 0xdc, 0x92, 0x37, 0xbe, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x53, 0xf1, 0xe6, - 0x53, 0x62, 0x02, 0x00, 0x00, +var fileDescriptor_874830d2276ded66 = []byte{ + // 392 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x4f, 0xaf, 0xd2, 0x40, + 0x10, 0xef, 0x42, 0x01, 0x33, 0x45, 0x4c, 0x36, 0xc6, 0x54, 0x12, 0x0b, 0xe1, 0x22, 0x18, 0x69, + 0x13, 0x88, 0x5f, 0xa0, 0x9a, 0x88, 0x37, 0x53, 0x13, 0x0f, 0x5e, 0x9a, 0xa5, 0x5d, 0xbb, 0x0d, + 0xc2, 0x36, 0x65, 0xb9, 0xf8, 0x29, 0xfc, 0x42, 0x7a, 0xe6, 0xc8, 0xd1, 0xd3, 0xcb, 0x0b, 0x7c, + 0x91, 0x97, 0x4e, 0x77, 0xfb, 0x4e, 0x0f, 0x4e, 0x3b, 0x3b, 0xf3, 0xfb, 0x33, 0x33, 0x19, 0x78, + 0xf7, 0x9b, 0x2b, 0x96, 0x08, 0x96, 0xef, 0x02, 0x8c, 0x64, 0xc9, 0x83, 0x62, 0x93, 0x05, 0x45, + 0x29, 0xe5, 0xcf, 0xbd, 0x7e, 0xfc, 0xa2, 0x94, 0x4a, 0xd2, 0x37, 0x0d, 0xd6, 0x37, 0x58, 0xbf, + 0xd8, 0x64, 0x7e, 0x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0xf6, 0x87, 0x26, 0xce, 0x62, 0x7e, + 0x63, 0x88, 0x66, 0xf7, 0x28, 0x53, 0x39, 0x99, 0x4c, 0xad, 0xfb, 0x0d, 0x8c, 0xb5, 0x96, 0x6d, + 0xa1, 0xec, 0xfb, 0x1b, 0xb2, 0xe6, 0x10, 0x8c, 0x6a, 0x5f, 0x27, 0xf0, 0x1f, 0xf6, 0xa0, 0x83, + 0xb8, 0xf0, 0xe3, 0xf1, 0xec, 0x91, 0xd3, 0xd9, 0x23, 0xf7, 0x67, 0x8f, 0xfc, 0xb9, 0x78, 0xd6, + 0xe9, 0xe2, 0x59, 0xff, 0x2f, 0x9e, 0xf5, 0x63, 0x96, 0xe5, 0x4a, 0x1c, 0xd6, 0x7e, 0x22, 0xb7, + 0x78, 0x3c, 0xf3, 0x27, 0xef, 0x68, 0xdd, 0xc5, 0xb3, 0x59, 0x3e, 0x04, 0x00, 0x00, 0xff, 0xff, + 0xa6, 0x67, 0x4e, 0x4f, 0x05, 0x03, 0x00, 0x00, } func (m *BlockHeader) Marshal() (dAtA []byte, err error) { diff --git a/proto/buf.yaml b/proto/buf.yaml index 87bc116fd4..03a765c7ce 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -1,6 +1,7 @@ version: v1 deps: - buf.build/cosmos/cosmos-sdk + - buf.build/cosmos/cosmos-proto - buf.build/googleapis/googleapis - buf.build/cosmos/gogo-proto breaking: diff --git a/proto/crosschain/genesis.proto b/proto/crosschain/genesis.proto deleted file mode 100644 index 2d5d96c3a9..0000000000 --- a/proto/crosschain/genesis.proto +++ /dev/null @@ -1,24 +0,0 @@ -syntax = "proto3"; -package zetachain.zetacore.crosschain; - -import "crosschain/cross_chain_tx.proto"; -import "crosschain/gas_price.proto"; -import "crosschain/in_tx_hash_to_cctx.proto"; -import "crosschain/in_tx_tracker.proto"; -import "crosschain/last_block_height.proto"; -import "crosschain/out_tx_tracker.proto"; -import "gogoproto/gogo.proto"; - -option go_package = "github.com/zeta-chain/zetacore/x/crosschain/types"; - -// GenesisState defines the metacore module's genesis state. -message GenesisState { - repeated OutTxTracker outTxTrackerList = 2 [(gogoproto.nullable) = false]; - repeated GasPrice gasPriceList = 5; - repeated CrossChainTx CrossChainTxs = 7; - repeated LastBlockHeight lastBlockHeightList = 8; - repeated InTxHashToCctx inTxHashToCctxList = 9 [(gogoproto.nullable) = false]; - repeated InTxTracker in_tx_tracker_list = 11 [(gogoproto.nullable) = false]; - ZetaAccounting zeta_accounting = 12 [(gogoproto.nullable) = false]; - repeated string FinalizedInbounds = 16; -} diff --git a/proto/emissions/genesis.proto b/proto/emissions/genesis.proto deleted file mode 100644 index c09ba4f46e..0000000000 --- a/proto/emissions/genesis.proto +++ /dev/null @@ -1,14 +0,0 @@ -syntax = "proto3"; -package zetachain.zetacore.emissions; - -import "emissions/params.proto"; -import "emissions/withdrawable_emissions.proto"; -import "gogoproto/gogo.proto"; - -option go_package = "github.com/zeta-chain/zetacore/x/emissions/types"; - -// GenesisState defines the emissions module's genesis state. -message GenesisState { - Params params = 1 [(gogoproto.nullable) = false]; - repeated WithdrawableEmissions withdrawableEmissions = 2 [(gogoproto.nullable) = false]; -} diff --git a/proto/lightclient/genesis.proto b/proto/lightclient/genesis.proto deleted file mode 100644 index 3706da09dc..0000000000 --- a/proto/lightclient/genesis.proto +++ /dev/null @@ -1,16 +0,0 @@ -syntax = "proto3"; -package zetachain.zetacore.lightclient; - -import "gogoproto/gogo.proto"; -import "lightclient/chain_state.proto"; -import "lightclient/verification_flags.proto"; -import "pkg/proofs/proofs.proto"; - -option go_package = "github.com/zeta-chain/zetacore/x/lightclient/types"; - -// GenesisState defines the lightclient module's genesis state. -message GenesisState { - repeated proofs.BlockHeader block_headers = 1 [(gogoproto.nullable) = false]; - repeated ChainState chain_states = 2 [(gogoproto.nullable) = false]; - VerificationFlags verification_flags = 3 [(gogoproto.nullable) = false]; -} diff --git a/proto/lightclient/query.proto b/proto/lightclient/query.proto deleted file mode 100644 index 7433093b04..0000000000 --- a/proto/lightclient/query.proto +++ /dev/null @@ -1,90 +0,0 @@ -syntax = "proto3"; -package zetachain.zetacore.lightclient; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "lightclient/chain_state.proto"; -import "lightclient/verification_flags.proto"; -import "pkg/proofs/proofs.proto"; - -option go_package = "github.com/zeta-chain/zetacore/x/lightclient/types"; - -// Query defines the gRPC querier service. -service Query { - rpc BlockHeaderAll(QueryAllBlockHeaderRequest) returns (QueryAllBlockHeaderResponse) { - option (google.api.http).get = "/zeta-chain/lightclient/block_headers"; - } - - rpc BlockHeader(QueryGetBlockHeaderRequest) returns (QueryGetBlockHeaderResponse) { - option (google.api.http).get = "/zeta-chain/lightclient/block_headers/{block_hash}"; - } - - rpc ChainStateAll(QueryAllChainStateRequest) returns (QueryAllChainStateResponse) { - option (google.api.http).get = "/zeta-chain/lightclient/chain_state"; - } - - rpc ChainState(QueryGetChainStateRequest) returns (QueryGetChainStateResponse) { - option (google.api.http).get = "/zeta-chain/lightclient/chain_state/{chain_id}"; - } - - rpc Prove(QueryProveRequest) returns (QueryProveResponse) { - option (google.api.http).get = "/zeta-chain/lightclient/prove"; - } - - rpc VerificationFlags(QueryVerificationFlagsRequest) returns (QueryVerificationFlagsResponse) { - option (google.api.http).get = "/zeta-chain/lightclient/verification_flags"; - } -} - -message QueryAllBlockHeaderRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -message QueryAllBlockHeaderResponse { - repeated proofs.BlockHeader block_headers = 1 [(gogoproto.nullable) = false]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message QueryGetBlockHeaderRequest { - bytes block_hash = 1; -} - -message QueryGetBlockHeaderResponse { - proofs.BlockHeader block_header = 1; -} - -message QueryAllChainStateRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -message QueryAllChainStateResponse { - repeated ChainState chain_state = 1 [(gogoproto.nullable) = false]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message QueryGetChainStateRequest { - int64 chain_id = 1; -} - -message QueryGetChainStateResponse { - ChainState chain_state = 1; -} - -message QueryProveRequest { - int64 chain_id = 1; - string tx_hash = 2; - proofs.Proof proof = 3; - string block_hash = 4; - int64 tx_index = 5; -} - -message QueryProveResponse { - bool valid = 1; -} - -message QueryVerificationFlagsRequest {} - -message QueryVerificationFlagsResponse { - VerificationFlags verification_flags = 1 [(gogoproto.nullable) = false]; -} diff --git a/proto/observer/genesis.proto b/proto/observer/genesis.proto deleted file mode 100644 index 942a2be931..0000000000 --- a/proto/observer/genesis.proto +++ /dev/null @@ -1,35 +0,0 @@ -syntax = "proto3"; -package zetachain.zetacore.observer; - -import "gogoproto/gogo.proto"; -import "observer/ballot.proto"; -import "observer/blame.proto"; -import "observer/chain_nonces.proto"; -import "observer/crosschain_flags.proto"; -import "observer/keygen.proto"; -import "observer/node_account.proto"; -import "observer/nonce_to_cctx.proto"; -import "observer/observer.proto"; -import "observer/params.proto"; -import "observer/pending_nonces.proto"; -import "observer/tss.proto"; -import "observer/tss_funds_migrator.proto"; - -option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; - -message GenesisState { - repeated Ballot ballots = 1; - ObserverSet observers = 2 [(gogoproto.nullable) = false]; - repeated NodeAccount nodeAccountList = 3; - CrosschainFlags crosschain_flags = 4; - Keygen keygen = 6; - LastObserverCount last_observer_count = 7; - ChainParamsList chain_params_list = 8 [(gogoproto.nullable) = false]; - TSS tss = 9; - repeated TSS tss_history = 10 [(gogoproto.nullable) = false]; - repeated TssFundMigratorInfo tss_fund_migrators = 11 [(gogoproto.nullable) = false]; - repeated Blame blame_list = 12 [(gogoproto.nullable) = false]; - repeated PendingNonces pending_nonces = 13 [(gogoproto.nullable) = false]; - repeated ChainNonces chain_nonces = 14 [(gogoproto.nullable) = false]; - repeated NonceToCctx nonce_to_cctx = 15 [(gogoproto.nullable) = false]; -} diff --git a/proto/observer/query.proto b/proto/observer/query.proto deleted file mode 100644 index 9aceb6cdf1..0000000000 --- a/proto/observer/query.proto +++ /dev/null @@ -1,305 +0,0 @@ -syntax = "proto3"; -package zetachain.zetacore.observer; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "observer/ballot.proto"; -import "observer/blame.proto"; -import "observer/chain_nonces.proto"; -import "observer/crosschain_flags.proto"; -import "observer/keygen.proto"; -import "observer/node_account.proto"; -import "observer/observer.proto"; -import "observer/params.proto"; -import "observer/pending_nonces.proto"; -import "observer/tss.proto"; -import "pkg/chains/chains.proto"; -import "pkg/proofs/proofs.proto"; - -option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; - -// Query defines the gRPC querier service. -service Query { - // Query if a voter has voted for a ballot - rpc HasVoted(QueryHasVotedRequest) returns (QueryHasVotedResponse) { - option (google.api.http).get = "/zeta-chain/observer/has_voted/{ballot_identifier}/{voter_address}"; - } - // Queries a list of VoterByIdentifier items. - rpc BallotByIdentifier(QueryBallotByIdentifierRequest) returns (QueryBallotByIdentifierResponse) { - option (google.api.http).get = "/zeta-chain/observer/ballot_by_identifier/{ballot_identifier}"; - } - - // Queries a list of ObserversByChainAndType items. - rpc ObserverSet(QueryObserverSet) returns (QueryObserverSetResponse) { - option (google.api.http).get = "/zeta-chain/observer/observer_set"; - } - - rpc SupportedChains(QuerySupportedChains) returns (QuerySupportedChainsResponse) { - option (google.api.http).get = "/zeta-chain/observer/supportedChains"; - } - - // Queries a list of GetChainParamsForChain items. - rpc GetChainParamsForChain(QueryGetChainParamsForChainRequest) returns (QueryGetChainParamsForChainResponse) { - option (google.api.http).get = "/zeta-chain/observer/get_chain_params_for_chain/{chain_id}"; - } - - // Queries a list of GetChainParams items. - rpc GetChainParams(QueryGetChainParamsRequest) returns (QueryGetChainParamsResponse) { - option (google.api.http).get = "/zeta-chain/observer/get_chain_params"; - } - - // Queries a nodeAccount by index. - rpc NodeAccount(QueryGetNodeAccountRequest) returns (QueryGetNodeAccountResponse) { - option (google.api.http).get = "/zeta-chain/observer/nodeAccount/{index}"; - } - - // Queries a list of nodeAccount items. - rpc NodeAccountAll(QueryAllNodeAccountRequest) returns (QueryAllNodeAccountResponse) { - option (google.api.http).get = "/zeta-chain/observer/nodeAccount"; - } - - rpc CrosschainFlags(QueryGetCrosschainFlagsRequest) returns (QueryGetCrosschainFlagsResponse) { - option (google.api.http).get = "/zeta-chain/observer/crosschain_flags"; - } - - // Queries a keygen by index. - rpc Keygen(QueryGetKeygenRequest) returns (QueryGetKeygenResponse) { - option (google.api.http).get = "/zeta-chain/observer/keygen"; - } - - // Queries a list of ShowObserverCount items. - rpc ShowObserverCount(QueryShowObserverCountRequest) returns (QueryShowObserverCountResponse) { - option (google.api.http).get = "/zeta-chain/zetacore/observer/show_observer_count"; - } - - // Queries a list of VoterByIdentifier items. - rpc BlameByIdentifier(QueryBlameByIdentifierRequest) returns (QueryBlameByIdentifierResponse) { - option (google.api.http).get = "/zeta-chain/observer/blame_by_identifier/{blame_identifier}"; - } - - // Queries a list of VoterByIdentifier items. - rpc GetAllBlameRecords(QueryAllBlameRecordsRequest) returns (QueryAllBlameRecordsResponse) { - option (google.api.http).get = "/zeta-chain/observer/get_all_blame_records"; - } - - // Queries a list of VoterByIdentifier items. - rpc BlamesByChainAndNonce(QueryBlameByChainAndNonceRequest) returns (QueryBlameByChainAndNonceResponse) { - option (google.api.http).get = "/zeta-chain/observer/blame_by_chain_and_nonce/{chain_id}/{nonce}"; - } - - // Queries a list of GetTssAddress items. - rpc GetTssAddress(QueryGetTssAddressRequest) returns (QueryGetTssAddressResponse) { - option (google.api.http).get = "/zeta-chain/observer/get_tss_address/{bitcoin_chain_id}"; - } - - rpc GetTssAddressByFinalizedHeight(QueryGetTssAddressByFinalizedHeightRequest) returns (QueryGetTssAddressByFinalizedHeightResponse) { - option (google.api.http).get = "/zeta-chain/observer/get_tss_address_historical/{finalized_zeta_height}/{bitcoin_chain_id}"; - } - - // Queries a tSS by index. - rpc TSS(QueryGetTSSRequest) returns (QueryGetTSSResponse) { - option (google.api.http).get = "/zeta-chain/observer/TSS"; - } - - rpc TssHistory(QueryTssHistoryRequest) returns (QueryTssHistoryResponse) { - option (google.api.http).get = "/zeta-chain/observer/tssHistory"; - } - - rpc PendingNoncesAll(QueryAllPendingNoncesRequest) returns (QueryAllPendingNoncesResponse) { - option (google.api.http).get = "/zeta-chain/observer/pendingNonces"; - } - - rpc PendingNoncesByChain(QueryPendingNoncesByChainRequest) returns (QueryPendingNoncesByChainResponse) { - option (google.api.http).get = "/zeta-chain/observer/pendingNonces/{chain_id}"; - } - - // Queries a chainNonces by index. - rpc ChainNonces(QueryGetChainNoncesRequest) returns (QueryGetChainNoncesResponse) { - option (google.api.http).get = "/zeta-chain/observer/chainNonces/{index}"; - } - - // Queries a list of chainNonces items. - rpc ChainNoncesAll(QueryAllChainNoncesRequest) returns (QueryAllChainNoncesResponse) { - option (google.api.http).get = "/zeta-chain/observer/chainNonces"; - } -} - -message QueryGetChainNoncesRequest { - string index = 1; -} - -message QueryGetChainNoncesResponse { - ChainNonces ChainNonces = 1 [(gogoproto.nullable) = false]; -} - -message QueryAllChainNoncesRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -message QueryAllChainNoncesResponse { - repeated ChainNonces ChainNonces = 1 [(gogoproto.nullable) = false]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message QueryAllPendingNoncesRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -message QueryAllPendingNoncesResponse { - repeated PendingNonces pending_nonces = 1 [(gogoproto.nullable) = false]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message QueryPendingNoncesByChainRequest { - int64 chain_id = 1; -} - -message QueryPendingNoncesByChainResponse { - PendingNonces pending_nonces = 1 [(gogoproto.nullable) = false]; -} - -message QueryGetTSSRequest {} - -message QueryGetTSSResponse { - TSS TSS = 1 [(gogoproto.nullable) = false]; -} - -message QueryGetTssAddressRequest { - int64 bitcoin_chain_id = 2; -} - -message QueryGetTssAddressResponse { - string eth = 1; - string btc = 2; -} - -message QueryGetTssAddressByFinalizedHeightRequest { - int64 finalized_zeta_height = 1; - int64 bitcoin_chain_id = 2; -} - -message QueryGetTssAddressByFinalizedHeightResponse { - string eth = 1; - string btc = 2; -} - -message QueryTssHistoryRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -message QueryTssHistoryResponse { - repeated TSS tss_list = 1 [(gogoproto.nullable) = false]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message QueryHasVotedRequest { - string ballot_identifier = 1; - string voter_address = 2; -} - -message QueryHasVotedResponse { - bool has_voted = 1; -} - -message QueryBallotByIdentifierRequest { - string ballot_identifier = 1; -} -message VoterList { - string voter_address = 1; - VoteType vote_type = 2; -} - -message QueryBallotByIdentifierResponse { - string ballot_identifier = 1; - repeated VoterList voters = 2; - ObservationType observation_type = 3; - BallotStatus ballot_status = 4; -} - -message QueryObserverSet {} - -message QueryObserverSetResponse { - repeated string observers = 1; -} - -message QuerySupportedChains {} - -message QuerySupportedChainsResponse { - repeated chains.Chain chains = 1; -} - -message QueryGetChainParamsForChainRequest { - int64 chain_id = 1; -} - -message QueryGetChainParamsForChainResponse { - ChainParams chain_params = 1; -} - -message QueryGetChainParamsRequest {} - -message QueryGetChainParamsResponse { - ChainParamsList chain_params = 1; -} - -message QueryGetNodeAccountRequest { - string index = 1; -} - -message QueryGetNodeAccountResponse { - NodeAccount node_account = 1; -} - -message QueryAllNodeAccountRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -message QueryAllNodeAccountResponse { - repeated NodeAccount NodeAccount = 1; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message QueryGetCrosschainFlagsRequest {} - -message QueryGetCrosschainFlagsResponse { - CrosschainFlags crosschain_flags = 1 [(gogoproto.nullable) = false]; -} - -message QueryGetKeygenRequest {} - -message QueryGetKeygenResponse { - Keygen keygen = 1; -} - -message QueryShowObserverCountRequest {} - -message QueryShowObserverCountResponse { - LastObserverCount last_observer_count = 1; -} - -message QueryBlameByIdentifierRequest { - string blame_identifier = 1; -} - -message QueryBlameByIdentifierResponse { - Blame blame_info = 1; -} - -message QueryAllBlameRecordsRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -message QueryAllBlameRecordsResponse { - repeated Blame blame_info = 1 [(gogoproto.nullable) = false]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message QueryBlameByChainAndNonceRequest { - int64 chain_id = 1; - int64 nonce = 2; -} - -message QueryBlameByChainAndNonceResponse { - repeated Blame blame_info = 1; -} diff --git a/proto/pkg/crypto/crypto.proto b/proto/pkg/crypto/crypto.proto deleted file mode 100644 index f74878f490..0000000000 --- a/proto/pkg/crypto/crypto.proto +++ /dev/null @@ -1,15 +0,0 @@ -syntax = "proto3"; -package crypto; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/zeta-chain/zetacore/pkg/crypto"; - -// PubKeySet contains two pub keys , secp256k1 and ed25519 -message PubKeySet { - string secp256k1 = 1 [ - (gogoproto.casttype) = "PubKey", - (gogoproto.customname) = "Secp256k1" - ]; - string ed25519 = 2 [(gogoproto.casttype) = "PubKey"]; -} diff --git a/proto/authority/genesis.proto b/proto/zetachain/zetacore/authority/genesis.proto similarity index 62% rename from proto/authority/genesis.proto rename to proto/zetachain/zetacore/authority/genesis.proto index f4032008c9..93eee1e9fc 100644 --- a/proto/authority/genesis.proto +++ b/proto/zetachain/zetacore/authority/genesis.proto @@ -1,12 +1,10 @@ syntax = "proto3"; package zetachain.zetacore.authority; -import "authority/policies.proto"; +import "zetachain/zetacore/authority/policies.proto"; import "gogoproto/gogo.proto"; option go_package = "github.com/zeta-chain/zetacore/x/authority/types"; // GenesisState defines the authority module's genesis state. -message GenesisState { - Policies policies = 1 [(gogoproto.nullable) = false]; -} +message GenesisState { Policies policies = 1 [ (gogoproto.nullable) = false ]; } diff --git a/proto/authority/policies.proto b/proto/zetachain/zetacore/authority/policies.proto similarity index 56% rename from proto/authority/policies.proto rename to proto/zetachain/zetacore/authority/policies.proto index 6fdd33d582..b02f448514 100644 --- a/proto/authority/policies.proto +++ b/proto/zetachain/zetacore/authority/policies.proto @@ -8,9 +8,12 @@ option go_package = "github.com/zeta-chain/zetacore/x/authority/types"; // PolicyType defines the type of policy enum PolicyType { option (gogoproto.goproto_enum_stringer) = true; - groupEmergency = 0; // Used for emergency situations that require immediate action - groupOperational = 1; // Used for operational tasks like changing non-sensitive protocol parameters - groupAdmin = 2; // Used for administrative tasks like changing sensitive protocol parameters or moving funds + groupEmergency = + 0; // Used for emergency situations that require immediate action + groupOperational = 1; // Used for operational tasks like changing + // non-sensitive protocol parameters + groupAdmin = 2; // Used for administrative tasks like changing sensitive + // protocol parameters or moving funds } message Policy { @@ -19,6 +22,4 @@ message Policy { } // Policy contains info about authority policies -message Policies { - repeated Policy items = 1; -} +message Policies { repeated Policy items = 1; } diff --git a/proto/authority/query.proto b/proto/zetachain/zetacore/authority/query.proto similarity index 81% rename from proto/authority/query.proto rename to proto/zetachain/zetacore/authority/query.proto index 0aaee7a40c..393867979d 100644 --- a/proto/authority/query.proto +++ b/proto/zetachain/zetacore/authority/query.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package zetachain.zetacore.authority; -import "authority/policies.proto"; +import "zetachain/zetacore/authority/policies.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; @@ -16,10 +16,12 @@ service Query { } } -// QueryGetPoliciesRequest is the request type for the Query/Policies RPC method. +// QueryGetPoliciesRequest is the request type for the Query/Policies RPC +// method. message QueryGetPoliciesRequest {} -// QueryGetPoliciesResponse is the response type for the Query/Policies RPC method. +// QueryGetPoliciesResponse is the response type for the Query/Policies RPC +// method. message QueryGetPoliciesResponse { - Policies policies = 1 [(gogoproto.nullable) = false]; + Policies policies = 1 [ (gogoproto.nullable) = false ]; } diff --git a/proto/authority/tx.proto b/proto/zetachain/zetacore/authority/tx.proto similarity index 82% rename from proto/authority/tx.proto rename to proto/zetachain/zetacore/authority/tx.proto index 4caa8d3808..7e8c007005 100644 --- a/proto/authority/tx.proto +++ b/proto/zetachain/zetacore/authority/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package zetachain.zetacore.authority; -import "authority/policies.proto"; +import "zetachain/zetacore/authority/policies.proto"; import "gogoproto/gogo.proto"; option go_package = "github.com/zeta-chain/zetacore/x/authority/types"; @@ -14,7 +14,7 @@ service Msg { // MsgUpdatePolicies defines the MsgUpdatePolicies service. message MsgUpdatePolicies { string signer = 1; - Policies policies = 2 [(gogoproto.nullable) = false]; + Policies policies = 2 [ (gogoproto.nullable) = false ]; } // MsgUpdatePoliciesResponse defines the MsgUpdatePoliciesResponse service. diff --git a/proto/crosschain/cross_chain_tx.proto b/proto/zetachain/zetacore/crosschain/cross_chain_tx.proto similarity index 73% rename from proto/crosschain/cross_chain_tx.proto rename to proto/zetachain/zetacore/crosschain/cross_chain_tx.proto index 45ad6a7181..75494bc80e 100644 --- a/proto/crosschain/cross_chain_tx.proto +++ b/proto/zetachain/zetacore/crosschain/cross_chain_tx.proto @@ -2,34 +2,38 @@ syntax = "proto3"; package zetachain.zetacore.crosschain; import "gogoproto/gogo.proto"; -import "pkg/coin/coin.proto"; +import "zetachain/zetacore/pkg/coin/coin.proto"; -//TODO : fix the descriptor numbers for the fields -// https://github.com/zeta-chain/node/issues/1951 +// TODO : fix the descriptor numbers for the fields +// https://github.com/zeta-chain/node/issues/1951 option go_package = "github.com/zeta-chain/zetacore/x/crosschain/types"; enum CctxStatus { option (gogoproto.goproto_enum_stringer) = true; - PendingInbound = 0; // some observer sees inbound tx + PendingInbound = 0; // some observer sees inbound tx PendingOutbound = 1; // super majority observer see inbound tx - OutboundMined = 3; // the corresponding outbound tx is mined - PendingRevert = 4; // outbound cannot succeed; should revert inbound - Reverted = 5; // inbound reverted. - Aborted = 6; // inbound tx error or invalid paramters and cannot revert; just abort. But the amount can be refunded to zetachain using and admin proposal + OutboundMined = 3; // the corresponding outbound tx is mined + PendingRevert = 4; // outbound cannot succeed; should revert inbound + Reverted = 5; // inbound reverted. + Aborted = + 6; // inbound tx error or invalid paramters and cannot revert; just abort. + // But the amount can be refunded to zetachain using and admin proposal } enum TxFinalizationStatus { option (gogoproto.goproto_enum_stringer) = true; NotFinalized = 0; // the corresponding tx is not finalized - Finalized = 1; // the corresponding tx is finalized but not executed yet - Executed = 2; // the corresponding tx is executed + Finalized = 1; // the corresponding tx is finalized but not executed yet + Executed = 2; // the corresponding tx is executed } message InboundTxParams { - string sender = 1; // this address is the immediate contract/EOA that calls the Connector.send() + string sender = 1; // this address is the immediate contract/EOA that calls + // the Connector.send() int64 sender_chain_id = 2; string tx_origin = 3; // this address is the EOA that signs the inbound tx - coin.CoinType coin_type = 4; - string asset = 5; // for ERC20 coin type, the asset is an address of the ERC20 contract + pkg.coin.CoinType coin_type = 4; + string asset = + 5; // for ERC20 coin type, the asset is an address of the ERC20 contract string amount = 6 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Uint", (gogoproto.nullable) = false @@ -42,7 +46,8 @@ message InboundTxParams { } message ZetaAccounting { - // aborted_zeta_amount stores the total aborted amount for cctx of coin-type ZETA + // aborted_zeta_amount stores the total aborted amount for cctx of coin-type + // ZETA string aborted_zeta_amount = 1 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Uint", (gogoproto.nullable) = false @@ -52,7 +57,7 @@ message ZetaAccounting { message OutboundTxParams { string receiver = 1; int64 receiver_chainId = 2; - coin.CoinType coin_type = 3; + pkg.coin.CoinType coin_type = 3; string amount = 4 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Uint", (gogoproto.nullable) = false diff --git a/proto/crosschain/events.proto b/proto/zetachain/zetacore/crosschain/events.proto similarity index 100% rename from proto/crosschain/events.proto rename to proto/zetachain/zetacore/crosschain/events.proto diff --git a/proto/crosschain/gas_price.proto b/proto/zetachain/zetacore/crosschain/gas_price.proto similarity index 100% rename from proto/crosschain/gas_price.proto rename to proto/zetachain/zetacore/crosschain/gas_price.proto diff --git a/proto/zetachain/zetacore/crosschain/genesis.proto b/proto/zetachain/zetacore/crosschain/genesis.proto new file mode 100644 index 0000000000..8782cbda7c --- /dev/null +++ b/proto/zetachain/zetacore/crosschain/genesis.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; +package zetachain.zetacore.crosschain; + +import "zetachain/zetacore/crosschain/cross_chain_tx.proto"; +import "zetachain/zetacore/crosschain/gas_price.proto"; +import "zetachain/zetacore/crosschain/in_tx_hash_to_cctx.proto"; +import "zetachain/zetacore/crosschain/in_tx_tracker.proto"; +import "zetachain/zetacore/crosschain/last_block_height.proto"; +import "zetachain/zetacore/crosschain/out_tx_tracker.proto"; +import "gogoproto/gogo.proto"; + +option go_package = "github.com/zeta-chain/zetacore/x/crosschain/types"; + +// GenesisState defines the metacore module's genesis state. +message GenesisState { + repeated OutTxTracker outTxTrackerList = 2 [ (gogoproto.nullable) = false ]; + repeated GasPrice gasPriceList = 5; + repeated CrossChainTx CrossChainTxs = 7; + repeated LastBlockHeight lastBlockHeightList = 8; + repeated InTxHashToCctx inTxHashToCctxList = 9 + [ (gogoproto.nullable) = false ]; + repeated InTxTracker in_tx_tracker_list = 11 [ (gogoproto.nullable) = false ]; + ZetaAccounting zeta_accounting = 12 [ (gogoproto.nullable) = false ]; + repeated string FinalizedInbounds = 16; +} diff --git a/proto/crosschain/in_tx_hash_to_cctx.proto b/proto/zetachain/zetacore/crosschain/in_tx_hash_to_cctx.proto similarity index 100% rename from proto/crosschain/in_tx_hash_to_cctx.proto rename to proto/zetachain/zetacore/crosschain/in_tx_hash_to_cctx.proto diff --git a/proto/crosschain/in_tx_tracker.proto b/proto/zetachain/zetacore/crosschain/in_tx_tracker.proto similarity index 70% rename from proto/crosschain/in_tx_tracker.proto rename to proto/zetachain/zetacore/crosschain/in_tx_tracker.proto index a29d0d6f55..3d2de6d22c 100644 --- a/proto/crosschain/in_tx_tracker.proto +++ b/proto/zetachain/zetacore/crosschain/in_tx_tracker.proto @@ -1,12 +1,12 @@ syntax = "proto3"; package zetachain.zetacore.crosschain; -import "pkg/coin/coin.proto"; +import "zetachain/zetacore/pkg/coin/coin.proto"; option go_package = "github.com/zeta-chain/zetacore/x/crosschain/types"; message InTxTracker { int64 chain_id = 1; string tx_hash = 2; - coin.CoinType coin_type = 3; + pkg.coin.CoinType coin_type = 3; } diff --git a/proto/crosschain/last_block_height.proto b/proto/zetachain/zetacore/crosschain/last_block_height.proto similarity index 100% rename from proto/crosschain/last_block_height.proto rename to proto/zetachain/zetacore/crosschain/last_block_height.proto diff --git a/proto/crosschain/out_tx_tracker.proto b/proto/zetachain/zetacore/crosschain/out_tx_tracker.proto similarity index 100% rename from proto/crosschain/out_tx_tracker.proto rename to proto/zetachain/zetacore/crosschain/out_tx_tracker.proto diff --git a/proto/crosschain/query.proto b/proto/zetachain/zetacore/crosschain/query.proto similarity index 56% rename from proto/crosschain/query.proto rename to proto/zetachain/zetacore/crosschain/query.proto index 99ad6b4b72..0bae206f94 100644 --- a/proto/crosschain/query.proto +++ b/proto/zetachain/zetacore/crosschain/query.proto @@ -2,12 +2,12 @@ syntax = "proto3"; package zetachain.zetacore.crosschain; import "cosmos/base/query/v1beta1/pagination.proto"; -import "crosschain/cross_chain_tx.proto"; -import "crosschain/gas_price.proto"; -import "crosschain/in_tx_hash_to_cctx.proto"; -import "crosschain/in_tx_tracker.proto"; -import "crosschain/last_block_height.proto"; -import "crosschain/out_tx_tracker.proto"; +import "zetachain/zetacore/crosschain/cross_chain_tx.proto"; +import "zetachain/zetacore/crosschain/gas_price.proto"; +import "zetachain/zetacore/crosschain/in_tx_hash_to_cctx.proto"; +import "zetachain/zetacore/crosschain/in_tx_tracker.proto"; +import "zetachain/zetacore/crosschain/last_block_height.proto"; +import "zetachain/zetacore/crosschain/out_tx_tracker.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; @@ -16,38 +16,51 @@ option go_package = "github.com/zeta-chain/zetacore/x/crosschain/types"; // Query defines the gRPC querier service. service Query { // Queries a OutTxTracker by index. - rpc OutTxTracker(QueryGetOutTxTrackerRequest) returns (QueryGetOutTxTrackerResponse) { - option (google.api.http).get = "/zeta-chain/crosschain/outTxTracker/{chainID}/{nonce}"; + rpc OutTxTracker(QueryGetOutTxTrackerRequest) + returns (QueryGetOutTxTrackerResponse) { + option (google.api.http).get = + "/zeta-chain/crosschain/outTxTracker/{chainID}/{nonce}"; } // Queries a list of OutTxTracker items. - rpc OutTxTrackerAll(QueryAllOutTxTrackerRequest) returns (QueryAllOutTxTrackerResponse) { + rpc OutTxTrackerAll(QueryAllOutTxTrackerRequest) + returns (QueryAllOutTxTrackerResponse) { option (google.api.http).get = "/zeta-chain/crosschain/outTxTracker"; } - rpc OutTxTrackerAllByChain(QueryAllOutTxTrackerByChainRequest) returns (QueryAllOutTxTrackerByChainResponse) { - option (google.api.http).get = "/zeta-chain/crosschain/outTxTrackerByChain/{chain}"; + rpc OutTxTrackerAllByChain(QueryAllOutTxTrackerByChainRequest) + returns (QueryAllOutTxTrackerByChainResponse) { + option (google.api.http).get = + "/zeta-chain/crosschain/outTxTrackerByChain/{chain}"; } - rpc InTxTrackerAllByChain(QueryAllInTxTrackerByChainRequest) returns (QueryAllInTxTrackerByChainResponse) { - option (google.api.http).get = "/zeta-chain/crosschain/inTxTrackerByChain/{chain_id}"; + rpc InTxTrackerAllByChain(QueryAllInTxTrackerByChainRequest) + returns (QueryAllInTxTrackerByChainResponse) { + option (google.api.http).get = + "/zeta-chain/crosschain/inTxTrackerByChain/{chain_id}"; } - rpc InTxTrackerAll(QueryAllInTxTrackersRequest) returns (QueryAllInTxTrackersResponse) { + rpc InTxTrackerAll(QueryAllInTxTrackersRequest) + returns (QueryAllInTxTrackersResponse) { option (google.api.http).get = "/zeta-chain/crosschain/inTxTrackers"; } // Queries a InTxHashToCctx by index. - rpc InTxHashToCctx(QueryGetInTxHashToCctxRequest) returns (QueryGetInTxHashToCctxResponse) { - option (google.api.http).get = "/zeta-chain/crosschain/inTxHashToCctx/{inTxHash}"; + rpc InTxHashToCctx(QueryGetInTxHashToCctxRequest) + returns (QueryGetInTxHashToCctxResponse) { + option (google.api.http).get = + "/zeta-chain/crosschain/inTxHashToCctx/{inTxHash}"; } // Queries a InTxHashToCctx data by index. - rpc InTxHashToCctxData(QueryInTxHashToCctxDataRequest) returns (QueryInTxHashToCctxDataResponse) { - option (google.api.http).get = "/zeta-chain/crosschain/in_tx_hash_to_cctx_data/{inTxHash}"; + rpc InTxHashToCctxData(QueryInTxHashToCctxDataRequest) + returns (QueryInTxHashToCctxDataResponse) { + option (google.api.http).get = + "/zeta-chain/crosschain/in_tx_hash_to_cctx_data/{inTxHash}"; } // Queries a list of InTxHashToCctx items. - rpc InTxHashToCctxAll(QueryAllInTxHashToCctxRequest) returns (QueryAllInTxHashToCctxResponse) { + rpc InTxHashToCctxAll(QueryAllInTxHashToCctxRequest) + returns (QueryAllInTxHashToCctxResponse) { option (google.api.http).get = "/zeta-chain/crosschain/inTxHashToCctx"; } @@ -61,21 +74,26 @@ service Query { option (google.api.http).get = "/zeta-chain/crosschain/gasPrice"; } - rpc ConvertGasToZeta(QueryConvertGasToZetaRequest) returns (QueryConvertGasToZetaResponse) { + rpc ConvertGasToZeta(QueryConvertGasToZetaRequest) + returns (QueryConvertGasToZetaResponse) { option (google.api.http).get = "/zeta-chain/crosschain/convertGasToZeta"; } - rpc ProtocolFee(QueryMessagePassingProtocolFeeRequest) returns (QueryMessagePassingProtocolFeeResponse) { + rpc ProtocolFee(QueryMessagePassingProtocolFeeRequest) + returns (QueryMessagePassingProtocolFeeResponse) { option (google.api.http).get = "/zeta-chain/crosschain/protocolFee"; } // Queries a lastBlockHeight by index. - rpc LastBlockHeight(QueryGetLastBlockHeightRequest) returns (QueryGetLastBlockHeightResponse) { - option (google.api.http).get = "/zeta-chain/crosschain/lastBlockHeight/{index}"; + rpc LastBlockHeight(QueryGetLastBlockHeightRequest) + returns (QueryGetLastBlockHeightResponse) { + option (google.api.http).get = + "/zeta-chain/crosschain/lastBlockHeight/{index}"; } // Queries a list of lastBlockHeight items. - rpc LastBlockHeightAll(QueryAllLastBlockHeightRequest) returns (QueryAllLastBlockHeightResponse) { + rpc LastBlockHeightAll(QueryAllLastBlockHeightRequest) + returns (QueryAllLastBlockHeightResponse) { option (google.api.http).get = "/zeta-chain/crosschain/lastBlockHeight"; } // Queries a send by index. @@ -85,7 +103,8 @@ service Query { // Queries a send by nonce. rpc CctxByNonce(QueryGetCctxByNonceRequest) returns (QueryGetCctxResponse) { - option (google.api.http).get = "/zeta-chain/crosschain/cctx/{chainID}/{nonce}"; + option (google.api.http).get = + "/zeta-chain/crosschain/cctx/{chainID}/{nonce}"; } // Queries a list of send items. @@ -94,25 +113,26 @@ service Query { } // Queries a list of pending cctxs. - rpc CctxListPending(QueryListCctxPendingRequest) returns (QueryListCctxPendingResponse) { + rpc CctxListPending(QueryListCctxPendingRequest) + returns (QueryListCctxPendingResponse) { option (google.api.http).get = "/zeta-chain/crosschain/cctxPending"; } - rpc ZetaAccounting(QueryZetaAccountingRequest) returns (QueryZetaAccountingResponse) { + rpc ZetaAccounting(QueryZetaAccountingRequest) + returns (QueryZetaAccountingResponse) { option (google.api.http).get = "/zeta-chain/crosschain/zetaAccounting"; } // Queries a list of lastMetaHeight items. - rpc LastZetaHeight(QueryLastZetaHeightRequest) returns (QueryLastZetaHeightResponse) { + rpc LastZetaHeight(QueryLastZetaHeightRequest) + returns (QueryLastZetaHeightResponse) { option (google.api.http).get = "/zeta-chain/crosschain/lastZetaHeight"; } } message QueryZetaAccountingRequest {} -message QueryZetaAccountingResponse { - string aborted_zeta_amount = 1; -} +message QueryZetaAccountingResponse { string aborted_zeta_amount = 1; } message QueryGetOutTxTrackerRequest { int64 chainID = 1; @@ -120,7 +140,7 @@ message QueryGetOutTxTrackerRequest { } message QueryGetOutTxTrackerResponse { - OutTxTracker outTxTracker = 1 [(gogoproto.nullable) = false]; + OutTxTracker outTxTracker = 1 [ (gogoproto.nullable) = false ]; } message QueryAllOutTxTrackerRequest { @@ -128,7 +148,7 @@ message QueryAllOutTxTrackerRequest { } message QueryAllOutTxTrackerResponse { - repeated OutTxTracker outTxTracker = 1 [(gogoproto.nullable) = false]; + repeated OutTxTracker outTxTracker = 1 [ (gogoproto.nullable) = false ]; cosmos.base.query.v1beta1.PageResponse pagination = 2; } @@ -138,7 +158,7 @@ message QueryAllOutTxTrackerByChainRequest { } message QueryAllOutTxTrackerByChainResponse { - repeated OutTxTracker outTxTracker = 1 [(gogoproto.nullable) = false]; + repeated OutTxTracker outTxTracker = 1 [ (gogoproto.nullable) = false ]; cosmos.base.query.v1beta1.PageResponse pagination = 2; } @@ -148,7 +168,7 @@ message QueryAllInTxTrackerByChainRequest { } message QueryAllInTxTrackerByChainResponse { - repeated InTxTracker inTxTracker = 1 [(gogoproto.nullable) = false]; + repeated InTxTracker inTxTracker = 1 [ (gogoproto.nullable) = false ]; cosmos.base.query.v1beta1.PageResponse pagination = 2; } @@ -157,24 +177,20 @@ message QueryAllInTxTrackersRequest { } message QueryAllInTxTrackersResponse { - repeated InTxTracker inTxTracker = 1 [(gogoproto.nullable) = false]; + repeated InTxTracker inTxTracker = 1 [ (gogoproto.nullable) = false ]; cosmos.base.query.v1beta1.PageResponse pagination = 2; } -message QueryGetInTxHashToCctxRequest { - string inTxHash = 1; -} +message QueryGetInTxHashToCctxRequest { string inTxHash = 1; } message QueryGetInTxHashToCctxResponse { - InTxHashToCctx inTxHashToCctx = 1 [(gogoproto.nullable) = false]; + InTxHashToCctx inTxHashToCctx = 1 [ (gogoproto.nullable) = false ]; } -message QueryInTxHashToCctxDataRequest { - string inTxHash = 1; -} +message QueryInTxHashToCctxDataRequest { string inTxHash = 1; } message QueryInTxHashToCctxDataResponse { - repeated CrossChainTx CrossChainTxs = 1 [(gogoproto.nullable) = false]; + repeated CrossChainTx CrossChainTxs = 1 [ (gogoproto.nullable) = false ]; } message QueryAllInTxHashToCctxRequest { @@ -182,17 +198,13 @@ message QueryAllInTxHashToCctxRequest { } message QueryAllInTxHashToCctxResponse { - repeated InTxHashToCctx inTxHashToCctx = 1 [(gogoproto.nullable) = false]; + repeated InTxHashToCctx inTxHashToCctx = 1 [ (gogoproto.nullable) = false ]; cosmos.base.query.v1beta1.PageResponse pagination = 2; } -message QueryGetGasPriceRequest { - string index = 1; -} +message QueryGetGasPriceRequest { string index = 1; } -message QueryGetGasPriceResponse { - GasPrice GasPrice = 1; -} +message QueryGetGasPriceResponse { GasPrice GasPrice = 1; } message QueryAllGasPriceRequest { cosmos.base.query.v1beta1.PageRequest pagination = 1; @@ -203,13 +215,9 @@ message QueryAllGasPriceResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -message QueryGetLastBlockHeightRequest { - string index = 1; -} +message QueryGetLastBlockHeightRequest { string index = 1; } -message QueryGetLastBlockHeightResponse { - LastBlockHeight LastBlockHeight = 1; -} +message QueryGetLastBlockHeightResponse { LastBlockHeight LastBlockHeight = 1; } message QueryAllLastBlockHeightRequest { cosmos.base.query.v1beta1.PageRequest pagination = 1; @@ -220,18 +228,14 @@ message QueryAllLastBlockHeightResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -message QueryGetCctxRequest { - string index = 1; -} +message QueryGetCctxRequest { string index = 1; } message QueryGetCctxByNonceRequest { int64 chainID = 1; uint64 nonce = 2; } -message QueryGetCctxResponse { - CrossChainTx CrossChainTx = 1; -} +message QueryGetCctxResponse { CrossChainTx CrossChainTx = 1; } message QueryAllCctxRequest { cosmos.base.query.v1beta1.PageRequest pagination = 1; @@ -254,9 +258,7 @@ message QueryListCctxPendingResponse { message QueryLastZetaHeightRequest {} -message QueryLastZetaHeightResponse { - int64 Height = 1; -} +message QueryLastZetaHeightResponse { int64 Height = 1; } message QueryConvertGasToZetaRequest { int64 chainId = 1; @@ -271,6 +273,4 @@ message QueryConvertGasToZetaResponse { message QueryMessagePassingProtocolFeeRequest {} -message QueryMessagePassingProtocolFeeResponse { - string feeInZeta = 1; -} +message QueryMessagePassingProtocolFeeResponse { string feeInZeta = 1; } diff --git a/proto/crosschain/tx.proto b/proto/zetachain/zetacore/crosschain/tx.proto similarity index 73% rename from proto/crosschain/tx.proto rename to proto/zetachain/zetacore/crosschain/tx.proto index ab33e1e1bb..baad08cd72 100644 --- a/proto/crosschain/tx.proto +++ b/proto/zetachain/zetacore/crosschain/tx.proto @@ -2,27 +2,34 @@ syntax = "proto3"; package zetachain.zetacore.crosschain; import "gogoproto/gogo.proto"; -import "pkg/chains/chains.proto"; -import "pkg/coin/coin.proto"; -import "pkg/proofs/proofs.proto"; +import "zetachain/zetacore/pkg/chains/chains.proto"; +import "zetachain/zetacore/pkg/coin/coin.proto"; +import "zetachain/zetacore/pkg/proofs/proofs.proto"; option go_package = "github.com/zeta-chain/zetacore/x/crosschain/types"; // Msg defines the Msg service. service Msg { - rpc AddToOutTxTracker(MsgAddToOutTxTracker) returns (MsgAddToOutTxTrackerResponse); - rpc AddToInTxTracker(MsgAddToInTxTracker) returns (MsgAddToInTxTrackerResponse); - rpc RemoveFromOutTxTracker(MsgRemoveFromOutTxTracker) returns (MsgRemoveFromOutTxTrackerResponse); + rpc AddToOutTxTracker(MsgAddToOutTxTracker) + returns (MsgAddToOutTxTrackerResponse); + rpc AddToInTxTracker(MsgAddToInTxTracker) + returns (MsgAddToInTxTrackerResponse); + rpc RemoveFromOutTxTracker(MsgRemoveFromOutTxTracker) + returns (MsgRemoveFromOutTxTrackerResponse); rpc VoteGasPrice(MsgVoteGasPrice) returns (MsgVoteGasPriceResponse); - rpc VoteOnObservedOutboundTx(MsgVoteOnObservedOutboundTx) returns (MsgVoteOnObservedOutboundTxResponse); - rpc VoteOnObservedInboundTx(MsgVoteOnObservedInboundTx) returns (MsgVoteOnObservedInboundTxResponse); + rpc VoteOnObservedOutboundTx(MsgVoteOnObservedOutboundTx) + returns (MsgVoteOnObservedOutboundTxResponse); + rpc VoteOnObservedInboundTx(MsgVoteOnObservedInboundTx) + returns (MsgVoteOnObservedInboundTxResponse); rpc WhitelistERC20(MsgWhitelistERC20) returns (MsgWhitelistERC20Response); - rpc UpdateTssAddress(MsgUpdateTssAddress) returns (MsgUpdateTssAddressResponse); + rpc UpdateTssAddress(MsgUpdateTssAddress) + returns (MsgUpdateTssAddressResponse); rpc MigrateTssFunds(MsgMigrateTssFunds) returns (MsgMigrateTssFundsResponse); rpc AbortStuckCCTX(MsgAbortStuckCCTX) returns (MsgAbortStuckCCTXResponse); - rpc RefundAbortedCCTX(MsgRefundAbortedCCTX) returns (MsgRefundAbortedCCTXResponse); + rpc RefundAbortedCCTX(MsgRefundAbortedCCTX) + returns (MsgRefundAbortedCCTXResponse); } message MsgMigrateTssFunds { @@ -47,8 +54,8 @@ message MsgAddToInTxTracker { string creator = 1; int64 chain_id = 2; string tx_hash = 3; - coin.CoinType coin_type = 4; - proofs.Proof proof = 5; + pkg.coin.CoinType coin_type = 4; + pkg.proofs.Proof proof = 5; string block_hash = 6; int64 tx_index = 7; } @@ -74,13 +81,14 @@ message MsgAddToOutTxTracker { int64 chain_id = 2; uint64 nonce = 3; string tx_hash = 4; - proofs.Proof proof = 5; + pkg.proofs.Proof proof = 5; string block_hash = 6; int64 tx_index = 7; } message MsgAddToOutTxTrackerResponse { - bool is_removed = 1; // if the tx was removed from the tracker due to no pending cctx + bool is_removed = + 1; // if the tx was removed from the tracker due to no pending cctx } message MsgRemoveFromOutTxTracker { @@ -117,10 +125,10 @@ message MsgVoteOnObservedOutboundTx { (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"value_received\"" ]; - chains.ReceiveStatus status = 6; + pkg.chains.ReceiveStatus status = 6; int64 outTx_chain = 7; uint64 outTx_tss_nonce = 8; - coin.CoinType coin_type = 9; + pkg.coin.CoinType coin_type = 9; } message MsgVoteOnObservedOutboundTxResponse {} @@ -141,7 +149,7 @@ message MsgVoteOnObservedInboundTx { string in_tx_hash = 9; uint64 in_block_height = 10; uint64 gas_limit = 11; - coin.CoinType coin_type = 12; + pkg.coin.CoinType coin_type = 12; string tx_origin = 13; string asset = 14; // event index of the sent asset in the observed tx @@ -160,7 +168,8 @@ message MsgAbortStuckCCTXResponse {} message MsgRefundAbortedCCTX { string creator = 1; string cctx_index = 2; - string refund_address = 3; // if not provided, the refund will be sent to the sender/txOrgin + string refund_address = + 3; // if not provided, the refund will be sent to the sender/txOrgin } message MsgRefundAbortedCCTXResponse {} diff --git a/proto/emissions/events.proto b/proto/zetachain/zetacore/emissions/events.proto similarity index 100% rename from proto/emissions/events.proto rename to proto/zetachain/zetacore/emissions/events.proto diff --git a/proto/zetachain/zetacore/emissions/genesis.proto b/proto/zetachain/zetacore/emissions/genesis.proto new file mode 100644 index 0000000000..f9a7fa0ca4 --- /dev/null +++ b/proto/zetachain/zetacore/emissions/genesis.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; +package zetachain.zetacore.emissions; + +import "zetachain/zetacore/emissions/params.proto"; +import "zetachain/zetacore/emissions/withdrawable_emissions.proto"; +import "gogoproto/gogo.proto"; + +option go_package = "github.com/zeta-chain/zetacore/x/emissions/types"; + +// GenesisState defines the emissions module's genesis state. +message GenesisState { + Params params = 1 [ (gogoproto.nullable) = false ]; + repeated WithdrawableEmissions withdrawableEmissions = 2 + [ (gogoproto.nullable) = false ]; +} diff --git a/proto/emissions/params.proto b/proto/zetachain/zetacore/emissions/params.proto similarity index 100% rename from proto/emissions/params.proto rename to proto/zetachain/zetacore/emissions/params.proto diff --git a/proto/emissions/query.proto b/proto/zetachain/zetacore/emissions/query.proto similarity index 50% rename from proto/emissions/query.proto rename to proto/zetachain/zetacore/emissions/query.proto index 0b89ffc1f5..2247d3e2cc 100644 --- a/proto/emissions/query.proto +++ b/proto/zetachain/zetacore/emissions/query.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package zetachain.zetacore.emissions; import "cosmos/base/query/v1beta1/pagination.proto"; -import "emissions/params.proto"; +import "zetachain/zetacore/emissions/params.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; @@ -10,37 +10,29 @@ option go_package = "github.com/zeta-chain/zetacore/x/emissions/types"; // Query defines the gRPC querier service. service Query { - // Parameters queries the parameters of the module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/zeta-chain/emissions/params"; - } // Queries a list of ListBalances items. - rpc ListPoolAddresses(QueryListPoolAddressesRequest) returns (QueryListPoolAddressesResponse) { + rpc ListPoolAddresses(QueryListPoolAddressesRequest) + returns (QueryListPoolAddressesResponse) { option (google.api.http).get = "/zeta-chain/emissions/list_addresses"; } // Queries a list of GetEmmisonsFactors items. - rpc GetEmissionsFactors(QueryGetEmissionsFactorsRequest) returns (QueryGetEmissionsFactorsResponse) { - option (google.api.http).get = "/zeta-chain/emissions/get_emissions_factors"; + rpc GetEmissionsFactors(QueryGetEmissionsFactorsRequest) + returns (QueryGetEmissionsFactorsResponse) { + option (google.api.http).get = + "/zeta-chain/emissions/get_emissions_factors"; } // Queries a list of ShowAvailableEmissions items. - rpc ShowAvailableEmissions(QueryShowAvailableEmissionsRequest) returns (QueryShowAvailableEmissionsResponse) { - option (google.api.http).get = "/zeta-chain/emissions/show_available_emissions/{address}"; + rpc ShowAvailableEmissions(QueryShowAvailableEmissionsRequest) + returns (QueryShowAvailableEmissionsResponse) { + option (google.api.http).get = + "/zeta-chain/emissions/show_available_emissions/{address}"; } // this line is used by starport scaffolding # 2 } -// QueryParamsRequest is request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is response type for the Query/Params RPC method. -message QueryParamsResponse { - // params holds all the parameters of this module. - Params params = 1 [(gogoproto.nullable) = false]; -} - message QueryListPoolAddressesRequest {} message QueryListPoolAddressesResponse { @@ -57,12 +49,8 @@ message QueryGetEmissionsFactorsResponse { string durationFactor = 3; } -message QueryShowAvailableEmissionsRequest { - string address = 1; -} +message QueryShowAvailableEmissionsRequest { string address = 1; } -message QueryShowAvailableEmissionsResponse { - string amount = 1; -} +message QueryShowAvailableEmissionsResponse { string amount = 1; } // this line is used by starport scaffolding # 3 diff --git a/proto/emissions/tx.proto b/proto/zetachain/zetacore/emissions/tx.proto similarity index 57% rename from proto/emissions/tx.proto rename to proto/zetachain/zetacore/emissions/tx.proto index 90e8acd4aa..0061b724ac 100644 --- a/proto/emissions/tx.proto +++ b/proto/zetachain/zetacore/emissions/tx.proto @@ -1,15 +1,15 @@ syntax = "proto3"; package zetachain.zetacore.emissions; -import "emissions/params.proto"; +import "zetachain/zetacore/emissions/params.proto"; import "gogoproto/gogo.proto"; option go_package = "github.com/zeta-chain/zetacore/x/emissions/types"; // Msg defines the Msg service. service Msg { - rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); - rpc WithdrawEmission(MsgWithdrawEmission) returns (MsgWithdrawEmissionResponse); + rpc WithdrawEmission(MsgWithdrawEmission) + returns (MsgWithdrawEmissionResponse); } message MsgWithdrawEmission { @@ -21,10 +21,3 @@ message MsgWithdrawEmission { } message MsgWithdrawEmissionResponse {} - -message MsgUpdateParams { - string authority = 1; - Params params = 2 [(gogoproto.nullable) = false]; -} - -message MsgUpdateParamsResponse {} diff --git a/proto/emissions/withdrawable_emissions.proto b/proto/zetachain/zetacore/emissions/withdrawable_emissions.proto similarity index 100% rename from proto/emissions/withdrawable_emissions.proto rename to proto/zetachain/zetacore/emissions/withdrawable_emissions.proto diff --git a/proto/fungible/events.proto b/proto/zetachain/zetacore/fungible/events.proto similarity index 89% rename from proto/fungible/events.proto rename to proto/zetachain/zetacore/fungible/events.proto index 6e47edbfb8..406da2c94d 100644 --- a/proto/fungible/events.proto +++ b/proto/zetachain/zetacore/fungible/events.proto @@ -1,9 +1,9 @@ syntax = "proto3"; package zetachain.zetacore.fungible; -import "fungible/tx.proto"; +import "zetachain/zetacore/fungible/tx.proto"; import "gogoproto/gogo.proto"; -import "pkg/coin/coin.proto"; +import "zetachain/zetacore/pkg/coin/coin.proto"; option go_package = "github.com/zeta-chain/zetacore/x/fungible/types"; @@ -21,7 +21,7 @@ message EventZRC20Deployed { string name = 4; string symbol = 5; int64 decimals = 6; - coin.CoinType coin_type = 7; + pkg.coin.CoinType coin_type = 7; string erc20 = 8; int64 gas_limit = 9; } @@ -29,7 +29,7 @@ message EventZRC20Deployed { message EventZRC20WithdrawFeeUpdated { string msg_type_url = 1; int64 chain_id = 2; - coin.CoinType coin_type = 3; + pkg.coin.CoinType coin_type = 3; string zrc20_address = 4; string old_withdraw_fee = 5; string new_withdraw_fee = 6; diff --git a/proto/fungible/foreign_coins.proto b/proto/zetachain/zetacore/fungible/foreign_coins.proto similarity index 86% rename from proto/fungible/foreign_coins.proto rename to proto/zetachain/zetacore/fungible/foreign_coins.proto index e943d6b574..d82bbabdb2 100644 --- a/proto/fungible/foreign_coins.proto +++ b/proto/zetachain/zetacore/fungible/foreign_coins.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package zetachain.zetacore.fungible; import "gogoproto/gogo.proto"; -import "pkg/coin/coin.proto"; +import "zetachain/zetacore/pkg/coin/coin.proto"; option go_package = "github.com/zeta-chain/zetacore/x/fungible/types"; @@ -14,7 +14,7 @@ message ForeignCoins { uint32 decimals = 5; string name = 6; string symbol = 7; - coin.CoinType coin_type = 8; + pkg.coin.CoinType coin_type = 8; uint64 gas_limit = 9; bool paused = 10; string liquidity_cap = 11 [ diff --git a/proto/fungible/genesis.proto b/proto/zetachain/zetacore/fungible/genesis.proto similarity index 59% rename from proto/fungible/genesis.proto rename to proto/zetachain/zetacore/fungible/genesis.proto index d630ff482f..de4e87a336 100644 --- a/proto/fungible/genesis.proto +++ b/proto/zetachain/zetacore/fungible/genesis.proto @@ -1,14 +1,14 @@ syntax = "proto3"; package zetachain.zetacore.fungible; -import "fungible/foreign_coins.proto"; -import "fungible/system_contract.proto"; +import "zetachain/zetacore/fungible/foreign_coins.proto"; +import "zetachain/zetacore/fungible/system_contract.proto"; import "gogoproto/gogo.proto"; option go_package = "github.com/zeta-chain/zetacore/x/fungible/types"; // GenesisState defines the fungible module's genesis state. message GenesisState { - repeated ForeignCoins foreignCoinsList = 2 [(gogoproto.nullable) = false]; + repeated ForeignCoins foreignCoinsList = 2 [ (gogoproto.nullable) = false ]; SystemContract systemContract = 3; } diff --git a/proto/fungible/query.proto b/proto/zetachain/zetacore/fungible/query.proto similarity index 52% rename from proto/fungible/query.proto rename to proto/zetachain/zetacore/fungible/query.proto index 17c3779512..150ef50b6b 100644 --- a/proto/fungible/query.proto +++ b/proto/zetachain/zetacore/fungible/query.proto @@ -2,8 +2,8 @@ syntax = "proto3"; package zetachain.zetacore.fungible; import "cosmos/base/query/v1beta1/pagination.proto"; -import "fungible/foreign_coins.proto"; -import "fungible/system_contract.proto"; +import "zetachain/zetacore/fungible/foreign_coins.proto"; +import "zetachain/zetacore/fungible/system_contract.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; @@ -12,33 +12,42 @@ option go_package = "github.com/zeta-chain/zetacore/x/fungible/types"; // Query defines the gRPC querier service. service Query { // Queries a ForeignCoins by index. - rpc ForeignCoins(QueryGetForeignCoinsRequest) returns (QueryGetForeignCoinsResponse) { + rpc ForeignCoins(QueryGetForeignCoinsRequest) + returns (QueryGetForeignCoinsResponse) { option (google.api.http).get = "/zeta-chain/fungible/foreign_coins/{index}"; } // Queries a list of ForeignCoins items. - rpc ForeignCoinsAll(QueryAllForeignCoinsRequest) returns (QueryAllForeignCoinsResponse) { + rpc ForeignCoinsAll(QueryAllForeignCoinsRequest) + returns (QueryAllForeignCoinsResponse) { option (google.api.http).get = "/zeta-chain/fungible/foreign_coins"; } // Queries SystemContract - rpc SystemContract(QueryGetSystemContractRequest) returns (QueryGetSystemContractResponse) { + rpc SystemContract(QueryGetSystemContractRequest) + returns (QueryGetSystemContractResponse) { option (google.api.http).get = "/zeta-chain/fungible/system_contract"; } // Queries the address of a gas stability pool on a given chain. - rpc GasStabilityPoolAddress(QueryGetGasStabilityPoolAddress) returns (QueryGetGasStabilityPoolAddressResponse) { - option (google.api.http).get = "/zeta-chain/fungible/gas_stability_pool_address"; + rpc GasStabilityPoolAddress(QueryGetGasStabilityPoolAddress) + returns (QueryGetGasStabilityPoolAddressResponse) { + option (google.api.http).get = + "/zeta-chain/fungible/gas_stability_pool_address"; } // Queries the balance of a gas stability pool on a given chain. - rpc GasStabilityPoolBalance(QueryGetGasStabilityPoolBalance) returns (QueryGetGasStabilityPoolBalanceResponse) { - option (google.api.http).get = "/zeta-chain/fungible/gas_stability_pool_balance/{chain_id}"; + rpc GasStabilityPoolBalance(QueryGetGasStabilityPoolBalance) + returns (QueryGetGasStabilityPoolBalanceResponse) { + option (google.api.http).get = + "/zeta-chain/fungible/gas_stability_pool_balance/{chain_id}"; } // Queries all gas stability pool balances. - rpc GasStabilityPoolBalanceAll(QueryAllGasStabilityPoolBalance) returns (QueryAllGasStabilityPoolBalanceResponse) { - option (google.api.http).get = "/zeta-chain/zetacore/fungible/gas_stability_pool_balance"; + rpc GasStabilityPoolBalanceAll(QueryAllGasStabilityPoolBalance) + returns (QueryAllGasStabilityPoolBalanceResponse) { + option (google.api.http).get = + "/zeta-chain/zetacore/fungible/gas_stability_pool_balance"; } // Code hash query the code hash of a contract. @@ -47,12 +56,10 @@ service Query { } } -message QueryGetForeignCoinsRequest { - string index = 1; -} +message QueryGetForeignCoinsRequest { string index = 1; } message QueryGetForeignCoinsResponse { - ForeignCoins foreignCoins = 1 [(gogoproto.nullable) = false]; + ForeignCoins foreignCoins = 1 [ (gogoproto.nullable) = false ]; } message QueryAllForeignCoinsRequest { @@ -60,14 +67,14 @@ message QueryAllForeignCoinsRequest { } message QueryAllForeignCoinsResponse { - repeated ForeignCoins foreignCoins = 1 [(gogoproto.nullable) = false]; + repeated ForeignCoins foreignCoins = 1 [ (gogoproto.nullable) = false ]; cosmos.base.query.v1beta1.PageResponse pagination = 2; } message QueryGetSystemContractRequest {} message QueryGetSystemContractResponse { - SystemContract SystemContract = 1 [(gogoproto.nullable) = false]; + SystemContract SystemContract = 1 [ (gogoproto.nullable) = false ]; } message QueryGetGasStabilityPoolAddress {} @@ -77,13 +84,9 @@ message QueryGetGasStabilityPoolAddressResponse { string evm_address = 2; } -message QueryGetGasStabilityPoolBalance { - int64 chain_id = 1; -} +message QueryGetGasStabilityPoolBalance { int64 chain_id = 1; } -message QueryGetGasStabilityPoolBalanceResponse { - string balance = 2; -} +message QueryGetGasStabilityPoolBalanceResponse { string balance = 2; } message QueryAllGasStabilityPoolBalance {} @@ -92,13 +95,9 @@ message QueryAllGasStabilityPoolBalanceResponse { int64 chain_id = 1; string balance = 2; } - repeated Balance balances = 1 [(gogoproto.nullable) = false]; + repeated Balance balances = 1 [ (gogoproto.nullable) = false ]; } -message QueryCodeHashRequest { - string address = 1; -} +message QueryCodeHashRequest { string address = 1; } -message QueryCodeHashResponse { - string code_hash = 1; -} +message QueryCodeHashResponse { string code_hash = 1; } diff --git a/proto/fungible/system_contract.proto b/proto/zetachain/zetacore/fungible/system_contract.proto similarity index 100% rename from proto/fungible/system_contract.proto rename to proto/zetachain/zetacore/fungible/system_contract.proto diff --git a/proto/fungible/tx.proto b/proto/zetachain/zetacore/fungible/tx.proto similarity index 65% rename from proto/fungible/tx.proto rename to proto/zetachain/zetacore/fungible/tx.proto index 9ba063b43a..3090591e2d 100644 --- a/proto/fungible/tx.proto +++ b/proto/zetachain/zetacore/fungible/tx.proto @@ -2,25 +2,31 @@ syntax = "proto3"; package zetachain.zetacore.fungible; import "gogoproto/gogo.proto"; -import "pkg/coin/coin.proto"; +import "zetachain/zetacore/pkg/coin/coin.proto"; option go_package = "github.com/zeta-chain/zetacore/x/fungible/types"; // Msg defines the Msg service. service Msg { - rpc DeploySystemContracts(MsgDeploySystemContracts) returns (MsgDeploySystemContractsResponse); - rpc DeployFungibleCoinZRC20(MsgDeployFungibleCoinZRC20) returns (MsgDeployFungibleCoinZRC20Response); - rpc RemoveForeignCoin(MsgRemoveForeignCoin) returns (MsgRemoveForeignCoinResponse); - rpc UpdateSystemContract(MsgUpdateSystemContract) returns (MsgUpdateSystemContractResponse); - rpc UpdateContractBytecode(MsgUpdateContractBytecode) returns (MsgUpdateContractBytecodeResponse); - rpc UpdateZRC20WithdrawFee(MsgUpdateZRC20WithdrawFee) returns (MsgUpdateZRC20WithdrawFeeResponse); - rpc UpdateZRC20PausedStatus(MsgUpdateZRC20PausedStatus) returns (MsgUpdateZRC20PausedStatusResponse); - rpc UpdateZRC20LiquidityCap(MsgUpdateZRC20LiquidityCap) returns (MsgUpdateZRC20LiquidityCapResponse); + rpc DeploySystemContracts(MsgDeploySystemContracts) + returns (MsgDeploySystemContractsResponse); + rpc DeployFungibleCoinZRC20(MsgDeployFungibleCoinZRC20) + returns (MsgDeployFungibleCoinZRC20Response); + rpc RemoveForeignCoin(MsgRemoveForeignCoin) + returns (MsgRemoveForeignCoinResponse); + rpc UpdateSystemContract(MsgUpdateSystemContract) + returns (MsgUpdateSystemContractResponse); + rpc UpdateContractBytecode(MsgUpdateContractBytecode) + returns (MsgUpdateContractBytecodeResponse); + rpc UpdateZRC20WithdrawFee(MsgUpdateZRC20WithdrawFee) + returns (MsgUpdateZRC20WithdrawFeeResponse); + rpc UpdateZRC20PausedStatus(MsgUpdateZRC20PausedStatus) + returns (MsgUpdateZRC20PausedStatusResponse); + rpc UpdateZRC20LiquidityCap(MsgUpdateZRC20LiquidityCap) + returns (MsgUpdateZRC20LiquidityCapResponse); } -message MsgDeploySystemContracts { - string creator = 1; -} +message MsgDeploySystemContracts { string creator = 1; } message MsgDeploySystemContractsResponse { string uniswapV2Factory = 1; @@ -59,13 +65,11 @@ message MsgDeployFungibleCoinZRC20 { uint32 decimals = 4; string name = 5; string symbol = 6; - coin.CoinType coin_type = 7; + pkg.coin.CoinType coin_type = 7; int64 gas_limit = 8; } -message MsgDeployFungibleCoinZRC20Response { - string address = 1; -} +message MsgDeployFungibleCoinZRC20Response { string address = 1; } message MsgRemoveForeignCoin { string creator = 1; diff --git a/proto/lightclient/chain_state.proto b/proto/zetachain/zetacore/lightclient/chain_state.proto similarity index 100% rename from proto/lightclient/chain_state.proto rename to proto/zetachain/zetacore/lightclient/chain_state.proto diff --git a/proto/zetachain/zetacore/lightclient/genesis.proto b/proto/zetachain/zetacore/lightclient/genesis.proto new file mode 100644 index 0000000000..7774f2baff --- /dev/null +++ b/proto/zetachain/zetacore/lightclient/genesis.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package zetachain.zetacore.lightclient; + +import "gogoproto/gogo.proto"; +import "zetachain/zetacore/lightclient/chain_state.proto"; +import "zetachain/zetacore/lightclient/verification_flags.proto"; +import "zetachain/zetacore/pkg/proofs/proofs.proto"; + +option go_package = "github.com/zeta-chain/zetacore/x/lightclient/types"; + +// GenesisState defines the lightclient module's genesis state. +message GenesisState { + repeated pkg.proofs.BlockHeader block_headers = 1 + [ (gogoproto.nullable) = false ]; + repeated ChainState chain_states = 2 [ (gogoproto.nullable) = false ]; + VerificationFlags verification_flags = 3 [ (gogoproto.nullable) = false ]; +} diff --git a/proto/zetachain/zetacore/lightclient/query.proto b/proto/zetachain/zetacore/lightclient/query.proto new file mode 100644 index 0000000000..ffc76dc5f2 --- /dev/null +++ b/proto/zetachain/zetacore/lightclient/query.proto @@ -0,0 +1,88 @@ +syntax = "proto3"; +package zetachain.zetacore.lightclient; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "zetachain/zetacore/lightclient/chain_state.proto"; +import "zetachain/zetacore/lightclient/verification_flags.proto"; +import "zetachain/zetacore/pkg/proofs/proofs.proto"; + +option go_package = "github.com/zeta-chain/zetacore/x/lightclient/types"; + +// Query defines the gRPC querier service. +service Query { + rpc BlockHeaderAll(QueryAllBlockHeaderRequest) + returns (QueryAllBlockHeaderResponse) { + option (google.api.http).get = "/zeta-chain/lightclient/block_headers"; + } + + rpc BlockHeader(QueryGetBlockHeaderRequest) + returns (QueryGetBlockHeaderResponse) { + option (google.api.http).get = + "/zeta-chain/lightclient/block_headers/{block_hash}"; + } + + rpc ChainStateAll(QueryAllChainStateRequest) + returns (QueryAllChainStateResponse) { + option (google.api.http).get = "/zeta-chain/lightclient/chain_state"; + } + + rpc ChainState(QueryGetChainStateRequest) + returns (QueryGetChainStateResponse) { + option (google.api.http).get = + "/zeta-chain/lightclient/chain_state/{chain_id}"; + } + + rpc Prove(QueryProveRequest) returns (QueryProveResponse) { + option (google.api.http).get = "/zeta-chain/lightclient/prove"; + } + + rpc VerificationFlags(QueryVerificationFlagsRequest) + returns (QueryVerificationFlagsResponse) { + option (google.api.http).get = "/zeta-chain/lightclient/verification_flags"; + } +} + +message QueryAllBlockHeaderRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +message QueryAllBlockHeaderResponse { + repeated pkg.proofs.BlockHeader block_headers = 1 + [ (gogoproto.nullable) = false ]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +message QueryGetBlockHeaderRequest { bytes block_hash = 1; } + +message QueryGetBlockHeaderResponse { pkg.proofs.BlockHeader block_header = 1; } + +message QueryAllChainStateRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +message QueryAllChainStateResponse { + repeated ChainState chain_state = 1 [ (gogoproto.nullable) = false ]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +message QueryGetChainStateRequest { int64 chain_id = 1; } + +message QueryGetChainStateResponse { ChainState chain_state = 1; } + +message QueryProveRequest { + int64 chain_id = 1; + string tx_hash = 2; + pkg.proofs.Proof proof = 3; + string block_hash = 4; + int64 tx_index = 5; +} + +message QueryProveResponse { bool valid = 1; } + +message QueryVerificationFlagsRequest {} + +message QueryVerificationFlagsResponse { + VerificationFlags verification_flags = 1 [ (gogoproto.nullable) = false ]; +} diff --git a/proto/lightclient/tx.proto b/proto/zetachain/zetacore/lightclient/tx.proto similarity index 56% rename from proto/lightclient/tx.proto rename to proto/zetachain/zetacore/lightclient/tx.proto index fcaad913c6..ae170b9093 100644 --- a/proto/lightclient/tx.proto +++ b/proto/zetachain/zetacore/lightclient/tx.proto @@ -2,18 +2,19 @@ syntax = "proto3"; package zetachain.zetacore.lightclient; import "gogoproto/gogo.proto"; -import "lightclient/verification_flags.proto"; +import "zetachain/zetacore/lightclient/verification_flags.proto"; option go_package = "github.com/zeta-chain/zetacore/x/lightclient/types"; // Msg defines the Msg service. service Msg { - rpc UpdateVerificationFlags(MsgUpdateVerificationFlags) returns (MsgUpdateVerificationFlagsResponse); + rpc UpdateVerificationFlags(MsgUpdateVerificationFlags) + returns (MsgUpdateVerificationFlagsResponse); } message MsgUpdateVerificationFlags { string creator = 1; - VerificationFlags verification_flags = 2 [(gogoproto.nullable) = false]; + VerificationFlags verification_flags = 2 [ (gogoproto.nullable) = false ]; } message MsgUpdateVerificationFlagsResponse {} diff --git a/proto/lightclient/verification_flags.proto b/proto/zetachain/zetacore/lightclient/verification_flags.proto similarity index 83% rename from proto/lightclient/verification_flags.proto rename to proto/zetachain/zetacore/lightclient/verification_flags.proto index 5d9e85fa2f..5008a6df35 100644 --- a/proto/lightclient/verification_flags.proto +++ b/proto/zetachain/zetacore/lightclient/verification_flags.proto @@ -3,7 +3,8 @@ package zetachain.zetacore.lightclient; option go_package = "github.com/zeta-chain/zetacore/x/lightclient/types"; -// VerificationFlags is a structure containing information which chain types are enabled for block header verification +// VerificationFlags is a structure containing information which chain types are +// enabled for block header verification message VerificationFlags { bool ethTypeChainEnabled = 1; bool btcTypeChainEnabled = 2; diff --git a/proto/observer/ballot.proto b/proto/zetachain/zetacore/observer/ballot.proto similarity index 83% rename from proto/observer/ballot.proto rename to proto/zetachain/zetacore/observer/ballot.proto index aa871cff35..7b25e03910 100644 --- a/proto/observer/ballot.proto +++ b/proto/zetachain/zetacore/observer/ballot.proto @@ -2,14 +2,16 @@ syntax = "proto3"; package zetachain.zetacore.observer; import "gogoproto/gogo.proto"; -import "observer/observer.proto"; +import "zetachain/zetacore/observer/observer.proto"; option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; enum VoteType { option (gogoproto.goproto_enum_stringer) = true; SuccessObservation = 0; - FailureObservation = 1; // Failure observation means , the the message that this voter is observing failed / reverted . It does not mean it was unable to observe. + FailureObservation = 1; // Failure observation means , the the message that + // this voter is observing failed / reverted . It does + // not mean it was unable to observe. NotYetVoted = 2; } diff --git a/proto/observer/blame.proto b/proto/zetachain/zetacore/observer/blame.proto similarity index 85% rename from proto/observer/blame.proto rename to proto/zetachain/zetacore/observer/blame.proto index 33a8d18452..8894b2ce0d 100644 --- a/proto/observer/blame.proto +++ b/proto/zetachain/zetacore/observer/blame.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package zetachain.zetacore.observer; -import "observer/observer.proto"; +import "zetachain/zetacore/observer/observer.proto"; option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; diff --git a/proto/observer/chain_nonces.proto b/proto/zetachain/zetacore/observer/chain_nonces.proto similarity index 100% rename from proto/observer/chain_nonces.proto rename to proto/zetachain/zetacore/observer/chain_nonces.proto diff --git a/proto/observer/crosschain_flags.proto b/proto/zetachain/zetacore/observer/crosschain_flags.proto similarity index 88% rename from proto/observer/crosschain_flags.proto rename to proto/zetachain/zetacore/observer/crosschain_flags.proto index 1871963c9b..3e9b306881 100644 --- a/proto/observer/crosschain_flags.proto +++ b/proto/zetachain/zetacore/observer/crosschain_flags.proto @@ -8,17 +8,16 @@ option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; message GasPriceIncreaseFlags { int64 epochLength = 1; - google.protobuf.Duration retryInterval = 2 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true - ]; + google.protobuf.Duration retryInterval = 2 + [ (gogoproto.nullable) = false, (gogoproto.stdduration) = true ]; uint32 gasPriceIncreasePercent = 3; // Maximum gas price increase in percent of the median gas price // Default is used if 0 uint32 gasPriceIncreaseMax = 4; - // Maximum number of pending crosschain transactions to check for gas price increase + // Maximum number of pending crosschain transactions to check for gas price + // increase uint32 maxPendingCctxs = 5; } diff --git a/proto/observer/events.proto b/proto/zetachain/zetacore/observer/events.proto similarity index 89% rename from proto/observer/events.proto rename to proto/zetachain/zetacore/observer/events.proto index 88bd20fe39..7f7513036e 100644 --- a/proto/observer/events.proto +++ b/proto/zetachain/zetacore/observer/events.proto @@ -2,8 +2,8 @@ syntax = "proto3"; package zetachain.zetacore.observer; import "gogoproto/gogo.proto"; -import "observer/crosschain_flags.proto"; -import "observer/observer.proto"; +import "zetachain/zetacore/observer/crosschain_flags.proto"; +import "zetachain/zetacore/observer/observer.proto"; option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; diff --git a/proto/zetachain/zetacore/observer/genesis.proto b/proto/zetachain/zetacore/observer/genesis.proto new file mode 100644 index 0000000000..6c4d929d09 --- /dev/null +++ b/proto/zetachain/zetacore/observer/genesis.proto @@ -0,0 +1,36 @@ +syntax = "proto3"; +package zetachain.zetacore.observer; + +import "gogoproto/gogo.proto"; +import "zetachain/zetacore/observer/ballot.proto"; +import "zetachain/zetacore/observer/blame.proto"; +import "zetachain/zetacore/observer/chain_nonces.proto"; +import "zetachain/zetacore/observer/crosschain_flags.proto"; +import "zetachain/zetacore/observer/keygen.proto"; +import "zetachain/zetacore/observer/node_account.proto"; +import "zetachain/zetacore/observer/nonce_to_cctx.proto"; +import "zetachain/zetacore/observer/observer.proto"; +import "zetachain/zetacore/observer/params.proto"; +import "zetachain/zetacore/observer/pending_nonces.proto"; +import "zetachain/zetacore/observer/tss.proto"; +import "zetachain/zetacore/observer/tss_funds_migrator.proto"; + +option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; + +message GenesisState { + repeated Ballot ballots = 1; + ObserverSet observers = 2 [ (gogoproto.nullable) = false ]; + repeated NodeAccount nodeAccountList = 3; + CrosschainFlags crosschain_flags = 4; + Keygen keygen = 6; + LastObserverCount last_observer_count = 7; + ChainParamsList chain_params_list = 8 [ (gogoproto.nullable) = false ]; + TSS tss = 9; + repeated TSS tss_history = 10 [ (gogoproto.nullable) = false ]; + repeated TssFundMigratorInfo tss_fund_migrators = 11 + [ (gogoproto.nullable) = false ]; + repeated Blame blame_list = 12 [ (gogoproto.nullable) = false ]; + repeated PendingNonces pending_nonces = 13 [ (gogoproto.nullable) = false ]; + repeated ChainNonces chain_nonces = 14 [ (gogoproto.nullable) = false ]; + repeated NonceToCctx nonce_to_cctx = 15 [ (gogoproto.nullable) = false ]; +} diff --git a/proto/observer/keygen.proto b/proto/zetachain/zetacore/observer/keygen.proto similarity index 100% rename from proto/observer/keygen.proto rename to proto/zetachain/zetacore/observer/keygen.proto diff --git a/proto/observer/node_account.proto b/proto/zetachain/zetacore/observer/node_account.proto similarity index 81% rename from proto/observer/node_account.proto rename to proto/zetachain/zetacore/observer/node_account.proto index ed6141e23e..3849983634 100644 --- a/proto/observer/node_account.proto +++ b/proto/zetachain/zetacore/observer/node_account.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package zetachain.zetacore.observer; import "gogoproto/gogo.proto"; -import "pkg/crypto/crypto.proto"; +import "zetachain/zetacore/pkg/crypto/crypto.proto"; option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; @@ -19,6 +19,6 @@ enum NodeStatus { message NodeAccount { string operator = 1; string granteeAddress = 2; - crypto.PubKeySet granteePubkey = 3; + pkg.crypto.PubKeySet granteePubkey = 3; NodeStatus nodeStatus = 4; } diff --git a/proto/observer/nonce_to_cctx.proto b/proto/zetachain/zetacore/observer/nonce_to_cctx.proto similarity index 100% rename from proto/observer/nonce_to_cctx.proto rename to proto/zetachain/zetacore/observer/nonce_to_cctx.proto diff --git a/proto/observer/observer.proto b/proto/zetachain/zetacore/observer/observer.proto similarity index 80% rename from proto/observer/observer.proto rename to proto/zetachain/zetacore/observer/observer.proto index 575eea04f1..cb980529c4 100644 --- a/proto/observer/observer.proto +++ b/proto/zetachain/zetacore/observer/observer.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package zetachain.zetacore.observer; import "gogoproto/gogo.proto"; -import "pkg/chains/chains.proto"; +import "zetachain/zetacore/pkg/chains/chains.proto"; option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; @@ -24,13 +24,11 @@ enum ObserverUpdateReason { message ObserverMapper { string index = 1; - chains.Chain observer_chain = 2; + pkg.chains.Chain observer_chain = 2; repeated string observer_list = 4; } -message ObserverSet { - repeated string observer_list = 1; -} +message ObserverSet { repeated string observer_list = 1; } message LastObserverCount { uint64 count = 1; diff --git a/proto/observer/params.proto b/proto/zetachain/zetacore/observer/params.proto similarity index 62% rename from proto/observer/params.proto rename to proto/zetachain/zetacore/observer/params.proto index 9d8f12ac9d..6fd2b1c174 100644 --- a/proto/observer/params.proto +++ b/proto/zetachain/zetacore/observer/params.proto @@ -2,14 +2,12 @@ syntax = "proto3"; package zetachain.zetacore.observer; import "gogoproto/gogo.proto"; -import "observer/observer.proto"; -import "pkg/chains/chains.proto"; +import "zetachain/zetacore/observer/observer.proto"; +import "zetachain/zetacore/pkg/chains/chains.proto"; option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; -message ChainParamsList { - repeated ChainParams chain_params = 1; -} +message ChainParamsList { repeated ChainParams chain_params = 1; } message ChainParams { int64 chain_id = 11; @@ -32,18 +30,4 @@ message ChainParams { (gogoproto.nullable) = false ]; bool is_supported = 16; -} - -// Deprecated(v13): Use ChainParamsList -message ObserverParams { - chains.Chain chain = 1; - string ballot_threshold = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string min_observer_delegation = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - bool is_supported = 5; -} +} \ No newline at end of file diff --git a/proto/observer/pending_nonces.proto b/proto/zetachain/zetacore/observer/pending_nonces.proto similarity index 100% rename from proto/observer/pending_nonces.proto rename to proto/zetachain/zetacore/observer/pending_nonces.proto diff --git a/proto/zetachain/zetacore/observer/query.proto b/proto/zetachain/zetacore/observer/query.proto new file mode 100644 index 0000000000..ef06616b2e --- /dev/null +++ b/proto/zetachain/zetacore/observer/query.proto @@ -0,0 +1,298 @@ +syntax = "proto3"; +package zetachain.zetacore.observer; + +import "cosmos/base/query/v1beta1/pagination.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "zetachain/zetacore/observer/ballot.proto"; +import "zetachain/zetacore/observer/blame.proto"; +import "zetachain/zetacore/observer/chain_nonces.proto"; +import "zetachain/zetacore/observer/crosschain_flags.proto"; +import "zetachain/zetacore/observer/keygen.proto"; +import "zetachain/zetacore/observer/node_account.proto"; +import "zetachain/zetacore/observer/observer.proto"; +import "zetachain/zetacore/observer/params.proto"; +import "zetachain/zetacore/observer/pending_nonces.proto"; +import "zetachain/zetacore/observer/tss.proto"; +import "zetachain/zetacore/pkg/chains/chains.proto"; +import "zetachain/zetacore/pkg/proofs/proofs.proto"; + +option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; + +// Query defines the gRPC querier service. +service Query { + // Query if a voter has voted for a ballot + rpc HasVoted(QueryHasVotedRequest) returns (QueryHasVotedResponse) { + option (google.api.http).get = + "/zeta-chain/observer/has_voted/{ballot_identifier}/{voter_address}"; + } + // Queries a list of VoterByIdentifier items. + rpc BallotByIdentifier(QueryBallotByIdentifierRequest) + returns (QueryBallotByIdentifierResponse) { + option (google.api.http).get = + "/zeta-chain/observer/ballot_by_identifier/{ballot_identifier}"; + } + + // Queries a list of ObserversByChainAndType items. + rpc ObserverSet(QueryObserverSet) returns (QueryObserverSetResponse) { + option (google.api.http).get = "/zeta-chain/observer/observer_set"; + } + + rpc SupportedChains(QuerySupportedChains) + returns (QuerySupportedChainsResponse) { + option (google.api.http).get = "/zeta-chain/observer/supportedChains"; + } + + // Queries a list of GetChainParamsForChain items. + rpc GetChainParamsForChain(QueryGetChainParamsForChainRequest) + returns (QueryGetChainParamsForChainResponse) { + option (google.api.http).get = + "/zeta-chain/observer/get_chain_params_for_chain/{chain_id}"; + } + + // Queries a list of GetChainParams items. + rpc GetChainParams(QueryGetChainParamsRequest) + returns (QueryGetChainParamsResponse) { + option (google.api.http).get = "/zeta-chain/observer/get_chain_params"; + } + + // Queries a nodeAccount by index. + rpc NodeAccount(QueryGetNodeAccountRequest) + returns (QueryGetNodeAccountResponse) { + option (google.api.http).get = "/zeta-chain/observer/nodeAccount/{index}"; + } + + // Queries a list of nodeAccount items. + rpc NodeAccountAll(QueryAllNodeAccountRequest) + returns (QueryAllNodeAccountResponse) { + option (google.api.http).get = "/zeta-chain/observer/nodeAccount"; + } + + rpc CrosschainFlags(QueryGetCrosschainFlagsRequest) + returns (QueryGetCrosschainFlagsResponse) { + option (google.api.http).get = "/zeta-chain/observer/crosschain_flags"; + } + + // Queries a keygen by index. + rpc Keygen(QueryGetKeygenRequest) returns (QueryGetKeygenResponse) { + option (google.api.http).get = "/zeta-chain/observer/keygen"; + } + + // Queries a list of ShowObserverCount items. + rpc ShowObserverCount(QueryShowObserverCountRequest) + returns (QueryShowObserverCountResponse) { + option (google.api.http).get = + "/zeta-chain/zetacore/observer/show_observer_count"; + } + + // Queries a list of VoterByIdentifier items. + rpc BlameByIdentifier(QueryBlameByIdentifierRequest) + returns (QueryBlameByIdentifierResponse) { + option (google.api.http).get = + "/zeta-chain/observer/blame_by_identifier/{blame_identifier}"; + } + + // Queries a list of VoterByIdentifier items. + rpc GetAllBlameRecords(QueryAllBlameRecordsRequest) + returns (QueryAllBlameRecordsResponse) { + option (google.api.http).get = "/zeta-chain/observer/get_all_blame_records"; + } + + // Queries a list of VoterByIdentifier items. + rpc BlamesByChainAndNonce(QueryBlameByChainAndNonceRequest) + returns (QueryBlameByChainAndNonceResponse) { + option (google.api.http).get = + "/zeta-chain/observer/blame_by_chain_and_nonce/{chain_id}/{nonce}"; + } + + // Queries a list of GetTssAddress items. + rpc GetTssAddress(QueryGetTssAddressRequest) + returns (QueryGetTssAddressResponse) { + option (google.api.http).get = + "/zeta-chain/observer/get_tss_address/{bitcoin_chain_id}"; + } + + rpc GetTssAddressByFinalizedHeight(QueryGetTssAddressByFinalizedHeightRequest) + returns (QueryGetTssAddressByFinalizedHeightResponse) { + option (google.api.http).get = + "/zeta-chain/observer/get_tss_address_historical/" + "{finalized_zeta_height}/{bitcoin_chain_id}"; + } + + // Queries a tSS by index. + rpc TSS(QueryGetTSSRequest) returns (QueryGetTSSResponse) { + option (google.api.http).get = "/zeta-chain/observer/TSS"; + } + + rpc TssHistory(QueryTssHistoryRequest) returns (QueryTssHistoryResponse) { + option (google.api.http).get = "/zeta-chain/observer/tssHistory"; + } + + rpc PendingNoncesAll(QueryAllPendingNoncesRequest) + returns (QueryAllPendingNoncesResponse) { + option (google.api.http).get = "/zeta-chain/observer/pendingNonces"; + } + + rpc PendingNoncesByChain(QueryPendingNoncesByChainRequest) + returns (QueryPendingNoncesByChainResponse) { + option (google.api.http).get = + "/zeta-chain/observer/pendingNonces/{chain_id}"; + } + + // Queries a chainNonces by index. + rpc ChainNonces(QueryGetChainNoncesRequest) + returns (QueryGetChainNoncesResponse) { + option (google.api.http).get = "/zeta-chain/observer/chainNonces/{index}"; + } + + // Queries a list of chainNonces items. + rpc ChainNoncesAll(QueryAllChainNoncesRequest) + returns (QueryAllChainNoncesResponse) { + option (google.api.http).get = "/zeta-chain/observer/chainNonces"; + } +} + +message QueryGetChainNoncesRequest { string index = 1; } + +message QueryGetChainNoncesResponse { + ChainNonces ChainNonces = 1 [ (gogoproto.nullable) = false ]; +} + +message QueryAllChainNoncesRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +message QueryAllChainNoncesResponse { + repeated ChainNonces ChainNonces = 1 [ (gogoproto.nullable) = false ]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +message QueryAllPendingNoncesRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +message QueryAllPendingNoncesResponse { + repeated PendingNonces pending_nonces = 1 [ (gogoproto.nullable) = false ]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +message QueryPendingNoncesByChainRequest { int64 chain_id = 1; } + +message QueryPendingNoncesByChainResponse { + PendingNonces pending_nonces = 1 [ (gogoproto.nullable) = false ]; +} + +message QueryGetTSSRequest {} + +message QueryGetTSSResponse { TSS TSS = 1 [ (gogoproto.nullable) = false ]; } + +message QueryGetTssAddressRequest { int64 bitcoin_chain_id = 2; } + +message QueryGetTssAddressResponse { + string eth = 1; + string btc = 2; +} + +message QueryGetTssAddressByFinalizedHeightRequest { + int64 finalized_zeta_height = 1; + int64 bitcoin_chain_id = 2; +} + +message QueryGetTssAddressByFinalizedHeightResponse { + string eth = 1; + string btc = 2; +} + +message QueryTssHistoryRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +message QueryTssHistoryResponse { + repeated TSS tss_list = 1 [ (gogoproto.nullable) = false ]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +message QueryHasVotedRequest { + string ballot_identifier = 1; + string voter_address = 2; +} + +message QueryHasVotedResponse { bool has_voted = 1; } + +message QueryBallotByIdentifierRequest { string ballot_identifier = 1; } +message VoterList { + string voter_address = 1; + VoteType vote_type = 2; +} + +message QueryBallotByIdentifierResponse { + string ballot_identifier = 1; + repeated VoterList voters = 2; + ObservationType observation_type = 3; + BallotStatus ballot_status = 4; +} + +message QueryObserverSet {} + +message QueryObserverSetResponse { repeated string observers = 1; } + +message QuerySupportedChains {} + +message QuerySupportedChainsResponse { repeated pkg.chains.Chain chains = 1; } + +message QueryGetChainParamsForChainRequest { int64 chain_id = 1; } + +message QueryGetChainParamsForChainResponse { ChainParams chain_params = 1; } + +message QueryGetChainParamsRequest {} + +message QueryGetChainParamsResponse { ChainParamsList chain_params = 1; } + +message QueryGetNodeAccountRequest { string index = 1; } + +message QueryGetNodeAccountResponse { NodeAccount node_account = 1; } + +message QueryAllNodeAccountRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +message QueryAllNodeAccountResponse { + repeated NodeAccount NodeAccount = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +message QueryGetCrosschainFlagsRequest {} + +message QueryGetCrosschainFlagsResponse { + CrosschainFlags crosschain_flags = 1 [ (gogoproto.nullable) = false ]; +} + +message QueryGetKeygenRequest {} + +message QueryGetKeygenResponse { Keygen keygen = 1; } + +message QueryShowObserverCountRequest {} + +message QueryShowObserverCountResponse { + LastObserverCount last_observer_count = 1; +} + +message QueryBlameByIdentifierRequest { string blame_identifier = 1; } + +message QueryBlameByIdentifierResponse { Blame blame_info = 1; } + +message QueryAllBlameRecordsRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +message QueryAllBlameRecordsResponse { + repeated Blame blame_info = 1 [ (gogoproto.nullable) = false ]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +message QueryBlameByChainAndNonceRequest { + int64 chain_id = 1; + int64 nonce = 2; +} + +message QueryBlameByChainAndNonceResponse { repeated Blame blame_info = 1; } diff --git a/proto/observer/tss.proto b/proto/zetachain/zetacore/observer/tss.proto similarity index 100% rename from proto/observer/tss.proto rename to proto/zetachain/zetacore/observer/tss.proto diff --git a/proto/observer/tss_funds_migrator.proto b/proto/zetachain/zetacore/observer/tss_funds_migrator.proto similarity index 100% rename from proto/observer/tss_funds_migrator.proto rename to proto/zetachain/zetacore/observer/tss_funds_migrator.proto diff --git a/proto/observer/tx.proto b/proto/zetachain/zetacore/observer/tx.proto similarity index 70% rename from proto/observer/tx.proto rename to proto/zetachain/zetacore/observer/tx.proto index 227f68cd6b..9e5e035f77 100644 --- a/proto/observer/tx.proto +++ b/proto/zetachain/zetacore/observer/tx.proto @@ -2,14 +2,14 @@ syntax = "proto3"; package zetachain.zetacore.observer; import "gogoproto/gogo.proto"; -import "observer/blame.proto"; -import "observer/crosschain_flags.proto"; -import "observer/observer.proto"; -import "observer/params.proto"; -import "observer/pending_nonces.proto"; -import "observer/tss.proto"; -import "pkg/chains/chains.proto"; -import "pkg/proofs/proofs.proto"; +import "zetachain/zetacore/observer/blame.proto"; +import "zetachain/zetacore/observer/crosschain_flags.proto"; +import "zetachain/zetacore/observer/observer.proto"; +import "zetachain/zetacore/observer/params.proto"; +import "zetachain/zetacore/observer/pending_nonces.proto"; +import "zetachain/zetacore/observer/tss.proto"; +import "zetachain/zetacore/pkg/chains/chains.proto"; +import "zetachain/zetacore/pkg/proofs/proofs.proto"; option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; @@ -17,13 +17,17 @@ option go_package = "github.com/zeta-chain/zetacore/x/observer/types"; service Msg { rpc AddObserver(MsgAddObserver) returns (MsgAddObserverResponse); rpc UpdateObserver(MsgUpdateObserver) returns (MsgUpdateObserverResponse); - rpc UpdateChainParams(MsgUpdateChainParams) returns (MsgUpdateChainParamsResponse); - rpc RemoveChainParams(MsgRemoveChainParams) returns (MsgRemoveChainParamsResponse); + rpc UpdateChainParams(MsgUpdateChainParams) + returns (MsgUpdateChainParamsResponse); + rpc RemoveChainParams(MsgRemoveChainParams) + returns (MsgRemoveChainParamsResponse); rpc AddBlameVote(MsgAddBlameVote) returns (MsgAddBlameVoteResponse); - rpc UpdateCrosschainFlags(MsgUpdateCrosschainFlags) returns (MsgUpdateCrosschainFlagsResponse); + rpc UpdateCrosschainFlags(MsgUpdateCrosschainFlags) + returns (MsgUpdateCrosschainFlagsResponse); rpc UpdateKeygen(MsgUpdateKeygen) returns (MsgUpdateKeygenResponse); rpc VoteBlockHeader(MsgVoteBlockHeader) returns (MsgVoteBlockHeaderResponse); - rpc ResetChainNonces(MsgResetChainNonces) returns (MsgResetChainNoncesResponse); + rpc ResetChainNonces(MsgResetChainNonces) + returns (MsgResetChainNoncesResponse); rpc VoteTSS(MsgVoteTSS) returns (MsgVoteTSSResponse); } @@ -40,7 +44,7 @@ message MsgVoteBlockHeader { int64 chain_id = 2; bytes block_hash = 3; int64 height = 4; - proofs.HeaderData header = 5 [(gogoproto.nullable) = false]; + pkg.proofs.HeaderData header = 5 [ (gogoproto.nullable) = false ]; } message MsgVoteBlockHeaderResponse { @@ -74,7 +78,7 @@ message MsgAddObserverResponse {} message MsgAddBlameVote { string creator = 1; int64 chain_id = 2; - Blame blame_info = 3 [(gogoproto.nullable) = false]; + Blame blame_info = 3 [ (gogoproto.nullable) = false ]; } message MsgAddBlameVoteResponse {} @@ -108,7 +112,7 @@ message MsgVoteTSS { string creator = 1; string tss_pubkey = 2; int64 keygen_zeta_height = 3; - chains.ReceiveStatus status = 4; + pkg.chains.ReceiveStatus status = 4; } message MsgVoteTSSResponse { diff --git a/proto/pkg/chains/chains.proto b/proto/zetachain/zetacore/pkg/chains/chains.proto similarity index 95% rename from proto/pkg/chains/chains.proto rename to proto/zetachain/zetacore/pkg/chains/chains.proto index 49305d4f16..858619807c 100644 --- a/proto/pkg/chains/chains.proto +++ b/proto/zetachain/zetacore/pkg/chains/chains.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package chains; +package zetachain.zetacore.pkg.chains; import "gogoproto/gogo.proto"; diff --git a/proto/pkg/coin/coin.proto b/proto/zetachain/zetacore/pkg/coin/coin.proto similarity index 62% rename from proto/pkg/coin/coin.proto rename to proto/zetachain/zetacore/pkg/coin/coin.proto index 52d2a67967..4b43786228 100644 --- a/proto/pkg/coin/coin.proto +++ b/proto/zetachain/zetacore/pkg/coin/coin.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package coin; +package zetachain.zetacore.pkg.coin; import "gogoproto/gogo.proto"; @@ -8,7 +8,7 @@ option go_package = "github.com/zeta-chain/zetacore/pkg/coin"; enum CoinType { option (gogoproto.goproto_enum_stringer) = true; Zeta = 0; - Gas = 1; // Ether, BNB, Matic, Klay, BTC, etc + Gas = 1; // Ether, BNB, Matic, Klay, BTC, etc ERC20 = 2; // ERC20 token - Cmd = 3; // not a real coin, rather a command + Cmd = 3; // not a real coin, rather a command } diff --git a/proto/zetachain/zetacore/pkg/crypto/crypto.proto b/proto/zetachain/zetacore/pkg/crypto/crypto.proto new file mode 100644 index 0000000000..2c1154cc50 --- /dev/null +++ b/proto/zetachain/zetacore/pkg/crypto/crypto.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; +package zetachain.zetacore.pkg.crypto; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/zeta-chain/zetacore/pkg/crypto"; + +// PubKeySet contains two pub keys , secp256k1 and ed25519 +message PubKeySet { + string secp256k1 = 1 + [ (gogoproto.casttype) = "PubKey", (gogoproto.customname) = "Secp256k1" ]; + string ed25519 = 2 [ (gogoproto.casttype) = "PubKey" ]; +} diff --git a/proto/pkg/proofs/bitcoin/bitcoin.proto b/proto/zetachain/zetacore/pkg/proofs/bitcoin/bitcoin.proto similarity index 78% rename from proto/pkg/proofs/bitcoin/bitcoin.proto rename to proto/zetachain/zetacore/pkg/proofs/bitcoin/bitcoin.proto index 7712782ce3..f1af119edd 100644 --- a/proto/pkg/proofs/bitcoin/bitcoin.proto +++ b/proto/zetachain/zetacore/pkg/proofs/bitcoin/bitcoin.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package bitcoin; +package zetachain.zetacore.pkg.proofs.bitcoin; option go_package = "github.com/zeta-chain/zetacore/pkg/proofs/bitcoin"; diff --git a/proto/pkg/proofs/ethereum/ethereum.proto b/proto/zetachain/zetacore/pkg/proofs/ethereum/ethereum.proto similarity index 77% rename from proto/pkg/proofs/ethereum/ethereum.proto rename to proto/zetachain/zetacore/pkg/proofs/ethereum/ethereum.proto index 76d9489292..dcece6b249 100644 --- a/proto/pkg/proofs/ethereum/ethereum.proto +++ b/proto/zetachain/zetacore/pkg/proofs/ethereum/ethereum.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package ethereum; +package zetachain.zetacore.pkg.proofs.ethereum; option go_package = "github.com/zeta-chain/zetacore/pkg/proofs/ethereum"; diff --git a/proto/pkg/proofs/proofs.proto b/proto/zetachain/zetacore/pkg/proofs/proofs.proto similarity index 50% rename from proto/pkg/proofs/proofs.proto rename to proto/zetachain/zetacore/pkg/proofs/proofs.proto index e8360d5cbd..8a269918b1 100644 --- a/proto/pkg/proofs/proofs.proto +++ b/proto/zetachain/zetacore/pkg/proofs/proofs.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package proofs; +package zetachain.zetacore.pkg.proofs; import "gogoproto/gogo.proto"; -import "pkg/proofs/bitcoin/bitcoin.proto"; -import "pkg/proofs/ethereum/ethereum.proto"; +import "zetachain/zetacore/pkg/proofs/bitcoin/bitcoin.proto"; +import "zetachain/zetacore/pkg/proofs/ethereum/ethereum.proto"; option go_package = "github.com/zeta-chain/zetacore/pkg/proofs"; @@ -13,19 +13,19 @@ message BlockHeader { bytes parent_hash = 3; int64 chain_id = 4; // chain specific header - HeaderData header = 5 [(gogoproto.nullable) = false]; + HeaderData header = 5 [ (gogoproto.nullable) = false ]; } message HeaderData { oneof data { bytes ethereum_header = 1; // binary encoded headers; RLP for ethereum - bytes bitcoin_header = 2; // 80-byte little-endian encoded binary data + bytes bitcoin_header = 2; // 80-byte little-endian encoded binary data } } message Proof { oneof proof { - ethereum.Proof ethereum_proof = 1; - bitcoin.Proof bitcoin_proof = 2; + pkg.proofs.ethereum.Proof ethereum_proof = 1; + pkg.proofs.bitcoin.Proof bitcoin_proof = 2; } } diff --git a/rpc/apis.go b/rpc/apis.go index e214368a71..b845ba7bb0 100644 --- a/rpc/apis.go +++ b/rpc/apis.go @@ -18,11 +18,11 @@ package rpc import ( "fmt" + rpcclient "github.com/cometbft/cometbft/rpc/jsonrpc/client" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/server" "github.com/ethereum/go-ethereum/rpc" ethermint "github.com/evmos/ethermint/types" - rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client" "github.com/zeta-chain/zetacore/rpc/backend" "github.com/zeta-chain/zetacore/rpc/namespaces/ethereum/debug" "github.com/zeta-chain/zetacore/rpc/namespaces/ethereum/eth" diff --git a/rpc/backend/backend.go b/rpc/backend/backend.go index 3d619963a3..1719993abb 100644 --- a/rpc/backend/backend.go +++ b/rpc/backend/backend.go @@ -20,6 +20,8 @@ import ( "math/big" "time" + "github.com/cometbft/cometbft/libs/log" + tmrpctypes "github.com/cometbft/cometbft/rpc/core/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/server" @@ -32,8 +34,6 @@ import ( "github.com/ethereum/go-ethereum/signer/core/apitypes" ethermint "github.com/evmos/ethermint/types" evmtypes "github.com/evmos/ethermint/x/evm/types" - "github.com/tendermint/tendermint/libs/log" - tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" rpctypes "github.com/zeta-chain/zetacore/rpc/types" "github.com/zeta-chain/zetacore/server/config" ) diff --git a/rpc/backend/blocks.go b/rpc/backend/blocks.go index 8fa721ccf0..b2a5870a16 100644 --- a/rpc/backend/blocks.go +++ b/rpc/backend/blocks.go @@ -22,6 +22,8 @@ import ( "math/big" "strconv" + tmrpcclient "github.com/cometbft/cometbft/rpc/client" + tmrpctypes "github.com/cometbft/cometbft/rpc/core/types" sdk "github.com/cosmos/cosmos-sdk/types" grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" "github.com/ethereum/go-ethereum/common" @@ -30,7 +32,6 @@ import ( "github.com/ethereum/go-ethereum/trie" evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/pkg/errors" - tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" rpctypes "github.com/zeta-chain/zetacore/rpc/types" "google.golang.org/grpc" "google.golang.org/grpc/metadata" @@ -121,7 +122,11 @@ func (b *Backend) GetBlockByHash(hash common.Hash, fullTx bool) (map[string]inte // GetBlockTransactionCountByHash returns the number of Ethereum transactions in // the block identified by hash. func (b *Backend) GetBlockTransactionCountByHash(hash common.Hash) *hexutil.Uint { - block, err := b.clientCtx.Client.BlockByHash(b.ctx, hash.Bytes()) + sc, ok := b.clientCtx.Client.(tmrpcclient.SignClient) + if !ok { + b.logger.Error("invalid rpc client") + } + block, err := sc.BlockByHash(b.ctx, hash.Bytes()) if err != nil { b.logger.Debug("block not found", "hash", hash.Hex(), "error", err.Error()) return nil @@ -198,12 +203,20 @@ func (b *Backend) TendermintBlockByNumber(blockNum rpctypes.BlockNumber) (*tmrpc // TendermintBlockResultByNumber returns a Tendermint-formatted block result // by block number func (b *Backend) TendermintBlockResultByNumber(height *int64) (*tmrpctypes.ResultBlockResults, error) { - return b.clientCtx.Client.BlockResults(b.ctx, height) + sc, ok := b.clientCtx.Client.(tmrpcclient.SignClient) + if !ok { + return nil, errors.New("invalid rpc client") + } + return sc.BlockResults(b.ctx, height) } // TendermintBlockByHash returns a Tendermint-formatted block by block number func (b *Backend) TendermintBlockByHash(blockHash common.Hash) (*tmrpctypes.ResultBlock, error) { - resBlock, err := b.clientCtx.Client.BlockByHash(b.ctx, blockHash.Bytes()) + sc, ok := b.clientCtx.Client.(tmrpcclient.SignClient) + if !ok { + return nil, errors.New("invalid rpc client") + } + resBlock, err := sc.BlockByHash(b.ctx, blockHash.Bytes()) if err != nil { b.logger.Debug("tendermint client failed to get block", "blockHash", blockHash.Hex(), "error", err.Error()) return nil, err @@ -364,8 +377,8 @@ func (b *Backend) BlockBloom(blockRes *tmrpctypes.ResultBlockResults) (ethtypes. } for _, attr := range event.Attributes { - if bytes.Equal(attr.Key, bAttributeKeyEthereumBloom) { - return ethtypes.BytesToBloom(attr.Value), nil + if bytes.Equal([]byte(attr.Key), bAttributeKeyEthereumBloom) { + return ethtypes.BytesToBloom([]byte(attr.Value)), nil } } } diff --git a/rpc/backend/chain_info.go b/rpc/backend/chain_info.go index 2cc0b1d465..f0e2e12b08 100644 --- a/rpc/backend/chain_info.go +++ b/rpc/backend/chain_info.go @@ -21,6 +21,8 @@ import ( "math/big" "strconv" + tmrpcclient "github.com/cometbft/cometbft/rpc/client" + tmrpctypes "github.com/cometbft/cometbft/rpc/core/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common/hexutil" ethtypes "github.com/ethereum/go-ethereum/core/types" @@ -29,7 +31,7 @@ import ( ethermint "github.com/evmos/ethermint/types" evmtypes "github.com/evmos/ethermint/x/evm/types" feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" - tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" + "github.com/pkg/errors" rpctypes "github.com/zeta-chain/zetacore/rpc/types" ) @@ -86,7 +88,7 @@ func (b *Backend) BaseFee(blockRes *tmrpctypes.ResultBlockResults) (*big.Int, er for i := len(blockRes.BeginBlockEvents) - 1; i >= 0; i-- { evt := blockRes.BeginBlockEvents[i] if evt.Type == feemarkettypes.EventTypeFeeMarket && len(evt.Attributes) > 0 { - baseFee, err := strconv.ParseInt(string(evt.Attributes[0].Value), 10, 64) + baseFee, err := strconv.ParseInt(evt.Attributes[0].Value, 10, 64) if err == nil { return big.NewInt(baseFee), nil } @@ -116,7 +118,11 @@ func (b *Backend) CurrentHeader() *ethtypes.Header { // PendingTransactions returns the transactions that are in the transaction pool // and have a from address that is one of the accounts this node manages. func (b *Backend) PendingTransactions() ([]*sdk.Tx, error) { - res, err := b.clientCtx.Client.UnconfirmedTxs(b.ctx, nil) + mc, ok := b.clientCtx.Client.(tmrpcclient.MempoolClient) + if !ok { + return nil, errors.New("invalid rpc client") + } + res, err := mc.UnconfirmedTxs(b.ctx, nil) if err != nil { return nil, err } diff --git a/rpc/backend/mocks/client.go b/rpc/backend/mocks/client.go index fa60f0e03c..dc4e2428cd 100644 --- a/rpc/backend/mocks/client.go +++ b/rpc/backend/mocks/client.go @@ -3,18 +3,18 @@ package mocks import ( - bytes "github.com/tendermint/tendermint/libs/bytes" - client "github.com/tendermint/tendermint/rpc/client" + bytes "github.com/cometbft/cometbft/libs/bytes" + client "github.com/cometbft/cometbft/rpc/client" context "context" - coretypes "github.com/tendermint/tendermint/rpc/core/types" + coretypes "github.com/cometbft/cometbft/rpc/core/types" - log "github.com/tendermint/tendermint/libs/log" + log "github.com/cometbft/cometbft/libs/log" mock "github.com/stretchr/testify/mock" - types "github.com/tendermint/tendermint/types" + types "github.com/cometbft/cometbft/types" ) // Client is an autogenerated mock type for the Client type diff --git a/rpc/backend/node_info.go b/rpc/backend/node_info.go index 52826bbc60..5d9168aff3 100644 --- a/rpc/backend/node_info.go +++ b/rpc/backend/node_info.go @@ -22,6 +22,7 @@ import ( errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" + tmtypes "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" sdkcrypto "github.com/cosmos/cosmos-sdk/crypto" @@ -37,7 +38,6 @@ import ( "github.com/evmos/ethermint/server/config" ethermint "github.com/evmos/ethermint/types" evmtypes "github.com/evmos/ethermint/x/evm/types" - tmtypes "github.com/tendermint/tendermint/types" rpctypes "github.com/zeta-chain/zetacore/rpc/types" ) diff --git a/rpc/backend/tracing.go b/rpc/backend/tracing.go index 145b45ec5e..d9cd79af6b 100644 --- a/rpc/backend/tracing.go +++ b/rpc/backend/tracing.go @@ -19,12 +19,12 @@ import ( "encoding/json" "fmt" + tmrpctypes "github.com/cometbft/cometbft/rpc/core/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/pkg/errors" - tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" rpctypes "github.com/zeta-chain/zetacore/rpc/types" ) diff --git a/rpc/backend/tx_info.go b/rpc/backend/tx_info.go index c81f289d9e..6195668a15 100644 --- a/rpc/backend/tx_info.go +++ b/rpc/backend/tx_info.go @@ -19,6 +19,8 @@ import ( "fmt" errorsmod "cosmossdk.io/errors" + tmrpcclient "github.com/cometbft/cometbft/rpc/client" + tmrpctypes "github.com/cometbft/cometbft/rpc/core/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" @@ -27,7 +29,6 @@ import ( ethermint "github.com/evmos/ethermint/types" evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/pkg/errors" - tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" rpctypes "github.com/zeta-chain/zetacore/rpc/types" ) @@ -311,7 +312,11 @@ func (b *Backend) GetTransactionReceipt(hash common.Hash) (map[string]interface{ func (b *Backend) GetTransactionByBlockHashAndIndex(hash common.Hash, idx hexutil.Uint) (*rpctypes.RPCTransaction, error) { b.logger.Debug("eth_getTransactionByBlockHashAndIndex", "hash", hash.Hex(), "index", idx) - block, err := b.clientCtx.Client.BlockByHash(b.ctx, hash.Bytes()) + sc, ok := b.clientCtx.Client.(tmrpcclient.SignClient) + if !ok { + return nil, errors.New("invalid rpc client") + } + block, err := sc.BlockByHash(b.ctx, hash.Bytes()) if err != nil { b.logger.Debug("block not found", "hash", hash.Hex(), "error", err.Error()) return nil, nil diff --git a/rpc/backend/utils.go b/rpc/backend/utils.go index b20d6e068e..5b55e959f2 100644 --- a/rpc/backend/utils.go +++ b/rpc/backend/utils.go @@ -16,7 +16,6 @@ package backend import ( - "bytes" "encoding/json" "fmt" "math/big" @@ -33,12 +32,12 @@ import ( "github.com/ethereum/go-ethereum/consensus/misc" ethtypes "github.com/ethereum/go-ethereum/core/types" - abci "github.com/tendermint/tendermint/abci/types" - "github.com/tendermint/tendermint/libs/log" - tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" + abci "github.com/cometbft/cometbft/abci/types" + "github.com/cometbft/cometbft/libs/log" + tmrpctypes "github.com/cometbft/cometbft/rpc/core/types" + "github.com/cometbft/cometbft/proto/tendermint/crypto" evmtypes "github.com/evmos/ethermint/x/evm/types" - "github.com/tendermint/tendermint/proto/tendermint/crypto" "github.com/zeta-chain/zetacore/rpc/types" ) @@ -262,12 +261,12 @@ func TxLogsFromEvents(events []abci.Event, msgIndex int) ([]*ethtypes.Log, error func ParseTxLogsFromEvent(event abci.Event) ([]*ethtypes.Log, error) { logs := make([]*evmtypes.Log, 0, len(event.Attributes)) for _, attr := range event.Attributes { - if !bytes.Equal(attr.Key, []byte(evmtypes.AttributeKeyTxLog)) { + if attr.Key != evmtypes.AttributeKeyTxLog { continue } var log evmtypes.Log - if err := json.Unmarshal(attr.Value, &log); err != nil { + if err := json.Unmarshal([]byte(attr.Value), &log); err != nil { return nil, err } diff --git a/rpc/ethereum/pubsub/pubsub.go b/rpc/ethereum/pubsub/pubsub.go index 70319598bd..a90ec84039 100644 --- a/rpc/ethereum/pubsub/pubsub.go +++ b/rpc/ethereum/pubsub/pubsub.go @@ -21,7 +21,7 @@ import ( "github.com/pkg/errors" - coretypes "github.com/tendermint/tendermint/rpc/core/types" + coretypes "github.com/cometbft/cometbft/rpc/core/types" ) type UnsubscribeFunc func() diff --git a/rpc/ethereum/pubsub/pubsub_test.go b/rpc/ethereum/pubsub/pubsub_test.go index 9f5fe8d2e3..5d2d6c359e 100644 --- a/rpc/ethereum/pubsub/pubsub_test.go +++ b/rpc/ethereum/pubsub/pubsub_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" + coretypes "github.com/cometbft/cometbft/rpc/core/types" "github.com/stretchr/testify/require" - coretypes "github.com/tendermint/tendermint/rpc/core/types" ) func TestAddTopic(t *testing.T) { diff --git a/rpc/namespaces/ethereum/debug/api.go b/rpc/namespaces/ethereum/debug/api.go index 2861e2b12a..bbc037d423 100644 --- a/rpc/namespaces/ethereum/debug/api.go +++ b/rpc/namespaces/ethereum/debug/api.go @@ -27,6 +27,7 @@ import ( "sync" "time" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/server" "github.com/davecgh/go-spew/spew" "github.com/ethereum/go-ethereum/common" @@ -35,7 +36,6 @@ import ( "github.com/ethereum/go-ethereum/rlp" evmtypes "github.com/evmos/ethermint/x/evm/types" stderrors "github.com/pkg/errors" - "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/rpc/backend" rpctypes "github.com/zeta-chain/zetacore/rpc/types" ) diff --git a/rpc/namespaces/ethereum/debug/utils.go b/rpc/namespaces/ethereum/debug/utils.go index bfd8ced432..277c37df56 100644 --- a/rpc/namespaces/ethereum/debug/utils.go +++ b/rpc/namespaces/ethereum/debug/utils.go @@ -22,8 +22,8 @@ import ( "runtime/pprof" "strings" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/server" - "github.com/tendermint/tendermint/libs/log" ) // isCPUProfileConfigurationActivated checks if cpuprofile was configured via flag diff --git a/rpc/namespaces/ethereum/eth/api.go b/rpc/namespaces/ethereum/eth/api.go index 1de121c024..38b1a6cb26 100644 --- a/rpc/namespaces/ethereum/eth/api.go +++ b/rpc/namespaces/ethereum/eth/api.go @@ -18,13 +18,13 @@ package eth import ( "context" + "github.com/cometbft/cometbft/libs/log" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/rpc" ethermint "github.com/evmos/ethermint/types" evmtypes "github.com/evmos/ethermint/x/evm/types" - "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/rpc/backend" rpctypes "github.com/zeta-chain/zetacore/rpc/types" ) diff --git a/rpc/namespaces/ethereum/eth/filters/api.go b/rpc/namespaces/ethereum/eth/filters/api.go index f6a6ca4f1e..f8fecb0d08 100644 --- a/rpc/namespaces/ethereum/eth/filters/api.go +++ b/rpc/namespaces/ethereum/eth/filters/api.go @@ -21,16 +21,16 @@ import ( "sync" "time" + "github.com/cometbft/cometbft/libs/log" + coretypes "github.com/cometbft/cometbft/rpc/core/types" + rpcclient "github.com/cometbft/cometbft/rpc/jsonrpc/client" + tmtypes "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/client" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/eth/filters" "github.com/ethereum/go-ethereum/rpc" evmtypes "github.com/evmos/ethermint/x/evm/types" - "github.com/tendermint/tendermint/libs/log" - coretypes "github.com/tendermint/tendermint/rpc/core/types" - rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client" - tmtypes "github.com/tendermint/tendermint/types" "github.com/zeta-chain/zetacore/rpc/types" ) diff --git a/rpc/namespaces/ethereum/eth/filters/filter_system.go b/rpc/namespaces/ethereum/eth/filters/filter_system.go index ba203cf685..2c672472ba 100644 --- a/rpc/namespaces/ethereum/eth/filters/filter_system.go +++ b/rpc/namespaces/ethereum/eth/filters/filter_system.go @@ -21,6 +21,12 @@ import ( "sync" "time" + tmjson "github.com/cometbft/cometbft/libs/json" + "github.com/cometbft/cometbft/libs/log" + tmquery "github.com/cometbft/cometbft/libs/pubsub/query" + coretypes "github.com/cometbft/cometbft/rpc/core/types" + rpcclient "github.com/cometbft/cometbft/rpc/jsonrpc/client" + tmtypes "github.com/cometbft/cometbft/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" @@ -28,12 +34,6 @@ import ( "github.com/ethereum/go-ethereum/rpc" evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/pkg/errors" - tmjson "github.com/tendermint/tendermint/libs/json" - "github.com/tendermint/tendermint/libs/log" - tmquery "github.com/tendermint/tendermint/libs/pubsub/query" - coretypes "github.com/tendermint/tendermint/rpc/core/types" - rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client" - tmtypes "github.com/tendermint/tendermint/types" "github.com/zeta-chain/zetacore/rpc/ethereum/pubsub" ) diff --git a/rpc/namespaces/ethereum/eth/filters/filters.go b/rpc/namespaces/ethereum/eth/filters/filters.go index 4355182001..6ddbcc420e 100644 --- a/rpc/namespaces/ethereum/eth/filters/filters.go +++ b/rpc/namespaces/ethereum/eth/filters/filters.go @@ -21,13 +21,13 @@ import ( "fmt" "math/big" + "github.com/cometbft/cometbft/libs/log" + tmrpctypes "github.com/cometbft/cometbft/rpc/core/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/eth/filters" "github.com/pkg/errors" - "github.com/tendermint/tendermint/libs/log" - tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" "github.com/zeta-chain/zetacore/rpc/backend" "github.com/zeta-chain/zetacore/rpc/types" ) diff --git a/rpc/namespaces/ethereum/eth/filters/subscription.go b/rpc/namespaces/ethereum/eth/filters/subscription.go index cfdf2e67df..8566757bd8 100644 --- a/rpc/namespaces/ethereum/eth/filters/subscription.go +++ b/rpc/namespaces/ethereum/eth/filters/subscription.go @@ -18,11 +18,11 @@ package filters import ( "time" + coretypes "github.com/cometbft/cometbft/rpc/core/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/eth/filters" "github.com/ethereum/go-ethereum/rpc" - coretypes "github.com/tendermint/tendermint/rpc/core/types" ) // Subscription defines a wrapper for the private subscription diff --git a/rpc/namespaces/ethereum/miner/api.go b/rpc/namespaces/ethereum/miner/api.go index 9d5e8fc556..cad1fa3c4e 100644 --- a/rpc/namespaces/ethereum/miner/api.go +++ b/rpc/namespaces/ethereum/miner/api.go @@ -16,10 +16,10 @@ package miner import ( + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/server" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/rpc/backend" ) diff --git a/rpc/namespaces/ethereum/net/api.go b/rpc/namespaces/ethereum/net/api.go index d942fe002a..a04e8066f1 100644 --- a/rpc/namespaces/ethereum/net/api.go +++ b/rpc/namespaces/ethereum/net/api.go @@ -19,9 +19,9 @@ import ( "context" "fmt" + rpcclient "github.com/cometbft/cometbft/rpc/client" "github.com/cosmos/cosmos-sdk/client" ethermint "github.com/evmos/ethermint/types" - rpcclient "github.com/tendermint/tendermint/rpc/client" ) // PublicAPI is the eth_ prefixed set of APIs in the Web3 JSON-RPC spec. @@ -40,7 +40,7 @@ func NewPublicAPI(clientCtx client.Context) *PublicAPI { return &PublicAPI{ networkVersion: chainIDEpoch.Uint64(), - tmClient: clientCtx.Client, + tmClient: clientCtx.Client.(rpcclient.Client), } } diff --git a/rpc/namespaces/ethereum/personal/api.go b/rpc/namespaces/ethereum/personal/api.go index fa182c4759..0123aed713 100644 --- a/rpc/namespaces/ethereum/personal/api.go +++ b/rpc/namespaces/ethereum/personal/api.go @@ -21,6 +21,7 @@ import ( "os" "time" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/crypto/keyring" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/accounts" @@ -30,7 +31,6 @@ import ( "github.com/evmos/ethermint/crypto/hd" ethermint "github.com/evmos/ethermint/types" evmtypes "github.com/evmos/ethermint/x/evm/types" - "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/rpc/backend" ) diff --git a/rpc/namespaces/ethereum/txpool/api.go b/rpc/namespaces/ethereum/txpool/api.go index 89fb056bde..5eae3b3f75 100644 --- a/rpc/namespaces/ethereum/txpool/api.go +++ b/rpc/namespaces/ethereum/txpool/api.go @@ -16,8 +16,8 @@ package txpool import ( + "github.com/cometbft/cometbft/libs/log" "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/rpc/types" ) diff --git a/rpc/types/events.go b/rpc/types/events.go index 71fd7a789f..3f40668719 100644 --- a/rpc/types/events.go +++ b/rpc/types/events.go @@ -20,12 +20,12 @@ import ( "math/big" "strconv" + abci "github.com/cometbft/cometbft/abci/types" + tmrpctypes "github.com/cometbft/cometbft/rpc/core/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" ethermint "github.com/evmos/ethermint/types" evmtypes "github.com/evmos/ethermint/x/evm/types" - abci "github.com/tendermint/tendermint/abci/types" - tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" ) // EventFormat is the format version of the events. @@ -377,7 +377,7 @@ func fillTxAttribute(tx *ParsedTx, key []byte, value []byte) error { func fillTxAttributes(tx *ParsedTx, attrs []abci.EventAttribute) error { for _, attr := range attrs { - if err := fillTxAttribute(tx, attr.Key, attr.Value); err != nil { + if err := fillTxAttribute(tx, []byte(attr.Key), []byte(attr.Value)); err != nil { return err } } diff --git a/rpc/types/events_test.go b/rpc/types/events_test.go index f25f4489ae..79a6fc5f25 100644 --- a/rpc/types/events_test.go +++ b/rpc/types/events_test.go @@ -4,10 +4,10 @@ import ( "math/big" "testing" + abci "github.com/cometbft/cometbft/abci/types" "github.com/ethereum/go-ethereum/common" evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/stretchr/testify/require" - abci "github.com/tendermint/tendermint/abci/types" ) func TestParseTxResult(t *testing.T) { @@ -26,35 +26,35 @@ func TestParseTxResult(t *testing.T) { GasUsed: 21000, Events: []abci.Event{ {Type: "coin_received", Attributes: []abci.EventAttribute{ - {Key: []byte("receiver"), Value: []byte("ethm12luku6uxehhak02py4rcz65zu0swh7wjun6msa")}, - {Key: []byte("amount"), Value: []byte("1252860basetcro")}, + {Key: "receiver", Value: "ethm12luku6uxehhak02py4rcz65zu0swh7wjun6msa"}, + {Key: "amount", Value: "1252860basetcro"}, }}, {Type: "coin_spent", Attributes: []abci.EventAttribute{ - {Key: []byte("spender"), Value: []byte("ethm17xpfvakm2amg962yls6f84z3kell8c5lthdzgl")}, - {Key: []byte("amount"), Value: []byte("1252860basetcro")}, + {Key: "spender", Value: "ethm17xpfvakm2amg962yls6f84z3kell8c5lthdzgl"}, + {Key: "amount", Value: "1252860basetcro"}, }}, {Type: evmtypes.EventTypeEthereumTx, Attributes: []abci.EventAttribute{ - {Key: []byte("ethereumTxHash"), Value: []byte(txHash.Hex())}, - {Key: []byte("txIndex"), Value: []byte("10")}, - {Key: []byte("amount"), Value: []byte("1000")}, - {Key: []byte("txGasUsed"), Value: []byte("21000")}, - {Key: []byte("txHash"), Value: []byte("14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57")}, - {Key: []byte("recipient"), Value: []byte("0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7")}, + {Key: "ethereumTxHash", Value: txHash.Hex()}, + {Key: "txIndex", Value: "10"}, + {Key: "amount", Value: "1000"}, + {Key: "txGasUsed", Value: "21000"}, + {Key: "txHash", Value: "14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57"}, + {Key: "recipient", Value: "0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7"}, }}, {Type: "message", Attributes: []abci.EventAttribute{ - {Key: []byte("action"), Value: []byte("/ethermint.evm.v1.MsgEthereumTx")}, - {Key: []byte("key"), Value: []byte("ethm17xpfvakm2amg962yls6f84z3kell8c5lthdzgl")}, - {Key: []byte("module"), Value: []byte("evm")}, - {Key: []byte("sender"), Value: []byte(address)}, + {Key: "action", Value: "/ethermint.evm.v1.MsgEthereumTx"}, + {Key: "key", Value: "ethm17xpfvakm2amg962yls6f84z3kell8c5lthdzgl"}, + {Key: "module", Value: "evm"}, + {Key: "sender", Value: address}, }}, {Type: evmtypes.EventTypeEthereumTx, Attributes: []abci.EventAttribute{ - {Key: []byte("ethereumTxHash"), Value: []byte(txHash2.Hex())}, - {Key: []byte("txIndex"), Value: []byte("11")}, - {Key: []byte("amount"), Value: []byte("1000")}, - {Key: []byte("txGasUsed"), Value: []byte("21000")}, - {Key: []byte("txHash"), Value: []byte("14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57")}, - {Key: []byte("recipient"), Value: []byte("0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7")}, - {Key: []byte("ethereumTxFailed"), Value: []byte("contract reverted")}, + {Key: "ethereumTxHash", Value: txHash2.Hex()}, + {Key: "txIndex", Value: "11"}, + {Key: "amount", Value: "1000"}, + {Key: "txGasUsed", Value: "21000"}, + {Key: "txHash", Value: "14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57"}, + {Key: "recipient", Value: "0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7"}, + {Key: "ethereumTxFailed", Value: "contract reverted"}, }}, {Type: evmtypes.EventTypeTxLog, Attributes: []abci.EventAttribute{}}, }, @@ -92,30 +92,30 @@ func TestParseTxResult(t *testing.T) { GasUsed: 21000, Events: []abci.Event{ {Type: "coin_received", Attributes: []abci.EventAttribute{ - {Key: []byte("receiver"), Value: []byte("ethm12luku6uxehhak02py4rcz65zu0swh7wjun6msa")}, - {Key: []byte("amount"), Value: []byte("1252860basetcro")}, + {Key: "receiver", Value: "ethm12luku6uxehhak02py4rcz65zu0swh7wjun6msa"}, + {Key: "amount", Value: "1252860basetcro"}, }}, {Type: "coin_spent", Attributes: []abci.EventAttribute{ - {Key: []byte("spender"), Value: []byte("ethm17xpfvakm2amg962yls6f84z3kell8c5lthdzgl")}, - {Key: []byte("amount"), Value: []byte("1252860basetcro")}, + {Key: "spender", Value: "ethm17xpfvakm2amg962yls6f84z3kell8c5lthdzgl"}, + {Key: "amount", Value: "1252860basetcro"}, }}, {Type: evmtypes.EventTypeEthereumTx, Attributes: []abci.EventAttribute{ - {Key: []byte("ethereumTxHash"), Value: []byte(txHash.Hex())}, - {Key: []byte("txIndex"), Value: []byte("0")}, + {Key: "ethereumTxHash", Value: txHash.Hex()}, + {Key: "txIndex", Value: "0"}, }}, {Type: evmtypes.EventTypeEthereumTx, Attributes: []abci.EventAttribute{ - {Key: []byte("amount"), Value: []byte("1000")}, - {Key: []byte("ethereumTxHash"), Value: []byte(txHash.Hex())}, - {Key: []byte("txIndex"), Value: []byte("0")}, - {Key: []byte("txGasUsed"), Value: []byte("21000")}, - {Key: []byte("txHash"), Value: []byte("14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57")}, - {Key: []byte("recipient"), Value: []byte("0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7")}, + {Key: "amount", Value: "1000"}, + {Key: "ethereumTxHash", Value: txHash.Hex()}, + {Key: "txIndex", Value: "0"}, + {Key: "txGasUsed", Value: "21000"}, + {Key: "txHash", Value: "14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57"}, + {Key: "recipient", Value: "0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7"}, }}, {Type: "message", Attributes: []abci.EventAttribute{ - {Key: []byte("action"), Value: []byte("/ethermint.evm.v1.MsgEthereumTx")}, - {Key: []byte("key"), Value: []byte("ethm17xpfvakm2amg962yls6f84z3kell8c5lthdzgl")}, - {Key: []byte("module"), Value: []byte("evm")}, - {Key: []byte("sender"), Value: []byte(address)}, + {Key: "action", Value: "/ethermint.evm.v1.MsgEthereumTx"}, + {Key: "key", Value: "ethm17xpfvakm2amg962yls6f84z3kell8c5lthdzgl"}, + {Key: "module", Value: "evm"}, + {Key: "sender", Value: address}, }}, }, }, @@ -140,21 +140,21 @@ func TestParseTxResult(t *testing.T) { GasUsed: 21000, Events: []abci.Event{ {Type: evmtypes.EventTypeEthereumTx, Attributes: []abci.EventAttribute{ - {Key: []byte("ethereumTxHash"), Value: []byte(txHash.Hex())}, - {Key: []byte("txIndex"), Value: []byte("10")}, - {Key: []byte("amount"), Value: []byte("1000")}, - {Key: []byte("txGasUsed"), Value: []byte("21000")}, - {Key: []byte("txHash"), Value: []byte("14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57")}, - {Key: []byte("recipient"), Value: []byte("0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7")}, + {Key: "ethereumTxHash", Value: txHash.Hex()}, + {Key: "txIndex", Value: "10"}, + {Key: "amount", Value: "1000"}, + {Key: "txGasUsed", Value: "21000"}, + {Key: "txHash", Value: "14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57"}, + {Key: "recipient", Value: "0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7"}, }}, {Type: evmtypes.EventTypeEthereumTx, Attributes: []abci.EventAttribute{ - {Key: []byte("ethereumTxHash"), Value: []byte(txHash2.Hex())}, - {Key: []byte("txIndex"), Value: []byte("0x01")}, - {Key: []byte("amount"), Value: []byte("1000")}, - {Key: []byte("txGasUsed"), Value: []byte("21000")}, - {Key: []byte("txHash"), Value: []byte("14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57")}, - {Key: []byte("recipient"), Value: []byte("0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7")}, - {Key: []byte("ethereumTxFailed"), Value: []byte("contract reverted")}, + {Key: "ethereumTxHash", Value: txHash2.Hex()}, + {Key: "txIndex", Value: "0x01"}, + {Key: "amount", Value: "1000"}, + {Key: "txGasUsed", Value: "21000"}, + {Key: "txHash", Value: "14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57"}, + {Key: "recipient", Value: "0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7"}, + {Key: "ethereumTxFailed", Value: "contract reverted"}, }}, {Type: evmtypes.EventTypeTxLog, Attributes: []abci.EventAttribute{}}, }, @@ -167,21 +167,21 @@ func TestParseTxResult(t *testing.T) { GasUsed: 21000, Events: []abci.Event{ {Type: evmtypes.EventTypeEthereumTx, Attributes: []abci.EventAttribute{ - {Key: []byte("ethereumTxHash"), Value: []byte(txHash.Hex())}, - {Key: []byte("txIndex"), Value: []byte("10")}, - {Key: []byte("amount"), Value: []byte("1000")}, - {Key: []byte("txGasUsed"), Value: []byte("21000")}, - {Key: []byte("txHash"), Value: []byte("14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57")}, - {Key: []byte("recipient"), Value: []byte("0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7")}, + {Key: "ethereumTxHash", Value: txHash.Hex()}, + {Key: "txIndex", Value: "10"}, + {Key: "amount", Value: "1000"}, + {Key: "txGasUsed", Value: "21000"}, + {Key: "txHash", Value: "14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57"}, + {Key: "recipient", Value: "0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7"}, }}, {Type: evmtypes.EventTypeEthereumTx, Attributes: []abci.EventAttribute{ - {Key: []byte("ethereumTxHash"), Value: []byte(txHash2.Hex())}, - {Key: []byte("txIndex"), Value: []byte("10")}, - {Key: []byte("amount"), Value: []byte("1000")}, - {Key: []byte("txGasUsed"), Value: []byte("0x01")}, - {Key: []byte("txHash"), Value: []byte("14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57")}, - {Key: []byte("recipient"), Value: []byte("0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7")}, - {Key: []byte("ethereumTxFailed"), Value: []byte("contract reverted")}, + {Key: "ethereumTxHash", Value: txHash2.Hex()}, + {Key: "txIndex", Value: "10"}, + {Key: "amount", Value: "1000"}, + {Key: "txGasUsed", Value: "0x01"}, + {Key: "txHash", Value: "14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57"}, + {Key: "recipient", Value: "0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7"}, + {Key: "ethereumTxFailed", Value: "contract reverted"}, }}, {Type: evmtypes.EventTypeTxLog, Attributes: []abci.EventAttribute{}}, }, @@ -194,14 +194,14 @@ func TestParseTxResult(t *testing.T) { GasUsed: 21000, Events: []abci.Event{ {Type: evmtypes.EventTypeEthereumTx, Attributes: []abci.EventAttribute{ - {Key: []byte("ethereumTxHash"), Value: []byte(txHash.Hex())}, - {Key: []byte("txIndex"), Value: []byte("0x01")}, + {Key: "ethereumTxHash", Value: txHash.Hex()}, + {Key: "txIndex", Value: "0x01"}, }}, {Type: evmtypes.EventTypeEthereumTx, Attributes: []abci.EventAttribute{ - {Key: []byte("amount"), Value: []byte("1000")}, - {Key: []byte("txGasUsed"), Value: []byte("21000")}, - {Key: []byte("txHash"), Value: []byte("14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57")}, - {Key: []byte("recipient"), Value: []byte("0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7")}, + {Key: "amount", Value: "1000"}, + {Key: "txGasUsed", Value: "21000"}, + {Key: "txHash", Value: "14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57"}, + {Key: "recipient", Value: "0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7"}, }}, }, }, @@ -213,14 +213,14 @@ func TestParseTxResult(t *testing.T) { GasUsed: 21000, Events: []abci.Event{ {Type: evmtypes.EventTypeEthereumTx, Attributes: []abci.EventAttribute{ - {Key: []byte("ethereumTxHash"), Value: []byte(txHash.Hex())}, - {Key: []byte("txIndex"), Value: []byte("10")}, + {Key: "ethereumTxHash", Value: txHash.Hex()}, + {Key: "txIndex", Value: "10"}, }}, {Type: evmtypes.EventTypeEthereumTx, Attributes: []abci.EventAttribute{ - {Key: []byte("amount"), Value: []byte("1000")}, - {Key: []byte("txGasUsed"), Value: []byte("0x01")}, - {Key: []byte("txHash"), Value: []byte("14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57")}, - {Key: []byte("recipient"), Value: []byte("0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7")}, + {Key: "amount", Value: "1000"}, + {Key: "txGasUsed", Value: "0x01"}, + {Key: "txHash", Value: "14A84ED06282645EFBF080E0B7ED80D8D8D6A36337668A12B5F229F81CDD3F57"}, + {Key: "recipient", Value: "0x775b87ef5D82ca211811C1a02CE0fE0CA3a455d7"}, }}, }, }, diff --git a/rpc/types/query_client.go b/rpc/types/query_client.go index d15bdb5e17..d8d991352e 100644 --- a/rpc/types/query_client.go +++ b/rpc/types/query_client.go @@ -20,8 +20,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/tx" - abci "github.com/tendermint/tendermint/abci/types" - "github.com/tendermint/tendermint/proto/tendermint/crypto" + abci "github.com/cometbft/cometbft/abci/types" + "github.com/cometbft/cometbft/proto/tendermint/crypto" "github.com/cosmos/cosmos-sdk/client" diff --git a/rpc/types/utils.go b/rpc/types/utils.go index 62d947dfe5..b142e18240 100644 --- a/rpc/types/utils.go +++ b/rpc/types/utils.go @@ -16,14 +16,13 @@ package types import ( - "bytes" "context" "fmt" "math/big" "strings" - abci "github.com/tendermint/tendermint/abci/types" - tmtypes "github.com/tendermint/tendermint/types" + abci "github.com/cometbft/cometbft/abci/types" + tmtypes "github.com/cometbft/cometbft/types" errorsmod "cosmossdk.io/errors" "github.com/cosmos/cosmos-sdk/client" @@ -32,6 +31,7 @@ import ( evmtypes "github.com/evmos/ethermint/x/evm/types" feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" + tmrpcclient "github.com/cometbft/cometbft/rpc/client" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/math" @@ -93,7 +93,11 @@ func EthHeaderFromTendermint(header tmtypes.Header, bloom ethtypes.Bloom, baseFe // BlockMaxGasFromConsensusParams returns the gas limit for the current block from the chain consensus params. func BlockMaxGasFromConsensusParams(goCtx context.Context, clientCtx client.Context, blockHeight int64) (int64, error) { - resConsParams, err := clientCtx.Client.ConsensusParams(goCtx, &blockHeight) + tmrpcClient, ok := clientCtx.Client.(tmrpcclient.Client) + if !ok { + panic("incorrect tm rpc client") + } + resConsParams, err := tmrpcClient.ConsensusParams(goCtx, &blockHeight) if err != nil { // #nosec G701 always in range return int64(^uint32(0)), err @@ -276,8 +280,8 @@ func BaseFeeFromEvents(events []abci.Event) *big.Int { } for _, attr := range event.Attributes { - if bytes.Equal(attr.Key, []byte(feemarkettypes.AttributeKeyBaseFee)) { - result, success := new(big.Int).SetString(string(attr.Value), 10) + if attr.Key == feemarkettypes.AttributeKeyBaseFee { + result, success := new(big.Int).SetString(attr.Value, 10) if success { return result } diff --git a/rpc/websockets.go b/rpc/websockets.go index 3c64bfdb8a..22bf86d3d5 100644 --- a/rpc/websockets.go +++ b/rpc/websockets.go @@ -27,6 +27,9 @@ import ( "sync" "time" + "github.com/cometbft/cometbft/libs/log" + rpcclient "github.com/cometbft/cometbft/rpc/jsonrpc/client" + tmtypes "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/client" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" @@ -37,9 +40,6 @@ import ( "github.com/gorilla/mux" "github.com/gorilla/websocket" "github.com/pkg/errors" - "github.com/tendermint/tendermint/libs/log" - rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client" - tmtypes "github.com/tendermint/tendermint/types" "github.com/zeta-chain/zetacore/rpc/ethereum/pubsub" rpcfilters "github.com/zeta-chain/zetacore/rpc/namespaces/ethereum/eth/filters" "github.com/zeta-chain/zetacore/rpc/types" diff --git a/scripts/protoc-gen-go.sh b/scripts/protoc-gen-go.sh old mode 100755 new mode 100644 index 5b8e546256..a646bc6615 --- a/scripts/protoc-gen-go.sh +++ b/scripts/protoc-gen-go.sh @@ -1,39 +1,20 @@ #!/usr/bin/env bash -# Install the required protoc execution tools. -go install github.com/regen-network/cosmos-proto/protoc-gen-gocosmos -go install google.golang.org/protobuf/cmd/protoc-gen-go@latest -go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@latest +set -eo pipefail -# Install goimports for formatting proto go imports. -go install golang.org/x/tools/cmd/goimports@latest - -# Define a shell function for generating proto code. -generate_proto() { - local dir="$1" - for file in "$dir"/*.proto; do - if grep -q go_package "$file"; then - if command -v buf >/dev/null 2>&1; then - buf generate --template buf.gen.gogo.yaml "$file" - else - echo "Error: buf command not found. See https://docs.buf.build/installation" >&2 - exit 1 - fi - fi - done -} - -# Generate Gogo proto code. +echo "Generating gogo proto code" cd proto proto_dirs=$(find . -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) for dir in $proto_dirs; do - generate_proto "$dir" + for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do + if grep "option go_package" $file &> /dev/null ; then + buf generate --template buf.gen.gogo.yaml $file + fi + done done + cd .. # Move proto files to the right places. cp -r github.com/zeta-chain/zetacore/* ./ -rm -rf github.com - -# Format proto go imports. -goimports -w . \ No newline at end of file +rm -rf github.com \ No newline at end of file diff --git a/server/config/config.go b/server/config/config.go index 20ddf48218..212f7c16fd 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -23,7 +23,7 @@ import ( "github.com/spf13/viper" - "github.com/tendermint/tendermint/libs/strings" + "github.com/cometbft/cometbft/libs/strings" errorsmod "cosmossdk.io/errors" "github.com/cosmos/cosmos-sdk/server/config" diff --git a/server/indexer_cmd.go b/server/indexer_cmd.go index 227114011d..2d19489232 100644 --- a/server/indexer_cmd.go +++ b/server/indexer_cmd.go @@ -20,12 +20,12 @@ import ( "github.com/spf13/cobra" + tmnode "github.com/cometbft/cometbft/node" + sm "github.com/cometbft/cometbft/state" + tmstore "github.com/cometbft/cometbft/store" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/server" "github.com/evmos/ethermint/indexer" - tmnode "github.com/tendermint/tendermint/node" - sm "github.com/tendermint/tendermint/state" - tmstore "github.com/tendermint/tendermint/store" ) func NewIndexTxCmd() *cobra.Command { diff --git a/server/indexer_service.go b/server/indexer_service.go index f79df075aa..2edbc02aa5 100644 --- a/server/indexer_service.go +++ b/server/indexer_service.go @@ -19,9 +19,9 @@ import ( "context" "time" - "github.com/tendermint/tendermint/libs/service" - rpcclient "github.com/tendermint/tendermint/rpc/client" - "github.com/tendermint/tendermint/types" + "github.com/cometbft/cometbft/libs/service" + rpcclient "github.com/cometbft/cometbft/rpc/client" + "github.com/cometbft/cometbft/types" ethermint "github.com/evmos/ethermint/types" ) diff --git a/server/start.go b/server/start.go index 3863144995..b2c5a46a4a 100644 --- a/server/start.go +++ b/server/start.go @@ -35,30 +35,31 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - abciserver "github.com/tendermint/tendermint/abci/server" - tcmd "github.com/tendermint/tendermint/cmd/cometbft/commands" - tmos "github.com/tendermint/tendermint/libs/os" - "github.com/tendermint/tendermint/node" - "github.com/tendermint/tendermint/p2p" - pvm "github.com/tendermint/tendermint/privval" - "github.com/tendermint/tendermint/proxy" - "github.com/tendermint/tendermint/rpc/client/local" - dbm "github.com/tendermint/tm-db" - - "github.com/cosmos/cosmos-sdk/server/rosetta" - crgserver "github.com/cosmos/cosmos-sdk/server/rosetta/lib/server" + dbm "github.com/cometbft/cometbft-db" + abciserver "github.com/cometbft/cometbft/abci/server" + tcmd "github.com/cometbft/cometbft/cmd/cometbft/commands" + tmos "github.com/cometbft/cometbft/libs/os" + "github.com/cometbft/cometbft/node" + "github.com/cometbft/cometbft/p2p" + pvm "github.com/cometbft/cometbft/privval" + "github.com/cometbft/cometbft/proxy" + rpcclient "github.com/cometbft/cometbft/rpc/client" + "github.com/cometbft/cometbft/rpc/client/local" + + "cosmossdk.io/tools/rosetta" + crgserver "cosmossdk.io/tools/rosetta/lib/server" ethmetricsexp "github.com/ethereum/go-ethereum/metrics/exp" errorsmod "cosmossdk.io/errors" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - pruningtypes "github.com/cosmos/cosmos-sdk/pruning/types" "github.com/cosmos/cosmos-sdk/server" "github.com/cosmos/cosmos-sdk/server/api" serverconfig "github.com/cosmos/cosmos-sdk/server/config" servergrpc "github.com/cosmos/cosmos-sdk/server/grpc" "github.com/cosmos/cosmos-sdk/server/types" + pruningtypes "github.com/cosmos/cosmos-sdk/store/pruning/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/evmos/ethermint/indexer" @@ -412,10 +413,7 @@ func startInProcess(ctx *server.Context, clientCtx client.Context, opts StartOpt app.RegisterTxService(clientCtx) app.RegisterTendermintService(clientCtx) - - if a, ok := app.(types.ApplicationQueryService); ok { - a.RegisterNodeService(clientCtx) - } + app.RegisterNodeService(clientCtx) } metrics, err := startTelemetry(config) @@ -439,7 +437,7 @@ func startInProcess(ctx *server.Context, clientCtx client.Context, opts StartOpt idxLogger := ctx.Logger.With("indexer", "evm") idxer = indexer.NewKVIndexer(idxDB, idxLogger, clientCtx) - indexerService := NewEVMIndexerService(idxer, clientCtx.Client) + indexerService := NewEVMIndexerService(idxer, clientCtx.Client.(rpcclient.Client)) indexerService.SetLogger(idxLogger) errCh := make(chan error) diff --git a/server/util.go b/server/util.go index 9b95de405b..5b9e5d4e92 100644 --- a/server/util.go +++ b/server/util.go @@ -30,9 +30,9 @@ import ( "github.com/cosmos/cosmos-sdk/server/types" "github.com/cosmos/cosmos-sdk/version" - tmcmd "github.com/tendermint/tendermint/cmd/cometbft/commands" - tmlog "github.com/tendermint/tendermint/libs/log" - rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client" + tmcmd "github.com/cometbft/cometbft/cmd/cometbft/commands" + tmlog "github.com/cometbft/cometbft/libs/log" + rpcclient "github.com/cometbft/cometbft/rpc/jsonrpc/client" ) // AddCommands adds server commands diff --git a/testutil/keeper/authority.go b/testutil/keeper/authority.go index 534f8b8dee..25ce0f7a67 100644 --- a/testutil/keeper/authority.go +++ b/testutil/keeper/authority.go @@ -3,13 +3,13 @@ package keeper import ( "testing" + tmdb "github.com/cometbft/cometbft-db" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - tmdb "github.com/tendermint/tm-db" "github.com/zeta-chain/zetacore/testutil/sample" "github.com/zeta-chain/zetacore/x/authority/keeper" "github.com/zeta-chain/zetacore/x/authority/types" diff --git a/testutil/keeper/crosschain.go b/testutil/keeper/crosschain.go index 0f371c46ea..f4223d73cc 100644 --- a/testutil/keeper/crosschain.go +++ b/testutil/keeper/crosschain.go @@ -4,6 +4,7 @@ import ( "math/big" "testing" + tmdb "github.com/cometbft/cometbft-db" "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -11,7 +12,6 @@ import ( evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - tmdb "github.com/tendermint/tm-db" "github.com/zeta-chain/zetacore/pkg/chains" "github.com/zeta-chain/zetacore/pkg/coin" crosschainmocks "github.com/zeta-chain/zetacore/testutil/keeper/mocks/crosschain" diff --git a/testutil/keeper/emissions.go b/testutil/keeper/emissions.go index 5a0d190e8b..a3a96f4696 100644 --- a/testutil/keeper/emissions.go +++ b/testutil/keeper/emissions.go @@ -3,13 +3,13 @@ package keeper import ( "testing" + tmdb "github.com/cometbft/cometbft-db" "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/stretchr/testify/require" - tmdb "github.com/tendermint/tm-db" emissionsmocks "github.com/zeta-chain/zetacore/testutil/keeper/mocks/emissions" "github.com/zeta-chain/zetacore/x/emissions/keeper" "github.com/zeta-chain/zetacore/x/emissions/types" diff --git a/testutil/keeper/fungible.go b/testutil/keeper/fungible.go index 956ad1e432..1da1550925 100644 --- a/testutil/keeper/fungible.go +++ b/testutil/keeper/fungible.go @@ -4,6 +4,7 @@ import ( "math/big" "testing" + tmdb "github.com/cometbft/cometbft-db" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" @@ -12,7 +13,6 @@ import ( evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - tmdb "github.com/tendermint/tm-db" fungiblemocks "github.com/zeta-chain/zetacore/testutil/keeper/mocks/fungible" "github.com/zeta-chain/zetacore/testutil/sample" fungiblemodule "github.com/zeta-chain/zetacore/x/fungible" diff --git a/testutil/keeper/keeper.go b/testutil/keeper/keeper.go index 0eb8286404..a191bfefcc 100644 --- a/testutil/keeper/keeper.go +++ b/testutil/keeper/keeper.go @@ -5,6 +5,10 @@ import ( "testing" "time" + tmdb "github.com/cometbft/cometbft-db" + "github.com/cometbft/cometbft/crypto/tmhash" + "github.com/cometbft/cometbft/libs/log" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" @@ -13,6 +17,8 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + consensuskeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper" + consensustypes "github.com/cosmos/cosmos-sdk/x/consensus/types" distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" @@ -32,10 +38,6 @@ import ( feemarketkeeper "github.com/evmos/ethermint/x/feemarket/keeper" feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/crypto/tmhash" - "github.com/tendermint/tendermint/libs/log" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmdb "github.com/tendermint/tm-db" "github.com/zeta-chain/zetacore/testutil/sample" authoritymodule "github.com/zeta-chain/zetacore/x/authority" authoritykeeper "github.com/zeta-chain/zetacore/x/authority/keeper" @@ -146,12 +148,22 @@ func ParamsKeeper( ) } +func ConsensusKeeper( + cdc codec.Codec, + db *tmdb.MemDB, + ss store.CommitMultiStore, +) consensuskeeper.Keeper { + storeKey := sdk.NewKVStoreKey(consensustypes.StoreKey) + + ss.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) + return consensuskeeper.NewKeeper(cdc, storeKey, authtypes.NewModuleAddress(govtypes.ModuleName).String()) +} + // AccountKeeper instantiates an account keeper for testing purposes func AccountKeeper( cdc codec.Codec, db *tmdb.MemDB, ss store.CommitMultiStore, - paramKeeper paramskeeper.Keeper, ) authkeeper.AccountKeeper { storeKey := sdk.NewKVStoreKey(authtypes.StoreKey) ss.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) @@ -159,10 +171,10 @@ func AccountKeeper( return authkeeper.NewAccountKeeper( cdc, storeKey, - paramKeeper.Subspace(authtypes.ModuleName), ethermint.ProtoAccount, moduleAccountPerms, "zeta", + authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) } @@ -171,7 +183,6 @@ func BankKeeper( cdc codec.Codec, db *tmdb.MemDB, ss store.CommitMultiStore, - paramKeeper paramskeeper.Keeper, authKeeper authkeeper.AccountKeeper, ) bankkeeper.Keeper { storeKey := sdk.NewKVStoreKey(banktypes.StoreKey) @@ -182,8 +193,8 @@ func BankKeeper( cdc, storeKey, authKeeper, - paramKeeper.Subspace(banktypes.ModuleName), blockedAddrs, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) } @@ -194,25 +205,24 @@ func StakingKeeper( ss store.CommitMultiStore, authKeeper authkeeper.AccountKeeper, bankKeeper bankkeeper.Keeper, - paramKeeper paramskeeper.Keeper, ) stakingkeeper.Keeper { storeKey := sdk.NewKVStoreKey(stakingtypes.StoreKey) ss.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) - return stakingkeeper.NewKeeper( + return *stakingkeeper.NewKeeper( cdc, storeKey, authKeeper, bankKeeper, - paramKeeper.Subspace(stakingtypes.ModuleName), + authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) } // SlashingKeeper instantiates a slashing keeper for testing purposes -func SlashingKeeper(cdc codec.Codec, db *tmdb.MemDB, ss store.CommitMultiStore, stakingKeeper stakingkeeper.Keeper, paramKeeper paramskeeper.Keeper) slashingkeeper.Keeper { +func SlashingKeeper(cdc codec.Codec, db *tmdb.MemDB, ss store.CommitMultiStore, stakingKeeper stakingkeeper.Keeper) slashingkeeper.Keeper { storeKey := sdk.NewKVStoreKey(slashingtypes.StoreKey) ss.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) - return slashingkeeper.NewKeeper(cdc, storeKey, stakingKeeper, paramKeeper.Subspace(slashingtypes.ModuleName)) + return slashingkeeper.NewKeeper(cdc, codec.NewLegacyAmino(), storeKey, stakingKeeper, authtypes.NewModuleAddress(govtypes.ModuleName).String()) } // DistributionKeeper instantiates a distribution keeper for testing purposes @@ -223,7 +233,6 @@ func DistributionKeeper( authKeeper authkeeper.AccountKeeper, bankKeeper bankkeeper.Keeper, stakingKeeper *stakingkeeper.Keeper, - paramKeeper paramskeeper.Keeper, ) distrkeeper.Keeper { storeKey := sdk.NewKVStoreKey(distrtypes.StoreKey) ss.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) @@ -231,11 +240,11 @@ func DistributionKeeper( return distrkeeper.NewKeeper( cdc, storeKey, - paramKeeper.Subspace(stakingtypes.ModuleName), authKeeper, bankKeeper, stakingKeeper, authtypes.FeeCollectorName, + authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) } @@ -256,7 +265,7 @@ func UpgradeKeeper( skipUpgradeHeights := make(map[int64]bool) vs := ProtocolVersionSetter{} - return upgradekeeper.NewKeeper( + return *upgradekeeper.NewKeeper( skipUpgradeHeights, storeKey, cdc, @@ -272,6 +281,7 @@ func FeeMarketKeeper( db *tmdb.MemDB, ss store.CommitMultiStore, paramKeeper paramskeeper.Keeper, + consensusKeeper consensuskeeper.Keeper, ) feemarketkeeper.Keeper { storeKey := sdk.NewKVStoreKey(feemarkettypes.StoreKey) transientKey := sdk.NewTransientStoreKey(feemarkettypes.TransientKey) @@ -285,6 +295,7 @@ func FeeMarketKeeper( storeKey, transientKey, paramKeeper.Subspace(feemarkettypes.ModuleName), + consensusKeeper, ) } @@ -298,6 +309,7 @@ func EVMKeeper( stakingKeeper stakingkeeper.Keeper, feemarketKeeper feemarketkeeper.Keeper, paramKeeper paramskeeper.Keeper, + consensusKeeper consensuskeeper.Keeper, ) *evmkeeper.Keeper { storeKey := sdk.NewKVStoreKey(evmtypes.StoreKey) transientKey := sdk.NewTransientStoreKey(evmtypes.TransientKey) @@ -318,6 +330,7 @@ func EVMKeeper( geth.NewEVM, "", paramKeeper.Subspace(evmtypes.ModuleName), + consensusKeeper, ) return k @@ -330,12 +343,13 @@ func NewSDKKeepers( ss store.CommitMultiStore, ) SDKKeepers { paramsKeeper := ParamsKeeper(cdc, db, ss) - authKeeper := AccountKeeper(cdc, db, ss, paramsKeeper) - bankKeeper := BankKeeper(cdc, db, ss, paramsKeeper, authKeeper) - stakingKeeper := StakingKeeper(cdc, db, ss, authKeeper, bankKeeper, paramsKeeper) - feeMarketKeeper := FeeMarketKeeper(cdc, db, ss, paramsKeeper) - evmKeeper := EVMKeeper(cdc, db, ss, authKeeper, bankKeeper, stakingKeeper, feeMarketKeeper, paramsKeeper) - slashingKeeper := SlashingKeeper(cdc, db, ss, stakingKeeper, paramsKeeper) + authKeeper := AccountKeeper(cdc, db, ss) + bankKeeper := BankKeeper(cdc, db, ss, authKeeper) + stakingKeeper := StakingKeeper(cdc, db, ss, authKeeper, bankKeeper) + consensusKeeper := ConsensusKeeper(cdc, db, ss) + feeMarketKeeper := FeeMarketKeeper(cdc, db, ss, paramsKeeper, consensusKeeper) + evmKeeper := EVMKeeper(cdc, db, ss, authKeeper, bankKeeper, stakingKeeper, feeMarketKeeper, paramsKeeper, consensusKeeper) + slashingKeeper := SlashingKeeper(cdc, db, ss, stakingKeeper) return SDKKeepers{ ParamsKeeper: paramsKeeper, AuthKeeper: authKeeper, diff --git a/testutil/keeper/lightclient.go b/testutil/keeper/lightclient.go index df4ff39b16..c8aa3c56de 100644 --- a/testutil/keeper/lightclient.go +++ b/testutil/keeper/lightclient.go @@ -3,12 +3,12 @@ package keeper import ( "testing" + tmdb "github.com/cometbft/cometbft-db" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - tmdb "github.com/tendermint/tm-db" lightclientmocks "github.com/zeta-chain/zetacore/testutil/keeper/mocks/lightclient" "github.com/zeta-chain/zetacore/x/lightclient/keeper" "github.com/zeta-chain/zetacore/x/lightclient/types" diff --git a/testutil/keeper/observer.go b/testutil/keeper/observer.go index 072bc9b2da..e7048a414a 100644 --- a/testutil/keeper/observer.go +++ b/testutil/keeper/observer.go @@ -3,6 +3,7 @@ package keeper import ( "testing" + tmdb "github.com/cometbft/cometbft-db" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" @@ -14,7 +15,6 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - tmdb "github.com/tendermint/tm-db" observermocks "github.com/zeta-chain/zetacore/testutil/keeper/mocks/observer" "github.com/zeta-chain/zetacore/x/observer/keeper" "github.com/zeta-chain/zetacore/x/observer/types" diff --git a/testutil/network/network_config.go b/testutil/network/network_config.go deleted file mode 100644 index 2aabd219e1..0000000000 --- a/testutil/network/network_config.go +++ /dev/null @@ -1,69 +0,0 @@ -package network - -import ( - "fmt" - "time" - - "github.com/zeta-chain/zetacore/cmd/zetacored/config" - - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - pruningtypes "github.com/cosmos/cosmos-sdk/pruning/types" - servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - - tmdb "github.com/tendermint/tm-db" - - "github.com/zeta-chain/zetacore/app" -) - -// DefaultConfig will initialize config for the network with custom application, -// genesis and single validator. All other parameters are inherited from cosmos-sdk/testutil/network.DefaultConfig -func DefaultConfig() Config { - encoding := app.MakeEncodingConfig() - - return Config{ - Codec: encoding.Codec, - TxConfig: encoding.TxConfig, - LegacyAmino: encoding.Amino, - InterfaceRegistry: encoding.InterfaceRegistry, - AccountRetriever: authtypes.AccountRetriever{}, - AppConstructor: func(val Validator) servertypes.Application { - return app.New( - val.Ctx.Logger, tmdb.NewMemDB(), nil, true, map[int64]bool{}, val.Ctx.Config.RootDir, 0, - encoding, - simapp.EmptyAppOptions{}, - baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.AppConfig.Pruning)), - baseapp.SetMinGasPrices(val.AppConfig.MinGasPrices), - ) - }, - GenesisState: app.ModuleBasics.DefaultGenesis(encoding.Codec), - TimeoutCommit: 2 * time.Second, - ChainID: "athens_8888-2", - NumOfValidators: 10, - Mnemonics: []string{ - "race draft rival universe maid cheese steel logic crowd fork comic easy truth drift tomorrow eye buddy head time cash swing swift midnight borrow", - "hand inmate canvas head lunar naive increase recycle dog ecology inhale december wide bubble hockey dice worth gravity ketchup feed balance parent secret orchard", - "cool little feel apple shoulder member menu owner sure update combine execute copper candy orient record pioneer wet vapor junior quiz choice topic logic", - "result guess around primary tissue tiger witness tired canyon clog gift field merry tribe honey popular bring cargo cricket crew hand arrow quantum broom", - "canyon impact autumn parrot sister roof father wing valve result matrix subject step similar actor effort lake comic patch moral lobster charge veteran barely", - "pulp false tongue shield brave broom hurdle attract laugh taxi victory budget fox spirit abstract inside avoid win more cigar perfect opera attract clump", - "idea oxygen faculty harsh citizen section group carbon waste symbol village inspire slim acquire grab donate champion diary north come kitchen emotion dance melody", - "tortoise wife false victory define seek frequent nasty answer wire erosion thumb scrub seek cluster state analyst addict antique panic century image radar agree", - "bacon weird jazz control lumber pottery install parrot paper range license flip gadget cargo armor they pioneer media ordinary agent adjust primary doll access", - "muffin market delay mutual abandon swamp order orbit rose easy sunny retire autumn weekend involve pelican elbow gesture current chicken stock theme antique fringe", - }, - BondDenom: config.BaseDenom, - MinGasPrices: fmt.Sprintf("0.000006%s", config.BaseDenom), - AccountTokens: sdk.TokensFromConsensusPower(1000, sdk.DefaultPowerReduction), - StakingTokens: sdk.TokensFromConsensusPower(500, sdk.DefaultPowerReduction), - BondedTokens: sdk.TokensFromConsensusPower(100, sdk.DefaultPowerReduction), - PruningStrategy: pruningtypes.PruningOptionNothing, - CleanupDir: true, - SigningAlgo: string(hd.Secp256k1Type), - KeyringOptions: []keyring.Option{}, - } -} diff --git a/testutil/network/network_setup.go b/testutil/network/network_setup.go index 987bb38fe5..ea8d5b2596 100644 --- a/testutil/network/network_setup.go +++ b/testutil/network/network_setup.go @@ -15,30 +15,32 @@ import ( "testing" "time" - "cosmossdk.io/math" - "github.com/rs/zerolog" + "github.com/cometbft/cometbft/node" + tmclient "github.com/cometbft/cometbft/rpc/client" "github.com/spf13/cobra" - "github.com/tendermint/tendermint/node" - tmclient "github.com/tendermint/tendermint/rpc/client" - dbm "github.com/tendermint/tm-db" + "github.com/zeta-chain/zetacore/cmd/zetacored/config" "google.golang.org/grpc" - "github.com/cosmos/cosmos-sdk/baseapp" + "cosmossdk.io/math" + tmlog "github.com/cometbft/cometbft/libs/log" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" "github.com/cosmos/cosmos-sdk/client/tx" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/cosmos/cosmos-sdk/crypto/hd" "github.com/cosmos/cosmos-sdk/crypto/keyring" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - pruningtypes "github.com/cosmos/cosmos-sdk/pruning/types" "github.com/cosmos/cosmos-sdk/server" "github.com/cosmos/cosmos-sdk/server/api" srvconfig "github.com/cosmos/cosmos-sdk/server/config" servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/simapp/params" + pruningtypes "github.com/cosmos/cosmos-sdk/store/pruning/types" "github.com/cosmos/cosmos-sdk/testutil" sdk "github.com/cosmos/cosmos-sdk/types" + moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/cosmos/cosmos-sdk/x/genutil" @@ -50,19 +52,15 @@ var lock = new(sync.Mutex) // AppConstructor defines a function which accepts a network configuration and // creates an ABCI Application to provide to Tendermint. -type AppConstructor = func(val Validator) servertypes.Application - -// NewAppConstructor returns a new simapp AppConstructor -func NewAppConstructor(encodingCfg params.EncodingConfig) AppConstructor { - return func(val Validator) servertypes.Application { - return simapp.NewSimApp( - val.Ctx.Logger, dbm.NewMemDB(), nil, true, make(map[int64]bool), val.Ctx.Config.RootDir, 0, - encodingCfg, - simapp.EmptyAppOptions{}, - baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.AppConfig.Pruning)), - baseapp.SetMinGasPrices(val.AppConfig.MinGasPrices), - ) - } +type ( + AppConstructor = func(val ValidatorI) servertypes.Application + TestFixtureFactory = func() TestFixture +) + +type TestFixture struct { + AppConstructor AppConstructor + GenesisState map[string]json.RawMessage + EncodingConfig moduletestutil.TestEncodingConfig } // Config defines the necessary configuration used to bootstrap and start an @@ -78,7 +76,7 @@ type Config struct { GenesisState map[string]json.RawMessage // custom genesis state to provide TimeoutCommit time.Duration // the consensus commitment timeout ChainID string // the network chain-id - NumOfValidators int // the total number of validators to create and bond + NumValidators int // the total number of validators to create and bond Mnemonics []string // custom user-provided validator operator mnemonics BondDenom string // the staking bond denomination MinGasPrices string // the minimum gas prices each validator will accept @@ -96,6 +94,39 @@ type Config struct { PrintMnemonic bool // print the mnemonic of first validator as log output for testing } +// DefaultConfig returns a sane default configuration suitable for nearly all +// testing requirements. +func DefaultConfig(factory TestFixtureFactory) Config { + fixture := factory() + + return Config{ + Codec: fixture.EncodingConfig.Codec, + TxConfig: fixture.EncodingConfig.TxConfig, + LegacyAmino: fixture.EncodingConfig.Amino, + InterfaceRegistry: fixture.EncodingConfig.InterfaceRegistry, + AccountRetriever: authtypes.AccountRetriever{}, + AppConstructor: fixture.AppConstructor, + GenesisState: fixture.GenesisState, + TimeoutCommit: 2 * time.Second, + ChainID: "athens_8888-2", + NumValidators: 2, + BondDenom: config.BaseDenom, + MinGasPrices: fmt.Sprintf("0.000006%s", config.BaseDenom), + AccountTokens: sdk.TokensFromConsensusPower(1000, sdk.DefaultPowerReduction), + StakingTokens: sdk.TokensFromConsensusPower(500, sdk.DefaultPowerReduction), + BondedTokens: sdk.TokensFromConsensusPower(100, sdk.DefaultPowerReduction), + PruningStrategy: pruningtypes.PruningOptionNothing, + CleanupDir: true, + SigningAlgo: string(hd.Secp256k1Type), + KeyringOptions: []keyring.Option{}, + PrintMnemonic: false, + Mnemonics: []string{ + "race draft rival universe maid cheese steel logic crowd fork comic easy truth drift tomorrow eye buddy head time cash swing swift midnight borrow", + "hand inmate canvas head lunar naive increase recycle dog ecology inhale december wide bubble hockey dice worth gravity ketchup feed balance parent secret orchard", + }, + } +} + type ( // Network defines a local in-process testing network using SimApp. It can be // configured to start any number of validators, each with its own RPC and API @@ -133,25 +164,41 @@ type ( ValAddress sdk.ValAddress RPCClient tmclient.Client + app servertypes.Application tmNode *node.Node api *api.Server grpc *grpc.Server grpcWeb *http.Server } -) -// Logger is a network logger interface that exposes testnet-level Log() methods for an in-process testing network -// This is not to be confused with logging that may happen at an individual node or validator level -type Logger interface { - Log(args ...interface{}) - Logf(format string, args ...interface{}) -} + // ValidatorI expose a validator's context and configuration + ValidatorI interface { + GetCtx() *server.Context + GetAppConfig() *srvconfig.Config + } + + // Logger is a network logger interface that exposes testnet-level Log() methods for an in-process testing network + // This is not to be confused with logging that may happen at an individual node or validator level + Logger interface { + Log(args ...interface{}) + Logf(format string, args ...interface{}) + } +) var ( - _ Logger = (*testing.T)(nil) - _ Logger = (*CLILogger)(nil) + _ Logger = (*testing.T)(nil) + _ Logger = (*CLILogger)(nil) + _ ValidatorI = Validator{} ) +func (v Validator) GetCtx() *server.Context { + return v.Ctx +} + +func (v Validator) GetAppConfig() *srvconfig.Config { + return v.AppConfig +} + // CLILogger wraps a cobra.Command and provides command logging methods. type CLILogger struct { cmd *cobra.Command @@ -181,15 +228,15 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) { network := &Network{ Logger: l, BaseDir: baseDir, - Validators: make([]*Validator, cfg.NumOfValidators), + Validators: make([]*Validator, cfg.NumValidators), Config: cfg, } l.Logf("preparing test network with chain-id \"%s\"\n", cfg.ChainID) - monikers := make([]string, cfg.NumOfValidators) - nodeIDs := make([]string, cfg.NumOfValidators) - valPubKeys := make([]cryptotypes.PubKey, cfg.NumOfValidators) + monikers := make([]string, cfg.NumValidators) + nodeIDs := make([]string, cfg.NumValidators) + valPubKeys := make([]cryptotypes.PubKey, cfg.NumValidators) var ( genAccounts []authtypes.GenesisAccount @@ -200,7 +247,7 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) { buf := bufio.NewReader(os.Stdin) // generate private keys, node IDs, and initial transactions - for i := 0; i < cfg.NumOfValidators; i++ { + for i := 0; i < cfg.NumValidators; i++ { appCfg := srvconfig.DefaultConfig() appCfg.Pruning = cfg.PruningStrategy appCfg.MinGasPrices = cfg.MinGasPrices @@ -266,10 +313,9 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) { appCfg.GRPCWeb.Enable = true } - logger := server.ZeroLogWrapper{Logger: zerolog.Nop()} + logger := tmlog.NewNopLogger() if cfg.EnableTMLogging { - logWriter := zerolog.ConsoleWriter{Out: os.Stderr} - logger = server.ZeroLogWrapper{Logger: zerolog.New(logWriter).Level(zerolog.InfoLevel).With().Timestamp().Logger()} + logger = tmlog.NewTMLogger(tmlog.NewSyncWriter(os.Stdout)) } ctx.Logger = logger @@ -374,8 +420,8 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) { valPubKeys[i], sdk.NewCoin(cfg.BondDenom, cfg.BondedTokens), stakingtypes.NewDescription(nodeDirName, "", "", "", ""), - stakingtypes.NewCommissionRates(commission, sdk.OneDec(), sdk.OneDec()), - sdk.OneInt(), + stakingtypes.NewCommissionRates(commission, math.LegacyOneDec(), math.LegacyOneDec()), + math.OneInt(), ) if err != nil { return nil, err @@ -417,7 +463,6 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) { if err != nil { return nil, err } - srvconfig.WriteConfigFile(filepath.Join(nodeDir, "config", "app.toml"), appCfg) clientCtx := client.Context{}. @@ -429,7 +474,11 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) { WithCodec(cfg.Codec). WithLegacyAmino(cfg.LegacyAmino). WithTxConfig(cfg.TxConfig). - WithAccountRetriever(cfg.AccountRetriever) + WithAccountRetriever(cfg.AccountRetriever). + WithNodeURI(tmCfg.RPC.ListenAddress) + + // Provide ChainID here since we can't modify it in the Comet config. + ctx.Viper.Set(flags.FlagChainID, cfg.ChainID) network.Validators[i] = &Validator{ AppConfig: appCfg, @@ -486,12 +535,27 @@ func (n *Network) LatestHeight() (int64, error) { return 0, errors.New("no validators available") } - status, err := n.Validators[0].RPCClient.Status(context.Background()) - if err != nil { - return 0, err - } + ticker := time.NewTicker(time.Second) + defer ticker.Stop() - return status.SyncInfo.LatestBlockHeight, nil + timeout := time.NewTimer(time.Second * 5) + defer timeout.Stop() + + var latestHeight int64 + val := n.Validators[0] + queryClient := tmservice.NewServiceClient(val.ClientCtx) + + for { + select { + case <-timeout.C: + return latestHeight, errors.New("timeout exceeded waiting for block") + case <-ticker.C: + res, err := queryClient.GetLatestBlock(context.Background(), &tmservice.GetLatestBlockRequest{}) + if err == nil && res != nil { + return res.SdkBlock.Header.Height, nil + } + } + } } // WaitForHeight performs a blocking check where it waits for a block to be @@ -516,54 +580,25 @@ func (n *Network) WaitForHeightWithTimeout(h int64, t time.Duration) (int64, err var latestHeight int64 val := n.Validators[0] + queryClient := tmservice.NewServiceClient(val.ClientCtx) for { select { case <-timeout.C: return latestHeight, errors.New("timeout exceeded waiting for block") case <-ticker.C: - status, err := val.RPCClient.Status(context.Background()) - if err == nil && status != nil { - latestHeight = status.SyncInfo.LatestBlockHeight + + res, err := queryClient.GetLatestBlock(context.Background(), &tmservice.GetLatestBlockRequest{}) + if err == nil && res != nil { + latestHeight = res.GetSdkBlock().Header.Height if latestHeight >= h { return latestHeight, nil } - } else if err != nil { - fmt.Printf("error trying to fetch block height: %v\n", err) } } } } -// WaitForNextBlock waits for the next block to be committed, returning an error -// upon failure. -func (n *Network) WaitForNextBlock() error { - lastBlock, err := n.LatestHeight() - if err != nil { - return err - } - - _, err = n.WaitForHeight(lastBlock + 1) - if err != nil { - return err - } - - return err -} - -func (n *Network) WaitForNBlocks(numberOfBlocks int64) error { - lastBlock, err := n.LatestHeight() - if err != nil { - return err - } - _, err = n.WaitForHeightWithTimeout(lastBlock+numberOfBlocks, time.Duration(10*numberOfBlocks)*time.Second) - if err != nil { - return err - } - - return err -} - // Cleanup removes the root testing (temporary) directory and stops both the // Tendermint and API services. It allows other callers to create and start // test networks. This method must be called when a test is finished, typically @@ -591,6 +626,12 @@ func (n *Network) Cleanup() { _ = v.grpcWeb.Close() } } + + if v.app != nil { + if err := v.app.Close(); err != nil { + n.Logger.Log("failed to stop validator ABCI application", "err", err) + } + } } // Give a brief pause for things to finish closing in other processes. Hopefully this helps with the address-in-use errors. diff --git a/testutil/network/util.go b/testutil/network/util.go index e6ee8fae25..746ad331cc 100644 --- a/testutil/network/util.go +++ b/testutil/network/util.go @@ -6,15 +6,15 @@ import ( "path/filepath" "time" - tmos "github.com/tendermint/tendermint/libs/os" - "github.com/tendermint/tendermint/node" - "github.com/tendermint/tendermint/p2p" - pvm "github.com/tendermint/tendermint/privval" - "github.com/tendermint/tendermint/proxy" - "github.com/tendermint/tendermint/rpc/client/local" - "github.com/tendermint/tendermint/types" - tmtime "github.com/tendermint/tendermint/types/time" - + "github.com/cometbft/cometbft/node" + "github.com/cometbft/cometbft/p2p" + pvm "github.com/cometbft/cometbft/privval" + "github.com/cometbft/cometbft/proxy" + "github.com/cometbft/cometbft/rpc/client/local" + tmtypes "github.com/cometbft/cometbft/types" + tmtime "github.com/cometbft/cometbft/types/time" + + tmos "github.com/cometbft/cometbft/libs/os" "github.com/cosmos/cosmos-sdk/server/api" servergrpc "github.com/cosmos/cosmos-sdk/server/grpc" srvtypes "github.com/cosmos/cosmos-sdk/server/types" @@ -39,9 +39,11 @@ func startInProcess(cfg Config, val *Validator) error { } app := cfg.AppConstructor(*val) + val.app = app + genDocProvider := node.DefaultGenesisDocProviderFunc(tmCfg) - tmNode, err := node.NewNode( + tmNode, err := node.NewNode( //resleak:notresource tmCfg, pvm.LoadOrGenFilePV(tmCfg.PrivValidatorKeyFile(), tmCfg.PrivValidatorStateFile()), nodeKey, @@ -58,7 +60,6 @@ func startInProcess(cfg Config, val *Validator) error { if err := tmNode.Start(); err != nil { return err } - val.tmNode = tmNode if val.RPCAddress != "" { @@ -72,10 +73,7 @@ func startInProcess(cfg Config, val *Validator) error { app.RegisterTxService(val.ClientCtx) app.RegisterTendermintService(val.ClientCtx) - - if a, ok := app.(srvtypes.ApplicationQueryService); ok { - a.RegisterNodeService(val.ClientCtx) - } + app.RegisterNodeService(val.ClientCtx) } if val.APIAddress != "" { @@ -120,7 +118,7 @@ func startInProcess(cfg Config, val *Validator) error { func collectGenFiles(cfg Config, vals []*Validator, outputDir string) error { genTime := tmtime.Now() - for i := 0; i < cfg.NumOfValidators; i++ { + for i := 0; i < cfg.NumValidators; i++ { tmCfg := vals[i].Ctx.Config nodeDir := filepath.Join(outputDir, vals[i].Moniker, "simd") @@ -132,19 +130,19 @@ func collectGenFiles(cfg Config, vals []*Validator, outputDir string) error { initCfg := genutiltypes.NewInitConfig(cfg.ChainID, gentxsDir, vals[i].NodeID, vals[i].PubKey) genFile := tmCfg.GenesisFile() - genDoc, err := types.GenesisDocFromFile(genFile) + genDoc, err := tmtypes.GenesisDocFromFile(genFile) if err != nil { return err } appState, err := genutil.GenAppStateFromConfig(cfg.Codec, cfg.TxConfig, - tmCfg, initCfg, *genDoc, banktypes.GenesisBalancesIterator{}) + tmCfg, initCfg, *genDoc, banktypes.GenesisBalancesIterator{}, genutiltypes.DefaultMessageValidator) if err != nil { return err } // overwrite each validator's genesis file to have a canonical genesis time - if err := genutil.ExportGenesisFileWithTime(genFile, cfg.ChainID, nil, appState, genTime); err != nil { + if err := ExportGenesisFileWithTimeAndConsensusParams(genFile, cfg.ChainID, nil, appState, genTime, *genDoc.ConsensusParams); err != nil { return err } } @@ -152,6 +150,25 @@ func collectGenFiles(cfg Config, vals []*Validator, outputDir string) error { return nil } +func ExportGenesisFileWithTimeAndConsensusParams( + genFile, chainID string, validators []tmtypes.GenesisValidator, + appState json.RawMessage, genTime time.Time, consensusParams tmtypes.ConsensusParams, +) error { + genDoc := tmtypes.GenesisDoc{ + GenesisTime: genTime, + ChainID: chainID, + Validators: validators, + AppState: appState, + ConsensusParams: &consensusParams, + } + + if err := genDoc.ValidateAndComplete(); err != nil { + return err + } + + return genDoc.SaveAs(genFile) +} + func initGenFiles(cfg Config, genAccounts []authtypes.GenesisAccount, genBalances []banktypes.Balance, genFiles []string) error { // set the accounts in the genesis state var authGenState authtypes.GenesisState @@ -177,14 +194,30 @@ func initGenFiles(cfg Config, genAccounts []authtypes.GenesisAccount, genBalance return err } - genDoc := types.GenesisDoc{ + genDoc := tmtypes.GenesisDoc{ + ConsensusParams: &tmtypes.ConsensusParams{ + Block: tmtypes.BlockParams{ + MaxBytes: 200000, + MaxGas: 2000000, + }, + Evidence: tmtypes.EvidenceParams{ + MaxAgeNumBlocks: 302400, + MaxAgeDuration: 504 * time.Hour, // 3 weeks is the max duration + MaxBytes: 10000, + }, + Validator: tmtypes.ValidatorParams{ + PubKeyTypes: []string{ + tmtypes.ABCIPubKeyTypeEd25519, + }, + }, + }, ChainID: cfg.ChainID, AppState: appGenStateJSON, Validators: nil, } // generate empty genesis files for each validator and save - for i := 0; i < cfg.NumOfValidators; i++ { + for i := 0; i < cfg.NumValidators; i++ { if err := genDoc.SaveAs(genFiles[i]); err != nil { return err } @@ -197,7 +230,7 @@ func writeFile(name string, dir string, contents []byte) error { writePath := filepath.Join(dir) //nolint:gocritic file := filepath.Join(writePath, name) - err := tmos.EnsureDir(writePath, 0o755) + err := tmos.EnsureDir(writePath, 0o755) // #nosec G301 if err != nil { return err } diff --git a/testutil/sample/crypto.go b/testutil/sample/crypto.go index 77254bb8e0..2f755df019 100644 --- a/testutil/sample/crypto.go +++ b/testutil/sample/crypto.go @@ -7,6 +7,7 @@ import ( "strconv" "testing" + "github.com/cometbft/cometbft/crypto/secp256k1" "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -14,7 +15,6 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" ethcrypto "github.com/ethereum/go-ethereum/crypto" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/crypto/secp256k1" "github.com/zeta-chain/zetacore/pkg/cosmos" "github.com/zeta-chain/zetacore/pkg/crypto" ) diff --git a/testutil/simapp/default_constants.go b/testutil/simapp/default_constants.go index c063f0ca91..c4398ad7bb 100644 --- a/testutil/simapp/default_constants.go +++ b/testutil/simapp/default_constants.go @@ -3,13 +3,12 @@ package simapp import ( "time" - abci "github.com/tendermint/tendermint/abci/types" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmtypes "github.com/tendermint/tendermint/types" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" + tmtypes "github.com/cometbft/cometbft/types" ) -var defaultConsensusParams = &abci.ConsensusParams{ - Block: &abci.BlockParams{ +var defaultConsensusParams = &tmproto.ConsensusParams{ + Block: &tmproto.BlockParams{ MaxBytes: 200000, MaxGas: 2000000, }, diff --git a/testutil/simapp/simapp.go b/testutil/simapp/simapp.go index cde89abbab..73857ace40 100644 --- a/testutil/simapp/simapp.go +++ b/testutil/simapp/simapp.go @@ -7,21 +7,22 @@ import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - "github.com/cosmos/cosmos-sdk/simapp" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" + + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" + tmtypes "github.com/cometbft/cometbft/types" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/require" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmtypes "github.com/tendermint/tendermint/types" "github.com/zeta-chain/zetacore/cmd/zetacored/config" types2 "github.com/zeta-chain/zetacore/x/emissions/types" //"github.com/ignite-hq/cli/ignite/pkg/cosmoscmd" - abci "github.com/tendermint/tendermint/abci/types" - "github.com/tendermint/tendermint/libs/log" - tmdb "github.com/tendermint/tm-db" + tmdb "github.com/cometbft/cometbft-db" + abci "github.com/cometbft/cometbft/abci/types" + "github.com/cometbft/cometbft/libs/log" "github.com/zeta-chain/zetacore/app" ) @@ -51,7 +52,7 @@ func Setup(isCheckTx bool) *app.App { func setup(withGenesis bool, invCheckPeriod uint) (*app.App, app.GenesisState) { db := tmdb.NewMemDB() encCdc := app.MakeEncodingConfig() - a := app.New(log.NewNopLogger(), db, nil, true, map[int64]bool{}, app.DefaultNodeHome, invCheckPeriod, encCdc, simapp.EmptyAppOptions{}) + a := app.New(log.NewNopLogger(), db, nil, true, map[int64]bool{}, app.DefaultNodeHome, invCheckPeriod, encCdc, simtestutil.EmptyAppOptions{}) if withGenesis { return a, app.NewDefaultGenesisState(encCdc.Codec) } @@ -123,7 +124,7 @@ func SetupWithGenesisValSet(t *testing.T, valSet *tmtypes.ValidatorSet, genDelAc // update total supply - bankGenesis := banktypes.NewGenesisState(banktypes.DefaultGenesisState().Params, totalBalances, totalSupply, []banktypes.Metadata{}) + bankGenesis := banktypes.NewGenesisState(banktypes.DefaultGenesisState().Params, totalBalances, totalSupply, []banktypes.Metadata{}, []banktypes.SendEnabled{}) genesisState[banktypes.ModuleName] = app.AppCodec().MustMarshalJSON(bankGenesis) stateBytes, err := json.MarshalIndent(genesisState, "", " ") @@ -163,7 +164,7 @@ func SetupWithGenesisAccounts(genAccs []authtypes.GenesisAccount, balances ...ba totalSupply = totalSupply.Add(b.Coins...) } - bankGenesis := banktypes.NewGenesisState(banktypes.DefaultGenesisState().Params, balances, totalSupply, []banktypes.Metadata{}) + bankGenesis := banktypes.NewGenesisState(banktypes.DefaultGenesisState().Params, balances, totalSupply, []banktypes.Metadata{}, []banktypes.SendEnabled{}) genesisState[banktypes.ModuleName] = app.AppCodec().MustMarshalJSON(bankGenesis) stateBytes, err := json.MarshalIndent(genesisState, "", " ") diff --git a/typescript/authority/genesis_pb.d.ts b/typescript/zetachain/zetacore/authority/genesis_pb.d.ts similarity index 91% rename from typescript/authority/genesis_pb.d.ts rename to typescript/zetachain/zetacore/authority/genesis_pb.d.ts index 6265e54b8d..a20371004b 100644 --- a/typescript/authority/genesis_pb.d.ts +++ b/typescript/zetachain/zetacore/authority/genesis_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file authority/genesis.proto (package zetachain.zetacore.authority, syntax proto3) +// @generated from file zetachain/zetacore/authority/genesis.proto (package zetachain.zetacore.authority, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/authority/index.d.ts b/typescript/zetachain/zetacore/authority/index.d.ts similarity index 100% rename from typescript/authority/index.d.ts rename to typescript/zetachain/zetacore/authority/index.d.ts diff --git a/typescript/authority/policies_pb.d.ts b/typescript/zetachain/zetacore/authority/policies_pb.d.ts similarity index 90% rename from typescript/authority/policies_pb.d.ts rename to typescript/zetachain/zetacore/authority/policies_pb.d.ts index 7e4a54f73a..21646f273a 100644 --- a/typescript/authority/policies_pb.d.ts +++ b/typescript/zetachain/zetacore/authority/policies_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file authority/policies.proto (package zetachain.zetacore.authority, syntax proto3) +// @generated from file zetachain/zetacore/authority/policies.proto (package zetachain.zetacore.authority, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -20,14 +20,16 @@ export declare enum PolicyType { groupEmergency = 0, /** - * Used for operational tasks like changing non-sensitive protocol parameters + * Used for operational tasks like changing * * @generated from enum value: groupOperational = 1; */ groupOperational = 1, /** - * Used for administrative tasks like changing sensitive protocol parameters or moving funds + * non-sensitive protocol parameters + * + * Used for administrative tasks like changing sensitive * * @generated from enum value: groupAdmin = 2; */ diff --git a/typescript/authority/query_pb.d.ts b/typescript/zetachain/zetacore/authority/query_pb.d.ts similarity index 93% rename from typescript/authority/query_pb.d.ts rename to typescript/zetachain/zetacore/authority/query_pb.d.ts index a53441fb68..103de61b97 100644 --- a/typescript/authority/query_pb.d.ts +++ b/typescript/zetachain/zetacore/authority/query_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file authority/query.proto (package zetachain.zetacore.authority, syntax proto3) +// @generated from file zetachain/zetacore/authority/query.proto (package zetachain.zetacore.authority, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -8,7 +8,8 @@ import { Message, proto3 } from "@bufbuild/protobuf"; import type { Policies } from "./policies_pb.js"; /** - * QueryGetPoliciesRequest is the request type for the Query/Policies RPC method. + * QueryGetPoliciesRequest is the request type for the Query/Policies RPC + * method. * * @generated from message zetachain.zetacore.authority.QueryGetPoliciesRequest */ @@ -29,7 +30,8 @@ export declare class QueryGetPoliciesRequest extends Message { /** - * this address is the immediate contract/EOA that calls the Connector.send() + * this address is the immediate contract/EOA that calls * * @generated from field: string sender = 1; */ sender: string; /** + * the Connector.send() + * * @generated from field: int64 sender_chain_id = 2; */ senderChainId: bigint; @@ -104,7 +106,7 @@ export declare class InboundTxParams extends Message { txOrigin: string; /** - * @generated from field: coin.CoinType coin_type = 4; + * @generated from field: zetachain.zetacore.pkg.coin.CoinType coin_type = 4; */ coinType: CoinType; @@ -165,7 +167,8 @@ export declare class InboundTxParams extends Message { */ export declare class ZetaAccounting extends Message { /** - * aborted_zeta_amount stores the total aborted amount for cctx of coin-type ZETA + * aborted_zeta_amount stores the total aborted amount for cctx of coin-type + * ZETA * * @generated from field: string aborted_zeta_amount = 1; */ @@ -201,7 +204,7 @@ export declare class OutboundTxParams extends Message { receiverChainId: bigint; /** - * @generated from field: coin.CoinType coin_type = 3; + * @generated from field: zetachain.zetacore.pkg.coin.CoinType coin_type = 3; */ coinType: CoinType; diff --git a/typescript/crosschain/events_pb.d.ts b/typescript/zetachain/zetacore/crosschain/events_pb.d.ts similarity index 98% rename from typescript/crosschain/events_pb.d.ts rename to typescript/zetachain/zetacore/crosschain/events_pb.d.ts index 37a8e7cf2a..6a3bc1d08a 100644 --- a/typescript/crosschain/events_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/events_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file crosschain/events.proto (package zetachain.zetacore.crosschain, syntax proto3) +// @generated from file zetachain/zetacore/crosschain/events.proto (package zetachain.zetacore.crosschain, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/crosschain/gas_price_pb.d.ts b/typescript/zetachain/zetacore/crosschain/gas_price_pb.d.ts similarity index 92% rename from typescript/crosschain/gas_price_pb.d.ts rename to typescript/zetachain/zetacore/crosschain/gas_price_pb.d.ts index cd05e2a8dd..7790bbde92 100644 --- a/typescript/crosschain/gas_price_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/gas_price_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file crosschain/gas_price.proto (package zetachain.zetacore.crosschain, syntax proto3) +// @generated from file zetachain/zetacore/crosschain/gas_price.proto (package zetachain.zetacore.crosschain, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/crosschain/genesis_pb.d.ts b/typescript/zetachain/zetacore/crosschain/genesis_pb.d.ts similarity index 95% rename from typescript/crosschain/genesis_pb.d.ts rename to typescript/zetachain/zetacore/crosschain/genesis_pb.d.ts index 08d35e3746..3b24b24ee4 100644 --- a/typescript/crosschain/genesis_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/genesis_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file crosschain/genesis.proto (package zetachain.zetacore.crosschain, syntax proto3) +// @generated from file zetachain/zetacore/crosschain/genesis.proto (package zetachain.zetacore.crosschain, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/crosschain/in_tx_hash_to_cctx_pb.d.ts b/typescript/zetachain/zetacore/crosschain/in_tx_hash_to_cctx_pb.d.ts similarity index 90% rename from typescript/crosschain/in_tx_hash_to_cctx_pb.d.ts rename to typescript/zetachain/zetacore/crosschain/in_tx_hash_to_cctx_pb.d.ts index 5505abd6a4..34864c4b8a 100644 --- a/typescript/crosschain/in_tx_hash_to_cctx_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/in_tx_hash_to_cctx_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file crosschain/in_tx_hash_to_cctx.proto (package zetachain.zetacore.crosschain, syntax proto3) +// @generated from file zetachain/zetacore/crosschain/in_tx_hash_to_cctx.proto (package zetachain.zetacore.crosschain, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/crosschain/in_tx_tracker_pb.d.ts b/typescript/zetachain/zetacore/crosschain/in_tx_tracker_pb.d.ts similarity index 86% rename from typescript/crosschain/in_tx_tracker_pb.d.ts rename to typescript/zetachain/zetacore/crosschain/in_tx_tracker_pb.d.ts index 9cb101adea..610a553069 100644 --- a/typescript/crosschain/in_tx_tracker_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/in_tx_tracker_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file crosschain/in_tx_tracker.proto (package zetachain.zetacore.crosschain, syntax proto3) +// @generated from file zetachain/zetacore/crosschain/in_tx_tracker.proto (package zetachain.zetacore.crosschain, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -22,7 +22,7 @@ export declare class InTxTracker extends Message { txHash: string; /** - * @generated from field: coin.CoinType coin_type = 3; + * @generated from field: zetachain.zetacore.pkg.coin.CoinType coin_type = 3; */ coinType: CoinType; diff --git a/typescript/crosschain/index.d.ts b/typescript/zetachain/zetacore/crosschain/index.d.ts similarity index 100% rename from typescript/crosschain/index.d.ts rename to typescript/zetachain/zetacore/crosschain/index.d.ts diff --git a/typescript/crosschain/last_block_height_pb.d.ts b/typescript/zetachain/zetacore/crosschain/last_block_height_pb.d.ts similarity index 91% rename from typescript/crosschain/last_block_height_pb.d.ts rename to typescript/zetachain/zetacore/crosschain/last_block_height_pb.d.ts index f6c454ff33..c57976b705 100644 --- a/typescript/crosschain/last_block_height_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/last_block_height_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file crosschain/last_block_height.proto (package zetachain.zetacore.crosschain, syntax proto3) +// @generated from file zetachain/zetacore/crosschain/last_block_height.proto (package zetachain.zetacore.crosschain, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/crosschain/out_tx_tracker_pb.d.ts b/typescript/zetachain/zetacore/crosschain/out_tx_tracker_pb.d.ts similarity index 94% rename from typescript/crosschain/out_tx_tracker_pb.d.ts rename to typescript/zetachain/zetacore/crosschain/out_tx_tracker_pb.d.ts index 75286b5b5b..a57e7fdcb3 100644 --- a/typescript/crosschain/out_tx_tracker_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/out_tx_tracker_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file crosschain/out_tx_tracker.proto (package zetachain.zetacore.crosschain, syntax proto3) +// @generated from file zetachain/zetacore/crosschain/out_tx_tracker.proto (package zetachain.zetacore.crosschain, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/crosschain/query_pb.d.ts b/typescript/zetachain/zetacore/crosschain/query_pb.d.ts similarity index 99% rename from typescript/crosschain/query_pb.d.ts rename to typescript/zetachain/zetacore/crosschain/query_pb.d.ts index 370926427e..75d0fd810e 100644 --- a/typescript/crosschain/query_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/query_pb.d.ts @@ -1,12 +1,12 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file crosschain/query.proto (package zetachain.zetacore.crosschain, syntax proto3) +// @generated from file zetachain/zetacore/crosschain/query.proto (package zetachain.zetacore.crosschain, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import type { OutTxTracker } from "./out_tx_tracker_pb.js"; -import type { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination_pb.js"; +import type { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination_pb.js"; import type { InTxTracker } from "./in_tx_tracker_pb.js"; import type { InTxHashToCctx } from "./in_tx_hash_to_cctx_pb.js"; import type { CrossChainTx } from "./cross_chain_tx_pb.js"; diff --git a/typescript/crosschain/tx_pb.d.ts b/typescript/zetachain/zetacore/crosschain/tx_pb.d.ts similarity index 97% rename from typescript/crosschain/tx_pb.d.ts rename to typescript/zetachain/zetacore/crosschain/tx_pb.d.ts index b7a76801dd..bef29df816 100644 --- a/typescript/crosschain/tx_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/tx_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file crosschain/tx.proto (package zetachain.zetacore.crosschain, syntax proto3) +// @generated from file zetachain/zetacore/crosschain/tx.proto (package zetachain.zetacore.crosschain, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -130,12 +130,12 @@ export declare class MsgAddToInTxTracker extends Message { txHash: string; /** - * @generated from field: coin.CoinType coin_type = 4; + * @generated from field: zetachain.zetacore.pkg.coin.CoinType coin_type = 4; */ coinType: CoinType; /** - * @generated from field: proofs.Proof proof = 5; + * @generated from field: zetachain.zetacore.pkg.proofs.Proof proof = 5; */ proof?: Proof; @@ -291,7 +291,7 @@ export declare class MsgAddToOutTxTracker extends Message txHash: string; /** - * @generated from field: proofs.Proof proof = 5; + * @generated from field: zetachain.zetacore.pkg.proofs.Proof proof = 5; */ proof?: Proof; @@ -507,7 +507,7 @@ export declare class MsgVoteOnObservedOutboundTx extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.emissions.QueryParamsRequest"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest; - - static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest; - - static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest; - - static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean; -} - -/** - * QueryParamsResponse is response type for the Query/Params RPC method. - * - * @generated from message zetachain.zetacore.emissions.QueryParamsResponse - */ -export declare class QueryParamsResponse extends Message { - /** - * params holds all the parameters of this module. - * - * @generated from field: zetachain.zetacore.emissions.Params params = 1; - */ - params?: Params; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.emissions.QueryParamsResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse; - - static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse; - - static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean; -} /** * @generated from message zetachain.zetacore.emissions.QueryListPoolAddressesRequest diff --git a/typescript/emissions/tx_pb.d.ts b/typescript/zetachain/zetacore/emissions/tx_pb.d.ts similarity index 52% rename from typescript/emissions/tx_pb.d.ts rename to typescript/zetachain/zetacore/emissions/tx_pb.d.ts index be44d72aec..69e2b98be7 100644 --- a/typescript/emissions/tx_pb.d.ts +++ b/typescript/zetachain/zetacore/emissions/tx_pb.d.ts @@ -1,11 +1,10 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file emissions/tx.proto (package zetachain.zetacore.emissions, syntax proto3) +// @generated from file zetachain/zetacore/emissions/tx.proto (package zetachain.zetacore.emissions, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; -import type { Params } from "./params_pb.js"; /** * @generated from message zetachain.zetacore.emissions.MsgWithdrawEmission @@ -55,51 +54,3 @@ export declare class MsgWithdrawEmissionResponse extends Message | undefined, b: MsgWithdrawEmissionResponse | PlainMessage | undefined): boolean; } -/** - * @generated from message zetachain.zetacore.emissions.MsgUpdateParams - */ -export declare class MsgUpdateParams extends Message { - /** - * @generated from field: string authority = 1; - */ - authority: string; - - /** - * @generated from field: zetachain.zetacore.emissions.Params params = 2; - */ - params?: Params; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.emissions.MsgUpdateParams"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParams; - - static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParams; - - static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParams; - - static equals(a: MsgUpdateParams | PlainMessage | undefined, b: MsgUpdateParams | PlainMessage | undefined): boolean; -} - -/** - * @generated from message zetachain.zetacore.emissions.MsgUpdateParamsResponse - */ -export declare class MsgUpdateParamsResponse extends Message { - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.emissions.MsgUpdateParamsResponse"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParamsResponse; - - static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParamsResponse; - - static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParamsResponse; - - static equals(a: MsgUpdateParamsResponse | PlainMessage | undefined, b: MsgUpdateParamsResponse | PlainMessage | undefined): boolean; -} - diff --git a/typescript/emissions/withdrawable_emissions_pb.d.ts b/typescript/zetachain/zetacore/emissions/withdrawable_emissions_pb.d.ts similarity index 90% rename from typescript/emissions/withdrawable_emissions_pb.d.ts rename to typescript/zetachain/zetacore/emissions/withdrawable_emissions_pb.d.ts index 6b85546b5d..fa6916be7d 100644 --- a/typescript/emissions/withdrawable_emissions_pb.d.ts +++ b/typescript/zetachain/zetacore/emissions/withdrawable_emissions_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file emissions/withdrawable_emissions.proto (package zetachain.zetacore.emissions, syntax proto3) +// @generated from file zetachain/zetacore/emissions/withdrawable_emissions.proto (package zetachain.zetacore.emissions, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/fungible/events_pb.d.ts b/typescript/zetachain/zetacore/fungible/events_pb.d.ts similarity index 97% rename from typescript/fungible/events_pb.d.ts rename to typescript/zetachain/zetacore/fungible/events_pb.d.ts index b49a6d663c..111f48bac8 100644 --- a/typescript/fungible/events_pb.d.ts +++ b/typescript/zetachain/zetacore/fungible/events_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file fungible/events.proto (package zetachain.zetacore.fungible, syntax proto3) +// @generated from file zetachain/zetacore/fungible/events.proto (package zetachain.zetacore.fungible, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -82,7 +82,7 @@ export declare class EventZRC20Deployed extends Message { decimals: bigint; /** - * @generated from field: coin.CoinType coin_type = 7; + * @generated from field: zetachain.zetacore.pkg.coin.CoinType coin_type = 7; */ coinType: CoinType; @@ -126,7 +126,7 @@ export declare class EventZRC20WithdrawFeeUpdated extends Message { symbol: string; /** - * @generated from field: coin.CoinType coin_type = 8; + * @generated from field: zetachain.zetacore.pkg.coin.CoinType coin_type = 8; */ coinType: CoinType; diff --git a/typescript/fungible/genesis_pb.d.ts b/typescript/zetachain/zetacore/fungible/genesis_pb.d.ts similarity index 92% rename from typescript/fungible/genesis_pb.d.ts rename to typescript/zetachain/zetacore/fungible/genesis_pb.d.ts index da2d610c10..db45107183 100644 --- a/typescript/fungible/genesis_pb.d.ts +++ b/typescript/zetachain/zetacore/fungible/genesis_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file fungible/genesis.proto (package zetachain.zetacore.fungible, syntax proto3) +// @generated from file zetachain/zetacore/fungible/genesis.proto (package zetachain.zetacore.fungible, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/fungible/index.d.ts b/typescript/zetachain/zetacore/fungible/index.d.ts similarity index 100% rename from typescript/fungible/index.d.ts rename to typescript/zetachain/zetacore/fungible/index.d.ts diff --git a/typescript/fungible/query_pb.d.ts b/typescript/zetachain/zetacore/fungible/query_pb.d.ts similarity index 98% rename from typescript/fungible/query_pb.d.ts rename to typescript/zetachain/zetacore/fungible/query_pb.d.ts index df76823dc6..b149a8d06b 100644 --- a/typescript/fungible/query_pb.d.ts +++ b/typescript/zetachain/zetacore/fungible/query_pb.d.ts @@ -1,12 +1,12 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file fungible/query.proto (package zetachain.zetacore.fungible, syntax proto3) +// @generated from file zetachain/zetacore/fungible/query.proto (package zetachain.zetacore.fungible, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import type { ForeignCoins } from "./foreign_coins_pb.js"; -import type { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination_pb.js"; +import type { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination_pb.js"; import type { SystemContract } from "./system_contract_pb.js"; /** diff --git a/typescript/fungible/system_contract_pb.d.ts b/typescript/zetachain/zetacore/fungible/system_contract_pb.d.ts similarity index 90% rename from typescript/fungible/system_contract_pb.d.ts rename to typescript/zetachain/zetacore/fungible/system_contract_pb.d.ts index 1ee1dde43b..1b7d89062f 100644 --- a/typescript/fungible/system_contract_pb.d.ts +++ b/typescript/zetachain/zetacore/fungible/system_contract_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file fungible/system_contract.proto (package zetachain.zetacore.fungible, syntax proto3) +// @generated from file zetachain/zetacore/fungible/system_contract.proto (package zetachain.zetacore.fungible, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/fungible/tx_pb.d.ts b/typescript/zetachain/zetacore/fungible/tx_pb.d.ts similarity index 98% rename from typescript/fungible/tx_pb.d.ts rename to typescript/zetachain/zetacore/fungible/tx_pb.d.ts index 57ec4bbddc..de3c7df658 100644 --- a/typescript/fungible/tx_pb.d.ts +++ b/typescript/zetachain/zetacore/fungible/tx_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file fungible/tx.proto (package zetachain.zetacore.fungible, syntax proto3) +// @generated from file zetachain/zetacore/fungible/tx.proto (package zetachain.zetacore.fungible, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -233,7 +233,7 @@ export declare class MsgDeployFungibleCoinZRC20 extends Message { /** - * @generated from field: repeated proofs.BlockHeader block_headers = 1; + * @generated from field: repeated zetachain.zetacore.pkg.proofs.BlockHeader block_headers = 1; */ blockHeaders: BlockHeader[]; diff --git a/typescript/lightclient/index.d.ts b/typescript/zetachain/zetacore/lightclient/index.d.ts similarity index 100% rename from typescript/lightclient/index.d.ts rename to typescript/zetachain/zetacore/lightclient/index.d.ts diff --git a/typescript/lightclient/query_pb.d.ts b/typescript/zetachain/zetacore/lightclient/query_pb.d.ts similarity index 96% rename from typescript/lightclient/query_pb.d.ts rename to typescript/zetachain/zetacore/lightclient/query_pb.d.ts index 50d17f1885..99dccb7496 100644 --- a/typescript/lightclient/query_pb.d.ts +++ b/typescript/zetachain/zetacore/lightclient/query_pb.d.ts @@ -1,11 +1,11 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file lightclient/query.proto (package zetachain.zetacore.lightclient, syntax proto3) +// @generated from file zetachain/zetacore/lightclient/query.proto (package zetachain.zetacore.lightclient, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; -import type { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination_pb.js"; +import type { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination_pb.js"; import type { BlockHeader, Proof } from "../pkg/proofs/proofs_pb.js"; import type { ChainState } from "./chain_state_pb.js"; import type { VerificationFlags } from "./verification_flags_pb.js"; @@ -39,7 +39,7 @@ export declare class QueryAllBlockHeaderRequest extends Message { /** - * @generated from field: repeated proofs.BlockHeader block_headers = 1; + * @generated from field: repeated zetachain.zetacore.pkg.proofs.BlockHeader block_headers = 1; */ blockHeaders: BlockHeader[]; @@ -92,7 +92,7 @@ export declare class QueryGetBlockHeaderRequest extends Message { /** - * @generated from field: proofs.BlockHeader block_header = 1; + * @generated from field: zetachain.zetacore.pkg.proofs.BlockHeader block_header = 1; */ blockHeader?: BlockHeader; @@ -227,7 +227,7 @@ export declare class QueryProveRequest extends Message { txHash: string; /** - * @generated from field: proofs.Proof proof = 3; + * @generated from field: zetachain.zetacore.pkg.proofs.Proof proof = 3; */ proof?: Proof; diff --git a/typescript/lightclient/tx_pb.d.ts b/typescript/zetachain/zetacore/lightclient/tx_pb.d.ts similarity index 95% rename from typescript/lightclient/tx_pb.d.ts rename to typescript/zetachain/zetacore/lightclient/tx_pb.d.ts index 48e827c654..c52c9073b0 100644 --- a/typescript/lightclient/tx_pb.d.ts +++ b/typescript/zetachain/zetacore/lightclient/tx_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file lightclient/tx.proto (package zetachain.zetacore.lightclient, syntax proto3) +// @generated from file zetachain/zetacore/lightclient/tx.proto (package zetachain.zetacore.lightclient, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/lightclient/verification_flags_pb.d.ts b/typescript/zetachain/zetacore/lightclient/verification_flags_pb.d.ts similarity index 87% rename from typescript/lightclient/verification_flags_pb.d.ts rename to typescript/zetachain/zetacore/lightclient/verification_flags_pb.d.ts index d2325779b2..629e0dfce4 100644 --- a/typescript/lightclient/verification_flags_pb.d.ts +++ b/typescript/zetachain/zetacore/lightclient/verification_flags_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file lightclient/verification_flags.proto (package zetachain.zetacore.lightclient, syntax proto3) +// @generated from file zetachain/zetacore/lightclient/verification_flags.proto (package zetachain.zetacore.lightclient, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -7,7 +7,8 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM import { Message, proto3 } from "@bufbuild/protobuf"; /** - * VerificationFlags is a structure containing information which chain types are enabled for block header verification + * VerificationFlags is a structure containing information which chain types are + * enabled for block header verification * * @generated from message zetachain.zetacore.lightclient.VerificationFlags */ diff --git a/typescript/observer/ballot_pb.d.ts b/typescript/zetachain/zetacore/observer/ballot_pb.d.ts similarity index 93% rename from typescript/observer/ballot_pb.d.ts rename to typescript/zetachain/zetacore/observer/ballot_pb.d.ts index 1eb7d2f01d..286d51d5aa 100644 --- a/typescript/observer/ballot_pb.d.ts +++ b/typescript/zetachain/zetacore/observer/ballot_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file observer/ballot.proto (package zetachain.zetacore.observer, syntax proto3) +// @generated from file zetachain/zetacore/observer/ballot.proto (package zetachain.zetacore.observer, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -17,13 +17,16 @@ export declare enum VoteType { SuccessObservation = 0, /** - * Failure observation means , the the message that this voter is observing failed / reverted . It does not mean it was unable to observe. + * Failure observation means , the the message that * * @generated from enum value: FailureObservation = 1; */ FailureObservation = 1, /** + * this voter is observing failed / reverted . It does + * not mean it was unable to observe. + * * @generated from enum value: NotYetVoted = 2; */ NotYetVoted = 2, diff --git a/typescript/observer/blame_pb.d.ts b/typescript/zetachain/zetacore/observer/blame_pb.d.ts similarity index 94% rename from typescript/observer/blame_pb.d.ts rename to typescript/zetachain/zetacore/observer/blame_pb.d.ts index 3a9403cd95..6713947368 100644 --- a/typescript/observer/blame_pb.d.ts +++ b/typescript/zetachain/zetacore/observer/blame_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file observer/blame.proto (package zetachain.zetacore.observer, syntax proto3) +// @generated from file zetachain/zetacore/observer/blame.proto (package zetachain.zetacore.observer, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/observer/chain_nonces_pb.d.ts b/typescript/zetachain/zetacore/observer/chain_nonces_pb.d.ts similarity index 92% rename from typescript/observer/chain_nonces_pb.d.ts rename to typescript/zetachain/zetacore/observer/chain_nonces_pb.d.ts index 1ae0c34cfe..471d4d40a8 100644 --- a/typescript/observer/chain_nonces_pb.d.ts +++ b/typescript/zetachain/zetacore/observer/chain_nonces_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file observer/chain_nonces.proto (package zetachain.zetacore.observer, syntax proto3) +// @generated from file zetachain/zetacore/observer/chain_nonces.proto (package zetachain.zetacore.observer, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/observer/crosschain_flags_pb.d.ts b/typescript/zetachain/zetacore/observer/crosschain_flags_pb.d.ts similarity index 97% rename from typescript/observer/crosschain_flags_pb.d.ts rename to typescript/zetachain/zetacore/observer/crosschain_flags_pb.d.ts index 7bbcc35aa4..2a503abfbe 100644 --- a/typescript/observer/crosschain_flags_pb.d.ts +++ b/typescript/zetachain/zetacore/observer/crosschain_flags_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file observer/crosschain_flags.proto (package zetachain.zetacore.observer, syntax proto3) +// @generated from file zetachain/zetacore/observer/crosschain_flags.proto (package zetachain.zetacore.observer, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -34,7 +34,8 @@ export declare class GasPriceIncreaseFlags extends Message { granteeAddress: string; /** - * @generated from field: crypto.PubKeySet granteePubkey = 3; + * @generated from field: zetachain.zetacore.pkg.crypto.PubKeySet granteePubkey = 3; */ granteePubkey?: PubKeySet; diff --git a/typescript/observer/nonce_to_cctx_pb.d.ts b/typescript/zetachain/zetacore/observer/nonce_to_cctx_pb.d.ts similarity index 91% rename from typescript/observer/nonce_to_cctx_pb.d.ts rename to typescript/zetachain/zetacore/observer/nonce_to_cctx_pb.d.ts index 1ddd89882c..d8d2cc5c69 100644 --- a/typescript/observer/nonce_to_cctx_pb.d.ts +++ b/typescript/zetachain/zetacore/observer/nonce_to_cctx_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file observer/nonce_to_cctx.proto (package zetachain.zetacore.observer, syntax proto3) +// @generated from file zetachain/zetacore/observer/nonce_to_cctx.proto (package zetachain.zetacore.observer, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/observer/observer_pb.d.ts b/typescript/zetachain/zetacore/observer/observer_pb.d.ts similarity index 95% rename from typescript/observer/observer_pb.d.ts rename to typescript/zetachain/zetacore/observer/observer_pb.d.ts index 79bd712ab5..6de4627ea6 100644 --- a/typescript/observer/observer_pb.d.ts +++ b/typescript/zetachain/zetacore/observer/observer_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file observer/observer.proto (package zetachain.zetacore.observer, syntax proto3) +// @generated from file zetachain/zetacore/observer/observer.proto (package zetachain.zetacore.observer, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -67,7 +67,7 @@ export declare class ObserverMapper extends Message { index: string; /** - * @generated from field: chains.Chain observer_chain = 2; + * @generated from field: zetachain.zetacore.pkg.chains.Chain observer_chain = 2; */ observerChain?: Chain; diff --git a/typescript/observer/params_pb.d.ts b/typescript/zetachain/zetacore/observer/params_pb.d.ts similarity index 71% rename from typescript/observer/params_pb.d.ts rename to typescript/zetachain/zetacore/observer/params_pb.d.ts index fc9698224e..a7e401c057 100644 --- a/typescript/observer/params_pb.d.ts +++ b/typescript/zetachain/zetacore/observer/params_pb.d.ts @@ -1,11 +1,10 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file observer/params.proto (package zetachain.zetacore.observer, syntax proto3) +// @generated from file zetachain/zetacore/observer/params.proto (package zetachain.zetacore.observer, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; -import type { Chain } from "../pkg/chains/chains_pb.js"; /** * @generated from message zetachain.zetacore.observer.ChainParamsList @@ -120,44 +119,3 @@ export declare class ChainParams extends Message { static equals(a: ChainParams | PlainMessage | undefined, b: ChainParams | PlainMessage | undefined): boolean; } -/** - * Deprecated(v13): Use ChainParamsList - * - * @generated from message zetachain.zetacore.observer.ObserverParams - */ -export declare class ObserverParams extends Message { - /** - * @generated from field: chains.Chain chain = 1; - */ - chain?: Chain; - - /** - * @generated from field: string ballot_threshold = 3; - */ - ballotThreshold: string; - - /** - * @generated from field: string min_observer_delegation = 4; - */ - minObserverDelegation: string; - - /** - * @generated from field: bool is_supported = 5; - */ - isSupported: boolean; - - constructor(data?: PartialMessage); - - static readonly runtime: typeof proto3; - static readonly typeName = "zetachain.zetacore.observer.ObserverParams"; - static readonly fields: FieldList; - - static fromBinary(bytes: Uint8Array, options?: Partial): ObserverParams; - - static fromJson(jsonValue: JsonValue, options?: Partial): ObserverParams; - - static fromJsonString(jsonString: string, options?: Partial): ObserverParams; - - static equals(a: ObserverParams | PlainMessage | undefined, b: ObserverParams | PlainMessage | undefined): boolean; -} - diff --git a/typescript/observer/pending_nonces_pb.d.ts b/typescript/zetachain/zetacore/observer/pending_nonces_pb.d.ts similarity index 91% rename from typescript/observer/pending_nonces_pb.d.ts rename to typescript/zetachain/zetacore/observer/pending_nonces_pb.d.ts index 41b7d27d93..038c4941c6 100644 --- a/typescript/observer/pending_nonces_pb.d.ts +++ b/typescript/zetachain/zetacore/observer/pending_nonces_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file observer/pending_nonces.proto (package zetachain.zetacore.observer, syntax proto3) +// @generated from file zetachain/zetacore/observer/pending_nonces.proto (package zetachain.zetacore.observer, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/observer/query_pb.d.ts b/typescript/zetachain/zetacore/observer/query_pb.d.ts similarity index 99% rename from typescript/observer/query_pb.d.ts rename to typescript/zetachain/zetacore/observer/query_pb.d.ts index d0d069eb61..5c4f8c71d0 100644 --- a/typescript/observer/query_pb.d.ts +++ b/typescript/zetachain/zetacore/observer/query_pb.d.ts @@ -1,12 +1,12 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file observer/query.proto (package zetachain.zetacore.observer, syntax proto3) +// @generated from file zetachain/zetacore/observer/query.proto (package zetachain.zetacore.observer, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import type { ChainNonces } from "./chain_nonces_pb.js"; -import type { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination_pb.js"; +import type { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination_pb.js"; import type { PendingNonces } from "./pending_nonces_pb.js"; import type { TSS } from "./tss_pb.js"; import type { BallotStatus, VoteType } from "./ballot_pb.js"; @@ -639,7 +639,7 @@ export declare class QuerySupportedChains extends Message */ export declare class QuerySupportedChainsResponse extends Message { /** - * @generated from field: repeated chains.Chain chains = 1; + * @generated from field: repeated zetachain.zetacore.pkg.chains.Chain chains = 1; */ chains: Chain[]; diff --git a/typescript/observer/tss_funds_migrator_pb.d.ts b/typescript/zetachain/zetacore/observer/tss_funds_migrator_pb.d.ts similarity index 91% rename from typescript/observer/tss_funds_migrator_pb.d.ts rename to typescript/zetachain/zetacore/observer/tss_funds_migrator_pb.d.ts index ef6a85aac9..daafeaec12 100644 --- a/typescript/observer/tss_funds_migrator_pb.d.ts +++ b/typescript/zetachain/zetacore/observer/tss_funds_migrator_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file observer/tss_funds_migrator.proto (package zetachain.zetacore.observer, syntax proto3) +// @generated from file zetachain/zetacore/observer/tss_funds_migrator.proto (package zetachain.zetacore.observer, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/observer/tss_pb.d.ts b/typescript/zetachain/zetacore/observer/tss_pb.d.ts similarity index 92% rename from typescript/observer/tss_pb.d.ts rename to typescript/zetachain/zetacore/observer/tss_pb.d.ts index 19abe69068..fe816beae5 100644 --- a/typescript/observer/tss_pb.d.ts +++ b/typescript/zetachain/zetacore/observer/tss_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file observer/tss.proto (package zetachain.zetacore.observer, syntax proto3) +// @generated from file zetachain/zetacore/observer/tss.proto (package zetachain.zetacore.observer, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/observer/tx_pb.d.ts b/typescript/zetachain/zetacore/observer/tx_pb.d.ts similarity index 98% rename from typescript/observer/tx_pb.d.ts rename to typescript/zetachain/zetacore/observer/tx_pb.d.ts index a32abd14db..6aaa046c6a 100644 --- a/typescript/observer/tx_pb.d.ts +++ b/typescript/zetachain/zetacore/observer/tx_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file observer/tx.proto (package zetachain.zetacore.observer, syntax proto3) +// @generated from file zetachain/zetacore/observer/tx.proto (package zetachain.zetacore.observer, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -95,7 +95,7 @@ export declare class MsgVoteBlockHeader extends Message { height: bigint; /** - * @generated from field: proofs.HeaderData header = 5; + * @generated from field: zetachain.zetacore.pkg.proofs.HeaderData header = 5; */ header?: HeaderData; @@ -539,7 +539,7 @@ export declare class MsgVoteTSS extends Message { keygenZetaHeight: bigint; /** - * @generated from field: chains.ReceiveStatus status = 4; + * @generated from field: zetachain.zetacore.pkg.chains.ReceiveStatus status = 4; */ status: ReceiveStatus; diff --git a/typescript/pkg/chains/chains_pb.d.ts b/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts similarity index 85% rename from typescript/pkg/chains/chains_pb.d.ts rename to typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts index 4a2efde10d..92843b0a82 100644 --- a/typescript/pkg/chains/chains_pb.d.ts +++ b/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file pkg/chains/chains.proto (package chains, syntax proto3) +// @generated from file zetachain/zetacore/pkg/chains/chains.proto (package zetachain.zetacore.pkg.chains, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -7,7 +7,7 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM import { Message, proto3 } from "@bufbuild/protobuf"; /** - * @generated from enum chains.ReceiveStatus + * @generated from enum zetachain.zetacore.pkg.chains.ReceiveStatus */ export declare enum ReceiveStatus { /** @@ -29,7 +29,7 @@ export declare enum ReceiveStatus { } /** - * @generated from enum chains.ChainName + * @generated from enum zetachain.zetacore.pkg.chains.ChainName */ export declare enum ChainName { /** @@ -119,11 +119,11 @@ export declare enum ChainName { } /** - * @generated from message chains.Chain + * @generated from message zetachain.zetacore.pkg.chains.Chain */ export declare class Chain extends Message { /** - * @generated from field: chains.ChainName chain_name = 1; + * @generated from field: zetachain.zetacore.pkg.chains.ChainName chain_name = 1; */ chainName: ChainName; @@ -135,7 +135,7 @@ export declare class Chain extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; - static readonly typeName = "chains.Chain"; + static readonly typeName = "zetachain.zetacore.pkg.chains.Chain"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Chain; diff --git a/typescript/pkg/chains/index.d.ts b/typescript/zetachain/zetacore/pkg/chains/index.d.ts similarity index 100% rename from typescript/pkg/chains/index.d.ts rename to typescript/zetachain/zetacore/pkg/chains/index.d.ts diff --git a/typescript/pkg/coin/coin_pb.d.ts b/typescript/zetachain/zetacore/pkg/coin/coin_pb.d.ts similarity index 74% rename from typescript/pkg/coin/coin_pb.d.ts rename to typescript/zetachain/zetacore/pkg/coin/coin_pb.d.ts index 394472cf10..2ad47ca416 100644 --- a/typescript/pkg/coin/coin_pb.d.ts +++ b/typescript/zetachain/zetacore/pkg/coin/coin_pb.d.ts @@ -1,10 +1,10 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file pkg/coin/coin.proto (package coin, syntax proto3) +// @generated from file zetachain/zetacore/pkg/coin/coin.proto (package zetachain.zetacore.pkg.coin, syntax proto3) /* eslint-disable */ // @ts-nocheck /** - * @generated from enum coin.CoinType + * @generated from enum zetachain.zetacore.pkg.coin.CoinType */ export declare enum CoinType { /** diff --git a/typescript/pkg/coin/index.d.ts b/typescript/zetachain/zetacore/pkg/coin/index.d.ts similarity index 100% rename from typescript/pkg/coin/index.d.ts rename to typescript/zetachain/zetacore/pkg/coin/index.d.ts diff --git a/typescript/pkg/crypto/crypto_pb.d.ts b/typescript/zetachain/zetacore/pkg/crypto/crypto_pb.d.ts similarity index 81% rename from typescript/pkg/crypto/crypto_pb.d.ts rename to typescript/zetachain/zetacore/pkg/crypto/crypto_pb.d.ts index 2e29039c56..60c3cd153d 100644 --- a/typescript/pkg/crypto/crypto_pb.d.ts +++ b/typescript/zetachain/zetacore/pkg/crypto/crypto_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file pkg/crypto/crypto.proto (package crypto, syntax proto3) +// @generated from file zetachain/zetacore/pkg/crypto/crypto.proto (package zetachain.zetacore.pkg.crypto, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -9,7 +9,7 @@ import { Message, proto3 } from "@bufbuild/protobuf"; /** * PubKeySet contains two pub keys , secp256k1 and ed25519 * - * @generated from message crypto.PubKeySet + * @generated from message zetachain.zetacore.pkg.crypto.PubKeySet */ export declare class PubKeySet extends Message { /** @@ -25,7 +25,7 @@ export declare class PubKeySet extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; - static readonly typeName = "crypto.PubKeySet"; + static readonly typeName = "zetachain.zetacore.pkg.crypto.PubKeySet"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PubKeySet; diff --git a/typescript/pkg/crypto/index.d.ts b/typescript/zetachain/zetacore/pkg/crypto/index.d.ts similarity index 100% rename from typescript/pkg/crypto/index.d.ts rename to typescript/zetachain/zetacore/pkg/crypto/index.d.ts diff --git a/typescript/pkg/proofs/bitcoin/bitcoin_pb.d.ts b/typescript/zetachain/zetacore/pkg/proofs/bitcoin/bitcoin_pb.d.ts similarity index 79% rename from typescript/pkg/proofs/bitcoin/bitcoin_pb.d.ts rename to typescript/zetachain/zetacore/pkg/proofs/bitcoin/bitcoin_pb.d.ts index baeeb0f2f0..74a6af5bfe 100644 --- a/typescript/pkg/proofs/bitcoin/bitcoin_pb.d.ts +++ b/typescript/zetachain/zetacore/pkg/proofs/bitcoin/bitcoin_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file pkg/proofs/bitcoin/bitcoin.proto (package bitcoin, syntax proto3) +// @generated from file zetachain/zetacore/pkg/proofs/bitcoin/bitcoin.proto (package zetachain.zetacore.pkg.proofs.bitcoin, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -7,7 +7,7 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM import { Message, proto3 } from "@bufbuild/protobuf"; /** - * @generated from message bitcoin.Proof + * @generated from message zetachain.zetacore.pkg.proofs.bitcoin.Proof */ export declare class Proof extends Message { /** @@ -28,7 +28,7 @@ export declare class Proof extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; - static readonly typeName = "bitcoin.Proof"; + static readonly typeName = "zetachain.zetacore.pkg.proofs.bitcoin.Proof"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Proof; diff --git a/typescript/pkg/proofs/bitcoin/index.d.ts b/typescript/zetachain/zetacore/pkg/proofs/bitcoin/index.d.ts similarity index 100% rename from typescript/pkg/proofs/bitcoin/index.d.ts rename to typescript/zetachain/zetacore/pkg/proofs/bitcoin/index.d.ts diff --git a/typescript/pkg/proofs/ethereum/ethereum_pb.d.ts b/typescript/zetachain/zetacore/pkg/proofs/ethereum/ethereum_pb.d.ts similarity index 77% rename from typescript/pkg/proofs/ethereum/ethereum_pb.d.ts rename to typescript/zetachain/zetacore/pkg/proofs/ethereum/ethereum_pb.d.ts index 28d7ba9671..ad62220d19 100644 --- a/typescript/pkg/proofs/ethereum/ethereum_pb.d.ts +++ b/typescript/zetachain/zetacore/pkg/proofs/ethereum/ethereum_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file pkg/proofs/ethereum/ethereum.proto (package ethereum, syntax proto3) +// @generated from file zetachain/zetacore/pkg/proofs/ethereum/ethereum.proto (package zetachain.zetacore.pkg.proofs.ethereum, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -7,7 +7,7 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM import { Message, proto3 } from "@bufbuild/protobuf"; /** - * @generated from message ethereum.Proof + * @generated from message zetachain.zetacore.pkg.proofs.ethereum.Proof */ export declare class Proof extends Message { /** @@ -23,7 +23,7 @@ export declare class Proof extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; - static readonly typeName = "ethereum.Proof"; + static readonly typeName = "zetachain.zetacore.pkg.proofs.ethereum.Proof"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Proof; diff --git a/typescript/pkg/proofs/ethereum/index.d.ts b/typescript/zetachain/zetacore/pkg/proofs/ethereum/index.d.ts similarity index 100% rename from typescript/pkg/proofs/ethereum/index.d.ts rename to typescript/zetachain/zetacore/pkg/proofs/ethereum/index.d.ts diff --git a/typescript/pkg/proofs/index.d.ts b/typescript/zetachain/zetacore/pkg/proofs/index.d.ts similarity index 100% rename from typescript/pkg/proofs/index.d.ts rename to typescript/zetachain/zetacore/pkg/proofs/index.d.ts diff --git a/typescript/pkg/proofs/proofs_pb.d.ts b/typescript/zetachain/zetacore/pkg/proofs/proofs_pb.d.ts similarity index 77% rename from typescript/pkg/proofs/proofs_pb.d.ts rename to typescript/zetachain/zetacore/pkg/proofs/proofs_pb.d.ts index 5e0e804c09..7959cbf0ce 100644 --- a/typescript/pkg/proofs/proofs_pb.d.ts +++ b/typescript/zetachain/zetacore/pkg/proofs/proofs_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file pkg/proofs/proofs.proto (package proofs, syntax proto3) +// @generated from file zetachain/zetacore/pkg/proofs/proofs.proto (package zetachain.zetacore.pkg.proofs, syntax proto3) /* eslint-disable */ // @ts-nocheck @@ -9,7 +9,7 @@ import type { Proof as Proof$1 } from "./ethereum/ethereum_pb.js"; import type { Proof as Proof$2 } from "./bitcoin/bitcoin_pb.js"; /** - * @generated from message proofs.BlockHeader + * @generated from message zetachain.zetacore.pkg.proofs.BlockHeader */ export declare class BlockHeader extends Message { /** @@ -35,14 +35,14 @@ export declare class BlockHeader extends Message { /** * chain specific header * - * @generated from field: proofs.HeaderData header = 5; + * @generated from field: zetachain.zetacore.pkg.proofs.HeaderData header = 5; */ header?: HeaderData; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; - static readonly typeName = "proofs.BlockHeader"; + static readonly typeName = "zetachain.zetacore.pkg.proofs.BlockHeader"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): BlockHeader; @@ -55,11 +55,11 @@ export declare class BlockHeader extends Message { } /** - * @generated from message proofs.HeaderData + * @generated from message zetachain.zetacore.pkg.proofs.HeaderData */ export declare class HeaderData extends Message { /** - * @generated from oneof proofs.HeaderData.data + * @generated from oneof zetachain.zetacore.pkg.proofs.HeaderData.data */ data: { /** @@ -82,7 +82,7 @@ export declare class HeaderData extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; - static readonly typeName = "proofs.HeaderData"; + static readonly typeName = "zetachain.zetacore.pkg.proofs.HeaderData"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): HeaderData; @@ -95,21 +95,21 @@ export declare class HeaderData extends Message { } /** - * @generated from message proofs.Proof + * @generated from message zetachain.zetacore.pkg.proofs.Proof */ export declare class Proof extends Message { /** - * @generated from oneof proofs.Proof.proof + * @generated from oneof zetachain.zetacore.pkg.proofs.Proof.proof */ proof: { /** - * @generated from field: ethereum.Proof ethereum_proof = 1; + * @generated from field: zetachain.zetacore.pkg.proofs.ethereum.Proof ethereum_proof = 1; */ value: Proof$1; case: "ethereumProof"; } | { /** - * @generated from field: bitcoin.Proof bitcoin_proof = 2; + * @generated from field: zetachain.zetacore.pkg.proofs.bitcoin.Proof bitcoin_proof = 2; */ value: Proof$2; case: "bitcoinProof"; @@ -118,7 +118,7 @@ export declare class Proof extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; - static readonly typeName = "proofs.Proof"; + static readonly typeName = "zetachain.zetacore.pkg.proofs.Proof"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Proof; diff --git a/x/authority/keeper/keeper.go b/x/authority/keeper/keeper.go index 46e8cb9bc4..003d91bee7 100644 --- a/x/authority/keeper/keeper.go +++ b/x/authority/keeper/keeper.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/x/authority/types" ) diff --git a/x/authority/module.go b/x/authority/module.go index 6c7d535ec5..b4c5b68e18 100644 --- a/x/authority/module.go +++ b/x/authority/module.go @@ -5,6 +5,7 @@ import ( "encoding/json" "fmt" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" @@ -13,7 +14,6 @@ import ( "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" "github.com/zeta-chain/zetacore/x/authority/client/cli" "github.com/zeta-chain/zetacore/x/authority/keeper" "github.com/zeta-chain/zetacore/x/authority/types" @@ -116,19 +116,6 @@ func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the authority module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.Route{} -} - -// QuerierRoute returns the authority module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } - -// LegacyQuerierHandler returns the authority module's Querier. -func (am AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier { - return nil -} - // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. func (am AppModule) RegisterServices(cfg module.Configurator) { diff --git a/x/authority/types/genesis.pb.go b/x/authority/types/genesis.pb.go index f76e4710a6..77857e5b67 100644 --- a/x/authority/types/genesis.pb.go +++ b/x/authority/types/genesis.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: authority/genesis.proto +// source: zetachain/zetacore/authority/genesis.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -33,7 +32,7 @@ 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_72622afc33ec94d4, []int{0} + return fileDescriptor_633475075491b169, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -73,23 +72,25 @@ func init() { proto.RegisterType((*GenesisState)(nil), "zetachain.zetacore.authority.GenesisState") } -func init() { proto.RegisterFile("authority/genesis.proto", fileDescriptor_72622afc33ec94d4) } +func init() { + proto.RegisterFile("zetachain/zetacore/authority/genesis.proto", fileDescriptor_633475075491b169) +} -var fileDescriptor_72622afc33ec94d4 = []byte{ - // 201 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x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x18, 0x10, 0x00, 0x00, 0xff, - 0xff, 0x70, 0x61, 0x2d, 0x81, 0x15, 0x01, 0x00, 0x00, +var fileDescriptor_633475075491b169 = []byte{ + // 202 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xaa, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x13, 0x4b, 0x4b, 0x32, + 0xf2, 0x8b, 0x32, 0x4b, 0x2a, 0xf5, 0xd3, 0x53, 0xf3, 0x52, 0x8b, 0x33, 0x8b, 0xf5, 0x0a, 0x8a, + 0xf2, 0x4b, 0xf2, 0x85, 0x64, 0xe0, 0x6a, 0xf5, 0x60, 0x6a, 0xf5, 0xe0, 0x6a, 0xa5, 0xb4, 0xf1, + 0x9a, 0x54, 0x90, 0x9f, 0x93, 0x99, 0x9c, 0x99, 0x0a, 0x35, 0x4a, 0x4a, 0x24, 0x3d, 0x3f, 0x3d, + 0x1f, 0xcc, 0xd4, 0x07, 0xb1, 0x20, 0xa2, 0x4a, 0x11, 0x5c, 0x3c, 0xee, 0x10, 0x1b, 0x83, 0x4b, + 0x12, 0x4b, 0x52, 0x85, 0x3c, 0xb8, 0x38, 0x60, 0xfa, 0x24, 0x18, 0x15, 0x18, 0x35, 0xb8, 0x8d, + 0xd4, 0xf4, 0xf0, 0xb9, 0x41, 0x2f, 0x00, 0xaa, 0xda, 0x89, 0xe5, 0xc4, 0x3d, 0x79, 0x86, 0x20, + 0xb8, 0x6e, 0x27, 0xaf, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, + 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x48, + 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0x05, 0xbb, 0x5b, 0x17, 0xcd, 0x0b, 0x15, + 0x48, 0x9e, 0x28, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x3b, 0xd6, 0x18, 0x10, 0x00, 0x00, + 0xff, 0xff, 0xd8, 0x71, 0x7a, 0xaa, 0x3b, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/authority/types/policies.pb.go b/x/authority/types/policies.pb.go index 205d287989..2c317ced35 100644 --- a/x/authority/types/policies.pb.go +++ b/x/authority/types/policies.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: authority/policies.proto +// source: zetachain/zetacore/authority/policies.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -50,7 +49,7 @@ func (x PolicyType) String() string { } func (PolicyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cf39aa57ca0776f1, []int{0} + return fileDescriptor_afa9e3e7b996ef74, []int{0} } type Policy struct { @@ -62,7 +61,7 @@ func (m *Policy) Reset() { *m = Policy{} } func (m *Policy) String() string { return proto.CompactTextString(m) } func (*Policy) ProtoMessage() {} func (*Policy) Descriptor() ([]byte, []int) { - return fileDescriptor_cf39aa57ca0776f1, []int{0} + return fileDescriptor_afa9e3e7b996ef74, []int{0} } func (m *Policy) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -114,7 +113,7 @@ func (m *Policies) Reset() { *m = Policies{} } func (m *Policies) String() string { return proto.CompactTextString(m) } func (*Policies) ProtoMessage() {} func (*Policies) Descriptor() ([]byte, []int) { - return fileDescriptor_cf39aa57ca0776f1, []int{1} + return fileDescriptor_afa9e3e7b996ef74, []int{1} } func (m *Policies) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -156,29 +155,31 @@ func init() { proto.RegisterType((*Policies)(nil), "zetachain.zetacore.authority.Policies") } -func init() { proto.RegisterFile("authority/policies.proto", fileDescriptor_cf39aa57ca0776f1) } - -var fileDescriptor_cf39aa57ca0776f1 = []byte{ - // 302 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0x86, 0x9b, 0xa9, 0x53, 0xbf, 0xc1, 0x28, 0x61, 0x87, 0x32, 0x24, 0x8c, 0xe1, 0xa1, 0x08, - 0x26, 0x32, 0x6f, 0xde, 0x14, 0x14, 0x14, 0xc1, 0x31, 0x3c, 0x79, 0x91, 0xac, 0x0b, 0x5d, 0x60, - 0x6d, 0x42, 0x9a, 0x81, 0xf1, 0x57, 0xf8, 0x23, 0x3c, 0xf8, 0x53, 0x3c, 0xee, 0xe8, 0x51, 0xda, - 0x3f, 0x22, 0x4d, 0xdd, 0x76, 0x13, 0x6f, 0x6f, 0x3e, 0xbe, 0xf7, 0xfd, 0x1e, 0xde, 0x40, 0xc4, - 0x97, 0x76, 0xae, 0x8c, 0xb4, 0x8e, 0x69, 0xb5, 0x90, 0x89, 0x14, 0x05, 0xd5, 0x46, 0x59, 0x85, - 0x8f, 0x5e, 0x85, 0xe5, 0xc9, 0x9c, 0xcb, 0x9c, 0x7a, 0xa5, 0x8c, 0xa0, 0x9b, 0xe5, 0x7e, 0x2f, - 0x55, 0xa9, 0xf2, 0x8b, 0xac, 0x56, 0x8d, 0x67, 0x98, 0x41, 0x7b, 0x5c, 0xa7, 0x38, 0x7c, 0x0b, - 0x1d, 0x9f, 0xe7, 0x9e, 0xad, 0xd3, 0x22, 0x42, 0x03, 0x14, 0x77, 0x47, 0x31, 0xfd, 0x2b, 0x93, - 0x36, 0xd6, 0x47, 0xa7, 0xc5, 0x04, 0xf4, 0x46, 0xe3, 0x08, 0xf6, 0xf9, 0x6c, 0x66, 0x44, 0x51, - 0x44, 0xad, 0x01, 0x8a, 0x0f, 0x27, 0xeb, 0xe7, 0xf0, 0x06, 0x0e, 0xc6, 0xbf, 0xd0, 0xf8, 0x02, - 0xf6, 0xa4, 0x15, 0x59, 0x11, 0xa1, 0xc1, 0x4e, 0xdc, 0x19, 0x1d, 0xff, 0xe7, 0xd4, 0xa4, 0xb1, - 0x9c, 0xdc, 0x03, 0x6c, 0x6f, 0x63, 0x0c, 0xdd, 0xd4, 0xa8, 0xa5, 0xbe, 0xce, 0x84, 0x49, 0x45, - 0x9e, 0xb8, 0x30, 0xc0, 0x3d, 0x08, 0xfd, 0xec, 0x41, 0x0b, 0xc3, 0xad, 0x54, 0x39, 0x5f, 0x84, - 0x08, 0x77, 0x01, 0xfc, 0xf4, 0x72, 0x96, 0xc9, 0x3c, 0x6c, 0xf5, 0x77, 0x3f, 0xde, 0x09, 0xba, - 0xba, 0xfb, 0x2c, 0x09, 0x5a, 0x95, 0x04, 0x7d, 0x97, 0x04, 0xbd, 0x55, 0x24, 0x58, 0x55, 0x24, - 0xf8, 0xaa, 0x48, 0xf0, 0x74, 0x96, 0x4a, 0x3b, 0x5f, 0x4e, 0x69, 0xa2, 0x32, 0x56, 0x43, 0x9d, - 0x7a, 0x3e, 0xb6, 0xe6, 0x63, 0x2f, 0x6c, 0xfb, 0x1b, 0x75, 0x6d, 0xc5, 0xb4, 0xed, 0x7b, 0x3d, - 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x43, 0x35, 0x1b, 0xa7, 0x01, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/authority/policies.proto", fileDescriptor_afa9e3e7b996ef74) +} + +var fileDescriptor_afa9e3e7b996ef74 = []byte{ + // 303 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00,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 0xf4, 0xd4, 0xbc, 0xe4, 0x4a, + 0x01, 0x06, 0x21, 0x11, 0x2e, 0x01, 0xb0, 0x98, 0x7f, 0x41, 0x6a, 0x51, 0x62, 0x49, 0x66, 0x7e, + 0x5e, 0x62, 0x8e, 0x00, 0xa3, 0x10, 0x1f, 0x17, 0x17, 0x58, 0xd4, 0x31, 0x25, 0x37, 0x33, 0x4f, + 0x80, 0x49, 0x8a, 0x65, 0xc5, 0x12, 0x39, 0x46, 0x27, 0xaf, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, + 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, + 0x3c, 0x96, 0x63, 0x88, 0x32, 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0x05, + 0x47, 0x80, 0x2e, 0x5a, 0x5c, 0x54, 0x20, 0xc5, 0x06, 0x28, 0xd8, 0x8a, 0x93, 0xd8, 0xc0, 0xe1, + 0x6a, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xe4, 0x91, 0xe5, 0xab, 0xba, 0x01, 0x00, 0x00, } func (m *Policy) Marshal() (dAtA []byte, err error) { diff --git a/x/authority/types/query.pb.go b/x/authority/types/query.pb.go index 8d46ef40f1..4bca3de84a 100644 --- a/x/authority/types/query.pb.go +++ b/x/authority/types/query.pb.go @@ -1,23 +1,22 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: authority/query.proto +// source: zetachain/zetacore/authority/query.proto package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/gogoproto/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" 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. @@ -39,7 +38,7 @@ func (m *QueryGetPoliciesRequest) Reset() { *m = QueryGetPoliciesRequest func (m *QueryGetPoliciesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetPoliciesRequest) ProtoMessage() {} func (*QueryGetPoliciesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b64d9e7f9da035b5, []int{0} + return fileDescriptor_5fe6130bc825be8d, []int{0} } func (m *QueryGetPoliciesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -77,7 +76,7 @@ func (m *QueryGetPoliciesResponse) Reset() { *m = QueryGetPoliciesRespon func (m *QueryGetPoliciesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetPoliciesResponse) ProtoMessage() {} func (*QueryGetPoliciesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b64d9e7f9da035b5, []int{1} + return fileDescriptor_5fe6130bc825be8d, []int{1} } func (m *QueryGetPoliciesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -118,30 +117,33 @@ func init() { proto.RegisterType((*QueryGetPoliciesResponse)(nil), "zetachain.zetacore.authority.QueryGetPoliciesResponse") } -func init() { proto.RegisterFile("authority/query.proto", fileDescriptor_b64d9e7f9da035b5) } - -var fileDescriptor_b64d9e7f9da035b5 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0x2c, 0x2d, 0xc9, - 0xc8, 0x2f, 0xca, 0x2c, 0xa9, 0xd4, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, - 0xc9, 0x17, 0x92, 0xa9, 0x4a, 0x2d, 0x49, 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x03, 0xb3, 0xf2, - 0x8b, 0x52, 0xf5, 0xe0, 0x2a, 0xa5, 0x24, 0x10, 0x9a, 0x0a, 0xf2, 0x73, 0x32, 0x93, 0x33, 0x53, - 0x8b, 0x21, 0xfa, 0xa4, 0xb4, 0x92, 0xf3, 0x8b, 0x73, 0xf3, 0x8b, 0xf5, 0x93, 0x12, 0x8b, 0x53, - 0x21, 0x06, 0xea, 0x97, 0x19, 0x26, 0xa5, 0x96, 0x24, 0x1a, 0xea, 0x17, 0x24, 0xa6, 0x67, 0xe6, - 0x25, 0x96, 0x64, 0xe6, 0xe7, 0x41, 0xd5, 0x8a, 0xa4, 0xe7, 0xa7, 0xe7, 0x83, 0x99, 0xfa, 0x20, - 0x16, 0x54, 0x54, 0x26, 0x3d, 0x3f, 0x3f, 0x3d, 0x27, 0x55, 0x3f, 0xb1, 0x20, 0x53, 0x3f, 0x31, - 0x2f, 0x2f, 0xbf, 0x04, 0xac, 0x05, 0x6a, 0xbe, 0x92, 0x24, 0x97, 0x78, 0x20, 0xc8, 0x54, 0xf7, - 0xd4, 0x92, 0x00, 0xa8, 0xcd, 0x41, 0xa9, 0x85, 0xa5, 0xa9, 0xc5, 0x25, 0x4a, 0x29, 0x5c, 0x12, - 0x98, 0x52, 0xc5, 0x05, 0xf9, 0x79, 0xc5, 0xa9, 0x42, 0x1e, 0x5c, 0x1c, 0x30, 0x87, 0x4a, 0x30, - 0x2a, 0x30, 0x6a, 0x70, 0x1b, 0xa9, 0xe9, 0xe1, 0xf3, 0xa1, 0x1e, 0xcc, 0x04, 0x27, 0x96, 0x13, - 0xf7, 0xe4, 0x19, 0x82, 0xe0, 0xba, 0x8d, 0x56, 0x33, 0x72, 0xb1, 0x82, 0xad, 0x11, 0x5a, 0xc8, - 0xc8, 0xc5, 0x01, 0x53, 0x26, 0x64, 0x8a, 0xdf, 0x38, 0x1c, 0x6e, 0x96, 0x32, 0x23, 0x55, 0x1b, - 0xc4, 0x3f, 0x4a, 0x6a, 0x4d, 0x97, 0x9f, 0x4c, 0x66, 0x52, 0x10, 0x92, 0xd3, 0x07, 0xe9, 0xd2, - 0x05, 0x1b, 0xa0, 0x8f, 0x19, 0x29, 0x4e, 0x5e, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, - 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, - 0xc7, 0x10, 0x65, 0x90, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0x8b, 0x6c, 0x06, - 0xcc, 0x11, 0xfa, 0x15, 0x48, 0xc6, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x63, 0xc0, - 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x24, 0x39, 0xaa, 0x53, 0x32, 0x02, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/authority/query.proto", fileDescriptor_5fe6130bc825be8d) +} + +var fileDescriptor_5fe6130bc825be8d = []byte{ + // 323 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xa8, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x13, 0x4b, 0x4b, 0x32, + 0xf2, 0x8b, 0x32, 0x4b, 0x2a, 0xf5, 0x0b, 0x4b, 0x53, 0x8b, 0x2a, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, + 0xf2, 0x85, 0x64, 0xe0, 0x2a, 0xf5, 0x60, 0x2a, 0xf5, 0xe0, 0x2a, 0xa5, 0xb4, 0xf1, 0x9a, 0x53, + 0x90, 0x9f, 0x93, 0x99, 0x9c, 0x99, 0x5a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c, 0x92, + 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, + 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x20, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, + 0x39, 0x3f, 0x17, 0xd9, 0x0c, 0x78, 0x0c, 0x57, 0x20, 0x19, 0x57, 0x52, 0x59, 0x90, 0x5a, 0x9c, + 0xc4, 0x06, 0x8e, 0x01, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3c, 0xf1, 0xad, 0x7a, 0x58, + 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -223,7 +225,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "authority/query.proto", + Metadata: "zetachain/zetacore/authority/query.proto", } func (m *QueryGetPoliciesRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/authority/types/query.pb.gw.go b/x/authority/types/query.pb.gw.go index 008ffb866d..36125dc5f5 100644 --- a/x/authority/types/query.pb.gw.go +++ b/x/authority/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: authority/query.proto +// source: zetachain/zetacore/authority/query.proto /* Package types is a reverse proxy. diff --git a/x/authority/types/tx.pb.go b/x/authority/types/tx.pb.go index 1f109e4e3d..b27b2cfa20 100644 --- a/x/authority/types/tx.pb.go +++ b/x/authority/types/tx.pb.go @@ -1,21 +1,20 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: authority/tx.proto +// source: zetachain/zetacore/authority/tx.proto 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" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/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. @@ -39,7 +38,7 @@ func (m *MsgUpdatePolicies) Reset() { *m = MsgUpdatePolicies{} } func (m *MsgUpdatePolicies) String() string { return proto.CompactTextString(m) } func (*MsgUpdatePolicies) ProtoMessage() {} func (*MsgUpdatePolicies) Descriptor() ([]byte, []int) { - return fileDescriptor_dccbf6440c31743d, []int{0} + return fileDescriptor_42e081863c477116, []int{0} } func (m *MsgUpdatePolicies) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -90,7 +89,7 @@ func (m *MsgUpdatePoliciesResponse) Reset() { *m = MsgUpdatePoliciesResp func (m *MsgUpdatePoliciesResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdatePoliciesResponse) ProtoMessage() {} func (*MsgUpdatePoliciesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dccbf6440c31743d, []int{1} + return fileDescriptor_42e081863c477116, []int{1} } func (m *MsgUpdatePoliciesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -124,27 +123,29 @@ func init() { proto.RegisterType((*MsgUpdatePoliciesResponse)(nil), "zetachain.zetacore.authority.MsgUpdatePoliciesResponse") } -func init() { proto.RegisterFile("authority/tx.proto", fileDescriptor_dccbf6440c31743d) } - -var fileDescriptor_dccbf6440c31743d = []byte{ - // 260 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4a, 0x2c, 0x2d, 0xc9, - 0xc8, 0x2f, 0xca, 0x2c, 0xa9, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, - 0xa9, 0x4a, 0x2d, 0x49, 0x4c, 0xce, 0x48, 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, 0x1f, 0x64, - 0xa4, 0x2e, 0xd8, 0x74, 0x7d, 0x98, 0xe9, 0xfa, 0x15, 0xfa, 0x48, 0x91, 0x56, 0x59, 0x90, 0x5a, - 0x9c, 0xc4, 0x06, 0x0e, 0x6a, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf1, 0x8b, 0x6c, 0x4f, - 0xce, 0x01, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/authority/tx.proto", fileDescriptor_42e081863c477116) +} + +var fileDescriptor_42e081863c477116 = []byte{ + // 261 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xad, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x13, 0x4b, 0x4b, 0x32, + 0xf2, 0x8b, 0x32, 0x4b, 0x2a, 0xf5, 0x4b, 0x2a, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x64, + 0xe0, 0xca, 0xf4, 0x60, 0xca, 0xf4, 0xe0, 0xca, 0xa4, 0xb4, 0xf1, 0x1a, 0x52, 0x90, 0x9f, 0x93, + 0x99, 0x9c, 0x99, 0x5a, 0x0c, 0x31, 0x4a, 0x4a, 0x24, 0x3d, 0x3f, 0x3d, 0x1f, 0xcc, 0xd4, 0x07, + 0xb1, 0x20, 0xa2, 0x4a, 0xa5, 0x5c, 0x82, 0xbe, 0xc5, 0xe9, 0xa1, 0x05, 0x29, 0x89, 0x25, 0xa9, + 0x01, 0x50, 0x0d, 0x42, 0x62, 0x5c, 0x6c, 0xc5, 0x99, 0xe9, 0x79, 0xa9, 0x45, 0x12, 0x8c, 0x0a, + 0x8c, 0x1a, 0x9c, 0x41, 0x50, 0x9e, 0x90, 0x07, 0x17, 0x07, 0xcc, 0x50, 0x09, 0x26, 0x05, 0x46, + 0x0d, 0x6e, 0x23, 0x35, 0x3d, 0x7c, 0x0e, 0xd4, 0x83, 0x99, 0xe8, 0xc4, 0x72, 0xe2, 0x9e, 0x3c, + 0x43, 0x10, 0x5c, 0xb7, 0x92, 0x34, 0x97, 0x24, 0x86, 0xb5, 0x41, 0xa9, 0xc5, 0x05, 0xf9, 0x79, + 0xc5, 0xa9, 0x46, 0x8d, 0x8c, 0x5c, 0xcc, 0xbe, 0xc5, 0xe9, 0x42, 0x55, 0x5c, 0x7c, 0x68, 0x0e, + 0xd3, 0xc7, 0x6f, 0x1d, 0x86, 0x91, 0x52, 0xe6, 0x24, 0x6a, 0x80, 0xb9, 0xc1, 0xc9, 0xeb, 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, 0x0c, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, + 0xf4, 0x92, 0xf3, 0x73, 0xc1, 0xa1, 0xae, 0x8b, 0x16, 0x01, 0x15, 0xc8, 0xf1, 0x58, 0x59, 0x90, + 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x6a, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x18, 0x8a, + 0x31, 0xf4, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -224,7 +225,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "authority/tx.proto", + Metadata: "zetachain/zetacore/authority/tx.proto", } func (m *MsgUpdatePolicies) Marshal() (dAtA []byte, err error) { diff --git a/x/crosschain/client/cli/cli_out_tx_tracker_test.go b/x/crosschain/client/cli/cli_out_tx_tracker_test.go index 01976193dc..9c648322df 100644 --- a/x/crosschain/client/cli/cli_out_tx_tracker_test.go +++ b/x/crosschain/client/cli/cli_out_tx_tracker_test.go @@ -1,36 +1,25 @@ package cli_test -import ( - "fmt" - "testing" +// func networkWithOutTxTrackerObjects(t *testing.T, n int) (*network.Network, []types.OutTxTracker) { +// t.Helper() +// cfg := network.DefaultConfig() +// state := types.GenesisState{} +// require.NoError(t, cfg.Codec.UnmarshalJSON(cfg.GenesisState[types.ModuleName], &state)) - "github.com/stretchr/testify/require" - "github.com/zeta-chain/zetacore/app" - "github.com/zeta-chain/zetacore/testutil/network" - "github.com/zeta-chain/zetacore/testutil/nullify" - "github.com/zeta-chain/zetacore/x/crosschain/types" -) - -func networkWithOutTxTrackerObjects(t *testing.T, n int) (*network.Network, []types.OutTxTracker) { - t.Helper() - cfg := network.DefaultConfig() - state := types.GenesisState{} - require.NoError(t, cfg.Codec.UnmarshalJSON(cfg.GenesisState[types.ModuleName], &state)) - - for i := 0; i < n; i++ { - outTxTracker := types.OutTxTracker{ - Index: fmt.Sprintf("testchain-%d", i), - } - nullify.Fill(&outTxTracker) - state.OutTxTrackerList = append(state.OutTxTrackerList, outTxTracker) - } - buf, err := cfg.Codec.MarshalJSON(&state) - require.NoError(t, err) - cfg.GenesisState[types.ModuleName] = buf - //cfg.GenesisState = network.SetupZetaGenesisState(t, cfg.GenesisState, cfg.Codec) - net, err := network.New(t, app.NodeDir, cfg) - return net, state.OutTxTrackerList -} +// for i := 0; i < n; i++ { +// outTxTracker := types.OutTxTracker{ +// Index: fmt.Sprintf("testchain-%d", i), +// } +// nullify.Fill(&outTxTracker) +// state.OutTxTrackerList = append(state.OutTxTrackerList, outTxTracker) +// } +// buf, err := cfg.Codec.MarshalJSON(&state) +// require.NoError(t, err) +// cfg.GenesisState[types.ModuleName] = buf +// //cfg.GenesisState = network.SetupZetaGenesisState(t, cfg.GenesisState, cfg.Codec) +// net, err := network.New(t, app.NodeDir, cfg) +// return net, state.OutTxTrackerList +// } // //func TestShowOutTxTracker(t *testing.T) { diff --git a/x/crosschain/client/querytests/cctx.go b/x/crosschain/client/querytests/cctx.go index 2cc4ef4d91..169d2ca10e 100644 --- a/x/crosschain/client/querytests/cctx.go +++ b/x/crosschain/client/querytests/cctx.go @@ -3,9 +3,9 @@ package querytests import ( "fmt" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zeta-chain/zetacore/x/crosschain/client/cli" "github.com/zeta-chain/zetacore/x/crosschain/types" "google.golang.org/grpc/codes" diff --git a/x/crosschain/client/querytests/cli_test.go b/x/crosschain/client/querytests/cli_test.go index ad30a35dc1..ca7a115d8b 100644 --- a/x/crosschain/client/querytests/cli_test.go +++ b/x/crosschain/client/querytests/cli_test.go @@ -1,63 +1,46 @@ package querytests import ( - "fmt" "testing" - "time" "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - pruningtypes "github.com/cosmos/cosmos-sdk/pruning/types" servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + pruningtypes "github.com/cosmos/cosmos-sdk/store/pruning/types" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" + "github.com/cosmos/cosmos-sdk/types/module/testutil" + + tmdb "github.com/cometbft/cometbft-db" "github.com/stretchr/testify/suite" - tmdb "github.com/tendermint/tm-db" "github.com/zeta-chain/zetacore/app" - "github.com/zeta-chain/zetacore/cmd/zetacored/config" "github.com/zeta-chain/zetacore/testutil/network" ) func TestCLIQuerySuite(t *testing.T) { - cfg := CliTestConfig() + cfg := network.DefaultConfig(NewTestNetworkFixture) suite.Run(t, NewCLITestSuite(cfg)) } -func CliTestConfig() network.Config { +func NewTestNetworkFixture() network.TestFixture { encoding := app.MakeEncodingConfig() - return network.Config{ - Codec: encoding.Codec, - TxConfig: encoding.TxConfig, - LegacyAmino: encoding.Amino, - InterfaceRegistry: encoding.InterfaceRegistry, - AccountRetriever: authtypes.AccountRetriever{}, - AppConstructor: func(val network.Validator) servertypes.Application { - return app.New( - val.Ctx.Logger, tmdb.NewMemDB(), nil, true, map[int64]bool{}, val.Ctx.Config.RootDir, 0, - encoding, - simapp.EmptyAppOptions{}, - baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.AppConfig.Pruning)), - baseapp.SetMinGasPrices(val.AppConfig.MinGasPrices), - ) - }, - GenesisState: app.ModuleBasics.DefaultGenesis(encoding.Codec), - TimeoutCommit: 2 * time.Second, - ChainID: "athens_8888-2", - NumOfValidators: 2, - Mnemonics: []string{ - "race draft rival universe maid cheese steel logic crowd fork comic easy truth drift tomorrow eye buddy head time cash swing swift midnight borrow", - "hand inmate canvas head lunar naive increase recycle dog ecology inhale december wide bubble hockey dice worth gravity ketchup feed balance parent secret orchard", + appCtr := func(val network.ValidatorI) servertypes.Application { + return app.New( + val.GetCtx().Logger, tmdb.NewMemDB(), nil, true, map[int64]bool{}, val.GetCtx().Config.RootDir, 0, + encoding, + simtestutil.EmptyAppOptions{}, + baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.GetAppConfig().Pruning)), + baseapp.SetMinGasPrices(val.GetAppConfig().MinGasPrices), + baseapp.SetChainID("athens_8888-2"), + ) + } + + return network.TestFixture{ + AppConstructor: appCtr, + GenesisState: app.ModuleBasics.DefaultGenesis(encoding.Codec), + EncodingConfig: testutil.TestEncodingConfig{ + InterfaceRegistry: encoding.InterfaceRegistry, + Codec: encoding.Codec, + TxConfig: encoding.TxConfig, + Amino: encoding.Amino, }, - BondDenom: config.BaseDenom, - MinGasPrices: fmt.Sprintf("0.000006%s", config.BaseDenom), - AccountTokens: sdk.TokensFromConsensusPower(1000, sdk.DefaultPowerReduction), - StakingTokens: sdk.TokensFromConsensusPower(500, sdk.DefaultPowerReduction), - BondedTokens: sdk.TokensFromConsensusPower(100, sdk.DefaultPowerReduction), - PruningStrategy: pruningtypes.PruningOptionNothing, - CleanupDir: true, - SigningAlgo: string(hd.Secp256k1Type), - KeyringOptions: []keyring.Option{}, } } diff --git a/x/crosschain/client/querytests/gas_price.go b/x/crosschain/client/querytests/gas_price.go index b4ac9ec62f..3705e43c0a 100644 --- a/x/crosschain/client/querytests/gas_price.go +++ b/x/crosschain/client/querytests/gas_price.go @@ -3,9 +3,9 @@ package querytests import ( "fmt" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zeta-chain/zetacore/x/crosschain/client/cli" "github.com/zeta-chain/zetacore/x/crosschain/types" "google.golang.org/grpc/codes" diff --git a/x/crosschain/client/querytests/in_tx_tracker.go b/x/crosschain/client/querytests/in_tx_tracker.go index 15c34b3bda..1d24bb6d32 100644 --- a/x/crosschain/client/querytests/in_tx_tracker.go +++ b/x/crosschain/client/querytests/in_tx_tracker.go @@ -3,9 +3,9 @@ package querytests import ( "fmt" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zeta-chain/zetacore/testutil/nullify" "github.com/zeta-chain/zetacore/x/crosschain/client/cli" "github.com/zeta-chain/zetacore/x/crosschain/types" diff --git a/x/crosschain/client/querytests/intx_hash.go b/x/crosschain/client/querytests/intx_hash.go index 0c7c4b6321..283c143be9 100644 --- a/x/crosschain/client/querytests/intx_hash.go +++ b/x/crosschain/client/querytests/intx_hash.go @@ -9,7 +9,7 @@ import ( "strconv" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zeta-chain/zetacore/testutil/nullify" "github.com/zeta-chain/zetacore/x/crosschain/client/cli" "github.com/zeta-chain/zetacore/x/crosschain/types" diff --git a/x/crosschain/client/querytests/last_block_height.go b/x/crosschain/client/querytests/last_block_height.go index d100715048..518befe450 100644 --- a/x/crosschain/client/querytests/last_block_height.go +++ b/x/crosschain/client/querytests/last_block_height.go @@ -3,9 +3,9 @@ package querytests import ( "fmt" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zeta-chain/zetacore/x/crosschain/client/cli" "github.com/zeta-chain/zetacore/x/crosschain/types" "google.golang.org/grpc/codes" diff --git a/x/crosschain/client/querytests/out_tx_tracker.go b/x/crosschain/client/querytests/out_tx_tracker.go index 85f00522f7..d805a3bfec 100644 --- a/x/crosschain/client/querytests/out_tx_tracker.go +++ b/x/crosschain/client/querytests/out_tx_tracker.go @@ -3,9 +3,9 @@ package querytests import ( "fmt" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zeta-chain/zetacore/testutil/nullify" "github.com/zeta-chain/zetacore/x/crosschain/client/cli" "github.com/zeta-chain/zetacore/x/crosschain/types" diff --git a/x/crosschain/client/querytests/suite.go b/x/crosschain/client/querytests/suite.go index 156d2772cf..7fcc87f65e 100644 --- a/x/crosschain/client/querytests/suite.go +++ b/x/crosschain/client/querytests/suite.go @@ -32,6 +32,7 @@ func (s *CliTestSuite) Setconfig() { config.SetAddressVerifier(app.VerifyAddressFormat) config.Seal() } + func (s *CliTestSuite) SetupSuite() { s.T().Log("setting up integration test suite") s.Setconfig() diff --git a/x/crosschain/keeper/evm_deposit.go b/x/crosschain/keeper/evm_deposit.go index 0ce56a829c..bb9e8aba53 100644 --- a/x/crosschain/keeper/evm_deposit.go +++ b/x/crosschain/keeper/evm_deposit.go @@ -4,12 +4,12 @@ import ( "encoding/hex" "fmt" + tmbytes "github.com/cometbft/cometbft/libs/bytes" + tmtypes "github.com/cometbft/cometbft/types" sdk "github.com/cosmos/cosmos-sdk/types" ethcommon "github.com/ethereum/go-ethereum/common" evmtypes "github.com/evmos/ethermint/x/evm/types" "github.com/pkg/errors" - tmbytes "github.com/tendermint/tendermint/libs/bytes" - tmtypes "github.com/tendermint/tendermint/types" "github.com/zeta-chain/zetacore/pkg/chains" "github.com/zeta-chain/zetacore/pkg/coin" "github.com/zeta-chain/zetacore/x/crosschain/types" diff --git a/x/crosschain/keeper/keeper.go b/x/crosschain/keeper/keeper.go index 0bdad4fb06..a9aa6637ee 100644 --- a/x/crosschain/keeper/keeper.go +++ b/x/crosschain/keeper/keeper.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/x/crosschain/types" ) diff --git a/x/crosschain/keeper/msg_server_migrate_tss_funds.go b/x/crosschain/keeper/msg_server_migrate_tss_funds.go index b9fddc9dae..dc748a097d 100644 --- a/x/crosschain/keeper/msg_server_migrate_tss_funds.go +++ b/x/crosschain/keeper/msg_server_migrate_tss_funds.go @@ -7,10 +7,10 @@ import ( errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" + tmbytes "github.com/cometbft/cometbft/libs/bytes" + tmtypes "github.com/cometbft/cometbft/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/crypto" - tmbytes "github.com/tendermint/tendermint/libs/bytes" - tmtypes "github.com/tendermint/tendermint/types" "github.com/zeta-chain/zetacore/pkg/chains" "github.com/zeta-chain/zetacore/pkg/constant" zetacrypto "github.com/zeta-chain/zetacore/pkg/crypto" diff --git a/x/crosschain/module.go b/x/crosschain/module.go index 4fe79325d6..12e4b2ca4c 100644 --- a/x/crosschain/module.go +++ b/x/crosschain/module.go @@ -5,10 +5,10 @@ import ( "encoding/json" "fmt" + abci "github.com/cometbft/cometbft/abci/types" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" "github.com/zeta-chain/zetacore/x/crosschain/keeper" "github.com/cosmos/cosmos-sdk/client" @@ -118,19 +118,6 @@ func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the crosschain module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.Route{} -} - -// QuerierRoute returns the crosschain module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } - -// LegacyQuerierHandler returns the crosschain module's Querier. -func (am AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier { - return nil -} - // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. func (am AppModule) RegisterServices(cfg module.Configurator) { diff --git a/x/crosschain/module_simulation.go b/x/crosschain/module_simulation.go index e198a69462..ea4a98ef52 100644 --- a/x/crosschain/module_simulation.go +++ b/x/crosschain/module_simulation.go @@ -1,8 +1,6 @@ package crosschain import ( - "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" @@ -24,10 +22,8 @@ func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedP return nil } -// RandomizedParams creates randomized param changes for the simulator -func (am AppModule) RandomizedParams(_ *rand.Rand) []simtypes.ParamChange { - - return []simtypes.ParamChange{} +func (AppModule) ProposalMsgs(_ module.SimulationState) []simtypes.WeightedProposalMsg { + return nil } // RegisterStoreDecoder registers a decoder diff --git a/x/crosschain/types/cross_chain_tx.pb.go b/x/crosschain/types/cross_chain_tx.pb.go index 665a7958b6..07c92134b6 100644 --- a/x/crosschain/types/cross_chain_tx.pb.go +++ b/x/crosschain/types/cross_chain_tx.pb.go @@ -1,18 +1,17 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: crosschain/cross_chain_tx.proto +// source: zetachain/zetacore/crosschain/cross_chain_tx.proto 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" + proto "github.com/cosmos/gogoproto/proto" coin "github.com/zeta-chain/zetacore/pkg/coin" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. @@ -60,7 +59,7 @@ func (x CctxStatus) String() string { } func (CctxStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_af3a0ad055343c21, []int{0} + return fileDescriptor_d4c1966807fb5cb2, []int{0} } type TxFinalizationStatus int32 @@ -88,14 +87,14 @@ func (x TxFinalizationStatus) String() string { } func (TxFinalizationStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_af3a0ad055343c21, []int{1} + return fileDescriptor_d4c1966807fb5cb2, []int{1} } type InboundTxParams struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` SenderChainId int64 `protobuf:"varint,2,opt,name=sender_chain_id,json=senderChainId,proto3" json:"sender_chain_id,omitempty"` TxOrigin string `protobuf:"bytes,3,opt,name=tx_origin,json=txOrigin,proto3" json:"tx_origin,omitempty"` - CoinType coin.CoinType `protobuf:"varint,4,opt,name=coin_type,json=coinType,proto3,enum=coin.CoinType" json:"coin_type,omitempty"` + CoinType coin.CoinType `protobuf:"varint,4,opt,name=coin_type,json=coinType,proto3,enum=zetachain.zetacore.pkg.coin.CoinType" json:"coin_type,omitempty"` Asset string `protobuf:"bytes,5,opt,name=asset,proto3" json:"asset,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,6,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"amount"` InboundTxObservedHash string `protobuf:"bytes,7,opt,name=inbound_tx_observed_hash,json=inboundTxObservedHash,proto3" json:"inbound_tx_observed_hash,omitempty"` @@ -109,7 +108,7 @@ func (m *InboundTxParams) Reset() { *m = InboundTxParams{} } func (m *InboundTxParams) String() string { return proto.CompactTextString(m) } func (*InboundTxParams) ProtoMessage() {} func (*InboundTxParams) Descriptor() ([]byte, []int) { - return fileDescriptor_af3a0ad055343c21, []int{0} + return fileDescriptor_d4c1966807fb5cb2, []int{0} } func (m *InboundTxParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -217,7 +216,7 @@ func (m *ZetaAccounting) Reset() { *m = ZetaAccounting{} } func (m *ZetaAccounting) String() string { return proto.CompactTextString(m) } func (*ZetaAccounting) ProtoMessage() {} func (*ZetaAccounting) Descriptor() ([]byte, []int) { - return fileDescriptor_af3a0ad055343c21, []int{1} + return fileDescriptor_d4c1966807fb5cb2, []int{1} } func (m *ZetaAccounting) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -249,7 +248,7 @@ var xxx_messageInfo_ZetaAccounting proto.InternalMessageInfo type OutboundTxParams struct { Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"` ReceiverChainId int64 `protobuf:"varint,2,opt,name=receiver_chainId,json=receiverChainId,proto3" json:"receiver_chainId,omitempty"` - CoinType coin.CoinType `protobuf:"varint,3,opt,name=coin_type,json=coinType,proto3,enum=coin.CoinType" json:"coin_type,omitempty"` + CoinType coin.CoinType `protobuf:"varint,3,opt,name=coin_type,json=coinType,proto3,enum=zetachain.zetacore.pkg.coin.CoinType" json:"coin_type,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"amount"` OutboundTxTssNonce uint64 `protobuf:"varint,5,opt,name=outbound_tx_tss_nonce,json=outboundTxTssNonce,proto3" json:"outbound_tx_tss_nonce,omitempty"` OutboundTxGasLimit uint64 `protobuf:"varint,6,opt,name=outbound_tx_gas_limit,json=outboundTxGasLimit,proto3" json:"outbound_tx_gas_limit,omitempty"` @@ -270,7 +269,7 @@ func (m *OutboundTxParams) Reset() { *m = OutboundTxParams{} } func (m *OutboundTxParams) String() string { return proto.CompactTextString(m) } func (*OutboundTxParams) ProtoMessage() {} func (*OutboundTxParams) Descriptor() ([]byte, []int) { - return fileDescriptor_af3a0ad055343c21, []int{2} + return fileDescriptor_d4c1966807fb5cb2, []int{2} } func (m *OutboundTxParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -401,7 +400,7 @@ func (m *Status) Reset() { *m = Status{} } func (m *Status) String() string { return proto.CompactTextString(m) } func (*Status) ProtoMessage() {} func (*Status) Descriptor() ([]byte, []int) { - return fileDescriptor_af3a0ad055343c21, []int{3} + return fileDescriptor_d4c1966807fb5cb2, []int{3} } func (m *Status) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -472,7 +471,7 @@ func (m *CrossChainTx) Reset() { *m = CrossChainTx{} } func (m *CrossChainTx) String() string { return proto.CompactTextString(m) } func (*CrossChainTx) ProtoMessage() {} func (*CrossChainTx) Descriptor() ([]byte, []int) { - return fileDescriptor_af3a0ad055343c21, []int{4} + return fileDescriptor_d4c1966807fb5cb2, []int{4} } func (m *CrossChainTx) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -553,81 +552,83 @@ func init() { proto.RegisterType((*CrossChainTx)(nil), "zetachain.zetacore.crosschain.CrossChainTx") } -func init() { proto.RegisterFile("crosschain/cross_chain_tx.proto", fileDescriptor_af3a0ad055343c21) } - -var fileDescriptor_af3a0ad055343c21 = []byte{ - // 1125 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5d, 0x4f, 0x1b, 0x47, - 0x17, 0xf6, 0xc6, 0xc6, 0xd8, 0xc7, 0x60, 0x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xff, 0xec, 0x1d, 0x5c, - 0x64, 0xa2, 0x0a, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/crosschain/cross_chain_tx.proto", fileDescriptor_d4c1966807fb5cb2) +} + +var fileDescriptor_d4c1966807fb5cb2 = []byte{ + // 1135 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x4f, 0x1b, 0x47, + 0x14, 0xf6, 0xc6, 0xc6, 0xd8, 0xcf, 0x80, 0x97, 0xc1, 0xd0, 0x15, 0x69, 0x8c, 0xe5, 0x36, 0xc4, + 0x89, 0x14, 0x5b, 0x10, 0x55, 0x91, 0x7a, 0x03, 0x0a, 0x09, 0x4a, 0x02, 0x68, 0x0b, 0x17, 0xa4, + 0x6a, 0x3b, 0xde, 0x1d, 0xec, 0x11, 0xf6, 0x8e, 0xbb, 0x33, 0x46, 0x4b, 0xd4, 0x53, 0x7f, 0x41, + 0x7f, 0x44, 0x0f, 0xed, 0x3f, 0xc9, 0xa1, 0x52, 0x73, 0xac, 0x7a, 0x40, 0x15, 0xfc, 0x83, 0xfe, + 0x82, 0x6a, 0x66, 0x76, 0xd7, 0x8b, 0x6b, 0xa0, 0x4d, 0x73, 0xda, 0x37, 0x6f, 0xe6, 0xfb, 0xde, + 0xdb, 0x79, 0xef, 0x9b, 0x19, 0x58, 0x7f, 0x4b, 0x04, 0x76, 0xbb, 0x98, 0xfa, 0x2d, 0x65, 0xb1, + 0x80, 0xb4, 0xdc, 0x80, 0x71, 0xae, 0x7d, 0xca, 0x74, 0x94, 0xed, 0x88, 0xb0, 0x39, 0x08, 0x98, + 0x60, 0xe8, 0x41, 0x82, 0x69, 0xc6, 0x98, 0xe6, 0x08, 0xb3, 0x5c, 0xe9, 0xb0, 0x0e, 0x53, 0x2b, + 0x5b, 0xd2, 0xd2, 0xa0, 0xe5, 0xd5, 0x09, 0x81, 0x06, 0xa7, 0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xe0, 0x8c, 0x78, 0x4e, 0x17, 0xf3, 0xae, 0x35, 0xad, 0x22, 0x2e, 0xd2, 0x78, 0xcb, 0xf6, + 0xa3, 0xd9, 0x97, 0x98, 0x77, 0xd1, 0x6b, 0xf8, 0x6c, 0x12, 0x90, 0x84, 0x82, 0x04, 0x3e, 0xee, + 0x39, 0x5d, 0x42, 0x3b, 0x5d, 0x61, 0x15, 0x6a, 0x46, 0x23, 0x67, 0xaf, 0xfc, 0x83, 0x63, 0x3b, + 0x5a, 0xf7, 0x52, 0x2d, 0x43, 0x5f, 0xc0, 0x27, 0x29, 0xb6, 0x36, 0xee, 0xf5, 0x98, 0x70, 0xa8, + 0xef, 0x91, 0xd0, 0x2a, 0xaa, 0x2c, 0x2a, 0x09, 0xc3, 0xa6, 0x9a, 0xdc, 0x95, 0x73, 0x68, 0x07, + 0x6a, 0x29, 0xd8, 0x09, 0xf5, 0x71, 0x8f, 0xbe, 0x25, 0x9e, 0x23, 0x77, 0x36, 0xce, 0x00, 0x54, + 0x06, 0x9f, 0x26, 0xf8, 0x9d, 0x78, 0xd5, 0x31, 0x11, 0x38, 0x0a, 0x4f, 0x61, 0x69, 0x84, 0xc7, + 0x82, 0x32, 0xdf, 0xe1, 0x02, 0x8b, 0x21, 0xb7, 0x4a, 0xaa, 0x6a, 0xcf, 0x9a, 0xb7, 0xf6, 0x65, + 0x33, 0x61, 0x55, 0xd8, 0xaf, 0x15, 0xd4, 0xae, 0x88, 0x09, 0xde, 0xfa, 0x77, 0x30, 0x27, 0x03, + 0x6f, 0xb8, 0xae, 0xdc, 0x7f, 0xea, 0x77, 0x90, 0x03, 0x0b, 0xb8, 0xcd, 0x02, 0x11, 0xe7, 0x1d, + 0x15, 0xd6, 0xf8, 0xb0, 0xc2, 0xce, 0x47, 0x5c, 0x2a, 0x88, 0x62, 0xaa, 0xff, 0x32, 0x0d, 0xe6, + 0xfe, 0x50, 0x5c, 0x6f, 0xfc, 0x65, 0x28, 0x04, 0xc4, 0x25,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c4, 0x1d, 0x4a, 0xb2, 0x7b, + 0x9a, 0x6c, 0xf3, 0xd5, 0xbb, 0xcb, 0xaa, 0xf1, 0xfe, 0xb2, 0x6a, 0xfc, 0x79, 0x59, 0x35, 0x7e, + 0xbc, 0xaa, 0x66, 0xde, 0x5f, 0x55, 0x33, 0xbf, 0x5f, 0x55, 0x33, 0xc7, 0x6b, 0xa9, 0xbe, 0x92, + 0xfb, 0xf4, 0x74, 0xec, 0x75, 0x19, 0xa6, 0x1f, 0xb2, 0xaa, 0xcd, 0xda, 0x79, 0xf5, 0xc6, 0x7c, + 0xf6, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x55, 0xe1, 0xc7, 0xf6, 0x0a, 0x00, 0x00, } func (m *InboundTxParams) Marshal() (dAtA []byte, err error) { diff --git a/x/crosschain/types/events.pb.go b/x/crosschain/types/events.pb.go index 6fd40fd641..8dea89067d 100644 --- a/x/crosschain/types/events.pb.go +++ b/x/crosschain/types/events.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: crosschain/events.proto +// source: zetachain/zetacore/crosschain/events.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -45,7 +44,7 @@ func (m *EventInboundFinalized) Reset() { *m = EventInboundFinalized{} } func (m *EventInboundFinalized) String() string { return proto.CompactTextString(m) } func (*EventInboundFinalized) ProtoMessage() {} func (*EventInboundFinalized) Descriptor() ([]byte, []int) { - return fileDescriptor_7398db8b12b87b9e, []int{0} + return fileDescriptor_dd08b628129fa2e1, []int{0} } func (m *EventInboundFinalized) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -188,7 +187,7 @@ func (m *EventZrcWithdrawCreated) Reset() { *m = EventZrcWithdrawCreated func (m *EventZrcWithdrawCreated) String() string { return proto.CompactTextString(m) } func (*EventZrcWithdrawCreated) ProtoMessage() {} func (*EventZrcWithdrawCreated) Descriptor() ([]byte, []int) { - return fileDescriptor_7398db8b12b87b9e, []int{1} + return fileDescriptor_dd08b628129fa2e1, []int{1} } func (m *EventZrcWithdrawCreated) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -292,7 +291,7 @@ func (m *EventZetaWithdrawCreated) Reset() { *m = EventZetaWithdrawCreat func (m *EventZetaWithdrawCreated) String() string { return proto.CompactTextString(m) } func (*EventZetaWithdrawCreated) ProtoMessage() {} func (*EventZetaWithdrawCreated) Descriptor() ([]byte, []int) { - return fileDescriptor_7398db8b12b87b9e, []int{2} + return fileDescriptor_dd08b628129fa2e1, []int{2} } func (m *EventZetaWithdrawCreated) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -368,7 +367,7 @@ func (m *EventOutboundFailure) Reset() { *m = EventOutboundFailure{} } func (m *EventOutboundFailure) String() string { return proto.CompactTextString(m) } func (*EventOutboundFailure) ProtoMessage() {} func (*EventOutboundFailure) Descriptor() ([]byte, []int) { - return fileDescriptor_7398db8b12b87b9e, []int{3} + return fileDescriptor_dd08b628129fa2e1, []int{3} } func (m *EventOutboundFailure) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -444,7 +443,7 @@ func (m *EventOutboundSuccess) Reset() { *m = EventOutboundSuccess{} } func (m *EventOutboundSuccess) String() string { return proto.CompactTextString(m) } func (*EventOutboundSuccess) ProtoMessage() {} func (*EventOutboundSuccess) Descriptor() ([]byte, []int) { - return fileDescriptor_7398db8b12b87b9e, []int{4} + return fileDescriptor_dd08b628129fa2e1, []int{4} } func (m *EventOutboundSuccess) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -518,7 +517,7 @@ func (m *EventCCTXGasPriceIncreased) Reset() { *m = EventCCTXGasPriceInc func (m *EventCCTXGasPriceIncreased) String() string { return proto.CompactTextString(m) } func (*EventCCTXGasPriceIncreased) ProtoMessage() {} func (*EventCCTXGasPriceIncreased) Descriptor() ([]byte, []int) { - return fileDescriptor_7398db8b12b87b9e, []int{5} + return fileDescriptor_dd08b628129fa2e1, []int{5} } func (m *EventCCTXGasPriceIncreased) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -577,7 +576,7 @@ func (m *EventERC20Whitelist) Reset() { *m = EventERC20Whitelist{} } func (m *EventERC20Whitelist) String() string { return proto.CompactTextString(m) } func (*EventERC20Whitelist) ProtoMessage() {} func (*EventERC20Whitelist) Descriptor() ([]byte, []int) { - return fileDescriptor_7398db8b12b87b9e, []int{6} + return fileDescriptor_dd08b628129fa2e1, []int{6} } func (m *EventERC20Whitelist) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -630,54 +629,56 @@ func init() { proto.RegisterType((*EventERC20Whitelist)(nil), "zetachain.zetacore.crosschain.EventERC20Whitelist") } -func init() { proto.RegisterFile("crosschain/events.proto", fileDescriptor_7398db8b12b87b9e) } +func init() { + proto.RegisterFile("zetachain/zetacore/crosschain/events.proto", fileDescriptor_dd08b628129fa2e1) +} -var fileDescriptor_7398db8b12b87b9e = []byte{ - // 690 bytes of a gzipped FileDescriptorProto +var fileDescriptor_dd08b628129fa2e1 = []byte{ + // 691 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x95, 0xdf, 0x4e, 0x13, 0x41, - 0x14, 0xc6, 0x59, 0x68, 0x4b, 0x3b, 0xb4, 0xc5, 0xac, 0x55, 0x56, 0x22, 0x0d, 0xd6, 0xf8, 0xe7, - 0x42, 0x5b, 0xc4, 0x27, 0x90, 0x06, 0x84, 0x18, 0x83, 0x01, 0x0c, 0x86, 0x9b, 0xc9, 0x74, 0xf7, - 0xb8, 0x3b, 0x71, 0x3b, 0xd3, 0xcc, 0xcc, 0xd2, 0x85, 0xa7, 0x30, 0xbe, 0x87, 0x89, 0x0f, 0xe0, - 0x03, 0x78, 0xc9, 0x85, 0x17, 0x5e, 0x1a, 0x78, 0x11, 0x33, 0x33, 0xbb, 0x40, 0x17, 0xa3, 0x17, - 0x46, 0x13, 0xef, 0xe6, 0x7c, 0x67, 0xe6, 0xf0, 0x9b, 0xef, 0x5b, 0x3a, 0x68, 0xc1, 0x17, 0x5c, - 0x4a, 0x3f, 0x22, 0x94, 0xf5, 0xe0, 0x10, 0x98, 0x92, 0xdd, 0x91, 0xe0, 0x8a, 0xbb, 0x4b, 0xc7, - 0xa0, 0x88, 0xd1, 0xbb, 0x66, 0xc5, 0x05, 0x74, 0x2f, 0xf6, 0x2e, 0xb6, 0x42, 0x1e, 0x72, 0xb3, - 0xb3, 0xa7, 0x57, 0xf6, 0x50, 0xe7, 0xeb, 0x0c, 0xba, 0xb1, 0xae, 0xa7, 0x6c, 0xb1, 0x01, 0x4f, - 0x58, 0xb0, 0x41, 0x19, 0x89, 0xe9, 0x31, 0x04, 0xee, 0x32, 0xaa, 0x0f, 0x65, 0x88, 0xd5, 0xd1, - 0x08, 0x70, 0x22, 0x62, 0xcf, 0x59, 0x76, 0x1e, 0xd6, 0x76, 0xd0, 0x50, 0x86, 0x7b, 0x47, 0x23, - 0x78, 0x2d, 0x62, 0x77, 0x09, 0x21, 0xdf, 0x57, 0x29, 0xa6, 0x2c, 0x80, 0xd4, 0x9b, 0x36, 0xfd, - 0x9a, 0x56, 0xb6, 0xb4, 0xe0, 0xde, 0x44, 0x15, 0x09, 0x2c, 0x00, 0xe1, 0xcd, 0x98, 0x56, 0x56, - 0xb9, 0xb7, 0x50, 0x55, 0xa5, 0x98, 0x8b, 0x90, 0x32, 0xaf, 0x64, 0x3a, 0xb3, 0x2a, 0xdd, 0xd6, - 0xa5, 0xdb, 0x42, 0x65, 0x22, 0x25, 0x28, 0xaf, 0x6c, 0x74, 0x5b, 0xb8, 0xb7, 0x11, 0xa2, 0x0c, - 0xab, 0x14, 0x47, 0x44, 0x46, 0x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f, 0x58, 0x6a, 0xb4, 0xea, + 0x57, 0xcc, 0x73, 0xf4, 0xf4, 0x47, 0x00, 0x00, 0x00, 0xff, 0xff, 0x84, 0x01, 0xa1, 0x5d, 0xf1, + 0x06, 0x00, 0x00, } func (m *EventInboundFinalized) Marshal() (dAtA []byte, err error) { diff --git a/x/crosschain/types/gas_price.pb.go b/x/crosschain/types/gas_price.pb.go index eb6d19546f..5c675158f0 100644 --- a/x/crosschain/types/gas_price.pb.go +++ b/x/crosschain/types/gas_price.pb.go @@ -1,15 +1,14 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: crosschain/gas_price.proto +// source: zetachain/zetacore/crosschain/gas_price.proto package types import ( fmt "fmt" + proto "github.com/cosmos/gogoproto/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. @@ -37,7 +36,7 @@ func (m *GasPrice) Reset() { *m = GasPrice{} } func (m *GasPrice) String() string { return proto.CompactTextString(m) } func (*GasPrice) ProtoMessage() {} func (*GasPrice) Descriptor() ([]byte, []int) { - return fileDescriptor_a9c78c67aa323583, []int{0} + return fileDescriptor_6c44a94bd00549c5, []int{0} } func (m *GasPrice) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -119,28 +118,30 @@ func init() { proto.RegisterType((*GasPrice)(nil), "zetachain.zetacore.crosschain.GasPrice") } -func init() { proto.RegisterFile("crosschain/gas_price.proto", fileDescriptor_a9c78c67aa323583) } +func init() { + proto.RegisterFile("zetachain/zetacore/crosschain/gas_price.proto", fileDescriptor_6c44a94bd00549c5) +} -var fileDescriptor_a9c78c67aa323583 = []byte{ - // 276 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x41, 0x4a, 0xc4, 0x30, - 0x14, 0x86, 0x27, 0xb6, 0xd3, 0xce, 0x44, 0x57, 0x41, 0x24, 0x0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0x5b, 0xdb, 0xe8, 0xee, 0xe1, 0x73, 0x60, 0x68, 0x37, 0x30, 0xf4, 0x33, 0x30, 0xf4, - 0x31, 0xb2, 0xd9, 0x6e, 0x64, 0xb3, 0xef, 0x91, 0xcd, 0x9e, 0x6f, 0x2a, 0xd5, 0x6d, 0xfa, 0x22, - 0x11, 0xba, 0x4e, 0xad, 0x85, 0xeb, 0xc9, 0xd5, 0x41, 0x48, 0xba, 0x4d, 0xff, 0x19, 0xec, 0xde, - 0x5a, 0x09, 0x45, 0xe0, 0xf4, 0xdd, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x63, 0xdc, 0xbf, 0x3d, - 0x5c, 0x01, 0x00, 0x00, +var fileDescriptor_6c44a94bd00549c5 = []byte{ + // 277 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0xc1, 0x4a, 0xc3, 0x30, + 0x1c, 0xc6, 0x17, 0xdb, 0xb5, 0x5b, 0xf4, 0x14, 0x44, 0xe2, 0x61, 0xa1, 0x7a, 0xea, 0x65, 0x1d, + 0xe2, 0x1b, 0x78, 0x91, 0x21, 0x88, 0xf4, 0xe8, 0xa5, 0xa4, 0x69, 0xe8, 0x82, 0xb6, 0x29, 0xf9, + 0xa7, 0x30, 0x7d, 0x0a, 0x1f, 0x4b, 0x6f, 0x3b, 0x7a, 0x94, 0xf6, 0x45, 0xa4, 0xe9, 0xa6, 0xe2, + 0xad, 0xbf, 0x5f, 0xbf, 0x7c, 0xfc, 0xf9, 0xf0, 0xf2, 0x55, 0x5a, 0x2e, 0x36, 0x5c, 0xd5, 0x2b, + 0xf7, 0xa5, 0x8d, 0x5c, 0x09, 0xa3, 0x01, 0x46, 0x57, 0x72, 0xc8, 0x1a, 0xa3, 0x84, 0x4c, 0x1a, + 0xa3, 0xad, 0x26, 0x8b, 0x9f, 0x78, 0x72, 0x88, 0x27, 0xbf, 0xf1, 0xcb, 0x0f, 0x84, 0x67, 0xb7, + 0x1c, 0x1e, 0x86, 0x17, 0x84, 0xe2, 0x50, 0x18, 0xc9, 0xad, 0x36, 0x14, 0x45, 0x28, 0x9e, 0xa7, + 0x07, 0x24, 0xa7, 0x78, 0xaa, 0xea, 0x42, 0x6e, 0xe9, 0x91, 0xf3, 0x23, 0x90, 0x73, 0x3c, 0x73, + 0x2d, 0x99, 0x2a, 0xa8, 0x17, 0xa1, 0xd8, 0x4b, 0x43, 0xc7, 0xeb, 0x62, 0xa8, 0x02, 0x55, 0xd6, + 0xd2, 0x00, 0xf5, 0x23, 0x6f, 0xa8, 0xda, 0x23, 0x59, 0x60, 0x9c, 0x3f, 0x6b, 0xf1, 0x94, 0xd5, + 0x6d, 0x05, 0x74, 0x1a, 0x79, 0xb1, 0x9f, 0xce, 0x9d, 0xb9, 0x6f, 0x2b, 0x20, 0x67, 0x38, 0x70, + 0xe7, 0x03, 0x0d, 0xdc, 0xaf, 0x3d, 0x91, 0x0b, 0x7c, 0x52, 0xc9, 0x42, 0xf1, 0x3a, 0x1b, 0x0f, + 0x09, 0x23, 0x14, 0xfb, 0xe9, 0xf1, 0xe8, 0xd6, 0x83, 0xba, 0xb9, 0x7b, 0xef, 0x18, 0xda, 0x75, + 0x0c, 0x7d, 0x75, 0x0c, 0xbd, 0xf5, 0x6c, 0xb2, 0xeb, 0xd9, 0xe4, 0xb3, 0x67, 0x93, 0xc7, 0xab, + 0x52, 0xd9, 0x4d, 0x9b, 0x27, 0x42, 0x57, 0x6e, 0xb4, 0xe5, 0xbf, 0xfd, 0xb6, 0x7f, 0x17, 0xb4, + 0x2f, 0x8d, 0x84, 0x3c, 0x70, 0xf3, 0x5d, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xdd, 0xca, 0xb1, + 0x6a, 0x6f, 0x01, 0x00, 0x00, } func (m *GasPrice) Marshal() (dAtA []byte, err error) { diff --git a/x/crosschain/types/genesis.pb.go b/x/crosschain/types/genesis.pb.go index d7511b155d..69f7165c8e 100644 --- a/x/crosschain/types/genesis.pb.go +++ b/x/crosschain/types/genesis.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: crosschain/genesis.proto +// source: zetachain/zetacore/crosschain/genesis.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -40,7 +39,7 @@ 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_dd51403692d571f4, []int{0} + return fileDescriptor_547615497292ea23, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -129,40 +128,42 @@ func init() { proto.RegisterType((*GenesisState)(nil), "zetachain.zetacore.crosschain.GenesisState") } -func init() { proto.RegisterFile("crosschain/genesis.proto", fileDescriptor_dd51403692d571f4) } +func init() { + proto.RegisterFile("zetachain/zetacore/crosschain/genesis.proto", fileDescriptor_547615497292ea23) +} -var fileDescriptor_dd51403692d571f4 = []byte{ - // 465 bytes of a gzipped FileDescriptorProto +var fileDescriptor_547615497292ea23 = []byte{ + // 469 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x41, 0x6f, 0xd3, 0x30, - 0x14, 0xc7, 0x5b, 0xc6, 0x80, 0x79, 0x85, 0x0d, 0xc3, 0x21, 0xaa, 0x44, 0x56, 0x8d, 0x03, 0x13, - 0xb0, 0x44, 0xc0, 0x27, 0xa0, 0x95, 0xd8, 0xa6, 0x4d, 0x02, 0x42, 0x4e, 0x13, 0x93, 0x71, 0x3c, - 0x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 0xf7, 0xae, 0x16, 0x7e, - 0xef, 0xe7, 0xc2, 0xef, 0x9d, 0xbe, 0x4a, 0x05, 0x64, 0x65, 0x12, 0x30, 0xf5, 0x35, 0x34, 0x16, - 0xfb, 0xf5, 0xeb, 0xf8, 0xbb, 0x57, 0x58, 0x85, 0xce, 0x9b, 0x81, 0x6f, 0x53, 0xae, 0x93, 0x3b, - 0xf6, 0x55, 0xbc, 0xf9, 0x13, 0x00, 0x00, 0xff, 0xff, 0x28, 0xc8, 0xb0, 0x72, 0x2d, 0x04, 0x00, - 0x00, + 0x1c, 0xc5, 0x5b, 0xc6, 0x80, 0x79, 0x85, 0x0d, 0xc3, 0xa1, 0x9a, 0x44, 0xa8, 0xb8, 0x30, 0x31, + 0x9a, 0x6a, 0x43, 0x70, 0xa7, 0x95, 0xd8, 0xa6, 0x4d, 0x02, 0x42, 0x4e, 0x13, 0x93, 0x71, 0x3c, + 0x2b, 0xb1, 0x16, 0xec, 0x2a, 0xfe, 0x47, 0x0a, 0xfd, 0x14, 0x7c, 0x23, 0xae, 0x3b, 0xee, 0xc8, + 0x09, 0xa1, 0xf6, 0x8b, 0x20, 0x3b, 0xa1, 0x24, 0x74, 0x4a, 0x72, 0xfb, 0xcb, 0x7d, 0xef, 0xf7, + 0xdc, 0xe7, 0xfc, 0xd1, 0xde, 0x8c, 0x03, 0x65, 0x11, 0x15, 0x72, 0x64, 0x27, 0x95, 0xf0, 0x11, + 0x4b, 0x94, 0xd6, 0xf9, 0x59, 0xc8, 0x25, 0xd7, 0x42, 0xbb, 0xd3, 0x44, 0x81, 0xc2, 0x4f, 0x96, + 0x62, 0xf7, 0xaf, 0xd8, 0xfd, 0x27, 0xde, 0x39, 0xa8, 0x67, 0xd9, 0x91, 0xd8, 0x99, 0x40, 0x96, + 0x23, 0x77, 0x86, 0x0d, 0xf9, 0x54, 0x93, 0x69, 0x22, 0x18, 0x2f, 0xe4, 0x6f, 0xea, 0xe5, 0x96, + 0x4c, 0x22, 0xaa, 0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, 0xe1, 0x73, 0x13, 0x52, 0xfa, 0x06, 0x48, + 0x6c, 0x42, 0x36, 0x6d, 0xc8, 0x8b, 0x16, 0x21, 0xd5, 0x67, 0xdc, 0x12, 0xb2, 0xfa, 0x8a, 0x9f, + 0xd1, 0x96, 0x71, 0x12, 0xca, 0x98, 0x4a, 0x25, 0x08, 0x19, 0xf6, 0x7b, 0x83, 0x6e, 0x8b, 0x3f, + 0x70, 0xc6, 0x81, 0xbe, 0x5d, 0x9a, 0x0a, 0xfc, 0x83, 0x59, 0xe5, 0x14, 0xbf, 0x44, 0x0f, 0xdf, + 0x09, 0x49, 0x63, 0x31, 0xe3, 0x17, 0xc7, 0x32, 0x50, 0xa9, 0xbc, 0xd0, 0xfd, 0xed, 0xc1, 0xda, + 0xee, 0x86, 0xb7, 0xfa, 0xc3, 0xf8, 0xe4, 0x6a, 0xee, 0x74, 0xaf, 0xe7, 0x4e, 0xf7, 0xf7, 0xdc, + 0xe9, 0x7e, 0x5f, 0x38, 0x9d, 0xeb, 0x85, 0xd3, 0xf9, 0xb9, 0x70, 0x3a, 0x67, 0xfb, 0xa1, 0x80, + 0x28, 0x0d, 0x5c, 0xa6, 0xbe, 0xda, 0x35, 0x19, 0xfe, 0xb7, 0x31, 0x59, 0x79, 0x67, 0xe0, 0xdb, + 0x94, 0xeb, 0xe0, 0x8e, 0xdd, 0x8a, 0x57, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x08, 0x05, 0x5c, + 0x6c, 0xb2, 0x04, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/crosschain/types/in_tx_hash_to_cctx.pb.go b/x/crosschain/types/in_tx_hash_to_cctx.pb.go index 41eed3edf4..0c86c6917e 100644 --- a/x/crosschain/types/in_tx_hash_to_cctx.pb.go +++ b/x/crosschain/types/in_tx_hash_to_cctx.pb.go @@ -1,15 +1,14 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: crosschain/in_tx_hash_to_cctx.proto +// source: zetachain/zetacore/crosschain/in_tx_hash_to_cctx.proto package types import ( fmt "fmt" + proto "github.com/cosmos/gogoproto/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. @@ -32,7 +31,7 @@ func (m *InTxHashToCctx) Reset() { *m = InTxHashToCctx{} } func (m *InTxHashToCctx) String() string { return proto.CompactTextString(m) } func (*InTxHashToCctx) ProtoMessage() {} func (*InTxHashToCctx) Descriptor() ([]byte, []int) { - return fileDescriptor_67ee1b8208d56a23, []int{0} + return fileDescriptor_fba0f1091d4145fb, []int{0} } func (m *InTxHashToCctx) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -80,24 +79,24 @@ func init() { } func init() { - proto.RegisterFile("crosschain/in_tx_hash_to_cctx.proto", fileDescriptor_67ee1b8208d56a23) + proto.RegisterFile("zetachain/zetacore/crosschain/in_tx_hash_to_cctx.proto", fileDescriptor_fba0f1091d4145fb) } -var fileDescriptor_67ee1b8208d56a23 = []byte{ - // 202 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0x2e, 0xca, 0x2f, - 0x2e, 0x4e, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0xcf, 0xcc, 0x8b, 0x2f, 0xa9, 0x88, 0xcf, 0x48, 0x2c, - 0xce, 0x88, 0x2f, 0xc9, 0x8f, 0x4f, 0x4e, 0x2e, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x92, 0xad, 0x4a, 0x2d, 0x49, 0x04, 0xab, 0xd1, 0x03, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x10, 0xfa, - 0x94, 0x7c, 0xb9, 0xf8, 0x3c, 0xf3, 0x42, 0x2a, 0x3c, 0x12, 0x8b, 0x33, 0x42, 0xf2, 0x9d, 0x93, - 0x4b, 0x2a, 0x84, 0x64, 0xb8, 0xb8, 0x10, 0x86, 0x49, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x71, - 0x64, 0x42, 0xd5, 0x08, 0xc9, 0x72, 0x71, 0x81, 0x0c, 0x8f, 0xcf, 0xcc, 0x4b, 0x49, 0xad, 0x90, - 0x60, 0x52, 0x60, 0xd6, 0xe0, 0x0c, 0xe2, 0x04, 0x89, 0x78, 0x82, 0x04, 0x9c, 0xbc, 0x4f, 0x3c, - 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, - 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x30, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, - 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0xe4, 0x10, 0x5d, 0x88, 0xbb, 0x61, 0x6e, 0xd2, 0xaf, 0xd0, 0x47, - 0xf2, 0x4d, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x07, 0xc6, 0x80, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xcd, 0xdf, 0x3b, 0x6d, 0xe8, 0x00, 0x00, 0x00, +var fileDescriptor_fba0f1091d4145fb = []byte{ + // 201 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xab, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x93, 0x8b, 0xf2, 0x8b, + 0x8b, 0x21, 0x62, 0x99, 0x79, 0xf1, 0x25, 0x15, 0xf1, 0x19, 0x89, 0xc5, 0x19, 0xf1, 0x25, 0xf9, + 0xf1, 0xc9, 0xc9, 0x25, 0x15, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0xb2, 0x70, 0x7d, 0x7a, + 0x30, 0x7d, 0x7a, 0x08, 0x7d, 0x4a, 0xbe, 0x5c, 0x7c, 0x9e, 0x79, 0x21, 0x15, 0x1e, 0x89, 0xc5, + 0x19, 0x21, 0xf9, 0xce, 0xc9, 0x25, 0x15, 0x42, 0x32, 0x5c, 0x5c, 0x08, 0xc3, 0x24, 0x18, 0x15, + 0x18, 0x35, 0x38, 0x83, 0x38, 0x32, 0xa1, 0x6a, 0x84, 0x64, 0xb9, 0xb8, 0x40, 0x86, 0xc7, 0x67, + 0xe6, 0xa5, 0xa4, 0x56, 0x48, 0x30, 0x29, 0x30, 0x6b, 0x70, 0x06, 0x71, 0x82, 0x44, 0x3c, 0x41, + 0x02, 0x4e, 0xde, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, + 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x98, 0x9e, + 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0x0b, 0xf6, 0x80, 0x2e, 0x9a, 0x5f, 0x2a, 0x90, + 0x7d, 0x53, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0xf6, 0x81, 0x31, 0x20, 0x00, 0x00, 0xff, + 0xff, 0x70, 0x97, 0x6c, 0x57, 0xfb, 0x00, 0x00, 0x00, } func (m *InTxHashToCctx) Marshal() (dAtA []byte, err error) { diff --git a/x/crosschain/types/in_tx_tracker.pb.go b/x/crosschain/types/in_tx_tracker.pb.go index 244ec7aec3..5a2094f635 100644 --- a/x/crosschain/types/in_tx_tracker.pb.go +++ b/x/crosschain/types/in_tx_tracker.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: crosschain/in_tx_tracker.proto +// source: zetachain/zetacore/crosschain/in_tx_tracker.proto package types import ( fmt "fmt" + proto "github.com/cosmos/gogoproto/proto" + coin "github.com/zeta-chain/zetacore/pkg/coin" io "io" math "math" math_bits "math/bits" - - proto "github.com/gogo/protobuf/proto" - coin "github.com/zeta-chain/zetacore/pkg/coin" ) // Reference imports to suppress errors if they are not otherwise used. @@ -27,14 +26,14 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type InTxTracker struct { ChainId int64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` - CoinType coin.CoinType `protobuf:"varint,3,opt,name=coin_type,json=coinType,proto3,enum=coin.CoinType" json:"coin_type,omitempty"` + CoinType coin.CoinType `protobuf:"varint,3,opt,name=coin_type,json=coinType,proto3,enum=zetachain.zetacore.pkg.coin.CoinType" json:"coin_type,omitempty"` } func (m *InTxTracker) Reset() { *m = InTxTracker{} } func (m *InTxTracker) String() string { return proto.CompactTextString(m) } func (*InTxTracker) ProtoMessage() {} func (*InTxTracker) Descriptor() ([]byte, []int) { - return fileDescriptor_799b411f065af0ce, []int{0} + return fileDescriptor_468bf08d03bc41c1, []int{0} } func (m *InTxTracker) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -88,25 +87,28 @@ func init() { proto.RegisterType((*InTxTracker)(nil), "zetachain.zetacore.crosschain.InTxTracker") } -func init() { proto.RegisterFile("crosschain/in_tx_tracker.proto", fileDescriptor_799b411f065af0ce) } +func init() { + proto.RegisterFile("zetachain/zetacore/crosschain/in_tx_tracker.proto", fileDescriptor_468bf08d03bc41c1) +} -var fileDescriptor_799b411f065af0ce = []byte{ - // 240 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0x2e, 0xca, 0x2f, - 0x2e, 0x4e, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0xcf, 0xcc, 0x8b, 0x2f, 0xa9, 0x88, 0x2f, 0x29, 0x4a, - 0x4c, 0xce, 0x4e, 0x2d, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0xad, 0x4a, 0x2d, 0x49, - 0x04, 0x4b, 0xeb, 0x81, 0x59, 0xf9, 0x45, 0xa9, 0x7a, 0x08, 0x2d, 0x52, 0xc2, 0x05, 0xd9, 0xe9, - 0xfa, 0xc9, 0xf9, 0x99, 0x79, 0x60, 0x02, 0xa2, 0x47, 0x29, 0x8f, 0x8b, 0xdb, 0x33, 0x2f, 0xa4, - 0x22, 0x04, 0x62, 0x90, 0x90, 0x24, 0x17, 0x07, 0x58, 0x71, 0x7c, 0x66, 0x8a, 0x04, 0xa3, 0x02, - 0xa3, 0x06, 0x73, 0x10, 0x3b, 0x98, 0xef, 0x99, 0x22, 0x24, 0xce, 0xc5, 0x5e, 0x52, 0x11, 0x9f, - 0x91, 0x58, 0x9c, 0x21, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x19, 0xc4, 0x56, 0x52, 0xe1, 0x91, 0x58, - 0x9c, 0x21, 0xa4, 0xcd, 0xc5, 0x09, 0x32, 0x30, 0xbe, 0xa4, 0xb2, 0x20, 0x55, 0x82, 0x59, 0x81, - 0x51, 0x83, 0xcf, 0x88, 0x4f, 0x0f, 0x6c, 0x85, 0x73, 0x7e, 0x66, 0x5e, 0x48, 0x65, 0x41, 0x6a, - 0x10, 0x47, 0x32, 0x94, 0xe5, 0xe4, 0x7d, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, - 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, - 0x51, 0x86, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x20, 0xe7, 0xeb, - 0x42, 0x3c, 0x0a, 0xf3, 0x89, 0x7e, 0x85, 0x3e, 0x92, 0xf7, 0x41, 0x76, 0x15, 0x27, 0xb1, 0x81, - 0xfd, 0x60, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xba, 0x1e, 0xbf, 0xb5, 0x19, 0x01, 0x00, 0x00, +var fileDescriptor_468bf08d03bc41c1 = []byte{ + // 250 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xac, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x93, 0x8b, 0xf2, 0x8b, + 0x8b, 0x21, 0x62, 0x99, 0x79, 0xf1, 0x25, 0x15, 0xf1, 0x25, 0x45, 0x89, 0xc9, 0xd9, 0xa9, 0x45, + 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0xb2, 0x70, 0x2d, 0x7a, 0x30, 0x2d, 0x7a, 0x08, 0x2d, + 0x52, 0x6a, 0x58, 0x4c, 0x2c, 0xc8, 0x4e, 0xd7, 0x4f, 0xce, 0xcf, 0xcc, 0x03, 0x13, 0x10, 0x63, + 0x94, 0x5a, 0x19, 0xb9, 0xb8, 0x3d, 0xf3, 0x42, 0x2a, 0x42, 0x20, 0x86, 0x0b, 0x49, 0x72, 0x71, + 0x80, 0x75, 0xc5, 0x67, 0xa6, 0x48, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xb1, 0x83, 0xf9, 0x9e, + 0x29, 0x42, 0xe2, 0x5c, 0xec, 0x25, 0x15, 0xf1, 0x19, 0x89, 0xc5, 0x19, 0x12, 0x4c, 0x0a, 0x8c, + 0x1a, 0x9c, 0x41, 0x6c, 0x25, 0x15, 0x1e, 0x89, 0xc5, 0x19, 0x42, 0x4e, 0x5c, 0x9c, 0x20, 0x13, + 0xe3, 0x4b, 0x2a, 0x0b, 0x52, 0x25, 0x98, 0x15, 0x18, 0x35, 0xf8, 0x8c, 0x54, 0xf5, 0xb0, 0x38, + 0xaf, 0x20, 0x3b, 0x5d, 0x0f, 0x6c, 0xb5, 0x73, 0x7e, 0x66, 0x5e, 0x48, 0x65, 0x41, 0x6a, 0x10, + 0x47, 0x32, 0x94, 0xe5, 0xe4, 0x7d, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, + 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, + 0x86, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0x60, 0xaf, 0xe8, 0xa2, 0xf9, + 0xaa, 0x02, 0x39, 0xa4, 0x40, 0x4e, 0x28, 0x4e, 0x62, 0x03, 0xfb, 0xcd, 0x18, 0x10, 0x00, 0x00, + 0xff, 0xff, 0x31, 0x4d, 0x0e, 0x02, 0x57, 0x01, 0x00, 0x00, } func (m *InTxTracker) Marshal() (dAtA []byte, err error) { diff --git a/x/crosschain/types/last_block_height.pb.go b/x/crosschain/types/last_block_height.pb.go index d431227aec..fac412b00c 100644 --- a/x/crosschain/types/last_block_height.pb.go +++ b/x/crosschain/types/last_block_height.pb.go @@ -1,15 +1,14 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: crosschain/last_block_height.proto +// source: zetachain/zetacore/crosschain/last_block_height.proto package types import ( fmt "fmt" + proto "github.com/cosmos/gogoproto/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. @@ -35,7 +34,7 @@ func (m *LastBlockHeight) Reset() { *m = LastBlockHeight{} } func (m *LastBlockHeight) String() string { return proto.CompactTextString(m) } func (*LastBlockHeight) ProtoMessage() {} func (*LastBlockHeight) Descriptor() ([]byte, []int) { - return fileDescriptor_a66188d8895bda91, []int{0} + return fileDescriptor_85a232f4b01c3902, []int{0} } func (m *LastBlockHeight) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -104,26 +103,26 @@ func init() { } func init() { - proto.RegisterFile("crosschain/last_block_height.proto", fileDescriptor_a66188d8895bda91) + proto.RegisterFile("zetachain/zetacore/crosschain/last_block_height.proto", fileDescriptor_85a232f4b01c3902) } -var fileDescriptor_a66188d8895bda91 = []byte{ +var fileDescriptor_85a232f4b01c3902 = []byte{ // 241 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4a, 0x2e, 0xca, 0x2f, - 0x2e, 0x4e, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0xcf, 0x49, 0x2c, 0x2e, 0x89, 0x4f, 0xca, 0xc9, 0x4f, - 0xce, 0x8e, 0xcf, 0x48, 0xcd, 0x4c, 0xcf, 0x28, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, - 0xad, 0x4a, 0x2d, 0x49, 0x04, 0x2b, 0xd1, 0x03, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x10, 0xda, 0x94, - 0xd6, 0x32, 0x72, 0xf1, 0xfb, 0x24, 0x16, 0x97, 0x38, 0x81, 0x74, 0x7a, 0x80, 0x35, 0x0a, 0x49, - 0x70, 0xb1, 0x27, 0x17, 0xa5, 0x26, 0x96, 0xe4, 0x17, 0x49, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, - 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x99, 0x79, 0x29, 0xa9, 0x15, 0x12, 0x4c, 0x60, 0x71, 0x08, - 0x07, 0x24, 0x0a, 0x36, 0x4c, 0x82, 0x19, 0x22, 0x0a, 0xe6, 0x08, 0xa9, 0x71, 0xf1, 0x81, 0xdc, - 0x14, 0x9c, 0x9a, 0x97, 0x02, 0x31, 0x57, 0x82, 0x45, 0x81, 0x51, 0x83, 0x25, 0x08, 0x4d, 0x54, - 0x48, 0x87, 0x4b, 0x10, 0x24, 0x12, 0x94, 0x9a, 0x9c, 0x9a, 0x59, 0x96, 0x0a, 0x55, 0xca, 0x0a, - 0x56, 0x8a, 0x29, 0xe1, 0xe4, 0x7d, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, - 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, - 0x86, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x20, 0x9f, 0xea, 0x42, - 0xc2, 0x05, 0xe6, 0x69, 0xfd, 0x0a, 0x7d, 0xa4, 0xd0, 0x2a, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, - 0x03, 0x07, 0x91, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x07, 0x28, 0xe0, 0x48, 0x01, 0x00, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xad, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x93, 0x8b, 0xf2, 0x8b, + 0x8b, 0x21, 0x62, 0x39, 0x89, 0xc5, 0x25, 0xf1, 0x49, 0x39, 0xf9, 0xc9, 0xd9, 0xf1, 0x19, 0xa9, + 0x99, 0xe9, 0x19, 0x25, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0xb2, 0x70, 0x6d, 0x7a, 0x30, + 0x6d, 0x7a, 0x08, 0x6d, 0x4a, 0x6b, 0x19, 0xb9, 0xf8, 0x7d, 0x12, 0x8b, 0x4b, 0x9c, 0x40, 0x3a, + 0x3d, 0xc0, 0x1a, 0x85, 0x24, 0xb8, 0xd8, 0x93, 0x8b, 0x52, 0x13, 0x4b, 0xf2, 0x8b, 0x24, 0x18, + 0x15, 0x18, 0x35, 0x38, 0x83, 0x60, 0x5c, 0x21, 0x11, 0x2e, 0xd6, 0xcc, 0xbc, 0x94, 0xd4, 0x0a, + 0x09, 0x26, 0xb0, 0x38, 0x84, 0x03, 0x12, 0x05, 0x1b, 0x26, 0xc1, 0x0c, 0x11, 0x05, 0x73, 0x84, + 0xd4, 0xb8, 0xf8, 0x40, 0x6e, 0x0a, 0x4e, 0xcd, 0x4b, 0x81, 0x98, 0x2b, 0xc1, 0xa2, 0xc0, 0xa8, + 0xc1, 0x12, 0x84, 0x26, 0x2a, 0xa4, 0xc3, 0x25, 0x08, 0x12, 0x09, 0x4a, 0x4d, 0x4e, 0xcd, 0x2c, + 0x4b, 0x85, 0x2a, 0x65, 0x05, 0x2b, 0xc5, 0x94, 0x70, 0xf2, 0x3e, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, + 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, + 0xc6, 0x63, 0x39, 0x86, 0x28, 0xc3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, + 0x70, 0x00, 0xe9, 0xa2, 0x85, 0x55, 0x05, 0x72, 0x68, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, + 0x81, 0x83, 0xc8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x66, 0xe9, 0xf6, 0xb0, 0x5b, 0x01, 0x00, 0x00, } diff --git a/x/crosschain/types/out_tx_tracker.pb.go b/x/crosschain/types/out_tx_tracker.pb.go index d9d021851a..8ad0eca955 100644 --- a/x/crosschain/types/out_tx_tracker.pb.go +++ b/x/crosschain/types/out_tx_tracker.pb.go @@ -1,15 +1,14 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: crosschain/out_tx_tracker.proto +// source: zetachain/zetacore/crosschain/out_tx_tracker.proto package types import ( fmt "fmt" + proto "github.com/cosmos/gogoproto/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. @@ -33,7 +32,7 @@ func (m *TxHashList) Reset() { *m = TxHashList{} } func (m *TxHashList) String() string { return proto.CompactTextString(m) } func (*TxHashList) ProtoMessage() {} func (*TxHashList) Descriptor() ([]byte, []int) { - return fileDescriptor_5638c11005e4d36d, []int{0} + return fileDescriptor_e587aacb6b85d18f, []int{0} } func (m *TxHashList) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -94,7 +93,7 @@ func (m *OutTxTracker) Reset() { *m = OutTxTracker{} } func (m *OutTxTracker) String() string { return proto.CompactTextString(m) } func (*OutTxTracker) ProtoMessage() {} func (*OutTxTracker) Descriptor() ([]byte, []int) { - return fileDescriptor_5638c11005e4d36d, []int{1} + return fileDescriptor_e587aacb6b85d18f, []int{1} } func (m *OutTxTracker) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -156,29 +155,31 @@ func init() { proto.RegisterType((*OutTxTracker)(nil), "zetachain.zetacore.crosschain.OutTxTracker") } -func init() { proto.RegisterFile("crosschain/out_tx_tracker.proto", fileDescriptor_5638c11005e4d36d) } - -var fileDescriptor_5638c11005e4d36d = []byte{ - // 299 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xb1, 0x4e, 0xeb, 0x30, - 0x14, 0x86, 0xeb, 0xdb, 0xde, 0x36, 0x35, 0x4c, 0x16, 0x82, 0x20, 0x84, 0xa9, 0x3a, 0x95,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 0x11, 0xf9, 0xa3, 0xb2, 0x10, 0x0e, 0x26, 0xfd, 0xd9, 0xd6, - 0xd9, 0x31, 0xfb, 0xf3, 0x4d, 0xb6, 0xf9, 0x31, 0x0e, 0x64, 0x37, 0x5d, 0xdc, 0x7c, 0x54, 0x14, - 0xad, 0x2b, 0x8a, 0xbe, 0x2a, 0x8a, 0xde, 0x6a, 0xda, 0x5b, 0xd7, 0xb4, 0xf7, 0x59, 0xd3, 0xde, - 0xe2, 0x74, 0xa5, 0x40, 0x96, 0x4b, 0x96, 0xea, 0xa7, 0xa8, 0xd1, 0x9d, 0xb4, 0x05, 0xff, 0x98, - 0x23, 0x17, 0xfd, 0xaa, 0x1d, 0x5e, 0x0a, 0x61, 0x97, 0x43, 0x5f, 0xf7, 0xf9, 0x77, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x0c, 0x73, 0x3d, 0x85, 0x91, 0x01, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/crosschain/out_tx_tracker.proto", fileDescriptor_e587aacb6b85d18f) +} + +var fileDescriptor_e587aacb6b85d18f = []byte{ + // 301 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xb1, 0x4e, 0xf3, 0x30, + 0x14, 0x85, 0xeb, 0xbf, 0xfd, 0xdb, 0xd4, 0x30, 0x59, 0x08, 0x82, 0x10, 0x56, 0xd5, 0xa9, 0x0c, + 0xb8, 0xa2, 0xbc, 0x01, 0x03, 0x02, 0x81, 0x84, 0x14, 0x32, 0x75, 0xb1, 0xd2, 0xc4, 0xaa, 0x2d, + 0x20, 0x8e, 0xec, 0x1b, 0x64, 0x78, 0x0a, 0x5e, 0x80, 0xf7, 0x61, 0xec, 0xc8, 0x88, 0x92, 0x17, + 0x41, 0x75, 0x02, 0x45, 0x0c, 0x6c, 0xf7, 0xbb, 0x57, 0xe7, 0xe8, 0xdc, 0x83, 0x67, 0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35, 0xed, 0xcc, 0x4f, 0x96, 0x0a, 0x64, 0xb9, 0x60, 0xa9, 0x7e, 0xf0, 0x4d, + 0x1f, 0xff, 0x2a, 0xdd, 0xfd, 0xac, 0x1d, 0x9e, 0x0a, 0x61, 0x17, 0x7d, 0x5f, 0xf7, 0xe9, 0x67, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x5b, 0xb5, 0x19, 0xa4, 0x01, 0x00, 0x00, } func (m *TxHashList) Marshal() (dAtA []byte, err error) { diff --git a/x/crosschain/types/query.pb.go b/x/crosschain/types/query.pb.go index af554543a3..08be4bd89b 100644 --- a/x/crosschain/types/query.pb.go +++ b/x/crosschain/types/query.pb.go @@ -1,23 +1,22 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: crosschain/query.proto +// source: zetachain/zetacore/crosschain/query.proto 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" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" 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. @@ -38,7 +37,7 @@ func (m *QueryZetaAccountingRequest) Reset() { *m = QueryZetaAccountingR func (m *QueryZetaAccountingRequest) String() string { return proto.CompactTextString(m) } func (*QueryZetaAccountingRequest) ProtoMessage() {} func (*QueryZetaAccountingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{0} + return fileDescriptor_d00cb546ea76908b, []int{0} } func (m *QueryZetaAccountingRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -75,7 +74,7 @@ func (m *QueryZetaAccountingResponse) Reset() { *m = QueryZetaAccounting func (m *QueryZetaAccountingResponse) String() string { return proto.CompactTextString(m) } func (*QueryZetaAccountingResponse) ProtoMessage() {} func (*QueryZetaAccountingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{1} + return fileDescriptor_d00cb546ea76908b, []int{1} } func (m *QueryZetaAccountingResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -120,7 +119,7 @@ func (m *QueryGetOutTxTrackerRequest) Reset() { *m = QueryGetOutTxTracke func (m *QueryGetOutTxTrackerRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetOutTxTrackerRequest) ProtoMessage() {} func (*QueryGetOutTxTrackerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{2} + return fileDescriptor_d00cb546ea76908b, []int{2} } func (m *QueryGetOutTxTrackerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -171,7 +170,7 @@ func (m *QueryGetOutTxTrackerResponse) Reset() { *m = QueryGetOutTxTrack func (m *QueryGetOutTxTrackerResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetOutTxTrackerResponse) ProtoMessage() {} func (*QueryGetOutTxTrackerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{3} + return fileDescriptor_d00cb546ea76908b, []int{3} } func (m *QueryGetOutTxTrackerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -215,7 +214,7 @@ func (m *QueryAllOutTxTrackerRequest) Reset() { *m = QueryAllOutTxTracke func (m *QueryAllOutTxTrackerRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllOutTxTrackerRequest) ProtoMessage() {} func (*QueryAllOutTxTrackerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{4} + return fileDescriptor_d00cb546ea76908b, []int{4} } func (m *QueryAllOutTxTrackerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -260,7 +259,7 @@ func (m *QueryAllOutTxTrackerResponse) Reset() { *m = QueryAllOutTxTrack func (m *QueryAllOutTxTrackerResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllOutTxTrackerResponse) ProtoMessage() {} func (*QueryAllOutTxTrackerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{5} + return fileDescriptor_d00cb546ea76908b, []int{5} } func (m *QueryAllOutTxTrackerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -312,7 +311,7 @@ func (m *QueryAllOutTxTrackerByChainRequest) Reset() { *m = QueryAllOutT func (m *QueryAllOutTxTrackerByChainRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllOutTxTrackerByChainRequest) ProtoMessage() {} func (*QueryAllOutTxTrackerByChainRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{6} + return fileDescriptor_d00cb546ea76908b, []int{6} } func (m *QueryAllOutTxTrackerByChainRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -364,7 +363,7 @@ func (m *QueryAllOutTxTrackerByChainResponse) Reset() { *m = QueryAllOut func (m *QueryAllOutTxTrackerByChainResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllOutTxTrackerByChainResponse) ProtoMessage() {} func (*QueryAllOutTxTrackerByChainResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{7} + return fileDescriptor_d00cb546ea76908b, []int{7} } func (m *QueryAllOutTxTrackerByChainResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -416,7 +415,7 @@ func (m *QueryAllInTxTrackerByChainRequest) Reset() { *m = QueryAllInTxT func (m *QueryAllInTxTrackerByChainRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllInTxTrackerByChainRequest) ProtoMessage() {} func (*QueryAllInTxTrackerByChainRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{8} + return fileDescriptor_d00cb546ea76908b, []int{8} } func (m *QueryAllInTxTrackerByChainRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -468,7 +467,7 @@ func (m *QueryAllInTxTrackerByChainResponse) Reset() { *m = QueryAllInTx func (m *QueryAllInTxTrackerByChainResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllInTxTrackerByChainResponse) ProtoMessage() {} func (*QueryAllInTxTrackerByChainResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{9} + return fileDescriptor_d00cb546ea76908b, []int{9} } func (m *QueryAllInTxTrackerByChainResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -519,7 +518,7 @@ func (m *QueryAllInTxTrackersRequest) Reset() { *m = QueryAllInTxTracker func (m *QueryAllInTxTrackersRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllInTxTrackersRequest) ProtoMessage() {} func (*QueryAllInTxTrackersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{10} + return fileDescriptor_d00cb546ea76908b, []int{10} } func (m *QueryAllInTxTrackersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -564,7 +563,7 @@ func (m *QueryAllInTxTrackersResponse) Reset() { *m = QueryAllInTxTracke func (m *QueryAllInTxTrackersResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllInTxTrackersResponse) ProtoMessage() {} func (*QueryAllInTxTrackersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{11} + return fileDescriptor_d00cb546ea76908b, []int{11} } func (m *QueryAllInTxTrackersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -615,7 +614,7 @@ func (m *QueryGetInTxHashToCctxRequest) Reset() { *m = QueryGetInTxHashT func (m *QueryGetInTxHashToCctxRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetInTxHashToCctxRequest) ProtoMessage() {} func (*QueryGetInTxHashToCctxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{12} + return fileDescriptor_d00cb546ea76908b, []int{12} } func (m *QueryGetInTxHashToCctxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -659,7 +658,7 @@ func (m *QueryGetInTxHashToCctxResponse) Reset() { *m = QueryGetInTxHash func (m *QueryGetInTxHashToCctxResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetInTxHashToCctxResponse) ProtoMessage() {} func (*QueryGetInTxHashToCctxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{13} + return fileDescriptor_d00cb546ea76908b, []int{13} } func (m *QueryGetInTxHashToCctxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -703,7 +702,7 @@ func (m *QueryInTxHashToCctxDataRequest) Reset() { *m = QueryInTxHashToC func (m *QueryInTxHashToCctxDataRequest) String() string { return proto.CompactTextString(m) } func (*QueryInTxHashToCctxDataRequest) ProtoMessage() {} func (*QueryInTxHashToCctxDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{14} + return fileDescriptor_d00cb546ea76908b, []int{14} } func (m *QueryInTxHashToCctxDataRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -747,7 +746,7 @@ func (m *QueryInTxHashToCctxDataResponse) Reset() { *m = QueryInTxHashTo func (m *QueryInTxHashToCctxDataResponse) String() string { return proto.CompactTextString(m) } func (*QueryInTxHashToCctxDataResponse) ProtoMessage() {} func (*QueryInTxHashToCctxDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{15} + return fileDescriptor_d00cb546ea76908b, []int{15} } func (m *QueryInTxHashToCctxDataResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -791,7 +790,7 @@ func (m *QueryAllInTxHashToCctxRequest) Reset() { *m = QueryAllInTxHashT func (m *QueryAllInTxHashToCctxRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllInTxHashToCctxRequest) ProtoMessage() {} func (*QueryAllInTxHashToCctxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{16} + return fileDescriptor_d00cb546ea76908b, []int{16} } func (m *QueryAllInTxHashToCctxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -836,7 +835,7 @@ func (m *QueryAllInTxHashToCctxResponse) Reset() { *m = QueryAllInTxHash func (m *QueryAllInTxHashToCctxResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllInTxHashToCctxResponse) ProtoMessage() {} func (*QueryAllInTxHashToCctxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{17} + return fileDescriptor_d00cb546ea76908b, []int{17} } func (m *QueryAllInTxHashToCctxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -887,7 +886,7 @@ func (m *QueryGetGasPriceRequest) Reset() { *m = QueryGetGasPriceRequest func (m *QueryGetGasPriceRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetGasPriceRequest) ProtoMessage() {} func (*QueryGetGasPriceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{18} + return fileDescriptor_d00cb546ea76908b, []int{18} } func (m *QueryGetGasPriceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -931,7 +930,7 @@ func (m *QueryGetGasPriceResponse) Reset() { *m = QueryGetGasPriceRespon func (m *QueryGetGasPriceResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetGasPriceResponse) ProtoMessage() {} func (*QueryGetGasPriceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{19} + return fileDescriptor_d00cb546ea76908b, []int{19} } func (m *QueryGetGasPriceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -975,7 +974,7 @@ func (m *QueryAllGasPriceRequest) Reset() { *m = QueryAllGasPriceRequest func (m *QueryAllGasPriceRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllGasPriceRequest) ProtoMessage() {} func (*QueryAllGasPriceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{20} + return fileDescriptor_d00cb546ea76908b, []int{20} } func (m *QueryAllGasPriceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1020,7 +1019,7 @@ func (m *QueryAllGasPriceResponse) Reset() { *m = QueryAllGasPriceRespon func (m *QueryAllGasPriceResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllGasPriceResponse) ProtoMessage() {} func (*QueryAllGasPriceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{21} + return fileDescriptor_d00cb546ea76908b, []int{21} } func (m *QueryAllGasPriceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1071,7 +1070,7 @@ func (m *QueryGetLastBlockHeightRequest) Reset() { *m = QueryGetLastBloc func (m *QueryGetLastBlockHeightRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetLastBlockHeightRequest) ProtoMessage() {} func (*QueryGetLastBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{22} + return fileDescriptor_d00cb546ea76908b, []int{22} } func (m *QueryGetLastBlockHeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1115,7 +1114,7 @@ func (m *QueryGetLastBlockHeightResponse) Reset() { *m = QueryGetLastBlo func (m *QueryGetLastBlockHeightResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetLastBlockHeightResponse) ProtoMessage() {} func (*QueryGetLastBlockHeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{23} + return fileDescriptor_d00cb546ea76908b, []int{23} } func (m *QueryGetLastBlockHeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1159,7 +1158,7 @@ func (m *QueryAllLastBlockHeightRequest) Reset() { *m = QueryAllLastBloc func (m *QueryAllLastBlockHeightRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllLastBlockHeightRequest) ProtoMessage() {} func (*QueryAllLastBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{24} + return fileDescriptor_d00cb546ea76908b, []int{24} } func (m *QueryAllLastBlockHeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1204,7 +1203,7 @@ func (m *QueryAllLastBlockHeightResponse) Reset() { *m = QueryAllLastBlo func (m *QueryAllLastBlockHeightResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllLastBlockHeightResponse) ProtoMessage() {} func (*QueryAllLastBlockHeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{25} + return fileDescriptor_d00cb546ea76908b, []int{25} } func (m *QueryAllLastBlockHeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1255,7 +1254,7 @@ func (m *QueryGetCctxRequest) Reset() { *m = QueryGetCctxRequest{} } func (m *QueryGetCctxRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetCctxRequest) ProtoMessage() {} func (*QueryGetCctxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{26} + return fileDescriptor_d00cb546ea76908b, []int{26} } func (m *QueryGetCctxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1300,7 +1299,7 @@ func (m *QueryGetCctxByNonceRequest) Reset() { *m = QueryGetCctxByNonceR func (m *QueryGetCctxByNonceRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetCctxByNonceRequest) ProtoMessage() {} func (*QueryGetCctxByNonceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{27} + return fileDescriptor_d00cb546ea76908b, []int{27} } func (m *QueryGetCctxByNonceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1351,7 +1350,7 @@ func (m *QueryGetCctxResponse) Reset() { *m = QueryGetCctxResponse{} } func (m *QueryGetCctxResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetCctxResponse) ProtoMessage() {} func (*QueryGetCctxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{28} + return fileDescriptor_d00cb546ea76908b, []int{28} } func (m *QueryGetCctxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1395,7 +1394,7 @@ func (m *QueryAllCctxRequest) Reset() { *m = QueryAllCctxRequest{} } func (m *QueryAllCctxRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllCctxRequest) ProtoMessage() {} func (*QueryAllCctxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{29} + return fileDescriptor_d00cb546ea76908b, []int{29} } func (m *QueryAllCctxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1440,7 +1439,7 @@ func (m *QueryAllCctxResponse) Reset() { *m = QueryAllCctxResponse{} } func (m *QueryAllCctxResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllCctxResponse) ProtoMessage() {} func (*QueryAllCctxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{30} + return fileDescriptor_d00cb546ea76908b, []int{30} } func (m *QueryAllCctxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1492,7 +1491,7 @@ func (m *QueryListCctxPendingRequest) Reset() { *m = QueryListCctxPendin func (m *QueryListCctxPendingRequest) String() string { return proto.CompactTextString(m) } func (*QueryListCctxPendingRequest) ProtoMessage() {} func (*QueryListCctxPendingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{31} + return fileDescriptor_d00cb546ea76908b, []int{31} } func (m *QueryListCctxPendingRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1544,7 +1543,7 @@ func (m *QueryListCctxPendingResponse) Reset() { *m = QueryListCctxPendi func (m *QueryListCctxPendingResponse) String() string { return proto.CompactTextString(m) } func (*QueryListCctxPendingResponse) ProtoMessage() {} func (*QueryListCctxPendingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{32} + return fileDescriptor_d00cb546ea76908b, []int{32} } func (m *QueryListCctxPendingResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1594,7 +1593,7 @@ func (m *QueryLastZetaHeightRequest) Reset() { *m = QueryLastZetaHeightR func (m *QueryLastZetaHeightRequest) String() string { return proto.CompactTextString(m) } func (*QueryLastZetaHeightRequest) ProtoMessage() {} func (*QueryLastZetaHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{33} + return fileDescriptor_d00cb546ea76908b, []int{33} } func (m *QueryLastZetaHeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1631,7 +1630,7 @@ func (m *QueryLastZetaHeightResponse) Reset() { *m = QueryLastZetaHeight func (m *QueryLastZetaHeightResponse) String() string { return proto.CompactTextString(m) } func (*QueryLastZetaHeightResponse) ProtoMessage() {} func (*QueryLastZetaHeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{34} + return fileDescriptor_d00cb546ea76908b, []int{34} } func (m *QueryLastZetaHeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1676,7 +1675,7 @@ func (m *QueryConvertGasToZetaRequest) Reset() { *m = QueryConvertGasToZ func (m *QueryConvertGasToZetaRequest) String() string { return proto.CompactTextString(m) } func (*QueryConvertGasToZetaRequest) ProtoMessage() {} func (*QueryConvertGasToZetaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{35} + return fileDescriptor_d00cb546ea76908b, []int{35} } func (m *QueryConvertGasToZetaRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1729,7 +1728,7 @@ func (m *QueryConvertGasToZetaResponse) Reset() { *m = QueryConvertGasTo func (m *QueryConvertGasToZetaResponse) String() string { return proto.CompactTextString(m) } func (*QueryConvertGasToZetaResponse) ProtoMessage() {} func (*QueryConvertGasToZetaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{36} + return fileDescriptor_d00cb546ea76908b, []int{36} } func (m *QueryConvertGasToZetaResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1786,7 +1785,7 @@ func (m *QueryMessagePassingProtocolFeeRequest) Reset() { *m = QueryMess func (m *QueryMessagePassingProtocolFeeRequest) String() string { return proto.CompactTextString(m) } func (*QueryMessagePassingProtocolFeeRequest) ProtoMessage() {} func (*QueryMessagePassingProtocolFeeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{37} + return fileDescriptor_d00cb546ea76908b, []int{37} } func (m *QueryMessagePassingProtocolFeeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1825,7 +1824,7 @@ func (m *QueryMessagePassingProtocolFeeResponse) Reset() { func (m *QueryMessagePassingProtocolFeeResponse) String() string { return proto.CompactTextString(m) } func (*QueryMessagePassingProtocolFeeResponse) ProtoMessage() {} func (*QueryMessagePassingProtocolFeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{38} + return fileDescriptor_d00cb546ea76908b, []int{38} } func (m *QueryMessagePassingProtocolFeeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1903,118 +1902,120 @@ func init() { proto.RegisterType((*QueryMessagePassingProtocolFeeResponse)(nil), "zetachain.zetacore.crosschain.QueryMessagePassingProtocolFeeResponse") } -func init() { proto.RegisterFile("crosschain/query.proto", fileDescriptor_65a992045e92a606) } - -var fileDescriptor_65a992045e92a606 = []byte{ - // 1715 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xd1, 0x6f, 0x14, 0x45, - 0x18, 0xef, 0xf4, 0x28, 0x94, 0x69, 0xa1, 0x32, 0x54, 0xac, 0x4b, 0x7b, 0x85, 0xad, 0xd0, 0x0a, - 0xf6, 0x16, 0x0a, 0x14, 0x81, 0x62, 0xbc, 0x16, 0x29, 0xc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0x50, - 0xfd, 0x96, 0x51, 0x81, 0x71, 0x55, 0x18, 0xb7, 0xa9, 0xeb, 0x15, 0x97, 0x6d, 0xa6, 0xdf, 0x2a, - 0x96, 0x0d, 0xcb, 0x2c, 0x7b, 0x09, 0x28, 0x59, 0xd5, 0x6b, 0x74, 0x32, 0x68, 0x32, 0x93, 0xf1, - 0x9f, 0x9a, 0xff, 0x0b, 0xde, 0x0e, 0x9b, 0x8c, 0x99, 0xb6, 0xa1, 0xd1, 0x55, 0x4b, 0xa3, 0x8e, - 0xc3, 0x3c, 0xce, 0xdc, 0x0d, 0x46, 0xd5, 0x61, 0xac, 0xbc, 0xe3, 0x8b, 0x73, 0xd3, 0xf0, 0x68, - 0x5e, 0xd7, 0x59, 0xd5, 0xf1, 0x2c, 0xc7, 0x2c, 0x18, 0xb7, 0xab, 0x86, 0xeb, 0xa9, 0xd7, 0xf0, - 0xc1, 0xc4, 0x51, 0x77, 0x95, 0x39, 0xae, 0x41, 0x72, 0x78, 0x3f, 0x5d, 0x66, 0x15, 0xcf, 0x28, - 0x15, 0xfd, 0x2d, 0x28, 0xd2, 0x15, 0x7f, 0xc6, 0x10, 0x3a, 0x84, 0x26, 0x76, 0x17, 0xf6, 0xc1, - 0x10, 0xb7, 0xe5, 0x03, 0x35, 0x77, 0xf3, 0x86, 0x77, 0xa3, 0xea, 0x2d, 0xad, 0x2d, 0x05, 0xf0, - 0x61, 0x35, 0x32, 0x84, 0x77, 0x71, 0x76, 0x57, 0x2f, 0x71, 0x17, 0x99, 0x42, 0xf8, 0x48, 0x06, - 0x71, 0x8f, 0xc3, 0x1c, 0xdd, 0x18, 0xea, 0x3e, 0x84, 0x26, 0x76, 0x14, 0x82, 0x07, 0xb5, 0x8a, - 0x87, 0x93, 0xdd, 0x01, 0xbc, 0x77, 0x71, 0x3f, 0x13, 0xde, 0x73, 0xa7, 0x7d, 0x53, 0xc7, 0x73, - 0x4d, 0x03, 0x27, 0x27, 0xba, 0x9a, 0xdd, 0xf1,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, 0x8a, 0xe8, 0x2a, 0xc4, 0xa3, 0xad, 0x89, 0x5e, 0xbd, 0xf5, 0x55, 0xc3, 0x5d, - 0xde, 0xc9, 0xbf, 0x02, 0xa7, 0xfe, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xda, 0xf6, 0xfb, 0xb3, 0x90, - 0x21, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/crosschain/query.proto", fileDescriptor_d00cb546ea76908b) +} + +var fileDescriptor_d00cb546ea76908b = []byte{ + // 1725 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xc1, 0x6f, 0xd4, 0xc6, + 0x17, 0xce, 0x64, 0x09, 0x84, 0x49, 0x20, 0x3f, 0x86, 0xfc, 0x68, 0xba, 0x24, 0x01, 0x4c, 0x21, + 0x01, 0x9a, 0x5d, 0x12, 0x48, 0x28, 0x10, 0xaa, 0x6e, 0x42, 0x09, 0xa8, 0x01, 0xd2, 0x55, 0xaa, + 0x56, 0x54, 0xd5, 0x6a, 0xe2, 0x75, 0xbd, 0x16, 0x8e, 0x27, 0xac, 0xbd, 0x28, 0x21, 0xda, 0x0b, + 0x87, 0x9e, 0x2b, 0x71, 0xe8, 0xa5, 0xd7, 0xaa, 0x3d, 0xf4, 0xd0, 0x43, 0xd5, 0x1e, 0x2a, 0x51, + 0x55, 0x6d, 0x29, 0x47, 0xa4, 0x4a, 0x55, 0xd5, 0x4a, 0x55, 0x05, 0xfd, 0x0b, 0xfa, 0x17, 0x54, + 0x1e, 0x3f, 0x7b, 0xc7, 0x5e, 0xdb, 0x3b, 0xd9, 0x2c, 0x07, 0x4e, 0xac, 0x3d, 0xf3, 0xde, 0xfb, + 0xbe, 0x6f, 0xde, 0x3c, 0xcf, 0x9b, 0x80, 0x4f, 0xdc, 0xd3, 0x1c, 0xaa, 0x56, 0xa8, 0x61, 0xe5, + 0xf9, 0x2f, 0x56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xf5, 0x1a, + 0xc4, 0x3d, 0x1c, 0x19, 0xac, 0xb9, 0xf7, 0x10, 0x51, 0xb1, 0xbb, 0x6d, 0x15, 0x7f, 0x46, 0xf8, + 0x68, 0x2a, 0x88, 0x17, 0x44, 0xcc, 0x8f, 0x10, 0x3e, 0xe2, 0xf3, 0xb8, 0x66, 0x25, 0x69, 0xf9, + 0x32, 0xee, 0xf5, 0x0a, 0xa3, 0x51, 0x0e, 0x6f, 0xa1, 0x72, 0xc7, 0x04, 0xfd, 0x41, 0x58, 0xd5, + 0x38, 0x20, 0xa0, 0x67, 0x11, 0xf7, 0x19, 0x56, 0x54, 0xce, 0x93, 0x2d, 0xe4, 0x14, 0xfd, 0x79, + 0x6a, 0x8a, 0x4e, 0x3a, 0x27, 0xa6, 0xb0, 0x83, 0x85, 0x90, 0x76, 0xa7, 0x77, 0xf0, 0x77, 0xc2, + 0x0e, 0x0e, 0xc7, 0x79, 0x11, 0x44, 0xba, 0x88, 0x47, 0xfc, 0xea, 0xea, 0x86, 0xbc, 0x4a, 0xed, + 0xca, 0x32, 0x9b, 0x57, 0x9d, 0x75, 0x5f, 0xa6, 0x2c, 0xee, 0x35, 0x60, 0x00, 0x4a, 0x7e, 0xf0, + 0xac, 0xd4, 0xf1, 0x68, 0x92, 0x31, 0x70, 0x7f, 0x1f, 0xef, 0x35, 0x42, 0x23, 0x20, 0xf4, 0x84, + 0x04, 0xfd, 0x86, 0x11, 0x28, 0x10, 0x71, 0xa5, 0xcc, 0x42, 0xf8, 0xf0, 0xe4, 0xcb, 0xd4, 0xa1, + 0x32, 0xe0, 0xef, 0xe1, 0x43, 0x89, 0xd6, 0x80, 0xfe, 0x5d, 0xbc, 0x67, 0xde, 0xc5, 0xc4, 0x93, + 0x7e, 0x79, 0xdd, 0x96, 0xac, 0x17, 0xa2, 0x0d, 0x40, 0x0f, 0xfb, 0x51, 0x74, 0x50, 0x1d, 0x52, + 0xa6, 0x59, 0xf5, 0x4e, 0x25, 0xe7, 0x23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0x9c, 0x4d, 0xa0, 0x66, 0x58, 0x09, + 0xcc, 0x4a, 0x46, 0xb9, 0x4e, 0xbe, 0x41, 0x78, 0x6f, 0x98, 0x9c, 0x74, 0xce, 0xc5, 0xb4, 0xda, + 0xd2, 0x39, 0x17, 0xd7, 0x3e, 0xb7, 0xcc, 0x39, 0x81, 0x89, 0x4d, 0x7e, 0x01, 0xe0, 0x42, 0x0b, + 0x32, 0x2b, 0xb9, 0x79, 0x63, 0x1b, 0xb1, 0xec, 0xa5, 0x36, 0xad, 0x01, 0xfc, 0x6b, 0x1c, 0xfc, + 0x14, 0x39, 0x9d, 0x02, 0xbe, 0x61, 0x96, 0xdf, 0xf4, 0x9f, 0xeb, 0xe4, 0x37, 0x84, 0x49, 0x73, + 0x6b, 0x4a, 0xa4, 0xf0, 0x24, 0x36, 0xc4, 0xd9, 0xd7, 0xdb, 0x35, 0x07, 0x3e, 0x05, 0xce, 0xe7, + 0x22, 0x39, 0x9f, 0xc8, 0x27, 0x7a, 0xa7, 0x5e, 0x2a, 0x53, 0x87, 0x8a, 0xc4, 0xbe, 0x47, 0x78, + 0x5f, 0x38, 0x82, 0x9b, 0x5e, 0xb3, 0x5b, 0x48, 0x91, 0x36, 0x57, 0x29, 0xb1, 0x05, 0x56, 0x26, + 0x38, 0xab, 0x31, 0x72, 0x4c, 0x6a, 0x95, 0xc8, 0x97, 0xa8, 0xd1, 0x7a, 0x91, 0x19, 0xc9, 0x04, + 0x89, 0xf4, 0x88, 0xd9, 0x73, 0x5b, 0xb6, 0x03, 0xb0, 0x79, 0x0e, 0xf6, 0x04, 0x19, 0x4b, 0x00, + 0xab, 0x83, 0x81, 0xab, 0x79, 0x59, 0x5b, 0xaf, 0x93, 0xcf, 0x11, 0xee, 0xf3, 0xbd, 0xb8, 0x52, + 0xcf, 0x48, 0x8a, 0xd5, 0x16, 0xe2, 0x98, 0x4e, 0x55, 0x19, 0xe3, 0x88, 0x8f, 0x90, 0x43, 0x2d, + 0x10, 0x93, 0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 0x91, 0xa1, 0x43, 0x95, 0x3b, 0x82, + 0xc5, 0x37, 0xe9, 0x72, 0x47, 0xb0, 0x84, 0x7e, 0xbc, 0x65, 0xe5, 0x50, 0x1b, 0x36, 0xfc, 0xe8, + 0x18, 0xfe, 0x43, 0xb2, 0x5c, 0x32, 0xc4, 0xfe, 0x69, 0x3a, 0x7b, 0xa1, 0x1d, 0x53, 0xc9, 0xaf, + 0xfa, 0xbd, 0x30, 0x4a, 0x17, 0x78, 0xb8, 0xbb, 0x97, 0x03, 0x1e, 0x7b, 0x5f, 0x20, 0x07, 0x3c, + 0xfe, 0x32, 0xa1, 0x25, 0x70, 0x33, 0x64, 0x36, 0xf7, 0xd6, 0xe3, 0xa7, 0xa3, 0xe8, 0xc9, 0xd3, + 0x51, 0xf4, 0xf7, 0xd3, 0x51, 0xf4, 0xf1, 0xb3, 0xd1, 0xae, 0x27, 0xcf, 0x46, 0xbb, 0x7e, 0x7f, + 0x36, 0xda, 0x75, 0x6b, 0x52, 0x37, 0x9c, 0x4a, 0x6d, 0x25, 0xa7, 0xb2, 0x55, 0xd1, 0x55, 0xf0, + 0x5f, 0x0d, 0xd6, 0x45, 0xaf, 0xce, 0xc6, 0x9a, 0x66, 0xaf, 0xec, 0xe4, 0x5f, 0x81, 0x33, 0xff, + 0x05, 0x00, 0x00, 0xff, 0xff, 0x23, 0x22, 0x1d, 0x49, 0x15, 0x22, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2806,7 +2807,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "crosschain/query.proto", + Metadata: "zetachain/zetacore/crosschain/query.proto", } func (m *QueryZetaAccountingRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/crosschain/types/query.pb.gw.go b/x/crosschain/types/query.pb.gw.go index 6234a732ea..00751a0c67 100644 --- a/x/crosschain/types/query.pb.gw.go +++ b/x/crosschain/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: crosschain/query.proto +// source: zetachain/zetacore/crosschain/query.proto /* Package types is a reverse proxy. diff --git a/x/crosschain/types/tx.pb.go b/x/crosschain/types/tx.pb.go index 54c8aee125..e85d4a3838 100644 --- a/x/crosschain/types/tx.pb.go +++ b/x/crosschain/types/tx.pb.go @@ -1,25 +1,24 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: crosschain/tx.proto +// source: zetachain/zetacore/crosschain/tx.proto 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" _ "github.com/cosmos/gogoproto/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" chains "github.com/zeta-chain/zetacore/pkg/chains" coin "github.com/zeta-chain/zetacore/pkg/coin" proofs "github.com/zeta-chain/zetacore/pkg/proofs" 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. @@ -43,7 +42,7 @@ func (m *MsgMigrateTssFunds) Reset() { *m = MsgMigrateTssFunds{} } func (m *MsgMigrateTssFunds) String() string { return proto.CompactTextString(m) } func (*MsgMigrateTssFunds) ProtoMessage() {} func (*MsgMigrateTssFunds) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{0} + return fileDescriptor_15f0860550897740, []int{0} } func (m *MsgMigrateTssFunds) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -93,7 +92,7 @@ func (m *MsgMigrateTssFundsResponse) Reset() { *m = MsgMigrateTssFundsRe func (m *MsgMigrateTssFundsResponse) String() string { return proto.CompactTextString(m) } func (*MsgMigrateTssFundsResponse) ProtoMessage() {} func (*MsgMigrateTssFundsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{1} + return fileDescriptor_15f0860550897740, []int{1} } func (m *MsgMigrateTssFundsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -131,7 +130,7 @@ func (m *MsgUpdateTssAddress) Reset() { *m = MsgUpdateTssAddress{} } func (m *MsgUpdateTssAddress) String() string { return proto.CompactTextString(m) } func (*MsgUpdateTssAddress) ProtoMessage() {} func (*MsgUpdateTssAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{2} + return fileDescriptor_15f0860550897740, []int{2} } func (m *MsgUpdateTssAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -181,7 +180,7 @@ func (m *MsgUpdateTssAddressResponse) Reset() { *m = MsgUpdateTssAddress func (m *MsgUpdateTssAddressResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateTssAddressResponse) ProtoMessage() {} func (*MsgUpdateTssAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{3} + return fileDescriptor_15f0860550897740, []int{3} } func (m *MsgUpdateTssAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -214,7 +213,7 @@ type MsgAddToInTxTracker struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ChainId int64 `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` TxHash string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` - CoinType coin.CoinType `protobuf:"varint,4,opt,name=coin_type,json=coinType,proto3,enum=coin.CoinType" json:"coin_type,omitempty"` + CoinType coin.CoinType `protobuf:"varint,4,opt,name=coin_type,json=coinType,proto3,enum=zetachain.zetacore.pkg.coin.CoinType" json:"coin_type,omitempty"` Proof *proofs.Proof `protobuf:"bytes,5,opt,name=proof,proto3" json:"proof,omitempty"` BlockHash string `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` TxIndex int64 `protobuf:"varint,7,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` @@ -224,7 +223,7 @@ func (m *MsgAddToInTxTracker) Reset() { *m = MsgAddToInTxTracker{} } func (m *MsgAddToInTxTracker) String() string { return proto.CompactTextString(m) } func (*MsgAddToInTxTracker) ProtoMessage() {} func (*MsgAddToInTxTracker) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{4} + return fileDescriptor_15f0860550897740, []int{4} } func (m *MsgAddToInTxTracker) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -309,7 +308,7 @@ func (m *MsgAddToInTxTrackerResponse) Reset() { *m = MsgAddToInTxTracker func (m *MsgAddToInTxTrackerResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddToInTxTrackerResponse) ProtoMessage() {} func (*MsgAddToInTxTrackerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{5} + return fileDescriptor_15f0860550897740, []int{5} } func (m *MsgAddToInTxTrackerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -352,7 +351,7 @@ func (m *MsgWhitelistERC20) Reset() { *m = MsgWhitelistERC20{} } func (m *MsgWhitelistERC20) String() string { return proto.CompactTextString(m) } func (*MsgWhitelistERC20) ProtoMessage() {} func (*MsgWhitelistERC20) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{6} + return fileDescriptor_15f0860550897740, []int{6} } func (m *MsgWhitelistERC20) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -439,7 +438,7 @@ func (m *MsgWhitelistERC20Response) Reset() { *m = MsgWhitelistERC20Resp func (m *MsgWhitelistERC20Response) String() string { return proto.CompactTextString(m) } func (*MsgWhitelistERC20Response) ProtoMessage() {} func (*MsgWhitelistERC20Response) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{7} + return fileDescriptor_15f0860550897740, []int{7} } func (m *MsgWhitelistERC20Response) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -496,7 +495,7 @@ func (m *MsgAddToOutTxTracker) Reset() { *m = MsgAddToOutTxTracker{} } func (m *MsgAddToOutTxTracker) String() string { return proto.CompactTextString(m) } func (*MsgAddToOutTxTracker) ProtoMessage() {} func (*MsgAddToOutTxTracker) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{8} + return fileDescriptor_15f0860550897740, []int{8} } func (m *MsgAddToOutTxTracker) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -582,7 +581,7 @@ func (m *MsgAddToOutTxTrackerResponse) Reset() { *m = MsgAddToOutTxTrack func (m *MsgAddToOutTxTrackerResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddToOutTxTrackerResponse) ProtoMessage() {} func (*MsgAddToOutTxTrackerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{9} + return fileDescriptor_15f0860550897740, []int{9} } func (m *MsgAddToOutTxTrackerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -628,7 +627,7 @@ func (m *MsgRemoveFromOutTxTracker) Reset() { *m = MsgRemoveFromOutTxTra func (m *MsgRemoveFromOutTxTracker) String() string { return proto.CompactTextString(m) } func (*MsgRemoveFromOutTxTracker) ProtoMessage() {} func (*MsgRemoveFromOutTxTracker) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{10} + return fileDescriptor_15f0860550897740, []int{10} } func (m *MsgRemoveFromOutTxTracker) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -685,7 +684,7 @@ func (m *MsgRemoveFromOutTxTrackerResponse) Reset() { *m = MsgRemoveFrom func (m *MsgRemoveFromOutTxTrackerResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveFromOutTxTrackerResponse) ProtoMessage() {} func (*MsgRemoveFromOutTxTrackerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{11} + return fileDescriptor_15f0860550897740, []int{11} } func (m *MsgRemoveFromOutTxTrackerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -726,7 +725,7 @@ func (m *MsgVoteGasPrice) Reset() { *m = MsgVoteGasPrice{} } func (m *MsgVoteGasPrice) String() string { return proto.CompactTextString(m) } func (*MsgVoteGasPrice) ProtoMessage() {} func (*MsgVoteGasPrice) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{12} + return fileDescriptor_15f0860550897740, []int{12} } func (m *MsgVoteGasPrice) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -797,7 +796,7 @@ func (m *MsgVoteGasPriceResponse) Reset() { *m = MsgVoteGasPriceResponse func (m *MsgVoteGasPriceResponse) String() string { return proto.CompactTextString(m) } func (*MsgVoteGasPriceResponse) ProtoMessage() {} func (*MsgVoteGasPriceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{13} + return fileDescriptor_15f0860550897740, []int{13} } func (m *MsgVoteGasPriceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -835,17 +834,17 @@ type MsgVoteOnObservedOutboundTx struct { ObservedOutTxEffectiveGasPrice github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,11,opt,name=observed_outTx_effective_gas_price,json=observedOutTxEffectiveGasPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"observed_outTx_effective_gas_price"` ObservedOutTxEffectiveGasLimit uint64 `protobuf:"varint,12,opt,name=observed_outTx_effective_gas_limit,json=observedOutTxEffectiveGasLimit,proto3" json:"observed_outTx_effective_gas_limit,omitempty"` ValueReceived github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,5,opt,name=value_received,json=valueReceived,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"value_received" yaml:"value_received"` - Status chains.ReceiveStatus `protobuf:"varint,6,opt,name=status,proto3,enum=chains.ReceiveStatus" json:"status,omitempty"` + Status chains.ReceiveStatus `protobuf:"varint,6,opt,name=status,proto3,enum=zetachain.zetacore.pkg.chains.ReceiveStatus" json:"status,omitempty"` OutTxChain int64 `protobuf:"varint,7,opt,name=outTx_chain,json=outTxChain,proto3" json:"outTx_chain,omitempty"` OutTxTssNonce uint64 `protobuf:"varint,8,opt,name=outTx_tss_nonce,json=outTxTssNonce,proto3" json:"outTx_tss_nonce,omitempty"` - CoinType coin.CoinType `protobuf:"varint,9,opt,name=coin_type,json=coinType,proto3,enum=coin.CoinType" json:"coin_type,omitempty"` + CoinType coin.CoinType `protobuf:"varint,9,opt,name=coin_type,json=coinType,proto3,enum=zetachain.zetacore.pkg.coin.CoinType" json:"coin_type,omitempty"` } func (m *MsgVoteOnObservedOutboundTx) Reset() { *m = MsgVoteOnObservedOutboundTx{} } func (m *MsgVoteOnObservedOutboundTx) String() string { return proto.CompactTextString(m) } func (*MsgVoteOnObservedOutboundTx) ProtoMessage() {} func (*MsgVoteOnObservedOutboundTx) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{14} + return fileDescriptor_15f0860550897740, []int{14} } func (m *MsgVoteOnObservedOutboundTx) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -951,7 +950,7 @@ func (m *MsgVoteOnObservedOutboundTxResponse) Reset() { *m = MsgVoteOnOb func (m *MsgVoteOnObservedOutboundTxResponse) String() string { return proto.CompactTextString(m) } func (*MsgVoteOnObservedOutboundTxResponse) ProtoMessage() {} func (*MsgVoteOnObservedOutboundTxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{15} + return fileDescriptor_15f0860550897740, []int{15} } func (m *MsgVoteOnObservedOutboundTxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -993,7 +992,7 @@ type MsgVoteOnObservedInboundTx struct { InTxHash string `protobuf:"bytes,9,opt,name=in_tx_hash,json=inTxHash,proto3" json:"in_tx_hash,omitempty"` InBlockHeight uint64 `protobuf:"varint,10,opt,name=in_block_height,json=inBlockHeight,proto3" json:"in_block_height,omitempty"` GasLimit uint64 `protobuf:"varint,11,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` - CoinType coin.CoinType `protobuf:"varint,12,opt,name=coin_type,json=coinType,proto3,enum=coin.CoinType" json:"coin_type,omitempty"` + CoinType coin.CoinType `protobuf:"varint,12,opt,name=coin_type,json=coinType,proto3,enum=zetachain.zetacore.pkg.coin.CoinType" json:"coin_type,omitempty"` TxOrigin string `protobuf:"bytes,13,opt,name=tx_origin,json=txOrigin,proto3" json:"tx_origin,omitempty"` Asset string `protobuf:"bytes,14,opt,name=asset,proto3" json:"asset,omitempty"` // event index of the sent asset in the observed tx @@ -1004,7 +1003,7 @@ func (m *MsgVoteOnObservedInboundTx) Reset() { *m = MsgVoteOnObservedInb func (m *MsgVoteOnObservedInboundTx) String() string { return proto.CompactTextString(m) } func (*MsgVoteOnObservedInboundTx) ProtoMessage() {} func (*MsgVoteOnObservedInboundTx) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{16} + return fileDescriptor_15f0860550897740, []int{16} } func (m *MsgVoteOnObservedInboundTx) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1131,7 +1130,7 @@ func (m *MsgVoteOnObservedInboundTxResponse) Reset() { *m = MsgVoteOnObs func (m *MsgVoteOnObservedInboundTxResponse) String() string { return proto.CompactTextString(m) } func (*MsgVoteOnObservedInboundTxResponse) ProtoMessage() {} func (*MsgVoteOnObservedInboundTxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{17} + return fileDescriptor_15f0860550897740, []int{17} } func (m *MsgVoteOnObservedInboundTxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1169,7 +1168,7 @@ func (m *MsgAbortStuckCCTX) Reset() { *m = MsgAbortStuckCCTX{} } func (m *MsgAbortStuckCCTX) String() string { return proto.CompactTextString(m) } func (*MsgAbortStuckCCTX) ProtoMessage() {} func (*MsgAbortStuckCCTX) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{18} + return fileDescriptor_15f0860550897740, []int{18} } func (m *MsgAbortStuckCCTX) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1219,7 +1218,7 @@ func (m *MsgAbortStuckCCTXResponse) Reset() { *m = MsgAbortStuckCCTXResp func (m *MsgAbortStuckCCTXResponse) String() string { return proto.CompactTextString(m) } func (*MsgAbortStuckCCTXResponse) ProtoMessage() {} func (*MsgAbortStuckCCTXResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{19} + return fileDescriptor_15f0860550897740, []int{19} } func (m *MsgAbortStuckCCTXResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1258,7 +1257,7 @@ func (m *MsgRefundAbortedCCTX) Reset() { *m = MsgRefundAbortedCCTX{} } func (m *MsgRefundAbortedCCTX) String() string { return proto.CompactTextString(m) } func (*MsgRefundAbortedCCTX) ProtoMessage() {} func (*MsgRefundAbortedCCTX) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{20} + return fileDescriptor_15f0860550897740, []int{20} } func (m *MsgRefundAbortedCCTX) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1315,7 +1314,7 @@ func (m *MsgRefundAbortedCCTXResponse) Reset() { *m = MsgRefundAbortedCC func (m *MsgRefundAbortedCCTXResponse) String() string { return proto.CompactTextString(m) } func (*MsgRefundAbortedCCTXResponse) ProtoMessage() {} func (*MsgRefundAbortedCCTXResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{21} + return fileDescriptor_15f0860550897740, []int{21} } func (m *MsgRefundAbortedCCTXResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1369,101 +1368,104 @@ func init() { proto.RegisterType((*MsgRefundAbortedCCTXResponse)(nil), "zetachain.zetacore.crosschain.MsgRefundAbortedCCTXResponse") } -func init() { proto.RegisterFile("crosschain/tx.proto", fileDescriptor_81d6d611190b7635) } - -var fileDescriptor_81d6d611190b7635 = []byte{ - // 1452 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x18, 0x5d, 0x4f, 0xdb, 0x56, - 0x1b, 0xbf, 0x40, 0x48, 0x1e, 0x48, 0x78, 0x6b, 0x68, 0x09, 0xa6, 0x04, 0x6a, 0xde, 0xf6, 0x45, - 0x7a, 0xd5, 0xa4, 0x4d, 0xf5, 0x4e, 0x6d, 0xb7, 0x49, 0x03, 0xd4, 0x0f, 0xb6, 0x52, 0x2a, 0x37, - 0xdd, 0xa6, 0xdd, 0x58, 0x8e, 0x7d, 0x70, 0x2c, 0x12, 0x9f, 0xc8, 0xe7, 0x38, 0x0a, 0x68, 0xd2, - 0xa6, 0x49, 0xbb, 0x9f, 0xa6, 0x49, 0x95, 0xf6, 0x8b, 0x7a, 0x59, 0xed, 0x66, 0x1f, 0x17, 0xd5, - 0x44, 0x7f, 0xc0, 0xa4, 0xfd, 0x82, 0xc9, 0xcf, 0x39, 0x31, 0x71, 0x42, 0x3e, 0xa0, 0xea, 0x4d, - 0xe2, 0xe7, 0x39, 0xe7, 0xf9, 0xfe, 0xb4, 0x61, 0xc1, 0x0e, 0x28, 0x63, 0x76, 0xcd, 0xf2, 0xfc, - 0x12, 0x6f, 0x17, 0x9b, 0x01, 0xe5, 0x54, 0x5d, 0x3d, 0x26, 0xdc, 0x42, 0x5c, 0x11, 0x9f, 0x68, - 0x40, 0x8a, 0xa7, 0xf7, 0xb4, 0x45, 0x97, 0xba, 0x14, 0x6f, 0x96, 0xa2, 0x27, 0x41, 0xa4, 0x2d, - 0x35, 0x0f, 0xdd, 0x12, 0x5e, 0x60, 0xf2, 0x4f, 0x1e, 0x2c, 0xe0, 0x01, 0xf5, 0x7c, 0xfc, 0xe9, - 0xbe, 0xdd, 0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, 0x68, 0x09, 0x66, 0x78, 0xdb, 0xac, 0x59, 0xac, - 0x26, 0x7c, 0x64, 0xa4, 0x78, 0xfb, 0xb1, 0xc5, 0x6a, 0xea, 0xff, 0x20, 0x13, 0x85, 0xcb, 0x8c, - 0xbc, 0x91, 0x9f, 0x5a, 0x57, 0x36, 0x73, 0xe5, 0x5c, 0x11, 0x03, 0xb8, 0x43, 0x3d, 0xbf, 0x72, - 0xd4, 0x24, 0x46, 0xda, 0x96, 0x4f, 0xea, 0x06, 0x4c, 0x63, 0x10, 0xf3, 0xd3, 0xeb, 0xca, 0xe6, - 0x6c, 0x39, 0x5b, 0x94, 0x21, 0x7d, 0x16, 0xfd, 0x19, 0xe2, 0x2c, 0xb2, 0xba, 0x5a, 0xa7, 0xf6, - 0xa1, 0x90, 0x96, 0x12, 0x56, 0x23, 0x06, 0x05, 0x2e, 0x43, 0x9a, 0xb7, 0x4d, 0xcf, 0x77, 0x48, - 0x3b, 0x3f, 0x23, 0x94, 0xe4, 0xed, 0xdd, 0x08, 0x94, 0x0e, 0xe9, 0x35, 0x38, 0x76, 0xc8, 0x2f, - 0x0a, 0x5c, 0xda, 0x63, 0xee, 0x17, 0x35, 0x8f, 0x93, 0xba, 0xc7, 0xf8, 0x03, 0x63, 0xa7, 0x7c, - 0x6b, 0x88, 0x3b, 0x36, 0x20, 0x4b, 0x02, 0xbb, 0x7c, 0xcb, 0xb4, 0x84, 0x67, 0x65, 0x04, 0xe6, - 0x10, 0xd9, 0x89, 0x5e, 0xb7, 0xcf, 0x26, 0x93, 0x3e, 0x53, 0x61, 0xca, 0xb7, 0x1a, 0xc2, 0x2b, - 0x19, 0x03, 0x9f, 0xd5, 0x2b, 0x90, 0x62, 0x47, 0x8d, 0x2a, 0xad, 0xa3, 0x0b, 0x32, 0x86, 0x84, - 0x54, 0x0d, 0xd2, 0x0e, 0xb1, 0xbd, 0x86, 0x55, 0x67, 0x68, 0x72, 0xd6, 0x88, 0x61, 0x75, 0x05, - 0x32, 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f, - 0x45, 0xa7, 0xcc, 0x95, 0x2f, 0x17, 0xe5, 0x1e, 0x21, 0x6f, 0x3c, 0xc7, 0x43, 0x43, 0x5e, 0x52, - 0xd7, 0x60, 0x56, 0x98, 0x88, 0xb7, 0x64, 0x0b, 0x00, 0x44, 0xed, 0x44, 0x18, 0xf5, 0x06, 0xcc, - 0x8b, 0x0b, 0xd1, 0xb0, 0x15, 0xe5, 0x97, 0x46, 0xcb, 0xb3, 0x88, 0xae, 0x30, 0xf6, 0x14, 0xbb, - 0x54, 0x62, 0xd4, 0x65, 0x86, 0x8f, 0x3a, 0xfd, 0x3a, 0x6c, 0x0c, 0x49, 0xec, 0xb8, 0x00, 0xbe, - 0x9d, 0xc2, 0x95, 0x21, 0x79, 0x6f, 0xd7, 0x1f, 0x9d, 0xff, 0x51, 0xb1, 0x11, 0xdf, 0x21, 0x81, - 0x4c, 0x7e, 0x09, 0x45, 0xc6, 0x88, 0x27, 0xb3, 0x67, 0x2c, 0x65, 0x05, 0x7a, 0x47, 0x56, 0xb9, - 0x06, 0x69, 0xe9, 0xe0, 0x40, 0xf6, 0xdc, 0x18, 0x56, 0xaf, 0x43, 0xae, 0xf3, 0x2c, 0x9d, 0x36, - 0x2d, 0x58, 0x74, 0xb0, 0xc2, 0x6f, 0xa7, 0x6b, 0x53, 0xea, 0x9d, 0xd6, 0xa6, 0xc8, 0xca, 0x06, - 0x61, 0xcc, 0x72, 0x85, 0xe3, 0x33, 0x46, 0x07, 0x54, 0xaf, 0x02, 0x44, 0x0e, 0x97, 0xf5, 0x9b, - 0x11, 0x7a, 0x7a, 0xbe, 0x2c, 0xdb, 0x1b, 0x30, 0xef, 0xf9, 0xa6, 0xec, 0xfd, 0xa2, 0x56, 0x45, - 0xc1, 0x65, 0x3d, 0xbf, 0xbb, 0x40, 0x13, 0x03, 0x74, 0x16, 0x6f, 0xc4, 0x03, 0x34, 0x19, 0xd5, - 0xb9, 0x11, 0x0b, 0xcc, 0x0a, 0x64, 0x78, 0x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0x00, 0x00, 0xff, 0xff, 0x14, 0x36, 0x6f, 0x72, 0xbe, 0x12, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/crosschain/tx.proto", fileDescriptor_15f0860550897740) +} + +var fileDescriptor_15f0860550897740 = []byte{ + // 1468 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdf, 0x6b, 0xdb, 0xd6, + 0x17, 0x8f, 0x9a, 0xc4, 0xb1, 0x4f, 0xe2, 0xe4, 0x5b, 0x35, 0xdf, 0xc6, 0x51, 0x1a, 0x27, 0x55, + 0xdb, 0x2c, 0x8c, 0xd5, 0x69, 0x53, 0x36, 0xda, 0x6c, 0x83, 0x25, 0x59, 0x7f, 0x64, 0x6b, 0x9a, + 0xa2, 0xba, 0xdb, 0xd8, 0x8b, 0x90, 0xa5, 0x1b, 0x45, 0xd8, 0xd6, 0x35, 0xba, 0x57, 0xc6, 0x09, + 0x83, 0xc1, 0xa0, 0xef, 0x63, 0x0c, 0x0a, 0x83, 0xfd, 0x3f, 0x7d, 0x2c, 0x7b, 0x1a, 0x7b, 0x28, + 0x23, 0xfd, 0x07, 0xc6, 0xfe, 0x82, 0xa1, 0x73, 0xaf, 0x15, 0xcb, 0xbf, 0xe3, 0x32, 0xf6, 0x62, + 0xeb, 0x1e, 0x9f, 0xcf, 0xb9, 0xe7, 0xf7, 0x39, 0x16, 0xac, 0x9d, 0x10, 0x6e, 0xd9, 0x47, 0x96, + 0xe7, 0x6f, 0xe0, 0x13, 0x0d, 0xc8, 0x86, 0x1d, 0x50, 0xc6, 0x04, 0x8d, 0x37, 0x0a, 0xb5, 0x80, + 0x72, 0xaa, 0x2e, 0xc7, 0x7c, 0x85, 0x26, 0x5f, 0xe1, 0x8c, 0x4f, 0x9b, 0x77, 0xa9, 0x4b, 0x91, + 0x73, 0x23, 0x7a, 0x12, 0x20, 0xed, 0xfd, 0x2e,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xf7, 0xb7, 0xf9, 0xb1, 0x6f, 0x6f, 0xb7, 0x6c, 0x1b, 0x91, 0xd8, 0x9b, 0x6d, + 0xef, 0xac, 0x1a, 0x89, 0xd7, 0x6c, 0xd1, 0xf2, 0x51, 0x4a, 0xe1, 0x5b, 0xab, 0x3b, 0xff, 0x04, + 0x00, 0x00, 0xff, 0xff, 0x6a, 0x94, 0x81, 0x5f, 0x94, 0x13, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1903,7 +1905,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "crosschain/tx.proto", + Metadata: "zetachain/zetacore/crosschain/tx.proto", } func (m *MsgMigrateTssFunds) Marshal() (dAtA []byte, err error) { diff --git a/x/emissions/keeper/keeper.go b/x/emissions/keeper/keeper.go index 6667fa8de5..14ffc42f6a 100644 --- a/x/emissions/keeper/keeper.go +++ b/x/emissions/keeper/keeper.go @@ -3,8 +3,9 @@ package keeper import ( "fmt" + "github.com/cometbft/cometbft/libs/log" + storetypes "github.com/cosmos/cosmos-sdk/store/types" - "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/x/emissions/types" "github.com/cosmos/cosmos-sdk/codec" diff --git a/x/emissions/module.go b/x/emissions/module.go index 172a79052f..6d8375f7ec 100644 --- a/x/emissions/module.go +++ b/x/emissions/module.go @@ -13,7 +13,7 @@ import ( "github.com/zeta-chain/zetacore/x/emissions/keeper" "github.com/zeta-chain/zetacore/x/emissions/types" - abci "github.com/tendermint/tendermint/abci/types" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" @@ -124,19 +124,6 @@ func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the emissions module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.Route{} -} - -// QuerierRoute returns the emissions module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } - -// LegacyQuerierHandler returns the emissions module's Querier. -func (am AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier { - return nil -} - // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. func (am AppModule) RegisterServices(cfg module.Configurator) { diff --git a/x/emissions/types/events.pb.go b/x/emissions/types/events.pb.go index 201211e96f..20833b4f64 100644 --- a/x/emissions/types/events.pb.go +++ b/x/emissions/types/events.pb.go @@ -1,17 +1,16 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: emissions/events.proto +// source: zetachain/zetacore/emissions/events.proto package types import ( fmt "fmt" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" 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" ) // Reference imports to suppress errors if they are not otherwise used. @@ -47,7 +46,7 @@ func (x EmissionType) String() string { } func (EmissionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ff510015c00ef7ae, []int{0} + return fileDescriptor_75c76a0f1b5b68e9, []int{0} } type ObserverEmission struct { @@ -60,7 +59,7 @@ func (m *ObserverEmission) Reset() { *m = ObserverEmission{} } func (m *ObserverEmission) String() string { return proto.CompactTextString(m) } func (*ObserverEmission) ProtoMessage() {} func (*ObserverEmission) Descriptor() ([]byte, []int) { - return fileDescriptor_ff510015c00ef7ae, []int{0} + return fileDescriptor_75c76a0f1b5b68e9, []int{0} } func (m *ObserverEmission) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -112,7 +111,7 @@ func (m *EventObserverEmissions) Reset() { *m = EventObserverEmissions{} func (m *EventObserverEmissions) String() string { return proto.CompactTextString(m) } func (*EventObserverEmissions) ProtoMessage() {} func (*EventObserverEmissions) Descriptor() ([]byte, []int) { - return fileDescriptor_ff510015c00ef7ae, []int{1} + return fileDescriptor_75c76a0f1b5b68e9, []int{1} } func (m *EventObserverEmissions) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -169,7 +168,7 @@ func (m *EventBlockEmissions) Reset() { *m = EventBlockEmissions{} } func (m *EventBlockEmissions) String() string { return proto.CompactTextString(m) } func (*EventBlockEmissions) ProtoMessage() {} func (*EventBlockEmissions) Descriptor() ([]byte, []int) { - return fileDescriptor_ff510015c00ef7ae, []int{2} + return fileDescriptor_75c76a0f1b5b68e9, []int{2} } func (m *EventBlockEmissions) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -254,41 +253,43 @@ func init() { proto.RegisterType((*EventBlockEmissions)(nil), "zetachain.zetacore.emissions.EventBlockEmissions") } -func init() { proto.RegisterFile("emissions/events.proto", fileDescriptor_ff510015c00ef7ae) } +func init() { + proto.RegisterFile("zetachain/zetacore/emissions/events.proto", fileDescriptor_75c76a0f1b5b68e9) +} -var fileDescriptor_ff510015c00ef7ae = []byte{ - // 494 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xc1, 0x6e, 0xd3, 0x40, - 0x10, 0x86, 0xbd, 0x69, 0x9b, 0x2a, 0x93, 0xd0, 0x46, 0x0b, 0x14, 0x2b, 0x20, 0x27, 0xca, 0x01, - 0x42, 0x45, 0x6d, 0x28, 0x47, 0xc4, 0x81, 0x48, 0x8d, 0x04, 0x42, 0xaa, 0x64, 0xe0, 0xc2, 0xc5, - 0x5a, 0xdb, 0x5b, 0xc7, 0xaa, 0xed, 0x8d, 0x76, 0x36, 0x81, 0xf2, 0x04, 0x1c, 0x79, 0x08, 0x0e, - 0x3c, 0x4a, 0x8f, 0x3d, 0x21, 0xe0, 0x50, 0xa1, 0xe4, 0x45, 0x90, 0x37, 0x76, 0x12, 0x05, 0x14, - 0x89, 0x53, 0x36, 0xbf, 0xbe, 0xdf, 0x33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 0x66, 0x19, 0x3f, 0x66, 0x96, 0xf1, 0xfe, 0xf1, 0xca, 0x7a, 0xe5, 0xe3, 0x3d, 0xd2, - 0x93, 0x76, 0xca, 0x49, 0x3b, 0x1f, 0x9d, 0xe5, 0xa3, 0xd3, 0xcb, 0xe6, 0x57, 0xf5, 0x03, 0x7a, - 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0xa4, 0x8d, 0x2d, 0x0d, 0x8e, 0x03, 0x00, 0x00, +var fileDescriptor_75c76a0f1b5b68e9 = []byte{ + // 496 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xcf, 0x6e, 0xd3, 0x40, + 0x10, 0xc6, 0xb3, 0x69, 0x9b, 0x2a, 0x93, 0xd0, 0x46, 0xcb, 0x3f, 0x2b, 0x20, 0x27, 0xca, 0x01, + 0xd2, 0x8a, 0xda, 0x50, 0x8e, 0x88, 0x03, 0x91, 0x1a, 0x09, 0x84, 0x54, 0xc9, 0xc0, 0x85, 0x8b, + 0xb5, 0xb6, 0xb7, 0x8e, 0x55, 0xdb, 0x1b, 0xed, 0x6c, 0x02, 0xe5, 0x09, 0x38, 0xf2, 0x10, 0x1c, + 0x78, 0x94, 0x1e, 0x7b, 0x42, 0xc0, 0xa1, 0x42, 0xc9, 0x8b, 0x20, 0x6f, 0x6c, 0x37, 0x32, 0xa8, + 0x12, 0xa7, 0x6c, 0x3e, 0xfd, 0x3e, 0xcf, 0x7c, 0xbb, 0x33, 0xb0, 0xf7, 0x89, 0x2b, 0xe6, 0x4f, + 0x58, 0x94, 0xda, 0xfa, 0x24, 0x24, 0xb7, 0x79, 0x12, 0x21, 0x46, 0x22, 0x45, 0x9b, 0xcf, 0x79, + 0xaa, 0xd0, 0x9a, 0x4a, 0xa1, 0x04, 0xbd, 0x5f, 0xa2, 0x56, 0x81, 0x5a, 0x25, 0xda, 0xbd, 0x15, + 0x8a, 0x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1, 0x03, 0x00, 0x00, } func (m *ObserverEmission) Marshal() (dAtA []byte, err error) { diff --git a/x/emissions/types/genesis.pb.go b/x/emissions/types/genesis.pb.go index 829652fc8c..01bcdc6621 100644 --- a/x/emissions/types/genesis.pb.go +++ b/x/emissions/types/genesis.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: emissions/genesis.proto +// source: zetachain/zetacore/emissions/genesis.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -34,7 +33,7 @@ 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_e8737d2c94e4152f, []int{0} + return fileDescriptor_0951e5011ea80b97, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -81,26 +80,28 @@ func init() { proto.RegisterType((*GenesisState)(nil), "zetachain.zetacore.emissions.GenesisState") } -func init() { proto.RegisterFile("emissions/genesis.proto", fileDescriptor_e8737d2c94e4152f) } +func init() { + proto.RegisterFile("zetachain/zetacore/emissions/genesis.proto", fileDescriptor_0951e5011ea80b97) +} -var fileDescriptor_e8737d2c94e4152f = []byte{ - // 248 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4f, 0xcd, 0xcd, 0x2c, - 0x2e, 0xce, 0xcc, 0xcf, 0x2b, 0xd6, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0x92, 0xa9, 0x4a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d, 0x44, 0xf0, - 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x03, 0xc6, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, - 0x0c, 0xa5, 0xaf, 0x46, 0xa7, 0x01, 0x00, 0x00, +var fileDescriptor_0951e5011ea80b97 = []byte{ + // 250 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xaa, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x53, 0x73, 0x33, 0x8b, + 0x8b, 0x33, 0xf3, 0xf3, 0x8a, 0xf5, 0xd3, 0x53, 0xf3, 0x52, 0x8b, 0x33, 0x8b, 0xf5, 0x0a, 0x8a, + 0xf2, 0x4b, 0xf2, 0x85, 0x64, 0xe0, 0x6a, 0xf5, 0x60, 0x6a, 0xf5, 0xe0, 0x6a, 0xa5, 0x34, 0xf1, + 0x9a, 0x54, 0x90, 0x58, 0x94, 0x98, 0x0b, 0x35, 0x48, 0xca, 0x12, 0xaf, 0xd2, 0xf2, 0xcc, 0x92, + 0x8c, 0x94, 0xa2, 0xc4, 0xf2, 0xc4, 0xa4, 0x9c, 0xd4, 0x78, 0xb8, 0x30, 0x54, 0xab, 0x48, 0x7a, + 0x7e, 0x7a, 0x3e, 0x98, 0xa9, 0x0f, 0x62, 0x41, 0x44, 0x95, 0x0e, 0x33, 0x72, 0xf1, 0xb8, 0x43, + 0xdc, 0x1a, 0x5c, 0x92, 0x58, 0x92, 0x2a, 0xe4, 0xc4, 0xc5, 0x06, 0xb1, 0x51, 0x82, 0x51, 0x81, + 0x51, 0x83, 0xdb, 0x48, 0x45, 0x0f, 0x9f, 0xdb, 0xf5, 0x02, 0xc0, 0x6a, 0x9d, 0x58, 0x4e, 0xdc, + 0x93, 0x67, 0x08, 0x82, 0xea, 0x14, 0xca, 0xe7, 0x12, 0x45, 0x76, 0x8a, 0x2b, 0x4c, 0xb5, 0x04, + 0x93, 0x02, 0xb3, 0x06, 0xb7, 0x91, 0x31, 0x7e, 0x23, 0xc3, 0xb1, 0x69, 0x85, 0xda, 0x80, 0xdd, + 0x5c, 0x27, 0xaf, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, + 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x48, 0xcf, + 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0x05, 0x87, 0x98, 0x2e, 0x5a, 0xe0, 0x55, 0x20, + 0x05, 0x5f, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0x60, 0x8c, 0x01, 0x01, 0x00, 0x00, + 0xff, 0xff, 0x2b, 0xcc, 0x87, 0x1c, 0xe0, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/emissions/types/message_update_params_test.go b/x/emissions/types/message_update_params_test.go index de17065dea..734cd14039 100644 --- a/x/emissions/types/message_update_params_test.go +++ b/x/emissions/types/message_update_params_test.go @@ -20,6 +20,17 @@ func TestMsgUpdateParams_ValidateBasic(t *testing.T) { require.ErrorIs(t, err, sdkerrors.ErrInvalidAddress) }) + t.Run("invalid if params are invalid", func(t *testing.T) { + params := types.NewParams() + params.MaxBondFactor = "1.50" + msg := types.MsgUpdateParams{ + Authority: sample.AccAddress(), + Params: params, + } + err := msg.ValidateBasic() + require.ErrorContains(t, err, "max bond factor cannot be higher that 1.25") + }) + t.Run("valid", func(t *testing.T) { msg := types.MsgUpdateParams{ Authority: sample.AccAddress(), diff --git a/x/emissions/types/params.go b/x/emissions/types/params.go index 1e2fb1752a..23899a4d5c 100644 --- a/x/emissions/types/params.go +++ b/x/emissions/types/params.go @@ -32,36 +32,28 @@ func DefaultParams() Params { // Validate validates the set of params func (p Params) Validate() error { - err := validateMaxBondFactor(p.MaxBondFactor) - if err != nil { + if err := validateMaxBondFactor(p.MaxBondFactor); err != nil { return err } - err = validateMinBondFactor(p.MinBondFactor) - if err != nil { + if err := validateMinBondFactor(p.MinBondFactor); err != nil { return err } - err = validateAvgBlockTime(p.AvgBlockTime) - if err != nil { + if err := validateAvgBlockTime(p.AvgBlockTime); err != nil { return err } - err = validateTargetBondRatio(p.TargetBondRatio) - if err != nil { + if err := validateTargetBondRatio(p.TargetBondRatio); err != nil { return err } - err = validateValidatorEmissionPercentage(p.ValidatorEmissionPercentage) - if err != nil { + if err := validateValidatorEmissionPercentage(p.ValidatorEmissionPercentage); err != nil { return err } - err = validateObserverEmissionPercentage(p.ObserverEmissionPercentage) - if err != nil { + if err := validateObserverEmissionPercentage(p.ObserverEmissionPercentage); err != nil { return err } - err = validateTssEmissionPercentage(p.TssSignerEmissionPercentage) - if err != nil { + if err := validateTssEmissionPercentage(p.TssSignerEmissionPercentage); err != nil { return err } - err = validateBallotMaturityBlocks(p.BallotMaturityBlocks) - if err != nil { + if err := validateBallotMaturityBlocks(p.BallotMaturityBlocks); err != nil { return err } return validateObserverSlashAmount(p.ObserverSlashAmount) diff --git a/x/emissions/types/params.pb.go b/x/emissions/types/params.pb.go index 298dc79799..f447130f2d 100644 --- a/x/emissions/types/params.pb.go +++ b/x/emissions/types/params.pb.go @@ -1,17 +1,16 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: emissions/params.proto +// source: zetachain/zetacore/emissions/params.proto package types import ( fmt "fmt" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" 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" ) // Reference imports to suppress errors if they are not otherwise used. @@ -42,7 +41,7 @@ type Params struct { func (m *Params) Reset() { *m = Params{} } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_74b1fd2414ebb64a, []int{0} + return fileDescriptor_259272924aec0acf, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -138,39 +137,41 @@ func init() { proto.RegisterType((*Params)(nil), "zetachain.zetacore.emissions.Params") } -func init() { proto.RegisterFile("emissions/params.proto", fileDescriptor_74b1fd2414ebb64a) } +func init() { + proto.RegisterFile("zetachain/zetacore/emissions/params.proto", fileDescriptor_259272924aec0acf) +} -var fileDescriptor_74b1fd2414ebb64a = []byte{ - // 461 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x41, 0x6b, 0xd4, 0x40, - 0x14, 0x80, 0x13, 0xbb, 0xae, 0x76, 0x50, 0x8b, 0xb1, 0x2e, 0xa1, 0xd6, 0x6c, 0x11, 0x29, 0x45, - 0x68, 0x22, 0xe8, 0x41, 0x3c, 0x69, 0x8a, 0x82, 0x82, 0x50, 0xb6, 0x9e, 0xbc, 0x0c, 0x93, 0x64, - 0xcc, 0x0e, 0xcd, 0xcc, 0x5b, 0xe6, 0xbd, 0x5d, 0xb6, 0xfe, 0x0a, 0x8f, 0x1e, 0xfd, 0x39, 0xbd, - 0xd9, 0xa3, 0x78, 0x28, 0xb2, 0xfb, 0x47, 0x24, 0x93, 0x64, 0xad, 0xb0, 0x9e, 0x66, 0x78, 0xef, - 0x7b, 0x1f, 0xef, 0xcd, 0x3c, 0x36, 0x90, 0x5a, 0x21, 0x2a, 0x30, 0x98, 0x4c, 0x84, 0x15, 0x1a, - 0xe3, 0x89, 0x05, 0x82, 0x60, 0xf7, 0x8b, 0x24, 0x91, 0x8f, 0x85, 0x32,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da, 0x47, 0xe4, 0x39, 0x18, 0x24, 0x61, 0x28, 0xbc, 0xe9, 0xca, 0x07, 0x5d, 0xbe, 0x79, 0xce, - 0xa3, 0x36, 0x1b, 0x64, 0xec, 0xfe, 0x6a, 0x00, 0xac, 0x04, 0x8e, 0xb9, 0xd0, 0x30, 0x35, 0x14, - 0x6e, 0xd6, 0x65, 0x69, 0x7c, 0x7e, 0x39, 0xf4, 0x7e, 0x5d, 0x0e, 0xf7, 0x4b, 0x45, 0xe3, 0x69, - 0x16, 0xe7, 0xa0, 0x93, 0x1c, 0x50, 0x03, 0xb6, 0xc7, 0x21, 0x16, 0xa7, 0x09, 0x9d, 0x4d, 0x24, - 0xc6, 0xef, 0x0c, 0x8d, 0xee, 0x75, 0xb2, 0x93, 0xda, 0xf5, 0xda, 0xa9, 0x82, 0xe7, 0x6c, 0x90, - 0x89, 0xaa, 0x02, 0xe2, 0x5a, 0xd0, 0xd4, 0x2a, 0x3a, 0x6b, 0xbe, 0x11, 0x43, 0xb6, 0xe7, 0x1f, - 0x6c, 0x8c, 0xb6, 0x9b, 0xec, 0x87, 0x36, 0xe9, 0x7e, 0x13, 0x5f, 0xf6, 0xbe, 0x7d, 0x1f, 0x7a, - 0xe9, 0xfb, 0xf3, 0x45, 0xe4, 0x5f, 0x2c, 0x22, 0xff, 0xf7, 0x22, 0xf2, 0xbf, 0x2e, 0x23, 0xef, - 0x62, 0x19, 0x79, 0x3f, 0x97, 0x91, 0xf7, 0xe9, 0xe9, 0x95, 0x96, 0xea, 0x05, 0x3d, 0x74, 0xbb, - 0x9a, 0x74, 0xbb, 0x9a, 0xcc, 0x93, 0xbf, 0x8b, 0xed, 0x1a, 0xcc, 0xfa, 0x6e, 0x49, 0x9f, 0xfd, - 0x09, 0x00, 0x00, 0xff, 0xff, 0xd6, 0xb4, 0x4a, 0x45, 0xf2, 0x02, 0x00, 0x00, +var fileDescriptor_259272924aec0acf = []byte{ + // 464 bytes of a gzipped FileDescriptorProto + 0x1f, 0x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 0x95, 0xeb, + 0x95, 0x53, 0xf9, 0xcf, 0xd8, 0x4e, 0x2a, 0xca, 0x12, 0x88, 0x6b, 0x41, 0x53, 0xab, 0xe8, 0xbc, + 0xfe, 0x46, 0x0c, 0xd8, 0xbe, 0x77, 0xb8, 0x31, 0xda, 0xae, 0xb3, 0xef, 0x9b, 0xa4, 0xfb, 0x4d, + 0x7c, 0xd1, 0xff, 0xfa, 0x6d, 0xd8, 0x4b, 0xde, 0x5d, 0x2c, 0x42, 0xef, 0x72, 0x11, 0x7a, 0xbf, + 0x16, 0xa1, 0xf7, 0x65, 0x19, 0xf6, 0x2e, 0x97, 0x61, 0xef, 0xc7, 0x32, 0xec, 0x7d, 0x7c, 0xb2, + 0xd2, 0x52, 0xb5, 0xa0, 0x47, 0x7f, 0xad, 0xf5, 0x7c, 0x65, 0xb1, 0x5d, 0x83, 0xe9, 0xc0, 0x2d, + 0xe9, 0xd3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x6f, 0x44, 0x4d, 0x05, 0x03, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/emissions/types/params_legacy.go b/x/emissions/types/params_legacy.go index e05ebb6ae9..a98cab6047 100644 --- a/x/emissions/types/params_legacy.go +++ b/x/emissions/types/params_legacy.go @@ -1,3 +1,8 @@ +/* +NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov +controlled execution of MsgUpdateParams messages. These types remains solely +for migration purposes and will be removed in a future release. +*/ package types import paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" @@ -20,9 +25,5 @@ func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs { paramtypes.NewParamSetPair(KeyPrefix(ParamObserverEmissionPercentage), &p.ObserverEmissionPercentage, validateObserverEmissionPercentage), paramtypes.NewParamSetPair(KeyPrefix(ParamTssSignerEmissionPercentage), &p.TssSignerEmissionPercentage, validateTssEmissionPercentage), paramtypes.NewParamSetPair(KeyPrefix(ParamDurationFactorConstant), &p.DurationFactorConstant, validateDurationFactorConstant), - - // TODO: enable this param - // https://github.com/zeta-chain/node/pull/1861 - //paramtypes.NewParamSetPair(KeyPrefix(ParamObserverSlashAmount), &p.ObserverSlashAmount, validateObserverSlashAmount), } } diff --git a/x/emissions/types/query.pb.go b/x/emissions/types/query.pb.go index 1202f7753b..5dd799494a 100644 --- a/x/emissions/types/query.pb.go +++ b/x/emissions/types/query.pb.go @@ -1,23 +1,22 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: emissions/query.proto +// source: zetachain/zetacore/emissions/query.proto package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/gogoproto/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" 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. @@ -39,7 +38,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6e578782beb6ef82, []int{0} + return fileDescriptor_cb9c0dfe78e2fb82, []int{0} } func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -78,7 +77,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6e578782beb6ef82, []int{1} + return fileDescriptor_cb9c0dfe78e2fb82, []int{1} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -121,7 +120,7 @@ func (m *QueryListPoolAddressesRequest) Reset() { *m = QueryListPoolAddr func (m *QueryListPoolAddressesRequest) String() string { return proto.CompactTextString(m) } func (*QueryListPoolAddressesRequest) ProtoMessage() {} func (*QueryListPoolAddressesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6e578782beb6ef82, []int{2} + return fileDescriptor_cb9c0dfe78e2fb82, []int{2} } func (m *QueryListPoolAddressesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -160,7 +159,7 @@ func (m *QueryListPoolAddressesResponse) Reset() { *m = QueryListPoolAdd func (m *QueryListPoolAddressesResponse) String() string { return proto.CompactTextString(m) } func (*QueryListPoolAddressesResponse) ProtoMessage() {} func (*QueryListPoolAddressesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6e578782beb6ef82, []int{3} + return fileDescriptor_cb9c0dfe78e2fb82, []int{3} } func (m *QueryListPoolAddressesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -217,7 +216,7 @@ func (m *QueryGetEmissionsFactorsRequest) Reset() { *m = QueryGetEmissio func (m *QueryGetEmissionsFactorsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetEmissionsFactorsRequest) ProtoMessage() {} func (*QueryGetEmissionsFactorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6e578782beb6ef82, []int{4} + return fileDescriptor_cb9c0dfe78e2fb82, []int{4} } func (m *QueryGetEmissionsFactorsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -256,7 +255,7 @@ func (m *QueryGetEmissionsFactorsResponse) Reset() { *m = QueryGetEmissi func (m *QueryGetEmissionsFactorsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetEmissionsFactorsResponse) ProtoMessage() {} func (*QueryGetEmissionsFactorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6e578782beb6ef82, []int{5} + return fileDescriptor_cb9c0dfe78e2fb82, []int{5} } func (m *QueryGetEmissionsFactorsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -314,7 +313,7 @@ func (m *QueryShowAvailableEmissionsRequest) Reset() { *m = QueryShowAva func (m *QueryShowAvailableEmissionsRequest) String() string { return proto.CompactTextString(m) } func (*QueryShowAvailableEmissionsRequest) ProtoMessage() {} func (*QueryShowAvailableEmissionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6e578782beb6ef82, []int{6} + return fileDescriptor_cb9c0dfe78e2fb82, []int{6} } func (m *QueryShowAvailableEmissionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -358,7 +357,7 @@ func (m *QueryShowAvailableEmissionsResponse) Reset() { *m = QueryShowAv func (m *QueryShowAvailableEmissionsResponse) String() string { return proto.CompactTextString(m) } func (*QueryShowAvailableEmissionsResponse) ProtoMessage() {} func (*QueryShowAvailableEmissionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6e578782beb6ef82, []int{7} + return fileDescriptor_cb9c0dfe78e2fb82, []int{7} } func (m *QueryShowAvailableEmissionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -405,51 +404,54 @@ func init() { proto.RegisterType((*QueryShowAvailableEmissionsResponse)(nil), "zetachain.zetacore.emissions.QueryShowAvailableEmissionsResponse") } -func init() { proto.RegisterFile("emissions/query.proto", fileDescriptor_6e578782beb6ef82) } - -var fileDescriptor_6e578782beb6ef82 = []byte{ - // 654 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4d, 0x6b, 0xd4, 0x40, - 0x18, 0xde, 0x54, 0x5d, 0x71, 0x04, 0xc1, 0x69, 0xad, 0x25, 0xd4, 0x6c, 0x8d, 0x4b, 0x15, 0xb5, - 0x49, 0x3f, 0x40, 0x44, 0x6d, 0x69, 0x17, 0x54, 0xf0, 0x03,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 0xd7, 0xfb, 0xda, - 0x83, 0xbd, 0x03, 0x43, 0xdb, 0x3f, 0x30, 0xb4, 0x5f, 0x07, 0x86, 0xf6, 0xa9, 0x69, 0x94, 0xf6, - 0x9b, 0x46, 0xe9, 0x7b, 0xd3, 0x28, 0xbd, 0x9a, 0xf7, 0x99, 0x68, 0xa4, 0xae, 0x55, 0xe7, 0x61, - 0x3b, 0x7b, 0xae, 0xd4, 0x7e, 0xd3, 0x36, 0x48, 0xec, 0xc4, 0x14, 0xdc, 0xb2, 0xfc, 0x4f, 0x2c, - 0xfd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x6f, 0x3f, 0x0c, 0xd6, 0x06, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/emissions/query.proto", fileDescriptor_cb9c0dfe78e2fb82) +} + +var fileDescriptor_cb9c0dfe78e2fb82 = []byte{ + // 661 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4b, 0x6f, 0xd3, 0x4c, + 0x14, 0x8d, 0xfb, 0x7d, 0x04, 0x31, 0x48, 0x48, 0x4c, 0x4b, 0xa9, 0xac, 0xe2, 0x14, 0x13, 0x95, + 0xf2, 0xa8, 0xdd, 0x87, 0x84, 0x10, 0xd0, 0xaa, 0x8d, 0x04, 0x48, 0x3c, 0x44, 0x29, 0xb0, 0x80, + 0x8d, 0x35, 0x8e, 0x07, 0x67, 0x24, 0xdb, 0xe3, 0xfa, 0x8e, 0x5b, 0x0a, 0x62, 0xc3, 0x92, 0x15, + 0xa2, 0x7f, 0x87, 0x1f, 0x50, 0x76, 0x95, 0xd8, 0xb0, 0x02, 0xd4, 0xf0, 0x33, 0x58, 0xa0, 0x8c, + 0xc7, 0x26, 0x6f, 0x85, 0xb2, 0x9b, 0xc7, 0x39, 0xe7, 0x9e, 0x73, 0x7d, 0x47, 0x46, 0x73, 0xaf, + 0xa9, 0x20, 0xf5, 0x06, 0x61, 0x91, 0x2d, 0x57, 0x3c, 0xa1, 0x36, 0x0d, 0x19, 0x00, 0xe3, 0x11, + 0xd8, 0x5b, 0x29, 0x4d, 0x76, 0xad, 0x38, 0xe1, 0x82, 0xe3, 0xe9, 0x02, 0x69, 0xe5, 0x48, 0xab, + 0x40, 0xea, 0x97, 0xeb, 0x1c, 0x42, 0x0e, 0xb6, 0x4b, 0x80, 0x66, 0x34, 0x7b, 0x7b, 0xd1, 0xa5, + 0x82, 0x2c, 0xda, 0x31, 0xf1, 0x59, 0x44, 0x04, 0xe3, 0x51, 0xa6, 0xa4, 0x5f, 0x1a, 0x5a, 0x33, + 0x26, 0x09, 0x09, 0x41, 0x41, 0x27, 0x7c, 0xee, 0x73, 0xb9, 0xb4, 0x5b, 0x2b, 0x75, 0x3a, 0xed, + 0x73, 0xee, 0x07, 0xd4, 0x26, 0x31, 0xb3, 0x49, 0x14, 0x71, 0x21, 0xd5, 0x15, 0xc7, 0x9c, 0x40, + 0xf8, 0x71, 0xcb, 0xc0, 0x86, 0x14, 0xda, 0xa4, 0x5b, 0x29, 0x05, 0x61, 0x3e, 0x47, 0xe3, 0x1d, + 0xa7, 0x10, 0xf3, 0x08, 0x28, 0xae, 0xa1, 0x72, 0x56, 0x70, 0x4a, 0x9b, 0xd1, 0xe6, 0x4e, 0x2e, + 0x55, 0xad, 0x61, 0x31, 0xad, 0x8c, 0x5d, 0xfb, 0x7f, 0xff, 0x5b, 0xa5, 0xb4, 0xa9, 0x98, 0x66, + 0x05, 0x9d, 0x93, 0xd2, 0x0f, 0x18, 0x88, 0x0d, 0xce, 0x83, 0x75, 0xcf, 0x4b, 0x28, 0x00, 0x2d, + 0x6a, 0xff, 0xd2, 0x90, 0x31, 0x08, 0xa1, 0x7c, 0x3c, 0x43, 0x17, 0xd3, 0xc8, 0x63, 0x20, 0x12, + 0xe6, 0xa6, 0x82, 0x7a, 0x0e, 0x77, 0x81, 0x26, 0xdb, 0x34, 0x71, 0x5c, 0x12, 0x90, 0xa8, 0x4e, + 0xc1, 0x21, 0x19, 0x49, 0x1a, 0x3d, 0xb1, 0x59, 0xed, 0x80, 0x3f, 0x52, 0xe8, 0x9a, 0x02, 0xab, + 0x02, 0xf8, 0x3e, 0x32, 0x3b, 0x65, 0x05, 0x40, 0xaf, 0xe2, 0x98, 0x54, 0xac, 0x74, 0x20, 0x9f, + 0x02, 0x74, 0x8b, 0x5d, 0x43, 0x67, 0xf3, 0x4e, 0x38, 0x21, 0xf7, 0xd2, 0x80, 0x16, 0x0a, 0xff, + 0x49, 0x85, 0x33, 0xf9, 0xf5, 0x43, 0x79, 0xab, 0x78, 0xe6, 0x79, 0x54, 0x91, 0xe9, 0xef, 0x52, + 0x71, 0x3b, 0xef, 0xe4, 0x1d, 0x52, 0x17, 0x3c, 0x29, 0x3a, 0xf4, 0x51, 0x43, 0x33, 0x83, 0x31, + 0xaa, 0x47, 0xb3, 0xe8, 0x54, 0x42, 0x65, 0x4e, 0x75, 0xa5, 0x5a, 0xd1, 0x75, 0x8a, 0x0d, 0x84, + 0x5c, 0x1e, 0x79, 0x0a, 0x93, 0x85, 0x6b, 0x3b, 0x69, 0xe9, 0x78, 0x69, 0x22, 0x67, 0x46, 0x61, + 0x32, 0xfb, 0x5d, 0xa7, 0xe6, 0x2a, 0x32, 0xa5, 0xa7, 0x27, 0x0d, 0xbe, 0xb3, 0xbe, 0x4d, 0x58, + 0x40, 0xdc, 0x80, 0x16, 0xee, 0x94, 0x75, 0x3c, 0x85, 0x8e, 0x77, 0x7e, 0x99, 0x7c, 0x6b, 0xae, + 0xa0, 0x0b, 0x43, 0xf9, 0x2a, 0xd6, 0x24, 0x2a, 0x93, 0x90, 0xa7, 0x91, 0x50, 0x7c, 0xb5, 0x5b, + 0x7a, 0x5f, 0x46, 0xc7, 0x24, 0x1f, 0xef, 0x69, 0xa8, 0x9c, 0x4d, 0x1e, 0x5e, 0x18, 0x3e, 0x9f, + 0xbd, 0x83, 0xaf, 0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c, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x47, 0x4f, 0xee, + 0x4e, 0xfc, 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -645,7 +647,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "emissions/query.proto", + Metadata: "zetachain/zetacore/emissions/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/emissions/types/query.pb.gw.go b/x/emissions/types/query.pb.gw.go index c4303810a5..05b5ad7f8b 100644 --- a/x/emissions/types/query.pb.gw.go +++ b/x/emissions/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: emissions/query.proto +// source: zetachain/zetacore/emissions/query.proto /* Package types is a reverse proxy. diff --git a/x/emissions/types/tx.pb.go b/x/emissions/types/tx.pb.go index b4a21c4664..53ecb580ff 100644 --- a/x/emissions/types/tx.pb.go +++ b/x/emissions/types/tx.pb.go @@ -1,22 +1,21 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: emissions/tx.proto +// source: zetachain/zetacore/emissions/tx.proto 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" _ "github.com/cosmos/gogoproto/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/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. @@ -39,7 +38,7 @@ func (m *MsgWithdrawEmission) Reset() { *m = MsgWithdrawEmission{} } func (m *MsgWithdrawEmission) String() string { return proto.CompactTextString(m) } func (*MsgWithdrawEmission) ProtoMessage() {} func (*MsgWithdrawEmission) Descriptor() ([]byte, []int) { - return fileDescriptor_618f91fd090d1520, []int{0} + return fileDescriptor_fa84fc8dd79e3cdb, []int{0} } func (m *MsgWithdrawEmission) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -82,7 +81,7 @@ func (m *MsgWithdrawEmissionResponse) Reset() { *m = MsgWithdrawEmission func (m *MsgWithdrawEmissionResponse) String() string { return proto.CompactTextString(m) } func (*MsgWithdrawEmissionResponse) ProtoMessage() {} func (*MsgWithdrawEmissionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_618f91fd090d1520, []int{1} + return fileDescriptor_fa84fc8dd79e3cdb, []int{1} } func (m *MsgWithdrawEmissionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -120,7 +119,7 @@ func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParams) ProtoMessage() {} func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return fileDescriptor_618f91fd090d1520, []int{2} + return fileDescriptor_fa84fc8dd79e3cdb, []int{2} } func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -170,7 +169,7 @@ func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParamsResponse) ProtoMessage() {} func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_618f91fd090d1520, []int{3} + return fileDescriptor_fa84fc8dd79e3cdb, []int{3} } func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -206,33 +205,35 @@ func init() { proto.RegisterType((*MsgUpdateParamsResponse)(nil), "zetachain.zetacore.emissions.MsgUpdateParamsResponse") } -func init() { proto.RegisterFile("emissions/tx.proto", fileDescriptor_618f91fd090d1520) } - -var fileDescriptor_618f91fd090d1520 = []byte{ - // 365 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x4f, 0x4b, 0xeb, 0x40, - 0x10, 0x4f, 0xde, 0x7b, 0xf4, 0xd1, 0x55, 0x50, 0x56, 0xd1, 0x1a, 0x6b, 0x2a, 0x41, 0xc4, 0x4b, - 0x77, 0xb5, 0xe2, 0xc1, 0x6b, 0x40, 0x41, 0xa1, 0x20, 0x01, 0x11, 0xbc, 0x6d, 0xd3, 0x25, 0x09, - 0x92, 0x6c, 0xd8, 0xd9, 0xd2, 0xd6, 0x93, 0x1f, 0xc1, 0x8f, 0xd5, 0x63, 0x8f, 0xe2, 0xa1, 0x48, - 0xfb, 0x3d, 0x44, 0xf2, 0xcf, 0xd6, 0x2a, 0x95, 0x9e, 0x76, 0x76, 0x76, 0x7e, 0x7f, 0x66, 0x67, - 0x10, 0xe6, 0x61, 0x00, 0x10, 0x88, 0x08, 0xa8, 0xea, 0x91, 0x58, 0x0a, 0x25, 0x70, 0xf5, 0x91, - 0x2b, 0xe6, 0xfa, 0x2c, 0x88, 0x48, 0x1a, 0x09, 0xc9, 0xc9, 0x67, 0x99, 0xb1, 0x35, 0x45, 0xc4, - 0x4c, 0xb2, 0x10, 0x32, 0x94, 0xb1, 0xe9, 0x09, 0x4f, 0xa4, 0x21, 0x4d, 0xa2, 0x2c, 0x6b, 0x75, - 0xd1, 0x46, 0x13, 0xbc, 0xbb, 0x40, 0xf9, 0x6d, 0xc9, 0xba, 0x17, 0x39, 0x14, 0x57, 0xd0, 0x7f, - 0x57, 0x72, 0xa6, 0x84, 0xac, 0xe8, 0xfb, 0xfa, 0x51, 0xd9, 0x29, 0xae, 0xf8, 0x12, 0x95, 0x58, - 0x28, 0x3a, 0x91, 0xaa, 0xfc, 0x49, 0x1e, 0x6c, 0x32, 0x18, 0xd5, 0xb4, 0xd7, 0x51, 0xed, 0xd0, - 0x0b, 0x94, 0xdf, 0x69, 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x02, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/emissions/tx.proto", fileDescriptor_fa84fc8dd79e3cdb) +} + +var fileDescriptor_fa84fc8dd79e3cdb = []byte{ + // 366 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0xcb, 0x4a, 0xf3, 0x40, + 0x14, 0x4e, 0xfe, 0x5f, 0x2a, 0x1d, 0x05, 0x65, 0x14, 0xac, 0xb1, 0xa6, 0x12, 0x54, 0x74, 0xd1, + 0x89, 0x56, 0x5c, 0xb8, 0x0d, 0x28, 0x28, 0x14, 0x24, 0x20, 0x82, 0xbb, 0x69, 0x3a, 0x24, 0x41, + 0x92, 0x09, 0x73, 0xa6, 0xb4, 0x75, 0xe5, 0x23, 0xf8, 0x58, 0x5d, 0x76, 0x29, 0x2e, 0x8a, 0xb4, + 0xef, 0x21, 0x92, 0x5b, 0xad, 0x51, 0x2a, 0x5d, 0xe5, 0x64, 0xf2, 0xdd, 0x26, 0xe7, 0x43, 0x07, + 0x4f, 0x4c, 0x52, 0xc7, 0xa3, 0x7e, 0x68, 0x26, 0x13, 0x17, 0xcc, 0x64, 0x81, 0x0f, 0xe0, 0xf3, + 0x10, 0x4c, 0xd9, 0x23, 0x91, 0xe0, 0x92, 0xe3, 0xea, 0x14, 0x46, 0x72, 0x18, 0x99, 0xc2, 0xb4, + 0xe3, 0xb9, 0x22, 0x11, 0x15, 0x34, 0x80, 0x54, 0x48, 0xdb, 0x74, 0xb9, 0xcb, 0x93, 0xd1, 0x8c, + 0xa7, 0xf4, 0xd4, 0xe8, 0xa2, 0x8d, 0x26, 0xb8, 0xf7, 0xbe, 0xf4, 0xda, 0x82, 0x76, 0x2f, 0x33, + 0x2a, 0xae, 0xa0, 0x65, 0x47, 0x30, 0x2a, 0xb9, 0xa8, 0xa8, 0x7b, 0xea, 0x51, 0xd9, 0xce, 0x5f, + 0xf1, 0x15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b, 0xeb, 0xb8, 0x07, 0xad, 0x52, 0xd2, 0xbd, 0xb3, + 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6d, 0x6d, 0x2d, 0x1c, 0x03, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -348,7 +349,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "emissions/tx.proto", + Metadata: "zetachain/zetacore/emissions/tx.proto", } func (m *MsgWithdrawEmission) Marshal() (dAtA []byte, err error) { diff --git a/x/emissions/types/withdrawable_emissions.pb.go b/x/emissions/types/withdrawable_emissions.pb.go index b1e0f07e4f..314af20308 100644 --- a/x/emissions/types/withdrawable_emissions.pb.go +++ b/x/emissions/types/withdrawable_emissions.pb.go @@ -1,17 +1,16 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: emissions/withdrawable_emissions.proto +// source: zetachain/zetacore/emissions/withdrawable_emissions.proto package types import ( fmt "fmt" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" 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" ) // Reference imports to suppress errors if they are not otherwise used. @@ -34,7 +33,7 @@ func (m *WithdrawableEmissions) Reset() { *m = WithdrawableEmissions{} } func (m *WithdrawableEmissions) String() string { return proto.CompactTextString(m) } func (*WithdrawableEmissions) ProtoMessage() {} func (*WithdrawableEmissions) Descriptor() ([]byte, []int) { - return fileDescriptor_56e0acf72be654f9, []int{0} + return fileDescriptor_bad7724b364d6473, []int{0} } func (m *WithdrawableEmissions) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -75,26 +74,26 @@ func init() { } func init() { - proto.RegisterFile("emissions/withdrawable_emissions.proto", fileDescriptor_56e0acf72be654f9) + proto.RegisterFile("zetachain/zetacore/emissions/withdrawable_emissions.proto", fileDescriptor_bad7724b364d6473) } -var fileDescriptor_56e0acf72be654f9 = []byte{ - // 233 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4b, 0xcd, 0xcd, 0x2c, - 0x2e, 0xce, 0xcc, 0xcf, 0x2b, 0xd6, 0x2f, 0xcf, 0x2c, 0xc9, 0x48, 0x29, 0x4a, 0x2c, 0x4f, 0x4c, - 0xca, 0x49, 0x8d, 0x87, 0x0b, 0xeb, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0xc9, 0x54, 0xa5, 0x96, - 0x24, 0x26, 0x67, 0x24, 0x66, 0xe6, 0xe9, 0x81, 0x59, 0xf9, 0x45, 0xa9, 0x7a, 0x70, 0x35, 0x52, - 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0x85, 0xfa, 0x20, 0x16, 0x44, 0x8f, 0x52, 0x25, 0x97, 0x68, - 0x38, 0x92, 0x99, 0xae, 0x30, 0xe5, 0x42, 0x12, 0x5c, 0xec, 0x89, 0x29, 0x29, 0x45, 0xa9, 0xc5, - 0xc5, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x30, 0xae, 0x90, 0x1b, 0x17, 0x5b, 0x62, 0x6e, - 0x7e, 0x69, 0x5e, 0x89, 0x04, 0x13, 0x48, 0xc2, 0x49, 0xef, 0xc4, 0x3d, 0x79, 0x86, 0x5b, 0xf7, - 0xe4, 0xd5, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x93, 0xf3, 0x8b, - 0x73, 0xf3, 0x8b, 0xa1, 0x94, 0x6e, 0x71, 0x4a, 0xb6, 0x7e, 0x49, 0x65, 0x41, 0x6a, 0xb1, 0x9e, - 0x67, 0x5e, 0x49, 0x10, 0x54, 0xb7, 0x93, 0xd7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, - 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, - 0x31, 0x44, 0x19, 0x20, 0x99, 0x04, 0xf2, 0x89, 0x2e, 0xd8, 0x53, 0xfa, 0x30, 0x4f, 0xe9, 0x57, - 0xe8, 0x23, 0x42, 0x04, 0x6c, 0x6e, 0x12, 0x1b, 0xd8, 0x37, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x99, 0xf1, 0xaf, 0x2c, 0x2b, 0x01, 0x00, 0x00, +var fileDescriptor_bad7724b364d6473 = []byte{ + // 234 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0xac, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x53, 0x73, 0x33, 0x8b, + 0x8b, 0x33, 0xf3, 0xf3, 0x8a, 0xf5, 0xcb, 0x33, 0x4b, 0x32, 0x52, 0x8a, 0x12, 0xcb, 0x13, 0x93, + 0x72, 0x52, 0xe3, 0xe1, 0xc2, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x32, 0x70, 0xad, 0x7a, + 0x30, 0xad, 0x7a, 0x70, 0x35, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0x85, 0xfa, 0x20, 0x16, + 0x44, 0x8f, 0x52, 0x25, 0x97, 0x68, 0x38, 0x92, 0x99, 0xae, 0x30, 0xe5, 0x42, 0x12, 0x5c, 0xec, + 0x89, 0x29, 0x29, 0x45, 0xa9, 0xc5, 0xc5, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x30, 0xae, + 0x90, 0x1b, 0x17, 0x5b, 0x62, 0x6e, 0x7e, 0x69, 0x5e, 0x89, 0x04, 0x13, 0x48, 0xc2, 0x49, 0xef, + 0xc4, 0x3d, 0x79, 0x86, 0x5b, 0xf7, 0xe4, 0xd5, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, + 0xf3, 0x73, 0xf5, 0x93, 0xf3, 0x8b, 0x73, 0xf3, 0x8b, 0xa1, 0x94, 0x6e, 0x71, 0x4a, 0xb6, 0x7e, + 0x49, 0x65, 0x41, 0x6a, 0xb1, 0x9e, 0x67, 0x5e, 0x49, 0x10, 0x54, 0xb7, 0x93, 0xd7, 0x89, 0x47, + 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, + 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x19, 0x20, 0x99, 0x04, 0xf2, 0x89, 0x2e, 0x5a, + 0x78, 0x54, 0x20, 0x85, 0x08, 0xd8, 0xdc, 0x24, 0x36, 0xb0, 0x6f, 0x8c, 0x01, 0x01, 0x00, 0x00, + 0xff, 0xff, 0x72, 0x96, 0xa7, 0xbf, 0x3e, 0x01, 0x00, 0x00, } func (m *WithdrawableEmissions) Marshal() (dAtA []byte, err error) { diff --git a/x/fungible/keeper/evm.go b/x/fungible/keeper/evm.go index 427849f19c..7576340684 100644 --- a/x/fungible/keeper/evm.go +++ b/x/fungible/keeper/evm.go @@ -9,6 +9,8 @@ import ( "strconv" cosmoserrors "cosmossdk.io/errors" + tmbytes "github.com/cometbft/cometbft/libs/bytes" + tmtypes "github.com/cometbft/cometbft/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/accounts/abi" @@ -18,8 +20,6 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" evmtypes "github.com/evmos/ethermint/x/evm/types" - tmbytes "github.com/tendermint/tendermint/libs/bytes" - tmtypes "github.com/tendermint/tendermint/types" connectorzevm "github.com/zeta-chain/protocol-contracts/pkg/contracts/zevm/connectorzevm.sol" systemcontract "github.com/zeta-chain/protocol-contracts/pkg/contracts/zevm/systemcontract.sol" "github.com/zeta-chain/protocol-contracts/pkg/contracts/zevm/wzeta.sol" diff --git a/x/fungible/keeper/evm_test.go b/x/fungible/keeper/evm_test.go index 753d82e7e6..a79f91ffd2 100644 --- a/x/fungible/keeper/evm_test.go +++ b/x/fungible/keeper/evm_test.go @@ -20,7 +20,6 @@ import ( "github.com/zeta-chain/zetacore/server/config" "github.com/zeta-chain/zetacore/testutil/contracts" keepertest "github.com/zeta-chain/zetacore/testutil/keeper" - testkeeper "github.com/zeta-chain/zetacore/testutil/keeper" "github.com/zeta-chain/zetacore/testutil/sample" fungiblekeeper "github.com/zeta-chain/zetacore/x/fungible/keeper" "github.com/zeta-chain/zetacore/x/fungible/types" @@ -48,7 +47,7 @@ func deploySystemContractsWithMockEvmKeeper( t *testing.T, ctx sdk.Context, k *fungiblekeeper.Keeper, - mockEVMKeeper *testkeeper.FungibleMockEVMKeeper, + mockEVMKeeper *keepertest.FungibleMockEVMKeeper, ) (wzeta, uniswapV2Factory, uniswapV2Router, connector, systemContract common.Address) { mockEVMKeeper.SetupMockEVMKeeperForSystemContractDeployment() return deploySystemContracts(t, ctx, k, mockEVMKeeper) @@ -174,7 +173,7 @@ func assertExampleBarValue( func TestKeeper_DeployZRC20Contract(t *testing.T) { t.Run("should error if chain not found", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) deploySystemContracts(t, ctx, k, sdkk.EvmKeeper) @@ -194,7 +193,7 @@ func TestKeeper_DeployZRC20Contract(t *testing.T) { }) t.Run("should error if system contracts not deployed", func(t *testing.T) { - k, ctx, _, _ := testkeeper.FungibleKeeper(t) + k, ctx, _, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) chainID := getValidChainID(t) @@ -239,7 +238,7 @@ func TestKeeper_DeployZRC20Contract(t *testing.T) { }) t.Run("can deploy the zrc20 contract", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) chainID := getValidChainID(t) @@ -350,7 +349,7 @@ func TestKeeper_DeploySystemContracts(t *testing.T) { }) t.Run("can deploy the system contracts", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) // deploy the system contracts @@ -378,7 +377,7 @@ func TestKeeper_DeploySystemContracts(t *testing.T) { }) t.Run("can deposit into wzeta", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) wzeta, _, _, _, _ := deploySystemContracts(t, ctx, k, sdkk.EvmKeeper) @@ -404,7 +403,7 @@ func TestKeeper_DeploySystemContracts(t *testing.T) { func TestKeeper_DepositZRC20AndCallContract(t *testing.T) { t.Run("should error if system contracts not deployed", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) chainID := getValidChainID(t) @@ -430,7 +429,7 @@ func TestKeeper_DepositZRC20AndCallContract(t *testing.T) { }) t.Run("should deposit and call the contract", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) chainID := getValidChainID(t) @@ -483,7 +482,7 @@ func TestKeeper_DepositZRC20AndCallContract(t *testing.T) { }) t.Run("should return a revert error when the underlying contract call revert", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) chainID := getValidChainID(t) @@ -514,7 +513,7 @@ func TestKeeper_DepositZRC20AndCallContract(t *testing.T) { }) t.Run("should revert if the underlying contract doesn't exist", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) chainID := getValidChainID(t) @@ -539,7 +538,7 @@ func TestKeeper_DepositZRC20AndCallContract(t *testing.T) { func TestKeeper_CallEVMWithData(t *testing.T) { t.Run("should return a revert error when the contract call revert", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) // Deploy example @@ -631,10 +630,10 @@ func TestKeeper_CallEVMWithData(t *testing.T) { }) t.Run("apply new message without gas limit estimates gas", func(t *testing.T) { - k, ctx := testkeeper.FungibleKeeperAllMocks(t) + k, ctx := keepertest.FungibleKeeperAllMocks(t) - mockAuthKeeper := testkeeper.GetFungibleAccountMock(t, k) - mockEVMKeeper := testkeeper.GetFungibleEVMMock(t, k) + mockAuthKeeper := keepertest.GetFungibleAccountMock(t, k) + mockEVMKeeper := keepertest.GetFungibleEVMMock(t, k) // Set up values fromAddr := sample.EthAddress() @@ -687,10 +686,10 @@ func TestKeeper_CallEVMWithData(t *testing.T) { }) t.Run("apply new message with gas limit skip gas estimation", func(t *testing.T) { - k, ctx := testkeeper.FungibleKeeperAllMocks(t) + k, ctx := keepertest.FungibleKeeperAllMocks(t) - mockAuthKeeper := testkeeper.GetFungibleAccountMock(t, k) - mockEVMKeeper := testkeeper.GetFungibleEVMMock(t, k) + mockAuthKeeper := keepertest.GetFungibleAccountMock(t, k) + mockEVMKeeper := keepertest.GetFungibleEVMMock(t, k) // Set up values fromAddr := sample.EthAddress() @@ -731,9 +730,9 @@ func TestKeeper_CallEVMWithData(t *testing.T) { }) t.Run("GetSequence failure returns error", func(t *testing.T) { - k, ctx := testkeeper.FungibleKeeperAllMocks(t) + k, ctx := keepertest.FungibleKeeperAllMocks(t) - mockAuthKeeper := testkeeper.GetFungibleAccountMock(t, k) + mockAuthKeeper := keepertest.GetFungibleAccountMock(t, k) mockAuthKeeper.On("GetSequence", mock.Anything, mock.Anything).Return(uint64(1), sample.ErrSample) // Call the method @@ -752,10 +751,10 @@ func TestKeeper_CallEVMWithData(t *testing.T) { }) t.Run("EstimateGas failure returns error", func(t *testing.T) { - k, ctx := testkeeper.FungibleKeeperAllMocks(t) + k, ctx := keepertest.FungibleKeeperAllMocks(t) - mockAuthKeeper := testkeeper.GetFungibleAccountMock(t, k) - mockEVMKeeper := testkeeper.GetFungibleEVMMock(t, k) + mockAuthKeeper := keepertest.GetFungibleAccountMock(t, k) + mockEVMKeeper := keepertest.GetFungibleEVMMock(t, k) // Set up values fromAddr := sample.EthAddress() @@ -788,10 +787,10 @@ func TestKeeper_CallEVMWithData(t *testing.T) { }) t.Run("ApplyMessage failure returns error", func(t *testing.T) { - k, ctx := testkeeper.FungibleKeeperAllMocks(t) + k, ctx := keepertest.FungibleKeeperAllMocks(t) - mockAuthKeeper := testkeeper.GetFungibleAccountMock(t, k) - mockEVMKeeper := testkeeper.GetFungibleEVMMock(t, k) + mockAuthKeeper := keepertest.GetFungibleAccountMock(t, k) + mockEVMKeeper := keepertest.GetFungibleEVMMock(t, k) // Set up values fromAddr := sample.EthAddress() @@ -837,7 +836,7 @@ func TestKeeper_CallEVMWithData(t *testing.T) { func TestKeeper_DeployContract(t *testing.T) { t.Run("should error if pack ctor args fails", func(t *testing.T) { - k, ctx, _, _ := testkeeper.FungibleKeeper(t) + k, ctx, _, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) addr, err := k.DeployContract(ctx, zrc20.ZRC20MetaData, "") require.ErrorIs(t, err, types.ErrABIGet) @@ -845,7 +844,7 @@ func TestKeeper_DeployContract(t *testing.T) { }) t.Run("should error if metadata bin empty", func(t *testing.T) { - k, ctx, _, _ := testkeeper.FungibleKeeper(t) + k, ctx, _, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) metadata := &bind.MetaData{ ABI: wzeta.WETH9MetaData.ABI, @@ -857,7 +856,7 @@ func TestKeeper_DeployContract(t *testing.T) { }) t.Run("should error if metadata cant be decoded", func(t *testing.T) { - k, ctx, _, _ := testkeeper.FungibleKeeper(t) + k, ctx, _, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) metadata := &bind.MetaData{ ABI: wzeta.WETH9MetaData.ABI, @@ -869,7 +868,7 @@ func TestKeeper_DeployContract(t *testing.T) { }) t.Run("should error if module acc not set up", func(t *testing.T) { - k, ctx, _, _ := testkeeper.FungibleKeeper(t) + k, ctx, _, _ := keepertest.FungibleKeeper(t) addr, err := k.DeployContract(ctx, wzeta.WETH9MetaData) require.Error(t, err) require.Empty(t, addr) diff --git a/x/fungible/keeper/keeper.go b/x/fungible/keeper/keeper.go index 74b5f37730..b441e16971 100644 --- a/x/fungible/keeper/keeper.go +++ b/x/fungible/keeper/keeper.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/x/fungible/types" ) diff --git a/x/fungible/module.go b/x/fungible/module.go index 5a88d9e11b..7b3d846092 100644 --- a/x/fungible/module.go +++ b/x/fungible/module.go @@ -9,7 +9,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" @@ -119,19 +119,6 @@ func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the fungible module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.Route{} -} - -// QuerierRoute returns the fungible module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } - -// LegacyQuerierHandler returns the fungible module's Querier. -func (am AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier { - return nil -} - // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. func (am AppModule) RegisterServices(cfg module.Configurator) { diff --git a/x/fungible/module_simulation.go b/x/fungible/module_simulation.go index 5280860006..30228431f1 100644 --- a/x/fungible/module_simulation.go +++ b/x/fungible/module_simulation.go @@ -1,8 +1,6 @@ package fungible import ( - "math/rand" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" @@ -24,10 +22,8 @@ func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedP return nil } -// RandomizedParams creates randomized param changes for the simulator -func (am AppModule) RandomizedParams(_ *rand.Rand) []simtypes.ParamChange { - - return []simtypes.ParamChange{} +func (AppModule) ProposalMsgs(_ module.SimulationState) []simtypes.WeightedProposalMsg { + return nil } // RegisterStoreDecoder registers a decoder diff --git a/x/fungible/types/events.pb.go b/x/fungible/types/events.pb.go index b6e51845c2..ba43982bc1 100644 --- a/x/fungible/types/events.pb.go +++ b/x/fungible/types/events.pb.go @@ -1,17 +1,16 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: fungible/events.proto +// source: zetachain/zetacore/fungible/events.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + coin "github.com/zeta-chain/zetacore/pkg/coin" io "io" math "math" math_bits "math/bits" - - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/gogo/protobuf/proto" - coin "github.com/zeta-chain/zetacore/pkg/coin" ) // Reference imports to suppress errors if they are not otherwise used. @@ -36,7 +35,7 @@ func (m *EventSystemContractUpdated) Reset() { *m = EventSystemContractU func (m *EventSystemContractUpdated) String() string { return proto.CompactTextString(m) } func (*EventSystemContractUpdated) ProtoMessage() {} func (*EventSystemContractUpdated) Descriptor() ([]byte, []int) { - return fileDescriptor_858e6494730deffd, []int{0} + return fileDescriptor_1e6611815bc2713b, []int{0} } func (m *EventSystemContractUpdated) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -100,7 +99,7 @@ type EventZRC20Deployed struct { Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"` Decimals int64 `protobuf:"varint,6,opt,name=decimals,proto3" json:"decimals,omitempty"` - CoinType coin.CoinType `protobuf:"varint,7,opt,name=coin_type,json=coinType,proto3,enum=coin.CoinType" json:"coin_type,omitempty"` + CoinType coin.CoinType `protobuf:"varint,7,opt,name=coin_type,json=coinType,proto3,enum=zetachain.zetacore.pkg.coin.CoinType" json:"coin_type,omitempty"` Erc20 string `protobuf:"bytes,8,opt,name=erc20,proto3" json:"erc20,omitempty"` GasLimit int64 `protobuf:"varint,9,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` } @@ -109,7 +108,7 @@ func (m *EventZRC20Deployed) Reset() { *m = EventZRC20Deployed{} } func (m *EventZRC20Deployed) String() string { return proto.CompactTextString(m) } func (*EventZRC20Deployed) ProtoMessage() {} func (*EventZRC20Deployed) Descriptor() ([]byte, []int) { - return fileDescriptor_858e6494730deffd, []int{1} + return fileDescriptor_1e6611815bc2713b, []int{1} } func (m *EventZRC20Deployed) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -204,7 +203,7 @@ func (m *EventZRC20Deployed) GetGasLimit() int64 { type EventZRC20WithdrawFeeUpdated struct { MsgTypeUrl string `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"` ChainId int64 `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - CoinType coin.CoinType `protobuf:"varint,3,opt,name=coin_type,json=coinType,proto3,enum=coin.CoinType" json:"coin_type,omitempty"` + CoinType coin.CoinType `protobuf:"varint,3,opt,name=coin_type,json=coinType,proto3,enum=zetachain.zetacore.pkg.coin.CoinType" json:"coin_type,omitempty"` Zrc20Address string `protobuf:"bytes,4,opt,name=zrc20_address,json=zrc20Address,proto3" json:"zrc20_address,omitempty"` OldWithdrawFee string `protobuf:"bytes,5,opt,name=old_withdraw_fee,json=oldWithdrawFee,proto3" json:"old_withdraw_fee,omitempty"` NewWithdrawFee string `protobuf:"bytes,6,opt,name=new_withdraw_fee,json=newWithdrawFee,proto3" json:"new_withdraw_fee,omitempty"` @@ -217,7 +216,7 @@ func (m *EventZRC20WithdrawFeeUpdated) Reset() { *m = EventZRC20Withdraw func (m *EventZRC20WithdrawFeeUpdated) String() string { return proto.CompactTextString(m) } func (*EventZRC20WithdrawFeeUpdated) ProtoMessage() {} func (*EventZRC20WithdrawFeeUpdated) Descriptor() ([]byte, []int) { - return fileDescriptor_858e6494730deffd, []int{2} + return fileDescriptor_1e6611815bc2713b, []int{2} } func (m *EventZRC20WithdrawFeeUpdated) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -320,7 +319,7 @@ func (m *EventZRC20PausedStatusUpdated) Reset() { *m = EventZRC20PausedS func (m *EventZRC20PausedStatusUpdated) String() string { return proto.CompactTextString(m) } func (*EventZRC20PausedStatusUpdated) ProtoMessage() {} func (*EventZRC20PausedStatusUpdated) Descriptor() ([]byte, []int) { - return fileDescriptor_858e6494730deffd, []int{3} + return fileDescriptor_1e6611815bc2713b, []int{3} } func (m *EventZRC20PausedStatusUpdated) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -391,7 +390,7 @@ func (m *EventSystemContractsDeployed) Reset() { *m = EventSystemContrac func (m *EventSystemContractsDeployed) String() string { return proto.CompactTextString(m) } func (*EventSystemContractsDeployed) ProtoMessage() {} func (*EventSystemContractsDeployed) Descriptor() ([]byte, []int) { - return fileDescriptor_858e6494730deffd, []int{4} + return fileDescriptor_1e6611815bc2713b, []int{4} } func (m *EventSystemContractsDeployed) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -481,7 +480,7 @@ func (m *EventBytecodeUpdated) Reset() { *m = EventBytecodeUpdated{} } func (m *EventBytecodeUpdated) String() string { return proto.CompactTextString(m) } func (*EventBytecodeUpdated) ProtoMessage() {} func (*EventBytecodeUpdated) Descriptor() ([]byte, []int) { - return fileDescriptor_858e6494730deffd, []int{5} + return fileDescriptor_1e6611815bc2713b, []int{5} } func (m *EventBytecodeUpdated) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -554,58 +553,61 @@ func init() { proto.RegisterType((*EventBytecodeUpdated)(nil), "zetachain.zetacore.fungible.EventBytecodeUpdated") } -func init() { proto.RegisterFile("fungible/events.proto", fileDescriptor_858e6494730deffd) } - -var fileDescriptor_858e6494730deffd = []byte{ - // 761 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xd1, 0x4e, 0xdb, 0x48, - 0x14, 0xc5, 0x04, 0x02, 0x19, 0x20, 0x81, 0xd9, 0xec, 0xca, 0x1b, 0x76, 0x23, 0x94, 0xd5, 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x8d, 0x7b, 0xc3, 0x06, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/fungible/events.proto", fileDescriptor_1e6611815bc2713b) +} + +var fileDescriptor_1e6611815bc2713b = []byte{ + // 775 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdd, 0x4e, 0xe3, 0x46, + 0x14, 0xc6, 0x04, 0x02, 0x19, 0x7e, 0x02, 0xa3, 0xa8, 0x72, 0x43, 0x1b, 0xa1, 0xb4, 0xb4, 0x29, + 0x6a, 0x1d, 0x94, 0xaa, 0x0f, 0x00, 0xb4, 0xb4, 0x48, 0xad, 0x54, 0x85, 0xd2, 0x4a, 0xdc, 0x58, + 0x13, 0xfb, 0xe0, 0x58, 0xd8, 0x33, 0x96, 0x67, 0x12, 0x63, 0x9e, 0xa2, 0x97, 0xfb, 0x10, 0xfb, + 0x04, 0xfb, 0x04, 0x7b, 0xc9, 0x6a, 0x6f, 0xf6, 0x72, 0x05, 0x2f, 0xb1, 0x97, 0xab, 0x19, 0x8f, + 0x1d, 0x9b, 0x05, 0x04, 0x7b, 0x13, 0xcd, 0x99, 0x7c, 0xe7, 0x9c, 0xef, 0x7c, 0xfe, 0x66, 0x06, + 0xf5, 0xae, 0x40, 0x10, 0x67, 0x4c, 0x7c, 0xda, 0x57, 0x2b, 0x16, 0x43, 0xff, 0x7c, 0x42, 0x3d, + 0x7f, 0x14, 0x40, 0x1f, 0xa6, 0x40, 0x05, 0xb7, 0xa2, 0x98, 0x09, 0x86, 0xb7, 0x0a, 0xa4, 0x95, + 0x23, 0xad, 0x1c, 0xd9, 0xfe, 0xf6, 0xb1, 0x32, 0xe2, 0x32, 0x2b, 0xd1, 0x6e, 0x79, 0xcc, 0x63, + 0x6a, 0xd9, 0x97, 0x2b, 0xbd, 0xfb, 0xdd, 0x3d, 0xb9, 0xd1, 0x85, 0xd7, 0x77, 0x98, 0x4f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 0xd9, + 0x54, 0x8b, 0xe5, 0xa9, 0x0e, 0x8e, 0x5f, 0xdf, 0x74, 0x8c, 0xeb, 0x9b, 0x8e, 0xf1, 0xfe, 0xa6, + 0x63, 0xfc, 0x7f, 0xdb, 0x99, 0xbb, 0xbe, 0xed, 0xcc, 0xbd, 0xbb, 0xed, 0xcc, 0x9d, 0xf5, 0x3d, + 0x5f, 0x8c, 0x27, 0x23, 0xcb, 0x61, 0xa1, 0x7a, 0x6e, 0x7e, 0xba, 0xf3, 0xf2, 0x5c, 0x96, 0xde, + 0xad, 0x34, 0x02, 0x3e, 0xaa, 0xab, 0xd7, 0xe7, 0xe7, 0x8f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf7, + 0x23, 0x3a, 0xee, 0x2a, 0x07, 0x00, 0x00, } func (m *EventSystemContractUpdated) Marshal() (dAtA []byte, err error) { diff --git a/x/fungible/types/foreign_coins.pb.go b/x/fungible/types/foreign_coins.pb.go index 05a014fa47..9465b0f222 100644 --- a/x/fungible/types/foreign_coins.pb.go +++ b/x/fungible/types/foreign_coins.pb.go @@ -1,18 +1,17 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: fungible/foreign_coins.proto +// source: zetachain/zetacore/fungible/foreign_coins.proto 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" + proto "github.com/cosmos/gogoproto/proto" coin "github.com/zeta-chain/zetacore/pkg/coin" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. @@ -34,7 +33,7 @@ type ForeignCoins struct { Decimals uint32 `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,7,opt,name=symbol,proto3" json:"symbol,omitempty"` - CoinType coin.CoinType `protobuf:"varint,8,opt,name=coin_type,json=coinType,proto3,enum=coin.CoinType" json:"coin_type,omitempty"` + CoinType coin.CoinType `protobuf:"varint,8,opt,name=coin_type,json=coinType,proto3,enum=zetachain.zetacore.pkg.coin.CoinType" json:"coin_type,omitempty"` GasLimit uint64 `protobuf:"varint,9,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` Paused bool `protobuf:"varint,10,opt,name=paused,proto3" json:"paused,omitempty"` LiquidityCap github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,11,opt,name=liquidity_cap,json=liquidityCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"liquidity_cap"` @@ -44,7 +43,7 @@ func (m *ForeignCoins) Reset() { *m = ForeignCoins{} } func (m *ForeignCoins) String() string { return proto.CompactTextString(m) } func (*ForeignCoins) ProtoMessage() {} func (*ForeignCoins) Descriptor() ([]byte, []int) { - return fileDescriptor_5285bb476cecbbf8, []int{0} + return fileDescriptor_ef0f11d2d9d015ac, []int{0} } func (m *ForeignCoins) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -140,37 +139,39 @@ func init() { proto.RegisterType((*ForeignCoins)(nil), "zetachain.zetacore.fungible.ForeignCoins") } -func init() { proto.RegisterFile("fungible/foreign_coins.proto", fileDescriptor_5285bb476cecbbf8) } +func init() { + proto.RegisterFile("zetachain/zetacore/fungible/foreign_coins.proto", fileDescriptor_ef0f11d2d9d015ac) +} -var fileDescriptor_5285bb476cecbbf8 = []byte{ - // 418 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x52, 0xc1, 0x6a, 0xdc, 0x30, - 0x14, 0x5c, 0x75, 0x37, 0x5b, 0xaf, 0x9a, 0x2c, 0x45, 0x5d, 0x82, 0xd8, 0x14, 0xc7, 0xf4, 0x52, - 0x43, 0x89, 0x55, 0xd2, 0xfe, 0x40, 0x63, 0x28, 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0xbf, 0xd8, 0x0f, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x6a, 0xca, 0x24, 0xbf, 0x40, 0x02, - 0x00, 0x00, +var fileDescriptor_ef0f11d2d9d015ac = []byte{ + // 429 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0xcf, 0x6a, 0xdb, 0x30, + 0x1c, 0x8e, 0x96, 0x34, 0x73, 0xb4, 0xb6, 0x0c, 0x11, 0x8a, 0x48, 0xc1, 0x35, 0x83, 0x6d, 0xbe, + 0xd4, 0x1a, 0xdd, 0x5e, 0x60, 0x09, 0x0c, 0x0a, 0x3b, 0x99, 0xee, 0xb2, 0x8b, 0x51, 0x24, 0x55, + 0x15, 0xb1, 0x2d, 0xcd, 0x52, 0x60, 0xe9, 0x53, 0xec, 0xbe, 0x17, 0xea, 0xb1, 0xc7, 0xb1, 0x43, + 0x19, 0xc9, 0x8b, 0x0c, 0xc9, 0xae, 0x37, 0x4a, 0x2e, 0xf6, 0xef, 0xfb, 0xfd, 0xf9, 0xbe, 0xdf, + 0x27, 0x09, 0x92, 0x5b, 0xe1, 0x28, 0xbb, 0xa1, 0xaa, 0x6e, 0x23, 0xdd, 0x08, 0x72, 0xbd, 0xae, + 0xa5, 0x5a, 0x96, 0x82, 0x5c, 0xeb, 0x46, 0x28, 0x59, 0x17, 0x4c, 0xab, 0xda, 0x66, 0xa6, 0xd1, + 0x4e, 0xa3, 0xd3, 0x7e, 0x20, 0x7b, 0x1c, 0xc8, 0x1e, 0x07, 0x66, 0x53, 0xa9, 0xa5, 0x0e, 0x7d, + 0xc4, 0x47, 0xed, 0xc8, 0xec, 0xcd, 0x1e, 0x0d, 0xb3, 0x92, 0xc4, 0xd3, 0x86, 0x4f, 0xdb, 0xf7, + 0xea, 0xe7, 0x10, 0x1e, 0x7e, 0x6a, 0x25, 0x17, 0x5e, 0x11, 0x7d, 0x80, 0x27, 0xb7, 0x0d, 0xbb, + 0x78, 0x57, 0x30, 0x5d, 0xbb, 0x86, 0x32, 0x57, 0x50, 0xce, 0x1b, 0x61, 0x2d, 0x7e, 0x96, 0x80, + 0x74, 0x92, 0x4f, 0x43, 0x75, 0xd1, 0x15, 0x3f, 0xb6, 0x35, 0x34, 0x85, 0x07, 0xd4, 0x5a, 0xe1, + 0xf0, 0x30, 0x34, 0xb5, 0x00, 0xa5, 0xf0, 0x65, 0x6f, 0xc7, 0xaf, 0x52, 0x28, 0x8e, 0x47, 0x09, + 0x48, 0x87, 0xf9, 0x71, 0x97, 0x5f, 0xf8, 0xf4, 0x25, 0x47, 0x33, 0x18, 0x71, 0xc1, 0x54, 0x45, + 0x4b, 0x8b, 0x0f, 0x12, 0x90, 0x1e, 0xe5, 0x3d, 0x46, 0x08, 0x8e, 0x6a, 0x5a, 0x09, 0x3c, 0x0e, + 0xd4, 0x21, 0x46, 0x27, 0x70, 0x6c, 0x37, 0xd5, 0x52, 0x97, 0xf8, 0x79, 0xc8, 0x76, 0x08, 0xcd, + 0xe1, 0xc4, 0x9b, 0x2b, 0xdc, 0xc6, 0x08, 0x1c, 0x25, 0x20, 0x3d, 0xbe, 0x78, 0x9d, 0xed, 0x39, + 0x3d, 0xb3, 0x92, 0x59, 0x38, 0x05, 0x6f, 0xfa, 0x6a, 0x63, 0x44, 0x1e, 0xb1, 0x2e, 0x42, 0xa7, + 0x70, 0x22, 0xa9, 0x2d, 0x4a, 0x55, 0x29, 0x87, 0x27, 0x09, 0x48, 0x47, 0x79, 0x24, 0xa9, 0xfd, + 0xec, 0xb1, 0x17, 0x36, 0x74, 0x6d, 0x05, 0xc7, 0x30, 0x01, 0x69, 0x94, 0x77, 0x08, 0x5d, 0xc1, + 0xa3, 0x52, 0x7d, 0x5b, 0x2b, 0xae, 0xdc, 0xa6, 0x60, 0xd4, 0xe0, 0x17, 0x7e, 0xaf, 0x39, 0xb9, + 0x7b, 0x38, 0x1b, 0xfc, 0x7e, 0x38, 0x7b, 0x2b, 0x95, 0xbb, 0x59, 0x2f, 0x33, 0xa6, 0x2b, 0xc2, + 0xb4, 0xad, 0xb4, 0xed, 0x7e, 0xe7, 0x96, 0xaf, 0x88, 0xdf, 0xd6, 0x66, 0x5f, 0x54, 0xed, 0xf2, + 0xc3, 0x9e, 0x65, 0x41, 0xcd, 0xfc, 0xf2, 0x6e, 0x1b, 0x83, 0xfb, 0x6d, 0x0c, 0xfe, 0x6c, 0x63, + 0xf0, 0x63, 0x17, 0x0f, 0xee, 0x77, 0xf1, 0xe0, 0xd7, 0x2e, 0x1e, 0x7c, 0x25, 0xff, 0x11, 0x7a, + 0x57, 0xe7, 0x4f, 0xee, 0xfa, 0xfb, 0xbf, 0x17, 0x15, 0xd8, 0x97, 0xe3, 0x70, 0xdf, 0xef, 0xff, + 0x06, 0x00, 0x00, 0xff, 0xff, 0x19, 0x0a, 0x23, 0xcc, 0x7d, 0x02, 0x00, 0x00, } func (m *ForeignCoins) Marshal() (dAtA []byte, err error) { diff --git a/x/fungible/types/genesis.pb.go b/x/fungible/types/genesis.pb.go index 56634c414b..99e7e5bda1 100644 --- a/x/fungible/types/genesis.pb.go +++ b/x/fungible/types/genesis.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: fungible/genesis.proto +// source: zetachain/zetacore/fungible/genesis.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -34,7 +33,7 @@ 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_11e46382f3a6d0c2, []int{0} + return fileDescriptor_75c5ed54ff19cb38, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -81,27 +80,29 @@ func init() { proto.RegisterType((*GenesisState)(nil), "zetachain.zetacore.fungible.GenesisState") } -func init() { proto.RegisterFile("fungible/genesis.proto", fileDescriptor_11e46382f3a6d0c2) } +func init() { + proto.RegisterFile("zetachain/zetacore/fungible/genesis.proto", fileDescriptor_75c5ed54ff19cb38) +} -var fileDescriptor_11e46382f3a6d0c2 = []byte{ - // 261 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4b, 0x2b, 0xcd, 0x4b, - 0xcf, 0x4c, 0xca, 0x49, 0xd5, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, - 0x2f, 0xc9, 0x17, 0x92, 0xae, 0x4a, 0x2d, 0x49, 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x03, 0xb3, - 0xf2, 0x8b, 0x52, 0xf5, 0x60, 0x4a, 0xa5, 0x64, 0xe0, 0x9a, 0xd2, 0xf2, 0x8b, 0x52, 0x33, 0xd3, - 0xf3, 0xe2, 0x93, 0xf3, 0x33, 0xf3, 0xa0, 0x5a, 0xa5, 0xe4, 0xe0, 0xb2, 0xc5, 0x95, 0xc5, 0x25, - 0xa9, 0xb9, 0xf1, 0xc9, 0xf9, 0x79, 0x25, 0x45, 0x89, 0xc9, 0x25, 0x50, 0x79, 0x91, 0xf4, 0xfc, - 0xf4, 0x7c, 0x30, 0x53, 0x1f, 0xc4, 0x82, 0x88, 0x2a, 0x1d, 0x60, 0xe4, 0xe2, 0x71, 0x87, 0x38, - 0x21, 0xb8, 0x24, 0xb1, 0x24, 0x55, 0x28, 0x9a, 0x4b, 0x00, 0x6a, 0xba, 0x33, 0xc8, 0x70, 0x9f, - 0xcc, 0xe2, 0x12, 0x09, 0x26, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x4d, 0x3d, 0x3c, 0x8e, 0xd3, 0x73, - 0x43, 0xd2, 0xe4, 0xc4, 0x72, 0xe2, 0x9e, 0x3c, 0x43, 0x10, 0x86, 0x41, 0x42, 0xc1, 0x5c, 0x7c, - 0x10, 0xc7, 0x39, 0x43, 0xdd, 0x26, 0xc1, 0xac, 0xc0, 0xa8, 0xc1, 0x6d, 0xa4, 0x8d, 0xd7, 0xe8, - 0x60, 0x14, 0x2d, 0x41, 0x68, 0x46, 0x38, 0x79, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, - 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, - 0x1c, 0x43, 0x94, 0x7e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc8, - 0x58, 0x5d, 0xb0, 0x0d, 0xfa, 0x30, 0x1b, 0xf4, 0x2b, 0xf4, 0xe1, 0x61, 0x56, 0x52, 0x59, 0x90, - 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x14, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x94, 0x92, 0xf7, - 0x47, 0x9f, 0x01, 0x00, 0x00, +var fileDescriptor_75c5ed54ff19cb38 = []byte{ + // 262 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xac, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0xd3, 0x4a, 0xf3, 0xd2, + 0x33, 0x93, 0x72, 0x52, 0xf5, 0xd3, 0x53, 0xf3, 0x52, 0x8b, 0x33, 0x8b, 0xf5, 0x0a, 0x8a, 0xf2, + 0x4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x74, 0xd1, 0x42, 0xac, 0x02, 0x11, 0x66, 0x25, 0x95, + 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0xe0, 0x40, 0x31, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x0d, 0xb1, + 0x05, 0xa7, 0xd8, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/fungible/types/query.pb.go b/x/fungible/types/query.pb.go index f30691101c..9b5e70a96f 100644 --- a/x/fungible/types/query.pb.go +++ b/x/fungible/types/query.pb.go @@ -1,23 +1,22 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: fungible/query.proto +// source: zetachain/zetacore/fungible/query.proto 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" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" 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. @@ -39,7 +38,7 @@ func (m *QueryGetForeignCoinsRequest) Reset() { *m = QueryGetForeignCoin func (m *QueryGetForeignCoinsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetForeignCoinsRequest) ProtoMessage() {} func (*QueryGetForeignCoinsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{0} + return fileDescriptor_9cd9a7c9e94d3c90, []int{0} } func (m *QueryGetForeignCoinsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,7 +82,7 @@ func (m *QueryGetForeignCoinsResponse) Reset() { *m = QueryGetForeignCoi func (m *QueryGetForeignCoinsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetForeignCoinsResponse) ProtoMessage() {} func (*QueryGetForeignCoinsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{1} + return fileDescriptor_9cd9a7c9e94d3c90, []int{1} } func (m *QueryGetForeignCoinsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -127,7 +126,7 @@ func (m *QueryAllForeignCoinsRequest) Reset() { *m = QueryAllForeignCoin func (m *QueryAllForeignCoinsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllForeignCoinsRequest) ProtoMessage() {} func (*QueryAllForeignCoinsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{2} + return fileDescriptor_9cd9a7c9e94d3c90, []int{2} } func (m *QueryAllForeignCoinsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -172,7 +171,7 @@ func (m *QueryAllForeignCoinsResponse) Reset() { *m = QueryAllForeignCoi func (m *QueryAllForeignCoinsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllForeignCoinsResponse) ProtoMessage() {} func (*QueryAllForeignCoinsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{3} + return fileDescriptor_9cd9a7c9e94d3c90, []int{3} } func (m *QueryAllForeignCoinsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -222,7 +221,7 @@ func (m *QueryGetSystemContractRequest) Reset() { *m = QueryGetSystemCon func (m *QueryGetSystemContractRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetSystemContractRequest) ProtoMessage() {} func (*QueryGetSystemContractRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{4} + return fileDescriptor_9cd9a7c9e94d3c90, []int{4} } func (m *QueryGetSystemContractRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -259,7 +258,7 @@ func (m *QueryGetSystemContractResponse) Reset() { *m = QueryGetSystemCo func (m *QueryGetSystemContractResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetSystemContractResponse) ProtoMessage() {} func (*QueryGetSystemContractResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{5} + return fileDescriptor_9cd9a7c9e94d3c90, []int{5} } func (m *QueryGetSystemContractResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -302,7 +301,7 @@ func (m *QueryGetGasStabilityPoolAddress) Reset() { *m = QueryGetGasStab func (m *QueryGetGasStabilityPoolAddress) String() string { return proto.CompactTextString(m) } func (*QueryGetGasStabilityPoolAddress) ProtoMessage() {} func (*QueryGetGasStabilityPoolAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{6} + return fileDescriptor_9cd9a7c9e94d3c90, []int{6} } func (m *QueryGetGasStabilityPoolAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -342,7 +341,7 @@ func (m *QueryGetGasStabilityPoolAddressResponse) Reset() { func (m *QueryGetGasStabilityPoolAddressResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetGasStabilityPoolAddressResponse) ProtoMessage() {} func (*QueryGetGasStabilityPoolAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{7} + return fileDescriptor_9cd9a7c9e94d3c90, []int{7} } func (m *QueryGetGasStabilityPoolAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -393,7 +392,7 @@ func (m *QueryGetGasStabilityPoolBalance) Reset() { *m = QueryGetGasStab func (m *QueryGetGasStabilityPoolBalance) String() string { return proto.CompactTextString(m) } func (*QueryGetGasStabilityPoolBalance) ProtoMessage() {} func (*QueryGetGasStabilityPoolBalance) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{8} + return fileDescriptor_9cd9a7c9e94d3c90, []int{8} } func (m *QueryGetGasStabilityPoolBalance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -439,7 +438,7 @@ func (m *QueryGetGasStabilityPoolBalanceResponse) Reset() { func (m *QueryGetGasStabilityPoolBalanceResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetGasStabilityPoolBalanceResponse) ProtoMessage() {} func (*QueryGetGasStabilityPoolBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{9} + return fileDescriptor_9cd9a7c9e94d3c90, []int{9} } func (m *QueryGetGasStabilityPoolBalanceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -482,7 +481,7 @@ func (m *QueryAllGasStabilityPoolBalance) Reset() { *m = QueryAllGasStab func (m *QueryAllGasStabilityPoolBalance) String() string { return proto.CompactTextString(m) } func (*QueryAllGasStabilityPoolBalance) ProtoMessage() {} func (*QueryAllGasStabilityPoolBalance) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{10} + return fileDescriptor_9cd9a7c9e94d3c90, []int{10} } func (m *QueryAllGasStabilityPoolBalance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -521,7 +520,7 @@ func (m *QueryAllGasStabilityPoolBalanceResponse) Reset() { func (m *QueryAllGasStabilityPoolBalanceResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllGasStabilityPoolBalanceResponse) ProtoMessage() {} func (*QueryAllGasStabilityPoolBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{11} + return fileDescriptor_9cd9a7c9e94d3c90, []int{11} } func (m *QueryAllGasStabilityPoolBalanceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -570,7 +569,7 @@ func (m *QueryAllGasStabilityPoolBalanceResponse_Balance) String() string { } func (*QueryAllGasStabilityPoolBalanceResponse_Balance) ProtoMessage() {} func (*QueryAllGasStabilityPoolBalanceResponse_Balance) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{11, 0} + return fileDescriptor_9cd9a7c9e94d3c90, []int{11, 0} } func (m *QueryAllGasStabilityPoolBalanceResponse_Balance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -621,7 +620,7 @@ func (m *QueryCodeHashRequest) Reset() { *m = QueryCodeHashRequest{} } func (m *QueryCodeHashRequest) String() string { return proto.CompactTextString(m) } func (*QueryCodeHashRequest) ProtoMessage() {} func (*QueryCodeHashRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{12} + return fileDescriptor_9cd9a7c9e94d3c90, []int{12} } func (m *QueryCodeHashRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -665,7 +664,7 @@ func (m *QueryCodeHashResponse) Reset() { *m = QueryCodeHashResponse{} } func (m *QueryCodeHashResponse) String() string { return proto.CompactTextString(m) } func (*QueryCodeHashResponse) ProtoMessage() {} func (*QueryCodeHashResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d671b6e9298b37cd, []int{13} + return fileDescriptor_9cd9a7c9e94d3c90, []int{13} } func (m *QueryCodeHashResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -719,64 +718,66 @@ func init() { proto.RegisterType((*QueryCodeHashResponse)(nil), "zetachain.zetacore.fungible.QueryCodeHashResponse") } -func init() { proto.RegisterFile("fungible/query.proto", fileDescriptor_d671b6e9298b37cd) } - -var fileDescriptor_d671b6e9298b37cd = []byte{ - // 857 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xc1, 0x6e, 0xd3, 0x48, - 0x18, 0x8e, 0xdb, 0xed, 0x26, 0x9d, 0x76, 0xbb, 0xd2, 0x28, 0xab, 0xed, 0xba, 0x5d, 0x67, 0xd7, - 0xea, 0xb6, 0xdd, 0x50, 0xec, 0x26, 0x45, 0xa2, 0x94, 0x08, 0x91, 0x04, 0xb5, 0x54, 0xe2, 0x50, - 0xd2, 0x13, 0x5c, 0xa2, 0x89, 0x33, 0x75, 0x2c, 0x39, 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, 0x63, - 0x39, 0x55, 0x7c, 0xba, 0x28, 0xfd, 0x23, 0xad, 0xcf, 0x96, 0xbc, 0x85, 0x4a, 0xc1, 0x72, 0x30, - 0x88, 0x36, 0x88, 0x43, 0x31, 0x3c, 0x04, 0xf3, 0x47, 0x7d, 0xef, 0x19, 0x78, 0x2e, 0xfb, 0xbf, - 0x36, 0x62, 0x4c, 0x5a, 0x3f, 0x51, 0xe1, 0x97, 0xf3, 0x4f, 0xa9, 0x58, 0x69, 0x80, 0x44, 0xc5, - 0x5c, 0x69, 0xde, 0xb6, 0x83, 0x94, 0xee, 0x02, 0x70, 0x35, 0x4e, 0xde, 0x71, 0x55, 0xf3, 0x66, - 0xaf, 0xf5, 0x66, 0xaf, 0x79, 0x27, 0xc6, 0x67, 0xaf, 0x1d, 0x20, 0x13, 0x73, 0x6c, 0xa9, 0x0f, - 0xa9, 0xbe, 0x95, 0xb8, 0xb9, 0x1f, 0xfa, 0x84, 0x9a, 0x9b, 0xbe, 0xb6, 0x39, 0xb8, 0x37, 0xa0, - 0x7e, 0x8a, 0xa9, 0x5f, 0x1b, 0xab, 0xde, 0x53, 0x34, 0x20, 0x3f, 0x05, 0xfe, 0x16, 0x47, 0x73, - 0xc8, 0x2e, 0x49, 0x91, 0xdf, 0x11, 0xee, 0x55, 0xed, 0x00, 0x25, 0xac, 0x80, 0x1b, 0x7c, 0x02, - 0x16, 0x06, 0x77, 0xf8, 0x34, 0x6f, 0x8c, 0xb4, 0x38, 0x08, 0xe1, 0x26, 0x87, 0x88, 0xd4, 0x7f, - 0x41, 0x4a, 0x34, 0xdf, 0x43, 0xf4, 0xd0, 0x45, 0x15, 0xcb, 0xb6, 0xdc, 0xf6, 0x01, 0x21, 0x76, - 0xbe, 0x5a, 0x6d, 0x62, 0x4a, 0xd5, 0x63, 0xb0, 0x36, 0xa6, 0xc4, 0x17, 0xfa, 0x1f, 0x58, 0xf0, - 0x26, 0x54, 0x46, 0xde, 0x0e, 0xbf, 0xa5, 0xbf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 0xf5, 0x0e, 0xbf, 0x6d, 0x67, 0x85, 0xfd, 0xf3, 0xae, 0x22, - 0x5d, 0x74, 0x15, 0xe9, 0x73, 0x57, 0x91, 0x5e, 0x5c, 0x2a, 0xb1, 0x8b, 0x4b, 0x25, 0xf6, 0xe1, - 0x52, 0x89, 0x3d, 0xd5, 0x4d, 0xcb, 0xad, 0xb5, 0x2a, 0x9a, 0x41, 0xea, 0x81, 0x33, 0x38, 0xbd, - 0x22, 0x76, 0xdb, 0x0d, 0x4c, 0x2b, 0xbf, 0xb2, 0xbf, 0xae, 0x5b, 0xdf, 0x03, 0x00, 0x00, 0xff, - 0xff, 0xad, 0xf6, 0x9f, 0xa6, 0x8d, 0x0b, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/fungible/query.proto", fileDescriptor_9cd9a7c9e94d3c90) +} + +var fileDescriptor_9cd9a7c9e94d3c90 = []byte{ + // 863 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x41, 0x4f, 0xdb, 0x48, + 0x14, 0x8e, 0x61, 0xd9, 0x84, 0x81, 0x65, 0xa5, 0x11, 0xab, 0x65, 0x0d, 0x9b, 0xec, 0x5a, 0x14, + 0x68, 0x4a, 0x6d, 0x12, 0x2a, 0x95, 0xd2, 0xa8, 0x6a, 0x92, 0x0a, 0x8a, 0xd4, 0x03, 0x0d, 0xa7, + 0xf6, 0x12, 0x4d, 0x9c, 0xc1, 0xb1, 0xe4, 0x78, 0x42, 0xc6, 0x41, 0xa4, 0x11, 0x97, 0xfe, 0x82, + 0x4a, 0xfd, 0x09, 0xfd, 0x07, 0xbd, 0xf4, 0xd2, 0x1f, 0xc0, 0x11, 0xa9, 0x52, 0xd5, 0x5e, 0xaa, + 0x36, 0xf4, 0x47, 0xf4, 0x58, 0x65, 0xfc, 0x6c, 0x92, 0x60, 0x27, 0x69, 0xb8, 0x79, 0xc6, 0xef, + 0x7b, 0xef, 0xfb, 0xde, 0x9b, 0xf9, 0x6c, 0xb4, 0xfa, 0x82, 0x3a, 0x44, 0xaf, 0x10, 0xd3, 0xd6, + 0xc4, 0x13, 0xab, 0x53, 0xed, 0xb0, 0x61, 0x1b, 0x66, 0xc9, 0xa2, 0xda, 0x51, 0x83, 0xd6, 0x9b, + 0x6a, 0xad, 0xce, 0x1c, 0x86, 0x17, 0xfd, 0x40, 0xd5, 0x0b, 0x54, 0xbd, 0x40, 0x39, 0xa9, 0x33, + 0x5e, 0x65, 0x5c, 0x2b, 0x11, 0x0e, 0x28, 0xed, 0x38, 0x55, 0xa2, 0x0e, 0x49, 0x69, 0x35, 0x62, + 0x98, 0x36, 0x71, 0x4c, 0x66, 0xbb, 0x89, 0x64, 0x6d, 0x50, 0xc5, 0x43, 0x56, 0xa7, 0xa6, 0x61, + 0x17, 0x75, 0x66, 0xda, 0x1c, 0x00, 0xa9, 0x41, 0x00, 0xde, 0xe4, 0x0e, 0xad, 0x16, 0x75, 0x66, + 0x3b, 0x75, 0xa2, 0x3b, 0x00, 0x99, 0x37, 0x98, 0xc1, 0xc4, 0xa3, 0xd6, 0x79, 0x82, 0xdd, 0x25, + 0x83, 0x31, 0xc3, 0xa2, 0x1a, 0xa9, 0x99, 0x1a, 0xb1, 0x6d, 0xe6, 0x08, 0x5a, 0x50, 0x46, 0xd9, + 0x44, 0x8b, 0x4f, 0x3b, 0xcc, 0x77, 0xa9, 0xb3, 0xe3, 0xb2, 0xc8, 0x77, 0x48, 0x14, 0xe8, 0x51, + 0x83, 0x72, 0x07, 0xcf, 0xa3, 0x29, 0xd3, 0x2e, 0xd3, 0x93, 0x05, 0xe9, 0x3f, 0x69, 0x6d, 0xba, + 0xe0, 0x2e, 0x14, 0x8e, 0x96, 0x82, 0x41, 0xbc, 0xc6, 0x6c, 0x4e, 0xf1, 0x01, 0x9a, 0x3d, 0xec, + 0xda, 0x17, 0xe0, 0x99, 0xf4, 0x4d, 0x75, 0x40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0x4c, 0xa7, 0xd2, 0x28, 0xa9, + 0x3a, 0xab, 0x06, 0xf6, 0xe0, 0xe4, 0x32, 0xb1, 0xd3, 0xac, 0x51, 0x5e, 0xfa, 0x5d, 0xfc, 0xba, + 0x6e, 0xfe, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xd6, 0x02, 0x7a, 0x14, 0xc6, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1086,7 +1087,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "fungible/query.proto", + Metadata: "zetachain/zetacore/fungible/query.proto", } func (m *QueryGetForeignCoinsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/fungible/types/query.pb.gw.go b/x/fungible/types/query.pb.gw.go index f007d04b3e..f35a7e5b2f 100644 --- a/x/fungible/types/query.pb.gw.go +++ b/x/fungible/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: fungible/query.proto +// source: zetachain/zetacore/fungible/query.proto /* Package types is a reverse proxy. diff --git a/x/fungible/types/system_contract.pb.go b/x/fungible/types/system_contract.pb.go index 41116ea298..ef828c5958 100644 --- a/x/fungible/types/system_contract.pb.go +++ b/x/fungible/types/system_contract.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: fungible/system_contract.proto +// source: zetachain/zetacore/fungible/system_contract.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -33,7 +32,7 @@ func (m *SystemContract) Reset() { *m = SystemContract{} } func (m *SystemContract) String() string { return proto.CompactTextString(m) } func (*SystemContract) ProtoMessage() {} func (*SystemContract) Descriptor() ([]byte, []int) { - return fileDescriptor_77f5a98f5a394318, []int{0} + return fileDescriptor_98608b52bf5b9ddd, []int{0} } func (m *SystemContract) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -80,23 +79,25 @@ func init() { proto.RegisterType((*SystemContract)(nil), "zetachain.zetacore.fungible.SystemContract") } -func init() { proto.RegisterFile("fungible/system_contract.proto", fileDescriptor_77f5a98f5a394318) } +func init() { + proto.RegisterFile("zetachain/zetacore/fungible/system_contract.proto", fileDescriptor_98608b52bf5b9ddd) +} -var fileDescriptor_77f5a98f5a394318 = []byte{ +var fileDescriptor_98608b52bf5b9ddd = []byte{ // 209 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0x2b, 0xcd, 0x4b, - 0xcf, 0x4c, 0xca, 0x49, 0xd5, 0x2f, 0xae, 0x2c, 0x2e, 0x49, 0xcd, 0x8d, 0x4f, 0xce, 0xcf, 0x2b, - 0x29, 0x4a, 0x4c, 0x2e, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0xae, 0x4a, 0x2d, 0x49, - 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x03, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x60, 0x5a, 0xa4, 0x44, - 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0xea, 0xf4, 0x41, 0x2c, 0x88, 0x16, 0xa5, 0x04, 0x2e, 0xbe, 0x60, - 0xb0, 0x59, 0xce, 0x50, 0xa3, 0x84, 0xd4, 0xb9, 0xf8, 0xd1, 0x4c, 0x97, 0x60, 0x54, 0x60, 0xd4, - 0xe0, 0x0c, 0xe2, 0x2b, 0x46, 0x55, 0xa8, 0xca, 0xc5, 0x97, 0x9c, 0x9f, 0x97, 0x97, 0x9a, 0x5c, - 0x92, 0x5f, 0x14, 0x5f, 0x95, 0x5a, 0x96, 0x2b, 0xc1, 0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 0xd1, + 0x4c, 0x97, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0xe2, 0x2b, 0x46, 0x55, 0xa8, 0xca, 0xc5, 0x97, + 0x9c, 0x9f, 0x97, 0x97, 0x9a, 0x5c, 0x92, 0x5f, 0x14, 0x5f, 0x95, 0x5a, 0x96, 0x2b, 0xc1, 0x04, + 0x56, 0xc7, 0x0b, 0x17, 0x8d, 0x4a, 0x2d, 0xcb, 0x75, 0xf2, 0x3c, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, + 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, + 0xc6, 0x63, 0x39, 0x86, 0x28, 0xfd, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, + 0xb0, 0x17, 0x75, 0xd1, 0x7c, 0x5b, 0x81, 0xf0, 0x6f, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, + 0xd8, 0xcd, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x75, 0x5d, 0xa7, 0x0c, 0x1b, 0x01, 0x00, 0x00, } diff --git a/x/fungible/types/tx.pb.go b/x/fungible/types/tx.pb.go index a4db855245..be4e46fbd0 100644 --- a/x/fungible/types/tx.pb.go +++ b/x/fungible/types/tx.pb.go @@ -1,23 +1,22 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: fungible/tx.proto +// source: zetachain/zetacore/fungible/tx.proto 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" _ "github.com/cosmos/gogoproto/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" coin "github.com/zeta-chain/zetacore/pkg/coin" 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. @@ -53,7 +52,7 @@ func (x UpdatePausedStatusAction) String() string { } func (UpdatePausedStatusAction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{0} + return fileDescriptor_7bea9688d1d01113, []int{0} } type MsgDeploySystemContracts struct { @@ -64,7 +63,7 @@ func (m *MsgDeploySystemContracts) Reset() { *m = MsgDeploySystemContrac func (m *MsgDeploySystemContracts) String() string { return proto.CompactTextString(m) } func (*MsgDeploySystemContracts) ProtoMessage() {} func (*MsgDeploySystemContracts) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{0} + return fileDescriptor_7bea9688d1d01113, []int{0} } func (m *MsgDeploySystemContracts) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -112,7 +111,7 @@ func (m *MsgDeploySystemContractsResponse) Reset() { *m = MsgDeploySyste func (m *MsgDeploySystemContractsResponse) String() string { return proto.CompactTextString(m) } func (*MsgDeploySystemContractsResponse) ProtoMessage() {} func (*MsgDeploySystemContractsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{1} + return fileDescriptor_7bea9688d1d01113, []int{1} } func (m *MsgDeploySystemContractsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -187,7 +186,7 @@ func (m *MsgUpdateZRC20WithdrawFee) Reset() { *m = MsgUpdateZRC20Withdra func (m *MsgUpdateZRC20WithdrawFee) String() string { return proto.CompactTextString(m) } func (*MsgUpdateZRC20WithdrawFee) ProtoMessage() {} func (*MsgUpdateZRC20WithdrawFee) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{2} + return fileDescriptor_7bea9688d1d01113, []int{2} } func (m *MsgUpdateZRC20WithdrawFee) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -237,7 +236,7 @@ func (m *MsgUpdateZRC20WithdrawFeeResponse) Reset() { *m = MsgUpdateZRC2 func (m *MsgUpdateZRC20WithdrawFeeResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateZRC20WithdrawFeeResponse) ProtoMessage() {} func (*MsgUpdateZRC20WithdrawFeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{3} + return fileDescriptor_7bea9688d1d01113, []int{3} } func (m *MsgUpdateZRC20WithdrawFeeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -275,7 +274,7 @@ func (m *MsgUpdateSystemContract) Reset() { *m = MsgUpdateSystemContract func (m *MsgUpdateSystemContract) String() string { return proto.CompactTextString(m) } func (*MsgUpdateSystemContract) ProtoMessage() {} func (*MsgUpdateSystemContract) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{4} + return fileDescriptor_7bea9688d1d01113, []int{4} } func (m *MsgUpdateSystemContract) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -325,7 +324,7 @@ func (m *MsgUpdateSystemContractResponse) Reset() { *m = MsgUpdateSystem func (m *MsgUpdateSystemContractResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateSystemContractResponse) ProtoMessage() {} func (*MsgUpdateSystemContractResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{5} + return fileDescriptor_7bea9688d1d01113, []int{5} } func (m *MsgUpdateSystemContractResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -361,7 +360,7 @@ type MsgDeployFungibleCoinZRC20 struct { Decimals uint32 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Symbol string `protobuf:"bytes,6,opt,name=symbol,proto3" json:"symbol,omitempty"` - CoinType coin.CoinType `protobuf:"varint,7,opt,name=coin_type,json=coinType,proto3,enum=coin.CoinType" json:"coin_type,omitempty"` + CoinType coin.CoinType `protobuf:"varint,7,opt,name=coin_type,json=coinType,proto3,enum=zetachain.zetacore.pkg.coin.CoinType" json:"coin_type,omitempty"` GasLimit int64 `protobuf:"varint,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` } @@ -369,7 +368,7 @@ func (m *MsgDeployFungibleCoinZRC20) Reset() { *m = MsgDeployFungibleCoi func (m *MsgDeployFungibleCoinZRC20) String() string { return proto.CompactTextString(m) } func (*MsgDeployFungibleCoinZRC20) ProtoMessage() {} func (*MsgDeployFungibleCoinZRC20) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{6} + return fileDescriptor_7bea9688d1d01113, []int{6} } func (m *MsgDeployFungibleCoinZRC20) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -462,7 +461,7 @@ func (m *MsgDeployFungibleCoinZRC20Response) Reset() { *m = MsgDeployFun func (m *MsgDeployFungibleCoinZRC20Response) String() string { return proto.CompactTextString(m) } func (*MsgDeployFungibleCoinZRC20Response) ProtoMessage() {} func (*MsgDeployFungibleCoinZRC20Response) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{7} + return fileDescriptor_7bea9688d1d01113, []int{7} } func (m *MsgDeployFungibleCoinZRC20Response) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -507,7 +506,7 @@ func (m *MsgRemoveForeignCoin) Reset() { *m = MsgRemoveForeignCoin{} } func (m *MsgRemoveForeignCoin) String() string { return proto.CompactTextString(m) } func (*MsgRemoveForeignCoin) ProtoMessage() {} func (*MsgRemoveForeignCoin) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{8} + return fileDescriptor_7bea9688d1d01113, []int{8} } func (m *MsgRemoveForeignCoin) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -557,7 +556,7 @@ func (m *MsgRemoveForeignCoinResponse) Reset() { *m = MsgRemoveForeignCo func (m *MsgRemoveForeignCoinResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveForeignCoinResponse) ProtoMessage() {} func (*MsgRemoveForeignCoinResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{9} + return fileDescriptor_7bea9688d1d01113, []int{9} } func (m *MsgRemoveForeignCoinResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -596,7 +595,7 @@ func (m *MsgUpdateContractBytecode) Reset() { *m = MsgUpdateContractByte func (m *MsgUpdateContractBytecode) String() string { return proto.CompactTextString(m) } func (*MsgUpdateContractBytecode) ProtoMessage() {} func (*MsgUpdateContractBytecode) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{10} + return fileDescriptor_7bea9688d1d01113, []int{10} } func (m *MsgUpdateContractBytecode) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -653,7 +652,7 @@ func (m *MsgUpdateContractBytecodeResponse) Reset() { *m = MsgUpdateCont func (m *MsgUpdateContractBytecodeResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateContractBytecodeResponse) ProtoMessage() {} func (*MsgUpdateContractBytecodeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{11} + return fileDescriptor_7bea9688d1d01113, []int{11} } func (m *MsgUpdateContractBytecodeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -692,7 +691,7 @@ func (m *MsgUpdateZRC20PausedStatus) Reset() { *m = MsgUpdateZRC20Paused func (m *MsgUpdateZRC20PausedStatus) String() string { return proto.CompactTextString(m) } func (*MsgUpdateZRC20PausedStatus) ProtoMessage() {} func (*MsgUpdateZRC20PausedStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{12} + return fileDescriptor_7bea9688d1d01113, []int{12} } func (m *MsgUpdateZRC20PausedStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -749,7 +748,7 @@ func (m *MsgUpdateZRC20PausedStatusResponse) Reset() { *m = MsgUpdateZRC func (m *MsgUpdateZRC20PausedStatusResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateZRC20PausedStatusResponse) ProtoMessage() {} func (*MsgUpdateZRC20PausedStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{13} + return fileDescriptor_7bea9688d1d01113, []int{13} } func (m *MsgUpdateZRC20PausedStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -788,7 +787,7 @@ func (m *MsgUpdateZRC20LiquidityCap) Reset() { *m = MsgUpdateZRC20Liquid func (m *MsgUpdateZRC20LiquidityCap) String() string { return proto.CompactTextString(m) } func (*MsgUpdateZRC20LiquidityCap) ProtoMessage() {} func (*MsgUpdateZRC20LiquidityCap) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{14} + return fileDescriptor_7bea9688d1d01113, []int{14} } func (m *MsgUpdateZRC20LiquidityCap) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -838,7 +837,7 @@ func (m *MsgUpdateZRC20LiquidityCapResponse) Reset() { *m = MsgUpdateZRC func (m *MsgUpdateZRC20LiquidityCapResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateZRC20LiquidityCapResponse) ProtoMessage() {} func (*MsgUpdateZRC20LiquidityCapResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_197fdedece277fa0, []int{15} + return fileDescriptor_7bea9688d1d01113, []int{15} } func (m *MsgUpdateZRC20LiquidityCapResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -887,73 +886,76 @@ func init() { proto.RegisterType((*MsgUpdateZRC20LiquidityCapResponse)(nil), "zetachain.zetacore.fungible.MsgUpdateZRC20LiquidityCapResponse") } -func init() { proto.RegisterFile("fungible/tx.proto", fileDescriptor_197fdedece277fa0) } - -var fileDescriptor_197fdedece277fa0 = []byte{ - // 1001 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 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e6, 0x53, 0x84, 0x70, 0x98, 0xd5, 0x80, 0x0a, 0x4e, 0xc3, - 0x2a, 0x1b, 0x38, 0x15, 0xab, 0x71, 0x22, 0xb6, 0xf5, 0xf0, 0xf5, 0x51, 0x55, 0x79, 0x73, 0x54, - 0x55, 0xfe, 0x3b, 0xaa, 0x2a, 0xaf, 0x8e, 0xab, 0x73, 0x6f, 0x8e, 0xab, 0x73, 0x7f, 0x1f, 0x57, - 0xe7, 0xf6, 0x8d, 0x8c, 0x76, 0x0a, 0xe8, 0x5b, 0xf2, 0x29, 0x46, 0xf2, 0x14, 0xe3, 0xb9, 0x71, - 0xf2, 0x33, 0x42, 0x08, 0xe9, 0xc1, 0x92, 0xfc, 0x09, 0xf0, 0xd9, 0xff, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x72, 0x83, 0xf4, 0x62, 0x5f, 0x0c, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/fungible/tx.proto", fileDescriptor_7bea9688d1d01113) +} + +var fileDescriptor_7bea9688d1d01113 = []byte{ + // 1013 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0xdd, 0x6e, 0x1b, 0x45, + 0x14, 0xce, 0x26, 0xcd, 0x8f, 0x4f, 0x6b, 0xc7, 0x8c, 0x4c, 0xbb, 0x38, 0xc8, 0x69, 0xb7, 0xa1, + 0x0d, 0x95, 0x6a, 0x17, 0x53, 0xa8, 0x90, 0x68, 0x51, 0xe2, 0x26, 0x50, 0xa9, 0x46, 0xd5, 0xa6, + 0x29, 0x22, 0x37, 0xab, 0xc9, 0xee, 0x64, 0xbd, 0x8a, 0x3d, 0xb3, 0xec, 0x8c, 0x71, 0xdd, 0x3b, + 0x24, 0xae, 0x2a, 0x81, 0x2a, 0xf1, 0x00, 0xbc, 0x01, 0x12, 0x6f, 0xd1, 0xcb, 0x5e, 0x22, 0x84, + 0x2a, 0x94,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e1, 0x38, 0x96, 0xe4, 0x1c, 0x7f, 0xd6, 0x52, 0x03, 0x19, 0x9f, + 0xf2, 0x76, 0x5f, 0x10, 0x9b, 0x39, 0x93, 0x06, 0xf2, 0x63, 0x28, 0x66, 0xb4, 0xd5, 0xaa, 0x3d, + 0xd8, 0x4d, 0xc8, 0x08, 0x67, 0x47, 0x12, 0x5a, 0x2d, 0xcc, 0x5b, 0x91, 0xd3, 0xc8, 0x51, 0x68, + 0x30, 0x87, 0x7c, 0x83, 0x79, 0x6b, 0x60, 0x14, 0x86, 0x55, 0x24, 0x5a, 0xff, 0xd0, 0x54, 0xcf, + 0xa5, 0x06, 0xe6, 0x09, 0xee, 0x72, 0xe2, 0xec, 0x09, 0x2c, 0xba, 0x13, 0x4c, 0x15, 0xdd, 0x84, + 0xd5, 0x01, 0xf7, 0x20, 0x52, 0xeb, 0x82, 0xb4, 0xa7, 0xb4, 0x7f, 0x10, 0x8e, 0x9a, 0xb0, 0x84, + 0x6d, 0xe1, 0x31, 0xaa, 0x34, 0x16, 0xea, 0x9f, 0x55, 0x27, 0xdc, 0x0f, 0xd5, 0x50, 0x48, 0x5a, + 0xc3, 0x96, 0x02, 0x9b, 0x11, 0x89, 0xb1, 0xa1, 0x5a, 0x20, 0x43, 0x6f, 0x92, 0xd6, 0x9f, 0x23, + 0x69, 0x3d, 0xf6, 0x7e, 0xe8, 0x7a, 0x8e, 0x27, 0xfa, 0x0d, 0xec, 0xff, 0x5f, 0x53, 0x7c, 0x0a, + 0xf9, 0x76, 0x4c, 0x67, 0xd9, 0xd8, 0x0f, 0xab, 0x3f, 0xbd, 0x73, 0x5d, 0x6a, 0xa7, 0x44, 0x8d, + 0x66, 0x96, 0x96, 0x1c, 0x67, 0x76, 0xab, 0x0e, 0x7a, 0x56, 0x8d, 0x50, 0x0e, 0x16, 0x9f, 0x6c, + 0xed, 0xef, 0xed, 0x14, 0xe7, 0xd0, 0x45, 0x58, 0xde, 0xff, 0x36, 0x5c, 0x68, 0xf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1e, 0x2e, 0xa9, 0x2f, 0x83, 0x4f, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x1c, 0x83, + 0x64, 0x9c, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1285,7 +1287,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "fungible/tx.proto", + Metadata: "zetachain/zetacore/fungible/tx.proto", } func (m *MsgDeploySystemContracts) Marshal() (dAtA []byte, err error) { diff --git a/x/lightclient/keeper/keeper.go b/x/lightclient/keeper/keeper.go index e0e6277c88..df55f61157 100644 --- a/x/lightclient/keeper/keeper.go +++ b/x/lightclient/keeper/keeper.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/x/lightclient/types" ) diff --git a/x/lightclient/module.go b/x/lightclient/module.go index ab1d287a6f..66696ac1e5 100644 --- a/x/lightclient/module.go +++ b/x/lightclient/module.go @@ -5,6 +5,7 @@ import ( "encoding/json" "fmt" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" @@ -13,7 +14,6 @@ import ( "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" "github.com/zeta-chain/zetacore/x/lightclient/client/cli" "github.com/zeta-chain/zetacore/x/lightclient/keeper" "github.com/zeta-chain/zetacore/x/lightclient/types" @@ -117,19 +117,6 @@ func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the lightclient module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.Route{} -} - -// QuerierRoute returns the lightclient module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } - -// LegacyQuerierHandler returns the lightclient module's Querier. -func (am AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier { - return nil -} - // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. func (am AppModule) RegisterServices(cfg module.Configurator) { diff --git a/x/lightclient/types/chain_state.pb.go b/x/lightclient/types/chain_state.pb.go index 83c7c30e9a..83632be913 100644 --- a/x/lightclient/types/chain_state.pb.go +++ b/x/lightclient/types/chain_state.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: lightclient/chain_state.proto +// source: zetachain/zetacore/lightclient/chain_state.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -36,7 +35,7 @@ func (m *ChainState) Reset() { *m = ChainState{} } func (m *ChainState) String() string { return proto.CompactTextString(m) } func (*ChainState) ProtoMessage() {} func (*ChainState) Descriptor() ([]byte, []int) { - return fileDescriptor_f37529902e23c4eb, []int{0} + return fileDescriptor_b3bf7caa9a4cb463, []int{0} } func (m *ChainState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -97,26 +96,28 @@ func init() { proto.RegisterType((*ChainState)(nil), "zetachain.zetacore.lightclient.ChainState") } -func init() { proto.RegisterFile("lightclient/chain_state.proto", fileDescriptor_f37529902e23c4eb) } +func init() { + proto.RegisterFile("zetachain/zetacore/lightclient/chain_state.proto", fileDescriptor_b3bf7caa9a4cb463) +} -var fileDescriptor_f37529902e23c4eb = []byte{ +var fileDescriptor_b3bf7caa9a4cb463 = []byte{ // 256 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x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0xf1, 0x19, 0xa9, 0x20, 0x63, 0x25, 0x98, 0xc0, 0xf2, 0x3c, + 0x10, 0x41, 0x0f, 0xb0, 0x98, 0x90, 0x3a, 0x17, 0x7f, 0x6a, 0x62, 0x51, 0x4e, 0x26, 0x92, 0x32, + 0x66, 0xb0, 0x32, 0x3e, 0x98, 0x30, 0x54, 0xa1, 0x16, 0x97, 0x20, 0xd4, 0xb4, 0xa4, 0x9c, 0xfc, + 0xe4, 0xec, 0xf8, 0x8c, 0xc4, 0xe2, 0x0c, 0x09, 0x16, 0x05, 0x46, 0x0d, 0x9e, 0x20, 0x7e, 0x88, + 0x84, 0x13, 0x48, 0xdc, 0x23, 0xb1, 0x38, 0xc3, 0xc9, 0xe7, 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, 0x8c, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xc1, + 0xc1, 0xa4, 0x8b, 0x16, 0x62, 0x15, 0x28, 0x61, 0x56, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, + 0xf6, 0xb8, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xca, 0xc8, 0xb1, 0x2d, 0x62, 0x01, 0x00, 0x00, } func (m *ChainState) Marshal() (dAtA []byte, err error) { diff --git a/x/lightclient/types/genesis.pb.go b/x/lightclient/types/genesis.pb.go index adca0d82ee..e0335347c1 100644 --- a/x/lightclient/types/genesis.pb.go +++ b/x/lightclient/types/genesis.pb.go @@ -1,17 +1,16 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: lightclient/genesis.proto +// source: zetachain/zetacore/lightclient/genesis.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + proofs "github.com/zeta-chain/zetacore/pkg/proofs" io "io" math "math" math_bits "math/bits" - - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/gogo/protobuf/proto" - proofs "github.com/zeta-chain/zetacore/pkg/proofs" ) // Reference imports to suppress errors if they are not otherwise used. @@ -36,7 +35,7 @@ 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_645b5300b371cd43, []int{0} + return fileDescriptor_57c7baf4497aa1be, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -90,30 +89,33 @@ func init() { proto.RegisterType((*GenesisState)(nil), "zetachain.zetacore.lightclient.GenesisState") } -func init() { proto.RegisterFile("lightclient/genesis.proto", fileDescriptor_645b5300b371cd43) } +func init() { + proto.RegisterFile("zetachain/zetacore/lightclient/genesis.proto", fileDescriptor_57c7baf4497aa1be) +} -var fileDescriptor_645b5300b371cd43 = []byte{ - // 314 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xc9, 0x4c, 0xcf, - 0x28, 0x49, 0xce, 0xc9, 0x4c, 0xcd, 0x2b, 0xd1, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0xab, 0x4a, 0x2d, 0x49, 0x4c, 0xce, 0x48, 0xcc, 0xcc, - 0xd3, 0x03, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x90, 0x54, 0x4b, 0x89, 0xa4, 0xe7, 0xa7, 0xe7, 0x83, - 0x95, 0xea, 0x83, 0x58, 0x10, 0x5d, 0x52, 0xb2, 0xc8, 0x06, 0x82, 0x75, 0xc7, 0x17, 0x97, 0x24, - 0x96, 0xa4, 0x42, 0xa5, 0x55, 0x90, 0xa5, 0xcb, 0x52, 0x8b, 0x32, 0xd3, 0x32, 0x93, 0x13, 0x4b, - 0x32, 0xf3, 0xf3, 0xe2, 0xd3, 0x72, 0x12, 0xd3, 0xa1, 0x56, 0x4b, 0x89, 0x17, 0x64, 0xa7, 0xeb, - 0x17, 0x14, 0xe5, 0xe7, 0xa7, 0x15, 0x43, 0x29, 0x88, 0x84, 0x52, 0x37, 0x13, 0x17, 0x8f, 0x3b, - 0xc4, 0x95, 0xc1, 0x20, 0x53, 0x85, 0xec, 0xb8, 0x78, 0x93, 0x72, 0xf2, 0x93, 0xb3, 0xe3, 0x33, - 0x52, 0x13, 0x53, 0x52, 0x8b, 0x8a, 0x25, 0x18, 0x15, 0x98, 0x35, 0xb8, 0x8d, 0x84, 0xf5, 0xa0, - 0xda, 0x9c, 0x40, 0x92, 0x1e, 0x60, 0x39, 0x27, 0x96, 0x13, 0xf7, 0xe4, 0x19, 0x82, 0x78, 0x92, - 0x10, 0x42, 0xc5, 0x42, 0xc1, 0x5c, 0x3c, 0x48, 0x8e, 0x2c, 0x96, 0x60, 0x02, 0x6b, 0xd7, 0xd2, - 0xc3, 0xef, 0x77, 0x3d, 0x67, 0x90, 0x14, 0xd8, 0x05, 0x50, 0x53, 0xb9, 0x93, 0xe1, 0x22, 0xc5, - 0x42, 0x69, 0x5c, 0x42, 0x98, 0x5e, 0x93, 0x60, 0x56, 0x60, 0xd4, 0xe0, 0x36, 0x32, 0x24, 0x64, - 0x74, 0x18, 0x92, 0x4e, 0x37, 0x90, 0x46, 0xa8, 0x0d, 0x82, 0x65, 0x18, 0x12, 0x3e, 0x27, 0x1e, - 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, - 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x94, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, - 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0xb2, 0x45, 0x17, 0x6c, 0xa1, 0x3e, 0xcc, 0x42, 0xfd, 0x0a, 0x7d, - 0xe4, 0x78, 0x28, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x07, 0xb1, 0x31, 0x20, 0x00, 0x00, - 0xff, 0xff, 0xd4, 0xfb, 0x01, 0x8d, 0x13, 0x02, 0x00, 0x00, +var fileDescriptor_57c7baf4497aa1be = []byte{ + // 323 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xa9, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x73, 0x32, 0xd3, 0x33, + 0x4a, 0x92, 0x73, 0x32, 0x53, 0xf3, 0x4a, 0xf4, 0xd3, 0x53, 0xf3, 0x52, 0x8b, 0x33, 0x8b, 0xf5, + 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0xe4, 0xe0, 0xaa, 0xf5, 0x60, 0xaa, 0xf5, 0x90, 0x54, 0x4b, + 0x89, 0xa4, 0xe7, 0xa7, 0xe7, 0x83, 0x95, 0xea, 0x83, 0x58, 0x10, 0x5d, 0x52, 0x06, 0x04, 0xec, + 0x00, 0x4b, 0xc5, 0x17, 0x97, 0x24, 0x96, 0xa4, 0x42, 0x75, 0x98, 0x13, 0xd0, 0x51, 0x96, 0x5a, + 0x94, 0x99, 0x96, 0x99, 0x9c, 0x58, 0x92, 0x99, 0x9f, 0x17, 0x9f, 0x96, 0x93, 0x98, 0x0e, 0x75, + 0xa0, 0x94, 0x16, 0x16, 0x8d, 0x05, 0xd9, 0xe9, 0xfa, 0x05, 0x45, 0xf9, 0xf9, 0x69, 0xc5, 0x50, + 0x0a, 0xa2, 0x56, 0x69, 0x11, 0x13, 0x17, 0x8f, 0x3b, 0xc4, 0x7b, 0xc1, 0x20, 0xbb, 0x85, 0x42, + 0xb9, 0x78, 0x93, 0x72, 0xf2, 0x93, 0xb3, 0xe3, 0x33, 0x52, 0x13, 0x53, 0x52, 0x8b, 0x8a, 0x25, + 0x18, 0x15, 0x98, 0x35, 0xb8, 0x8d, 0xb4, 0xf4, 0xb0, 0xf8, 0xba, 0x20, 0x3b, 0x5d, 0x0f, 0x6a, + 0x9a, 0x13, 0x48, 0x8f, 0x07, 0x58, 0x8b, 0x13, 0xcb, 0x89, 0x7b, 0xf2, 0x0c, 0x41, 0x3c, 0x49, + 0x08, 0xa1, 0x62, 0xa1, 0x60, 0x2e, 0x1e, 0x24, 0x1f, 0x16, 0x4b, 0x30, 0xe1, 0x36, 0x15, 0xc9, + 0x8f, 0x7a, 0xce, 0x20, 0x29, 0xb0, 0xc3, 0xa0, 0xa6, 0x72, 0x27, 0xc3, 0x45, 0x8a, 0x85, 0xd2, + 0xb8, 0x84, 0x30, 0x03, 0x41, 0x82, 0x59, 0x81, 0x51, 0x83, 0xdb, 0xc8, 0x90, 0x90, 0xd1, 0x61, + 0x48, 0x3a, 0xdd, 0x40, 0x1a, 0xa1, 0x36, 0x08, 0x96, 0x61, 0x48, 0xf8, 0x9c, 0x78, 0x24, 0xc7, + 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, + 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x51, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, + 0x7e, 0x2e, 0x38, 0xac, 0x75, 0xd1, 0x82, 0xbd, 0x02, 0x25, 0xc6, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, + 0x93, 0xd8, 0xc0, 0x21, 0x6f, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x52, 0x73, 0x65, 0x13, 0x76, + 0x02, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/lightclient/types/query.pb.go b/x/lightclient/types/query.pb.go index 7d96e11051..20346c9b90 100644 --- a/x/lightclient/types/query.pb.go +++ b/x/lightclient/types/query.pb.go @@ -1,24 +1,23 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: lightclient/query.proto +// source: zetachain/zetacore/lightclient/query.proto 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" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" proofs "github.com/zeta-chain/zetacore/pkg/proofs" _ "google.golang.org/genproto/googleapis/api/annotations" 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. @@ -40,7 +39,7 @@ func (m *QueryAllBlockHeaderRequest) Reset() { *m = QueryAllBlockHeaderR func (m *QueryAllBlockHeaderRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllBlockHeaderRequest) ProtoMessage() {} func (*QueryAllBlockHeaderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_03e46747c4ffba77, []int{0} + return fileDescriptor_1ff0d7827c501c48, []int{0} } func (m *QueryAllBlockHeaderRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -85,7 +84,7 @@ func (m *QueryAllBlockHeaderResponse) Reset() { *m = QueryAllBlockHeader func (m *QueryAllBlockHeaderResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllBlockHeaderResponse) ProtoMessage() {} func (*QueryAllBlockHeaderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_03e46747c4ffba77, []int{1} + return fileDescriptor_1ff0d7827c501c48, []int{1} } func (m *QueryAllBlockHeaderResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -136,7 +135,7 @@ func (m *QueryGetBlockHeaderRequest) Reset() { *m = QueryGetBlockHeaderR func (m *QueryGetBlockHeaderRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetBlockHeaderRequest) ProtoMessage() {} func (*QueryGetBlockHeaderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_03e46747c4ffba77, []int{2} + return fileDescriptor_1ff0d7827c501c48, []int{2} } func (m *QueryGetBlockHeaderRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -180,7 +179,7 @@ func (m *QueryGetBlockHeaderResponse) Reset() { *m = QueryGetBlockHeader func (m *QueryGetBlockHeaderResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetBlockHeaderResponse) ProtoMessage() {} func (*QueryGetBlockHeaderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_03e46747c4ffba77, []int{3} + return fileDescriptor_1ff0d7827c501c48, []int{3} } func (m *QueryGetBlockHeaderResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -224,7 +223,7 @@ func (m *QueryAllChainStateRequest) Reset() { *m = QueryAllChainStateReq func (m *QueryAllChainStateRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllChainStateRequest) ProtoMessage() {} func (*QueryAllChainStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_03e46747c4ffba77, []int{4} + return fileDescriptor_1ff0d7827c501c48, []int{4} } func (m *QueryAllChainStateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -269,7 +268,7 @@ func (m *QueryAllChainStateResponse) Reset() { *m = QueryAllChainStateRe func (m *QueryAllChainStateResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllChainStateResponse) ProtoMessage() {} func (*QueryAllChainStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_03e46747c4ffba77, []int{5} + return fileDescriptor_1ff0d7827c501c48, []int{5} } func (m *QueryAllChainStateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -320,7 +319,7 @@ func (m *QueryGetChainStateRequest) Reset() { *m = QueryGetChainStateReq func (m *QueryGetChainStateRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetChainStateRequest) ProtoMessage() {} func (*QueryGetChainStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_03e46747c4ffba77, []int{6} + return fileDescriptor_1ff0d7827c501c48, []int{6} } func (m *QueryGetChainStateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -364,7 +363,7 @@ func (m *QueryGetChainStateResponse) Reset() { *m = QueryGetChainStateRe func (m *QueryGetChainStateResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetChainStateResponse) ProtoMessage() {} func (*QueryGetChainStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_03e46747c4ffba77, []int{7} + return fileDescriptor_1ff0d7827c501c48, []int{7} } func (m *QueryGetChainStateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -412,7 +411,7 @@ func (m *QueryProveRequest) Reset() { *m = QueryProveRequest{} } func (m *QueryProveRequest) String() string { return proto.CompactTextString(m) } func (*QueryProveRequest) ProtoMessage() {} func (*QueryProveRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_03e46747c4ffba77, []int{8} + return fileDescriptor_1ff0d7827c501c48, []int{8} } func (m *QueryProveRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -484,7 +483,7 @@ func (m *QueryProveResponse) Reset() { *m = QueryProveResponse{} } func (m *QueryProveResponse) String() string { return proto.CompactTextString(m) } func (*QueryProveResponse) ProtoMessage() {} func (*QueryProveResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_03e46747c4ffba77, []int{9} + return fileDescriptor_1ff0d7827c501c48, []int{9} } func (m *QueryProveResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -527,7 +526,7 @@ func (m *QueryVerificationFlagsRequest) Reset() { *m = QueryVerification func (m *QueryVerificationFlagsRequest) String() string { return proto.CompactTextString(m) } func (*QueryVerificationFlagsRequest) ProtoMessage() {} func (*QueryVerificationFlagsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_03e46747c4ffba77, []int{10} + return fileDescriptor_1ff0d7827c501c48, []int{10} } func (m *QueryVerificationFlagsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -564,7 +563,7 @@ func (m *QueryVerificationFlagsResponse) Reset() { *m = QueryVerificatio func (m *QueryVerificationFlagsResponse) String() string { return proto.CompactTextString(m) } func (*QueryVerificationFlagsResponse) ProtoMessage() {} func (*QueryVerificationFlagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_03e46747c4ffba77, []int{11} + return fileDescriptor_1ff0d7827c501c48, []int{11} } func (m *QueryVerificationFlagsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -615,63 +614,66 @@ func init() { proto.RegisterType((*QueryVerificationFlagsResponse)(nil), "zetachain.zetacore.lightclient.QueryVerificationFlagsResponse") } -func init() { proto.RegisterFile("lightclient/query.proto", fileDescriptor_03e46747c4ffba77) } - -var fileDescriptor_03e46747c4ffba77 = []byte{ - // 843 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xcd, 0x4e, 0xdb, 0x4a, - 0x14, 0xc7, 0x33, 0x40, 0xf8, 0x98, 0xc0, 0x95, 0x98, 0x8b, 0x44, 0xf0, 0xbd, 0x31, 0xc8, 0x5c, - 0x2e, 0x28, 0x2d, 0x76, 0x93, 0x56, 0x48, 0x0d, 0x2a, 0x12, 0x54, 0x82, 0xa2, 0x76, 0x01, 0xae, - 0xda, 0x45, 0x37, 0x91, 0xe3, 0x4c, 0x1c, 0x0b, 0xe3, 0x31, 0xf1, 0x10, 0x85, 0x22, 0x36, 0x5d, - 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0x97, 0x72, 0xe2, 0xeb, - 0xa5, 0x9c, 0x78, 0x91, 0xb7, 0x6c, 0x5a, 0x3d, 0x2c, 0xa9, 0x26, 0xd9, 0x17, 0xf3, 0x35, 0xc1, - 0xb4, 0x46, 0x4b, 0x6a, 0x7a, 0xe4, 0x61, 0xbf, 0x34, 0xcc, 0xfe, 0x9a, 0xdd, 0xfd, 0x15, 0x00, - 0x00, 0xff, 0xff, 0x4b, 0x9e, 0x6d, 0x85, 0x93, 0x0a, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/lightclient/query.proto", fileDescriptor_1ff0d7827c501c48) +} + +var fileDescriptor_1ff0d7827c501c48 = []byte{ + // 858 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xcf, 0x4f, 0xdb, 0x48, + 0x14, 0xc7, 0x33, 0x40, 0xf8, 0x31, 0x81, 0x95, 0x18, 0x21, 0x6d, 0xf0, 0x2e, 0x06, 0x79, 0x97, + 0x05, 0x65, 0x17, 0x9b, 0x64, 0x57, 0xac, 0x36, 0x68, 0x2b, 0x41, 0x25, 0x28, 0x6a, 0x2b, 0x81, + 0xab, 0xf6, 0xd0, 0x4b, 0xe4, 0x38, 0x13, 0xc7, 0xc2, 0x78, 0x4c, 0x3c, 0x44, 0xa1, 0x88, 0x4b, + 0x4f, 0x3d, 0x56, 0xaa, 0xfa, 0x97, 0xf4, 0x82, 0x54, 0xf5, 0xd2, 0x43, 0xc5, 0x11, 0xa9, 0x97, + 0x1e, 0xaa, 0xaa, 0x82, 0xfe, 0x21, 0x95, 0xc7, 0x13, 0x3c, 0x49, 0x9c, 0xc6, 0x44, 0x9c, 0xb0, + 0xc7, 0xf3, 0xde, 0xfb, 0x7c, 0xbf, 0xf3, 0xe6, 0x11, 0x98, 0x7b, 0x86, 0xa9, 0x61, 0xd6, 0x0c, + 0xdb, 0xd5, 0xd8, 0x13, 0xa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0x7d, 0xf7, 0xf7, 0xf7, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xef, 0x15, 0xeb, 0xd1, 0x24, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -931,7 +933,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "lightclient/query.proto", + Metadata: "zetachain/zetacore/lightclient/query.proto", } func (m *QueryAllBlockHeaderRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/lightclient/types/query.pb.gw.go b/x/lightclient/types/query.pb.gw.go index 1b62c608cb..376219b1c0 100644 --- a/x/lightclient/types/query.pb.gw.go +++ b/x/lightclient/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: lightclient/query.proto +// source: zetachain/zetacore/lightclient/query.proto /* Package types is a reverse proxy. diff --git a/x/lightclient/types/tx.pb.go b/x/lightclient/types/tx.pb.go index 669311aeda..7962585239 100644 --- a/x/lightclient/types/tx.pb.go +++ b/x/lightclient/types/tx.pb.go @@ -1,21 +1,20 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: lightclient/tx.proto +// source: zetachain/zetacore/lightclient/tx.proto 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" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/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. @@ -38,7 +37,7 @@ func (m *MsgUpdateVerificationFlags) Reset() { *m = MsgUpdateVerificatio func (m *MsgUpdateVerificationFlags) String() string { return proto.CompactTextString(m) } func (*MsgUpdateVerificationFlags) ProtoMessage() {} func (*MsgUpdateVerificationFlags) Descriptor() ([]byte, []int) { - return fileDescriptor_81fed8987f08d9c5, []int{0} + return fileDescriptor_6fec9f445d2bf2d1, []int{0} } func (m *MsgUpdateVerificationFlags) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -88,7 +87,7 @@ func (m *MsgUpdateVerificationFlagsResponse) Reset() { *m = MsgUpdateVer func (m *MsgUpdateVerificationFlagsResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateVerificationFlagsResponse) ProtoMessage() {} func (*MsgUpdateVerificationFlagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81fed8987f08d9c5, []int{1} + return fileDescriptor_6fec9f445d2bf2d1, []int{1} } func (m *MsgUpdateVerificationFlagsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -122,28 +121,30 @@ func init() { proto.RegisterType((*MsgUpdateVerificationFlagsResponse)(nil), "zetachain.zetacore.lightclient.MsgUpdateVerificationFlagsResponse") } -func init() { proto.RegisterFile("lightclient/tx.proto", fileDescriptor_81fed8987f08d9c5) } +func init() { + proto.RegisterFile("zetachain/zetacore/lightclient/tx.proto", fileDescriptor_6fec9f445d2bf2d1) +} -var fileDescriptor_81fed8987f08d9c5 = []byte{ +var fileDescriptor_6fec9f445d2bf2d1 = []byte{ // 282 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xc9, 0xc9, 0x4c, 0xcf, - 0x28, 0x49, 0xce, 0xc9, 0x4c, 0xcd, 0x2b, 0xd1, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, - 0x17, 0x92, 0xab, 0x4a, 0x2d, 0x49, 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x03, 0xb3, 0xf2, 0x8b, - 0x52, 0xf5, 0x90, 0x14, 0x4a, 0x89, 0xa4, 0xe7, 0xa7, 0xe7, 0x83, 0x95, 0xea,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 0x83, 0xdb, 0xc8, 0x50, 0x0f, 0xbf, 0x27, 0xf4, 0x30, 0x2c, 0x72, 0x62, 0x39, 0x71, + 0x4f, 0x9e, 0x21, 0x48, 0xb0, 0x0c, 0x5d, 0x42, 0x49, 0x85, 0x4b, 0x09, 0xb7, 0xfb, 0x82, 0x52, + 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x8d, 0x16, 0x32, 0x72, 0x31, 0xfb, 0x16, 0xa7, 0x0b, 0xcd, + 0x64, 0xe4, 0x12, 0xc7, 0xe5, 0x17, 0x2b, 0x42, 0xae, 0xc2, 0x6d, 0x8f, 0x94, 0x13, 0xf9, 0x7a, + 0x61, 0x6e, 0x74, 0xf2, 0x39, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, + 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xa3, + 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x70, 0xf4, 0xe9, 0xa2, 0xc5, 0x64, + 0x05, 0x6a, 0x52, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xc7, 0x9f, 0x31, 0x20, 0x00, 0x00, + 0xff, 0xff, 0xf1, 0xab, 0xf2, 0xe2, 0x59, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -223,7 +224,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "lightclient/tx.proto", + Metadata: "zetachain/zetacore/lightclient/tx.proto", } func (m *MsgUpdateVerificationFlags) Marshal() (dAtA []byte, err error) { diff --git a/x/lightclient/types/verification_flags.pb.go b/x/lightclient/types/verification_flags.pb.go index 94c90b358a..9db164b56a 100644 --- a/x/lightclient/types/verification_flags.pb.go +++ b/x/lightclient/types/verification_flags.pb.go @@ -1,15 +1,14 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: lightclient/verification_flags.proto +// source: zetachain/zetacore/lightclient/verification_flags.proto package types import ( fmt "fmt" + proto "github.com/cosmos/gogoproto/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. @@ -33,7 +32,7 @@ func (m *VerificationFlags) Reset() { *m = VerificationFlags{} } func (m *VerificationFlags) String() string { return proto.CompactTextString(m) } func (*VerificationFlags) ProtoMessage() {} func (*VerificationFlags) Descriptor() ([]byte, []int) { - return fileDescriptor_86eae6d737b3f8cc, []int{0} + return fileDescriptor_bcf482283292221c, []int{0} } func (m *VerificationFlags) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -81,24 +80,24 @@ func init() { } func init() { - proto.RegisterFile("lightclient/verification_flags.proto", fileDescriptor_86eae6d737b3f8cc) + proto.RegisterFile("zetachain/zetacore/lightclient/verification_flags.proto", fileDescriptor_bcf482283292221c) } -var fileDescriptor_86eae6d737b3f8cc = []byte{ +var fileDescriptor_bcf482283292221c = []byte{ // 199 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xc9, 0xc9, 0x4c, 0xcf, - 0x28, 0x49, 0xce, 0xc9, 0x4c, 0xcd, 0x2b, 0xd1, 0x2f, 0x4b, 0x2d, 0xca, 0x4c, 0xcb, 0x4c, 0x4e, - 0x2c, 0xc9, 0xcc, 0xcf, 0x8b, 0x4f, 0xcb, 0x49, 0x4c, 0x2f, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, - 0x17, 0x92, 0xab, 0x4a, 0x2d, 0x49, 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x03, 0xb3, 0xf2, 0x8b, - 0x52, 0xf5, 0x90, 0x34, 0x2a, 0x95, 0x73, 0x09, 0x86, 0x21, 0xe9, 0x75, 0x03, 0x69, 0x15, 0x32, - 0xe0, 0x12, 0x4e, 0x2d, 0xc9, 0x08, 0xa9, 0x2c, 0x48, 0x75, 0x06, 0xe9, 0x74, 0xcd, 0x4b, 0x4c, - 0xca, 0x49, 0x4d, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x08, 0xc2, 0x26, 0x05, 0xd2, 0x91, 0x54, - 0x92, 0x8c, 0xa1, 0x83, 0x09, 0xa2, 0x03, 0x8b, 0x94, 0x93, 0xcf, 0x89, 0x47, 0x72, 0x8c, 0x17, - 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, - 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x19, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, - 0xea, 0x83, 0xdc, 0xac, 0x0b, 0x76, 0xbe, 0x3e, 0xcc, 0xf9, 0xfa, 0x15, 0xfa, 0xc8, 0x3e, 0x2f, - 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xfb, 0xd6, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x84, - 0x57, 0x0d, 0x3e, 0x15, 0x01, 0x00, 0x00, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xaf, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x73, 0x32, 0xd3, 0x33, + 0x4a, 0x92, 0x73, 0x32, 0x53, 0xf3, 0x4a, 0xf4, 0xcb, 0x52, 0x8b, 0x32, 0xd3, 0x32, 0x93, 0x13, + 0x4b, 0x32, 0xf3, 0xf3, 0xe2, 0xd3, 0x72, 0x12, 0xd3, 0x8b, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, + 0x85, 0xe4, 0xe0, 0x1a, 0xf5, 0x60, 0x1a, 0xf5, 0x90, 0x34, 0x2a, 0x95, 0x73, 0x09, 0x86, 0x21, + 0xe9, 0x75, 0x03, 0x69, 0x15, 0x32, 0xe0, 0x12, 0x4e, 0x2d, 0xc9, 0x08, 0xa9, 0x2c, 0x48, 0x75, + 0x06, 0xe9, 0x74, 0xcd, 0x4b, 0x4c, 0xca, 0x49, 0x4d, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x08, + 0xc2, 0x26, 0x05, 0xd2, 0x91, 0x54, 0x92, 0x8c, 0xa1, 0x83, 0x09, 0xa2, 0x03, 0x8b, 0x94, 0x93, + 0xcf, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, + 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x19, 0xa5, 0x67, 0x96, 0x64, + 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0x82, 0x3d, 0xab, 0x8b, 0xe6, 0xef, 0x0a, 0x14, 0x9f, 0x97, + 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x7d, 0x6b, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xab, + 0x69, 0x91, 0x02, 0x28, 0x01, 0x00, 0x00, } func (m *VerificationFlags) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/client/querytests/chain_nonces.go b/x/observer/client/querytests/chain_nonces.go index 03175365a3..ebe99b8f01 100644 --- a/x/observer/client/querytests/chain_nonces.go +++ b/x/observer/client/querytests/chain_nonces.go @@ -3,9 +3,9 @@ package querytests import ( "fmt" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zeta-chain/zetacore/x/observer/client/cli" "github.com/zeta-chain/zetacore/x/observer/types" "google.golang.org/grpc/codes" diff --git a/x/observer/client/querytests/cli_test.go b/x/observer/client/querytests/cli_test.go index ad30a35dc1..ca7a115d8b 100644 --- a/x/observer/client/querytests/cli_test.go +++ b/x/observer/client/querytests/cli_test.go @@ -1,63 +1,46 @@ package querytests import ( - "fmt" "testing" - "time" "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/crypto/hd" - "github.com/cosmos/cosmos-sdk/crypto/keyring" - pruningtypes "github.com/cosmos/cosmos-sdk/pruning/types" servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/simapp" - sdk "github.com/cosmos/cosmos-sdk/types" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + pruningtypes "github.com/cosmos/cosmos-sdk/store/pruning/types" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" + "github.com/cosmos/cosmos-sdk/types/module/testutil" + + tmdb "github.com/cometbft/cometbft-db" "github.com/stretchr/testify/suite" - tmdb "github.com/tendermint/tm-db" "github.com/zeta-chain/zetacore/app" - "github.com/zeta-chain/zetacore/cmd/zetacored/config" "github.com/zeta-chain/zetacore/testutil/network" ) func TestCLIQuerySuite(t *testing.T) { - cfg := CliTestConfig() + cfg := network.DefaultConfig(NewTestNetworkFixture) suite.Run(t, NewCLITestSuite(cfg)) } -func CliTestConfig() network.Config { +func NewTestNetworkFixture() network.TestFixture { encoding := app.MakeEncodingConfig() - return network.Config{ - Codec: encoding.Codec, - TxConfig: encoding.TxConfig, - LegacyAmino: encoding.Amino, - InterfaceRegistry: encoding.InterfaceRegistry, - AccountRetriever: authtypes.AccountRetriever{}, - AppConstructor: func(val network.Validator) servertypes.Application { - return app.New( - val.Ctx.Logger, tmdb.NewMemDB(), nil, true, map[int64]bool{}, val.Ctx.Config.RootDir, 0, - encoding, - simapp.EmptyAppOptions{}, - baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.AppConfig.Pruning)), - baseapp.SetMinGasPrices(val.AppConfig.MinGasPrices), - ) - }, - GenesisState: app.ModuleBasics.DefaultGenesis(encoding.Codec), - TimeoutCommit: 2 * time.Second, - ChainID: "athens_8888-2", - NumOfValidators: 2, - Mnemonics: []string{ - "race draft rival universe maid cheese steel logic crowd fork comic easy truth drift tomorrow eye buddy head time cash swing swift midnight borrow", - "hand inmate canvas head lunar naive increase recycle dog ecology inhale december wide bubble hockey dice worth gravity ketchup feed balance parent secret orchard", + appCtr := func(val network.ValidatorI) servertypes.Application { + return app.New( + val.GetCtx().Logger, tmdb.NewMemDB(), nil, true, map[int64]bool{}, val.GetCtx().Config.RootDir, 0, + encoding, + simtestutil.EmptyAppOptions{}, + baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.GetAppConfig().Pruning)), + baseapp.SetMinGasPrices(val.GetAppConfig().MinGasPrices), + baseapp.SetChainID("athens_8888-2"), + ) + } + + return network.TestFixture{ + AppConstructor: appCtr, + GenesisState: app.ModuleBasics.DefaultGenesis(encoding.Codec), + EncodingConfig: testutil.TestEncodingConfig{ + InterfaceRegistry: encoding.InterfaceRegistry, + Codec: encoding.Codec, + TxConfig: encoding.TxConfig, + Amino: encoding.Amino, }, - BondDenom: config.BaseDenom, - MinGasPrices: fmt.Sprintf("0.000006%s", config.BaseDenom), - AccountTokens: sdk.TokensFromConsensusPower(1000, sdk.DefaultPowerReduction), - StakingTokens: sdk.TokensFromConsensusPower(500, sdk.DefaultPowerReduction), - BondedTokens: sdk.TokensFromConsensusPower(100, sdk.DefaultPowerReduction), - PruningStrategy: pruningtypes.PruningOptionNothing, - CleanupDir: true, - SigningAlgo: string(hd.Secp256k1Type), - KeyringOptions: []keyring.Option{}, } } diff --git a/x/observer/client/querytests/crosschain_flags.go b/x/observer/client/querytests/crosschain_flags.go index 6fecb17899..d351ea248b 100644 --- a/x/observer/client/querytests/crosschain_flags.go +++ b/x/observer/client/querytests/crosschain_flags.go @@ -3,8 +3,8 @@ package querytests import ( "fmt" + tmcli "github.com/cometbft/cometbft/libs/cli" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zeta-chain/zetacore/testutil/nullify" "github.com/zeta-chain/zetacore/x/observer/client/cli" "github.com/zeta-chain/zetacore/x/observer/types" diff --git a/x/observer/client/querytests/keygen.go b/x/observer/client/querytests/keygen.go index 2cf801e448..b738c04144 100644 --- a/x/observer/client/querytests/keygen.go +++ b/x/observer/client/querytests/keygen.go @@ -3,8 +3,8 @@ package querytests import ( "fmt" + tmcli "github.com/cometbft/cometbft/libs/cli" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zeta-chain/zetacore/x/observer/client/cli" observerTypes "github.com/zeta-chain/zetacore/x/observer/types" "google.golang.org/grpc/status" diff --git a/x/observer/client/querytests/node_account.go b/x/observer/client/querytests/node_account.go index 4f3a1547b1..4d6185e16d 100644 --- a/x/observer/client/querytests/node_account.go +++ b/x/observer/client/querytests/node_account.go @@ -3,8 +3,8 @@ package querytests import ( "fmt" + tmcli "github.com/cometbft/cometbft/libs/cli" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zeta-chain/zetacore/x/observer/client/cli" zetaObserverTypes "github.com/zeta-chain/zetacore/x/observer/types" "google.golang.org/grpc/codes" diff --git a/x/observer/client/querytests/tss.go b/x/observer/client/querytests/tss.go index d764052100..1f0b6366b2 100644 --- a/x/observer/client/querytests/tss.go +++ b/x/observer/client/querytests/tss.go @@ -3,8 +3,8 @@ package querytests import ( "fmt" + tmcli "github.com/cometbft/cometbft/libs/cli" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zeta-chain/zetacore/x/observer/client/cli" "github.com/zeta-chain/zetacore/x/observer/types" "google.golang.org/grpc/status" diff --git a/x/observer/keeper/ballot_test.go b/x/observer/keeper/ballot_test.go index e7511a3fe4..1f06f4bb91 100644 --- a/x/observer/keeper/ballot_test.go +++ b/x/observer/keeper/ballot_test.go @@ -19,7 +19,7 @@ func TestKeeper_GetBallot(t *testing.T) { BallotIdentifier: identifier, VoterList: nil, ObservationType: 0, - BallotThreshold: sdk.Dec{}, + BallotThreshold: sdk.ZeroDec(), BallotStatus: 0, BallotCreationHeight: 1, } @@ -38,7 +38,7 @@ func TestKeeper_GetBallot(t *testing.T) { BallotIdentifier: identifier, VoterList: nil, ObservationType: 1, - BallotThreshold: sdk.Dec{}, + BallotThreshold: sdk.ZeroDec(), BallotStatus: 1, BallotCreationHeight: 2, } @@ -60,7 +60,7 @@ func TestKeeper_GetBallotList(t *testing.T) { BallotIdentifier: identifier, VoterList: nil, ObservationType: 0, - BallotThreshold: sdk.Dec{}, + BallotThreshold: sdk.ZeroDec(), BallotStatus: 0, BallotCreationHeight: 1, } @@ -105,7 +105,7 @@ func TestKeeper_GetAllBallots(t *testing.T) { BallotIdentifier: identifier, VoterList: nil, ObservationType: 0, - BallotThreshold: sdk.Dec{}, + BallotThreshold: sdk.ZeroDec(), BallotStatus: 0, BallotCreationHeight: 1, } diff --git a/x/observer/keeper/grpc_query_chain_params_test.go b/x/observer/keeper/grpc_query_chain_params_test.go index 0e7145e5cd..a0af34be71 100644 --- a/x/observer/keeper/grpc_query_chain_params_test.go +++ b/x/observer/keeper/grpc_query_chain_params_test.go @@ -38,8 +38,10 @@ func TestKeeper_GetChainParamsForChain(t *testing.T) { list := types.ChainParamsList{ ChainParams: []*types.ChainParams{ { - ChainId: chains.ZetaPrivnetChain().ChainId, - IsSupported: false, + ChainId: chains.ZetaPrivnetChain().ChainId, + IsSupported: false, + BallotThreshold: sdk.ZeroDec(), + MinObserverDelegation: sdk.ZeroDec(), }, }, } @@ -81,8 +83,10 @@ func TestKeeper_GetChainParams(t *testing.T) { list := types.ChainParamsList{ ChainParams: []*types.ChainParams{ { - ChainId: chains.ZetaPrivnetChain().ChainId, - IsSupported: false, + ChainId: chains.ZetaPrivnetChain().ChainId, + IsSupported: false, + BallotThreshold: sdk.ZeroDec(), + MinObserverDelegation: sdk.ZeroDec(), }, }, } diff --git a/x/observer/keeper/hooks.go b/x/observer/keeper/hooks.go index 4589adf774..b6955df0ce 100644 --- a/x/observer/keeper/hooks.go +++ b/x/observer/keeper/hooks.go @@ -137,3 +137,7 @@ func (k Keeper) CheckAndCleanObserverDelegator(ctx sdk.Context, valAddress sdk.V } return nil } + +func (h Hooks) AfterUnbondingInitiated(_ sdk.Context, _ uint64) error { + return nil +} diff --git a/x/observer/keeper/keeper.go b/x/observer/keeper/keeper.go index ff693970f9..61cc3a8f56 100644 --- a/x/observer/keeper/keeper.go +++ b/x/observer/keeper/keeper.go @@ -3,10 +3,10 @@ package keeper import ( "fmt" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tendermint/tendermint/libs/log" "github.com/zeta-chain/zetacore/x/observer/types" ) diff --git a/x/observer/keeper/msg_server_add_observer_test.go b/x/observer/keeper/msg_server_add_observer_test.go index 0cbb9df514..f3e0aab028 100644 --- a/x/observer/keeper/msg_server_add_observer_test.go +++ b/x/observer/keeper/msg_server_add_observer_test.go @@ -4,9 +4,9 @@ import ( "math" "testing" + "github.com/cometbft/cometbft/crypto" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/crypto" keepertest "github.com/zeta-chain/zetacore/testutil/keeper" "github.com/zeta-chain/zetacore/testutil/sample" authoritytypes "github.com/zeta-chain/zetacore/x/authority/types" diff --git a/x/observer/module.go b/x/observer/module.go index d6f9ba1d11..f110323948 100644 --- a/x/observer/module.go +++ b/x/observer/module.go @@ -9,7 +9,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" @@ -119,19 +119,6 @@ func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the observer module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.Route{} -} - -// QuerierRoute returns the observer module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } - -// LegacyQuerierHandler returns the observer module's Querier. -func (am AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier { - return nil -} - // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. func (am AppModule) RegisterServices(cfg module.Configurator) { diff --git a/x/observer/module_simulation.go b/x/observer/module_simulation.go index 4c0604bae5..05d61243a4 100644 --- a/x/observer/module_simulation.go +++ b/x/observer/module_simulation.go @@ -30,10 +30,8 @@ func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedP return nil } -// RandomizedParams creates randomized param changes for the simulator -func (am AppModule) RandomizedParams(_ *rand.Rand) []simtypes.ParamChange { - - return []simtypes.ParamChange{} +func (AppModule) ProposalMsgs(_ module.SimulationState) []simtypes.WeightedProposalMsg { + return nil } // RegisterStoreDecoder registers a decoder diff --git a/x/observer/types/ballot.pb.go b/x/observer/types/ballot.pb.go index 8e9313d1dd..ecff89c287 100644 --- a/x/observer/types/ballot.pb.go +++ b/x/observer/types/ballot.pb.go @@ -1,17 +1,16 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/ballot.proto +// source: zetachain/zetacore/observer/ballot.proto package types import ( fmt "fmt" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" 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" ) // Reference imports to suppress errors if they are not otherwise used. @@ -50,7 +49,7 @@ func (x VoteType) String() string { } func (VoteType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9eac86b249c97b5b, []int{0} + return fileDescriptor_18c7141b763f2e87, []int{0} } type BallotStatus int32 @@ -78,7 +77,7 @@ func (x BallotStatus) String() string { } func (BallotStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9eac86b249c97b5b, []int{1} + return fileDescriptor_18c7141b763f2e87, []int{1} } // https://github.com/zeta-chain/node/issues/939 @@ -97,7 +96,7 @@ func (m *Ballot) Reset() { *m = Ballot{} } func (m *Ballot) String() string { return proto.CompactTextString(m) } func (*Ballot) ProtoMessage() {} func (*Ballot) Descriptor() ([]byte, []int) { - return fileDescriptor_9eac86b249c97b5b, []int{0} + return fileDescriptor_18c7141b763f2e87, []int{0} } func (m *Ballot) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -184,7 +183,7 @@ func (m *BallotListForHeight) Reset() { *m = BallotListForHeight{} } func (m *BallotListForHeight) String() string { return proto.CompactTextString(m) } func (*BallotListForHeight) ProtoMessage() {} func (*BallotListForHeight) Descriptor() ([]byte, []int) { - return fileDescriptor_9eac86b249c97b5b, []int{1} + return fileDescriptor_18c7141b763f2e87, []int{1} } func (m *BallotListForHeight) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -234,44 +233,46 @@ func init() { proto.RegisterType((*BallotListForHeight)(nil), "zetachain.zetacore.observer.BallotListForHeight") } -func init() { proto.RegisterFile("observer/ballot.proto", fileDescriptor_9eac86b249c97b5b) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/ballot.proto", fileDescriptor_18c7141b763f2e87) +} -var fileDescriptor_9eac86b249c97b5b = []byte{ - // 537 bytes of a gzipped FileDescriptorProto +var fileDescriptor_18c7141b763f2e87 = []byte{ + // 540 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xc1, 0x6e, 0xd3, 0x40, - 0x10, 0x8d, 0x93, 0x26, 0x34, 0x43, 0x69, 0xc2, 0x12, 0x82, 0x15, 0x84, 0x1b, 0x45, 0xa2, 0x0a, - 0xa5, 0xb5, 0xa5, 0xc2, 0x8d, 0x5b, 0x40, 0x11, 0x91, 0x50, 0x01, 0xb7, 0x02, 0x15, 0x0e, 0x96, - 0x63, 0x0f, 0xf1, 0x0a, 0xd7, 0x1b, 0xed, 0x6e, 0xaa, 0x36, 0x5f, 0xc1, 0x47, 0x70, 0xe0, 0x53, - 0x7a, 0xec, 0x11, 0x71, 0xa8, 0x20, 0xf9, 0x11, 0xe4, 0x5d, 0x3b, 0x04, 0x29, 0xca, 0xc9, 0x3b, - 0xf3, 0xe6, 0xbd, 0xd9, 0x9d, 0x37, 0x86, 0xfb, 0x6c, 0x28, 0x90, 0x9f, 0x23, 0x77, 0x86, 0x7e, - 0x1c, 0x33, 0x69, 0x8f, 0x39, 0x93, 0x8c, 0x3c, 0x9c, 0xa2, 0xf4, 0x83, 0xc8, 0xa7, 0x89, 0xad, - 0x4e, 0x8c, 0xa3, 0x9d, 0x57, 0xb6, 0x1a, 0x23, 0x36, 0x62, 0xaa, 0xce, 0x49, 0x4f, 0x9a, 0xd2, - 0x7a, 0xb0, 0x50, 0xca, 0x0f, 0x1a, 0xe8, 0xfc, 0x29, 0x41, 0xa5, 0xa7, 0xc4, 0x49, 0x03, 0xca, - 0x34, 0x09, 0xf1, 0xc2, 0x34, 0xda, 0x46, 0xb7, 0xea, 0xea, 0x80, 0x3c, 0x85, 0xbb, 0xba, 0xb9, - 0x47, 0x43, 0x4c, 0x24, 0xfd, 0x42, 0x91, 0x9b, 0x45, 0x55, 0x51, 0xd7, 0xc0, 0x60, 0x91, 0x27, - 0x8f, 0x00, 0xce, 0x99, 0x44, 0xee, 0xc5, 0x54, 0x48, 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x2b, 0x31, 0xb3, 0x49, 0xf1, 0x91, 0x0c, + 0x48, 0xba, 0xfe, 0x7b, 0xb4, 0x99, 0x2b, 0x85, 0xdb, 0x08, 0x1f, 0xcd, 0xc2, 0x10, 0x38, 0x2f, + 0x0c, 0xbd, 0x59, 0x92, 0xfe, 0x61, 0x40, 0x92, 0x19, 0x83, 0xa2, 0xdf, 0xc0, 0x0d, 0x74, 0xf7, + 0x90, 0x8a, 0x13, 0x10, 0x92, 0x21, 0x6a, 0x96, 0x3b, 0x1b, 0x3f, 0xbe, 0x5b, 0x46, 0x7f, 0x8e, + 0xb6, 0x8a, 0x33, 0xc0, 0xbb, 0xa8, 0xa7, 0xed, 0x21, 0x49, 0x83, 0x84, 0xcc, 0x21, 0xf2, 0x57, + 0x96, 0x59, 0x81, 0x5b, 0x59, 0xb6, 0x85, 0x9a, 0x1a, 0x37, 0x4a, 0xdf, 0x31, 0x3a, 0x61, 0xc0, + 0x79, 0x5e, 0x7b, 0x30, 0xba, 0x5c, 0x58, 0xc6, 0xd5, 0xc2, 0x32, 0x7e, 0x2f, 0x2c, 0xe3, 0xdb, + 0xd2, 0x2a, 0x5d, 0x2d, 0xad, 0xd2, 0xcf, 0xa5, 0x55, 0xfa, 0xe4, 0x16, 0x3e, 0x81, 0x14, 0x6d, + 0xff, 0xbf, 0x0d, 0x3b, 0xbf, 0xdd, 0x31, 0xf5, 0x23, 0xc6, 0x35, 0xb5, 0x61, 0xcf, 0xfe, 0x06, + 0x00, 0x00, 0xff, 0xff, 0xd6, 0xf7, 0x30, 0x7b, 0xec, 0x03, 0x00, 0x00, } func (m *Ballot) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/blame.pb.go b/x/observer/types/blame.pb.go index 3968ee3f09..ede43964f2 100644 --- a/x/observer/types/blame.pb.go +++ b/x/observer/types/blame.pb.go @@ -1,15 +1,14 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/blame.proto +// source: zetachain/zetacore/observer/blame.proto package types import ( fmt "fmt" + proto "github.com/cosmos/gogoproto/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. @@ -33,7 +32,7 @@ func (m *Node) Reset() { *m = Node{} } func (m *Node) String() string { return proto.CompactTextString(m) } func (*Node) ProtoMessage() {} func (*Node) Descriptor() ([]byte, []int) { - return fileDescriptor_e9eda3a934f0dc78, []int{0} + return fileDescriptor_43b03381a0168e22, []int{0} } func (m *Node) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -93,7 +92,7 @@ func (m *Blame) Reset() { *m = Blame{} } func (m *Blame) String() string { return proto.CompactTextString(m) } func (*Blame) ProtoMessage() {} func (*Blame) Descriptor() ([]byte, []int) { - return fileDescriptor_e9eda3a934f0dc78, []int{1} + return fileDescriptor_43b03381a0168e22, []int{1} } func (m *Blame) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -148,29 +147,31 @@ func init() { proto.RegisterType((*Blame)(nil), "zetachain.zetacore.observer.Blame") } -func init() { proto.RegisterFile("observer/blame.proto", fileDescriptor_e9eda3a934f0dc78) } - -var fileDescriptor_e9eda3a934f0dc78 = []byte{ - // 292 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4b, 0xc3, 0x30, - 0x14, 0xc6, 0x17, 0xe7, 0x26, 0x8d, 0x3a, 0x21, 0x0c, 0x56, 0x14, 0x43, 0x1d, 0x88, 0xbd, 0x98, - 0x80, 0x1e, 0xbc, 0x0f, 0x2f, 0x22, 0x78, 0xa8, 0x37, 0x2f, 0x25, 0x59, 0x9f, 0x5d, 0x71, 0x6b, - 0x4a, 0x9a, 0xca, 0x2a, 0xf8, 0x3f, 0xf8, 0x67, 0x79, 0xdc, 0xd1, 0xa3, 0xb4, 0xff, 0x88, 0x34, - 0x5d, 0x77, 0xf4, 0xf6, 0xf2, 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xf0, 0x38, 0x31, 0x8b, 0x42, - 0xb2, 0xb9, 0x5a, 0xf1, 0xc6, 0xe3, 0xda, 0xda, 0xf1, 0xce, 0x8e, 0xaf, 0x77, 0x95, 0x71, 0x53, - 0x66, 0x90, 0xcb, 0xa1, 0x6d, 0xee, 0xf6, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x5e, 0x43, 0xc9, - 0x87, 0x01, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/observer/blame.proto", fileDescriptor_43b03381a0168e22) +} + +var fileDescriptor_43b03381a0168e22 = []byte{ + // 294 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4b, 0xc3, 0x30, + 0x14, 0xc7, 0x17, 0x6b, 0x27, 0x8d, 0x3a, 0x21, 0x08, 0x16, 0xc5, 0x50, 0x07, 0xb2, 0x22, 0x98, + 0x82, 0x1e, 0xbc, 0x0f, 0x2f, 0x22, 0x78, 0xa8, 0x37, 0x2f, 0x25, 0x59, 0x9f, 0x5d, 0x71, 0x6b, + 0x4a, 0x9a, 0xca, 0x2a, 0xf8, 0x1d, 0xfc, 0x58, 0x1e, 0x77, 0xf4, 0x28, 0xed, 0x17, 0x91, 0xa5, + 0xab, 0x82, 0x87, 0xdd, 0x5e, 0x7e, 0xf9, 0xf3, 0xfe, 0xbc, 0x1f, 0x1e, 0xbd, 0x81, 0xe6, 0x93, + 0x29, 0x4f, 0xb3, 0xc0, 0x4c, 0x52, 0x41, 0x20, 0x45, 0x01, 0xea, 0x15, 0x54, 0x20, 0x66, 0x7c, + 0x0e, 0x2c, 0x57, 0x52, 0x4b, 0x72, 0xf2, 0x1b, 0x64, 0x5d, 0x90, 0x75, 0xc1, 0xe3, 0x8b, 0x4d, + 0x5b, 0xba, 0xa1, 0x5d, 0x34, 0x4c, 0xf0, 0xf6, 0x83, 0x8c, 0x81, 0x1c, 0xe1, 0x9d, 0xbc, 0x14, + 0xd1, 0x0b, 0x54, 0x2e, 0xf2, 0x90, 0xef, 0x84, 0xfd, 0xbc, 0x14, 0xf7, 0x50, 0x91, 0x53, 0x8c, + 0x4d, 0x71, 0x14, 0x73, 0xcd, 0xdd, 0x2d, 0x0f, 0xf9, 0x7b, 0xa1, 0x63, 0xc8, 0x2d, 0xd7, 0x9c, + 0x8c, 0xf0, 0x41, 0xfb, 0x5d, 0xa4, 0x49, 0xc6, 0x75, 0xa9, 0xc0, 0xb5, 0x4c, 0x66, 0x60, 0xf0, + 0x63, 0x47, 0x87, 0xef, 0xd8, 0x1e, 0xaf, 0x08, 0x39, 0xc4, 0x76, 0x9a, 0xc5, 0xb0, 0x58, 0xf7, + 0xb4, 0x0f, 0x72, 0x8e, 0x07, 0xcf, 0x3c, 0x9d, 0x95, 0x0a, 0x22, 0x05, 0xbc, 0x90, 0x99, 0xa9, + 0x72, 0xc2, 0xfd, 0x35, 0x0d, 0x0d, 0x24, 0x37, 0xd8, 0xce, 0x64, 0x0c, 0x85, 0x6b, 0x79, 0x96, + 0xbf, 0x7b, 0x75, 0xc6, 0x36, 0x78, 0x60, 0xab, 0xc3, 0xc2, 0x36, 0x3f, 0xbe, 0xfb, 0xac, 0x29, + 0x5a, 0xd6, 0x14, 0x7d, 0xd7, 0x14, 0x7d, 0x34, 0xb4, 0xb7, 0x6c, 0x68, 0xef, 0xab, 0xa1, 0xbd, + 0xa7, 0x20, 0x49, 0xf5, 0xb4, 0x14, 0x6c, 0x22, 0xe7, 0x46, 0xd7, 0xe5, 0x3f, 0x73, 0x8b, 0x3f, + 0x77, 0xba, 0xca, 0xa1, 0x10, 0x7d, 0x63, 0xee, 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0xa5, 0x32, + 0xa0, 0x8a, 0xad, 0x01, 0x00, 0x00, } func (m *Node) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/chain_nonces.pb.go b/x/observer/types/chain_nonces.pb.go index 18090e8ec5..f1ea309c73 100644 --- a/x/observer/types/chain_nonces.pb.go +++ b/x/observer/types/chain_nonces.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/chain_nonces.proto +// source: zetachain/zetacore/observer/chain_nonces.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -37,7 +36,7 @@ func (m *ChainNonces) Reset() { *m = ChainNonces{} } func (m *ChainNonces) String() string { return proto.CompactTextString(m) } func (*ChainNonces) ProtoMessage() {} func (*ChainNonces) Descriptor() ([]byte, []int) { - return fileDescriptor_a4a180ef3ffea001, []int{0} + return fileDescriptor_d8bc11608907ed56, []int{0} } func (m *ChainNonces) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -112,27 +111,29 @@ func init() { proto.RegisterType((*ChainNonces)(nil), "zetachain.zetacore.observer.ChainNonces") } -func init() { proto.RegisterFile("observer/chain_nonces.proto", fileDescriptor_a4a180ef3ffea001) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/chain_nonces.proto", fileDescriptor_d8bc11608907ed56) +} -var fileDescriptor_a4a180ef3ffea001 = []byte{ - // 267 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x3d, 0x4e, 0xfc, 0x30, - 0x10, 0xc5, 0xe3, 0x7f, 0xf6, 0xe3, 0x8f, 0x29, 0x90, 0xac, 0x2d, 0x0c, 0x2b, 0x59, 0x11, 0x55, - 0x1a, 0xe2, 0x82, 0x1b, 0x40, 0xc3, 0x36, 0x14, 0x29, 0x69, 0x50, 0x3e, 0x06, 0xc7, 0x12, 0xd8, - 0x2b, 0xdb, 0xa0, 0x65, 0x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x15, 0x5c, 0x60, 0x18, 0x39, 0xb5, - 0x21, 0x77, 0xf2, 0xb7, 0xbf, 0xf0, 0xba, 0x05, 0x5f, 0x2f, 0xb0, 0x86, 0xcb, 0xef, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xfa, 0xab, 0xcc, 0x63, 0x58, 0x01, 0x00, 0x00, +var fileDescriptor_d8bc11608907ed56 = []byte{ + // 266 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x3d, 0x4e, 0xc4, 0x30, + 0x10, 0x85, 0xd7, 0x64, 0x7f, 0xc0, 0x14, 0x48, 0xd1, 0x16, 0x06, 0x24, 0x2b, 0xa2, 0x4a, 0x83, + 0x5d, 0x70, 0x03, 0x68, 0xd8, 0x86, 0x22, 0x25, 0x0d, 0xca, 0xcf, 0xe0, 0x58, 0x02, 0x7b, 0x65, + 0x1b, 0xb4, 0xec, 0x29, 0x38, 0x0b, 0xa7, 0xa0, 0xdc, 0x92, 0x12, 0x25, 0x17, 0x41, 0x9e, 0x10, + 0x90, 0xb6, 0x9b, 0xef, 0xe9, 0xbd, 0x99, 0xd1, 0xa3, 0x62, 0x0b, 0xa1, 0xac, 0xdb, 0x52, 0x1b, + 0x89, 0x93, 0x75, 0x20, 0x6d, 0xe5, 0xc1, 0xbd, 0x82, 0x93, 0xa8, 0x3f, 0x18, 0x6b, 0x6a, 0xf0, + 0x62, 0xed, 0x6c, 0xb0, 0xe9, 0xf9, 0x9f, 0x5f, 0x8c, 0x7e, 0x31, 0xfa, 0xcf, 0x96, 0xca, 0x2a, + 0x8b, 0x3e, 0x19, 0xa7, 0x21, 0x72, 0xf1, 0x41, 0xe8, 0xf1, 0x4d, 0x4c, 0xdc, 0xe1, 0xa2, 0x94, + 0xd1, 0x45, 0xed, 0xa0, 0x0c, 0xd6, 0x31, 0x92, 0x91, 0xfc, 0xa8, 0x18, 0x31, 0x5d, 0xd2, 0x99, + 0x36, 0x0d, 0x6c, 0xd8, 0x01, 0xea, 0x03, 0xa4, 0xa7, 0xf4, 0x70, 0x78, 0x44, 0x37, 0x2c, 0xc9, + 0x48, 0x9e, 0x14, 0x0b, 0xe4, 0x55, 0x13, 0x03, 0xf8, 0x1d, 0x9b, 0x66, 0x24, 0x9f, 0x16, 0x03, + 0xc4, 0x03, 0x5e, 0x2b, 0x03, 0xce, 0xb3, 0x59, 0x96, 0xc4, 0x03, 0xbf, 0x98, 0xe6, 0xf4, 0xe4, + 0x51, 0x9b, 0xf2, 0x49, 0x6f, 0xa1, 0xb9, 0x05, 0xad, 0xda, 0xc0, 0xe6, 0x98, 0xdc, 0x97, 0xaf, + 0x57, 0x9f, 0x1d, 0x27, 0xbb, 0x8e, 0x93, 0xef, 0x8e, 0x93, 0xf7, 0x9e, 0x4f, 0x76, 0x3d, 0x9f, + 0x7c, 0xf5, 0x7c, 0x72, 0x2f, 0x95, 0x0e, 0xed, 0x4b, 0x25, 0x6a, 0xfb, 0x8c, 0x95, 0x5d, 0xee, + 0xb5, 0xb7, 0xf9, 0xef, 0x2f, 0xbc, 0xad, 0xc1, 0x57, 0x73, 0xac, 0xe1, 0xea, 0x27, 0x00, 0x00, + 0xff, 0xff, 0x6c, 0x72, 0x2e, 0x5e, 0x6b, 0x01, 0x00, 0x00, } func (m *ChainNonces) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/crosschain_flags.pb.go b/x/observer/types/crosschain_flags.pb.go index e8948a2b9b..606ca3fa16 100644 --- a/x/observer/types/crosschain_flags.pb.go +++ b/x/observer/types/crosschain_flags.pb.go @@ -1,19 +1,18 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/crosschain_flags.proto +// source: zetachain/zetacore/observer/crosschain_flags.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" + _ "google.golang.org/protobuf/types/known/durationpb" io "io" math "math" math_bits "math/bits" time "time" - - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" - _ "google.golang.org/protobuf/types/known/durationpb" ) // Reference imports to suppress errors if they are not otherwise used. @@ -43,7 +42,7 @@ func (m *GasPriceIncreaseFlags) Reset() { *m = GasPriceIncreaseFlags{} } func (m *GasPriceIncreaseFlags) String() string { return proto.CompactTextString(m) } func (*GasPriceIncreaseFlags) ProtoMessage() {} func (*GasPriceIncreaseFlags) Descriptor() ([]byte, []int) { - return fileDescriptor_b948b59e4d986f49, []int{0} + return fileDescriptor_f617dc4ef266f323, []int{0} } func (m *GasPriceIncreaseFlags) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -117,7 +116,7 @@ func (m *BlockHeaderVerificationFlags) Reset() { *m = BlockHeaderVerific func (m *BlockHeaderVerificationFlags) String() string { return proto.CompactTextString(m) } func (*BlockHeaderVerificationFlags) ProtoMessage() {} func (*BlockHeaderVerificationFlags) Descriptor() ([]byte, []int) { - return fileDescriptor_b948b59e4d986f49, []int{1} + return fileDescriptor_f617dc4ef266f323, []int{1} } func (m *BlockHeaderVerificationFlags) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -172,7 +171,7 @@ func (m *CrosschainFlags) Reset() { *m = CrosschainFlags{} } func (m *CrosschainFlags) String() string { return proto.CompactTextString(m) } func (*CrosschainFlags) ProtoMessage() {} func (*CrosschainFlags) Descriptor() ([]byte, []int) { - return fileDescriptor_b948b59e4d986f49, []int{2} + return fileDescriptor_f617dc4ef266f323, []int{2} } func (m *CrosschainFlags) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -239,7 +238,7 @@ func (m *LegacyCrosschainFlags) Reset() { *m = LegacyCrosschainFlags{} } func (m *LegacyCrosschainFlags) String() string { return proto.CompactTextString(m) } func (*LegacyCrosschainFlags) ProtoMessage() {} func (*LegacyCrosschainFlags) Descriptor() ([]byte, []int) { - return fileDescriptor_b948b59e4d986f49, []int{3} + return fileDescriptor_f617dc4ef266f323, []int{3} } func (m *LegacyCrosschainFlags) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -296,41 +295,43 @@ func init() { proto.RegisterType((*LegacyCrosschainFlags)(nil), "zetachain.zetacore.observer.LegacyCrosschainFlags") } -func init() { proto.RegisterFile("observer/crosschain_flags.proto", fileDescriptor_b948b59e4d986f49) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/crosschain_flags.proto", fileDescriptor_f617dc4ef266f323) +} -var fileDescriptor_b948b59e4d986f49 = []byte{ - // 487 bytes of a gzipped FileDescriptorProto +var fileDescriptor_f617dc4ef266f323 = []byte{ + // 489 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x94, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x3b, 0x5d, 0x95, 0x65, 0xca, 0xb2, 0x1a, 0x2d, 0xd6, 0x75, 0x49, 0x4b, 0x4f, 0x45, - 0x34, 0x23, 0xd5, 0x83, 0x5e, 0x5b, 0x57, 0x0d, 0xac, 0x58, 0x82, 0x78, 0xf0, 0x22, 0x93, 0xc9, + 0x14, 0xc7, 0x3b, 0x5d, 0x95, 0x65, 0xca, 0xb2, 0x1a, 0x2d, 0xc6, 0x75, 0xc9, 0x96, 0x9e, 0x8a, + 0x68, 0x22, 0xd1, 0x83, 0x5e, 0x5b, 0x57, 0x0d, 0xac, 0x58, 0x82, 0x78, 0xf0, 0x22, 0x93, 0xc9, 0xeb, 0x64, 0x30, 0x3b, 0x53, 0x66, 0x26, 0x4b, 0x2b, 0xf8, 0x05, 0x3c, 0x79, 0x14, 0x3f, 0xd1, - 0x1e, 0xf7, 0xe0, 0x41, 0x10, 0x54, 0xda, 0x2f, 0x22, 0x9d, 0xd8, 0xc5, 0xb6, 0x31, 0x1f, 0x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b0, 0xed, 0x68, + 0x85, 0xa1, 0x5f, 0x33, 0x8a, 0x7e, 0xe5, 0x40, 0xc5, 0xd5, 0x17, 0x3a, 0x1f, 0xf0, 0x7e, 0x52, + 0x53, 0x63, 0xdb, 0xc9, 0x56, 0xf8, 0xb8, 0xd6, 0xb0, 0xae, 0x49, 0x71, 0xed, 0xf5, 0xdd, 0xef, + 0x08, 0xb7, 0x8f, 0x80, 0x11, 0x3a, 0xbd, 0x80, 0xc5, 0xed, 0x47, 0xa7, 0x33, 0x0f, 0x9d, 0xcd, + 0x3c, 0xf4, 0x6b, 0xe6, 0xa1, 0x4f, 0x73, 0xaf, 0x71, 0x36, 0xf7, 0x1a, 0xdf, 0xe6, 0x5e, 0xe3, + 0x4d, 0xc0, 0xb8, 0xc9, 0x8a, 0xc4, 0xa7, 0xf2, 0xd8, 0x2e, 0xa0, 0x7b, 0x6b, 0xbb, 0x68, 0xf2, + 0x77, 0x1b, 0x99, 0xe9, 0x18, 0x74, 0x72, 0xc5, 0xfe, 0xce, 0x0f, 0x7e, 0x07, 0x00, 0x00, 0xff, + 0xff, 0x0a, 0xf5, 0x31, 0xed, 0xb9, 0x04, 0x00, 0x00, } func (m *GasPriceIncreaseFlags) Marshal() (dAtA []byte, err error) { @@ -368,7 +369,7 @@ func (m *GasPriceIncreaseFlags) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x18 } - n1, err1 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.RetryInterval, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.RetryInterval):]) + n1, err1 := github_com_cosmos_gogoproto_types.StdDurationMarshalTo(m.RetryInterval, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.RetryInterval):]) if err1 != nil { return 0, err1 } @@ -569,7 +570,7 @@ func (m *GasPriceIncreaseFlags) Size() (n int) { if m.EpochLength != 0 { n += 1 + sovCrosschainFlags(uint64(m.EpochLength)) } - l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.RetryInterval) + l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.RetryInterval) n += 1 + l + sovCrosschainFlags(uint64(l)) if m.GasPriceIncreasePercent != 0 { n += 1 + sovCrosschainFlags(uint64(m.GasPriceIncreasePercent)) @@ -723,7 +724,7 @@ func (m *GasPriceIncreaseFlags) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.RetryInterval, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdDurationUnmarshal(&m.RetryInterval, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/observer/types/events.pb.go b/x/observer/types/events.pb.go index dbbaef3f5a..dd4c971101 100644 --- a/x/observer/types/events.pb.go +++ b/x/observer/types/events.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/events.proto +// source: zetachain/zetacore/observer/events.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -36,7 +35,7 @@ func (m *EventBallotCreated) Reset() { *m = EventBallotCreated{} } func (m *EventBallotCreated) String() string { return proto.CompactTextString(m) } func (*EventBallotCreated) ProtoMessage() {} func (*EventBallotCreated) Descriptor() ([]byte, []int) { - return fileDescriptor_1f1ca57368474456, []int{0} + return fileDescriptor_067e682d8234d605, []int{0} } func (m *EventBallotCreated) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -110,7 +109,7 @@ func (m *EventKeygenBlockUpdated) Reset() { *m = EventKeygenBlockUpdated func (m *EventKeygenBlockUpdated) String() string { return proto.CompactTextString(m) } func (*EventKeygenBlockUpdated) ProtoMessage() {} func (*EventKeygenBlockUpdated) Descriptor() ([]byte, []int) { - return fileDescriptor_1f1ca57368474456, []int{1} + return fileDescriptor_067e682d8234d605, []int{1} } func (m *EventKeygenBlockUpdated) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -172,7 +171,7 @@ func (m *EventNewObserverAdded) Reset() { *m = EventNewObserverAdded{} } func (m *EventNewObserverAdded) String() string { return proto.CompactTextString(m) } func (*EventNewObserverAdded) ProtoMessage() {} func (*EventNewObserverAdded) Descriptor() ([]byte, []int) { - return fileDescriptor_1f1ca57368474456, []int{2} + return fileDescriptor_067e682d8234d605, []int{2} } func (m *EventNewObserverAdded) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -249,7 +248,7 @@ func (m *EventCrosschainFlagsUpdated) Reset() { *m = EventCrosschainFlag func (m *EventCrosschainFlagsUpdated) String() string { return proto.CompactTextString(m) } func (*EventCrosschainFlagsUpdated) ProtoMessage() {} func (*EventCrosschainFlagsUpdated) Descriptor() ([]byte, []int) { - return fileDescriptor_1f1ca57368474456, []int{3} + return fileDescriptor_067e682d8234d605, []int{3} } func (m *EventCrosschainFlagsUpdated) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -327,48 +326,50 @@ func init() { proto.RegisterType((*EventCrosschainFlagsUpdated)(nil), "zetachain.zetacore.observer.EventCrosschainFlagsUpdated") } -func init() { proto.RegisterFile("observer/events.proto", fileDescriptor_1f1ca57368474456) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/events.proto", fileDescriptor_067e682d8234d605) +} -var fileDescriptor_1f1ca57368474456 = []byte{ - // 599 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcf, 0x6f, 0xd3, 0x30, - 0x14, 0x5e, 0xb6, 0x31, 0x81, 0x37, 0xd8, 0x66, 0xb1, 0x2d, 0xeb, 0x50, 0x36, 0x2a, 0x21, 0xf1, - 0x33, 0x91, 0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- 0x00, 0xbc, 0x25, 0x52, 0x99, 0xe9, 0x35, 0x75, 0xb6, 0xfe, 0x73, 0x01, 0xed, 0x98, 0xd9, 0x34, - 0xab, 0xbb, 0xfb, 0x5a, 0x5f, 0xdd, 0xd9, 0xf7, 0xf4, 0x18, 0xad, 0x51, 0xd9, 0x62, 0x11, 0x2f, - 0x58, 0x72, 0xc8, 0x48, 0x94, 0x43, 0x62, 0x26, 0x74, 0xb3, 0x3d, 0x16, 0xc7, 0x4f, 0xd1, 0x3a, - 0x95, 0x27, 0x85, 0xfa, 0x0f, 0xbc, 0x60, 0xc0, 0xe3, 0x09, 0x9c, 0xa1, 0x8d, 0x94, 0xc8, 0x53, - 0x41, 0x63, 0x68, 0xb1, 0x58, 0x00, 0x91, 0x60, 0xbc, 0x99, 0x71, 0x2c, 0xef, 0xef, 0xfb, 0x53, - 0xfe, 0x55, 0xff, 0x68, 0x12, 0xb3, 0x3d, 0x59, 0x10, 0x6f, 0xa2, 0x25, 0x49, 0x53, 0x06, 0xa2, - 0xbc, 0xc5, 0xe5, 0x17, 0xfe, 0x8a, 0xee, 0x99, 0x51, 0x1e, 0x03, 0x49, 0x40, 0x7c, 0x00, 0x41, - 0xcf, 0x69, 0x6c, 0x7e, 0x01, 0x6b, 0x64, 0xc9, 0x18, 0x39, 0x98, 0x6a, 0xa4, 0x31, 0x45, 0xa0, - 0x3d, 0x55, 0xbe, 0xd1, 0xfa, 0x75, 0xed, 0x39, 0x57, 0xd7, 0x9e, 0xf3, 0xf7, 0xda, 0x73, 0xbe, - 0xf7, 0xbd, 0xb9, 0xab, 0xbe, 0x37, 0xf7, 0xbb, 0xef, 0xcd, 0x7d, 0x0c, 0x52, 0xaa, 0xb2, 0x22, - 0xf2, 0x63, 0x7e, 0x11, 0xe8, 0x92, 0xcf, 0x4c, 0xf5, 0x60, 0x50, 0x3d, 0xf8, 0x5c, 0x3d, 0x35, - 0x81, 0x5e, 0x9d, 0x8c, 0x96, 0xcc, 0x8b, 0xf3, 0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xea, - 0x9e, 0x8b, 0x9e, 0xf7, 0x04, 0x00, 0x00, +var fileDescriptor_067e682d8234d605 = []byte{ + // 601 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0x41, 0x6f, 0xd3, 0x30, + 0x14, 0x5e, 0xb6, 0x31, 0x81, 0x37, 0xd8, 0x66, 0xb1, 0x2d, 0xeb, 0x50, 0x18, 0x95, 0x90, 0xc6, + 0x80, 0x54, 0x1a, 0xa7, 0x21, 0x2e, 0xb4, 0x1a, 0x5b, 0x05, 0x62, 0x53, 0xc5, 0x38, 0x70, 0x89, + 0x9c, 0xe4, 0x35, 0xb1, 0x9a, 0xda, 0x95, 0xed, 0x0c, 0x8a, 0xc4, 0x91, 0x3b, 0x57, 0xf8, 0x45, + 0x1c, 0x77, 0xe4, 0xc0, 0x01, 0xb5, 0x7f, 0x04, 0xc5, 0x4e, 0xd3, 0x42, 0xab, 0xa8, 0x37, 0xe7, + 0xbd, 0xef, 0xfb, 0xf2, 0xbd, 0xf7, 0xec, 0x87, 0x0e, 0x3e, 0x83, 0x22, 0x41, 0x4c, 0x28, 0xab, + 0xe9, 0x13, 0x17, 0x50, 0xe3, 0xbe, 0x04, 0x71, 0x05, 0xa2, 0x06, 0x57, 0xc0, 0x94, 0x74, 0x7b, + 0x82, 0x2b, 0x8e, 0xf7, 0x0a, 0xa4, 0x3b, 0x42, 0xba, 0x23, 0x64, 0xe5, 0x6e, 0xc4, 0x23, 0xae, + 0x71, 0xb5, 0xec, 0x64, 0x28, 0x95, 0xa3, 0x32, 0xf1, 0x40, 0x70, 0x29, 0x75, 0xd2, 0x6b, 0x27, + 0x24, 0xca, 0x7f, 0x53, 0x39, 0x2c, 0xe3, 0x8c, 0x0e, 0x06, 0x5b, 0xfd, 0x6d, 0x21, 0x7c, 0x92, + 0x79, 0x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0xe4, + 0xb8, 0xd4, 0x48, 0xbd, 0x44, 0xa0, 0x55, 0x2a, 0x5f, 0x6f, 0xfe, 0x1c, 0x38, 0xd6, 0xf5, 0xc0, + 0xb1, 0xfe, 0x0c, 0x1c, 0xeb, 0xdb, 0xd0, 0x59, 0xb8, 0x1e, 0x3a, 0x0b, 0xbf, 0x86, 0xce, 0xc2, + 0x87, 0x5a, 0x44, 0x55, 0x9c, 0xfa, 0x6e, 0xc0, 0xbb, 0x7a, 0xcd, 0x3c, 0xfd, 0x6f, 0xe3, 0x7c, + 0x1a, 0xef, 0x9c, 0x6c, 0x74, 0xd2, 0x5f, 0xd1, 0x1b, 0xe7, 0xd9, 0xdf, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x69, 0x43, 0x49, 0xaf, 0x30, 0x05, 0x00, 0x00, } func (m *EventBallotCreated) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/genesis.pb.go b/x/observer/types/genesis.pb.go index 386068b903..afee6eb0f6 100644 --- a/x/observer/types/genesis.pb.go +++ b/x/observer/types/genesis.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/genesis.proto +// source: zetachain/zetacore/observer/genesis.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -45,7 +44,7 @@ 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_15ea8c9d44da7399, []int{0} + return fileDescriptor_7679b0952a0823f4, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -176,50 +175,52 @@ func init() { proto.RegisterType((*GenesisState)(nil), "zetachain.zetacore.observer.GenesisState") } -func init() { proto.RegisterFile("observer/genesis.proto", fileDescriptor_15ea8c9d44da7399) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/genesis.proto", fileDescriptor_7679b0952a0823f4) +} -var fileDescriptor_15ea8c9d44da7399 = []byte{ - // 627 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdf, 0x6e, 0xd3, 0x30, - 0x14, 0xc6, 0x5b, 0x36, 0xed, 0x8f, 0xbb, 0xad, 0x9b, 0x19, 0x60, 0x6d, 0x90, 0x8d, 0x71, 0x53, - 0x21, 0x48, 0x50, 0xb9, 0x44, 0x5c, 0xb0, 0x4a, 0x1b, 0x13, 0x65, 0x8c, 0x74, 0x12, 0x12, 0x17, - 0x8b, 0x5c, 0xd7, 0x4d, 0x23, 0x52, 0xbb, 0x8a, 0x5d, 0xd4, 0xf2, 0x14, 0x3c, 0xd6, 0x2e, 0x77, - 0xc9, 0x15, 0x42, 0xed, 0x13, 0xf0, 0x06, 0x28, 0x8e, 0x9d, 0x34, 0xad, 0x14, 0x7a, 0x67, 0x7d, - 0xc7, 0xdf, 0xef, 0x1c, 0x1f, 0x1f, 0x1b, 0x3c, 0xe4, 0x6d, 0x41, 0xa3, 0xef, 0x34, 0x72, 0x7c, - 0xca, 0xa8, 0x08, 0x84, 0x3d, 0x88, 0xb8, 0xe4, 0xf0, 0xf0, 0x07, 0x95, 0x98, 0xf4, 0x70, 0xc0, - 0x6c, 0xb5, 0xe2, 0x11, 0xb5, 0xcd, 0xd6, 0x83, 0x7d, 0x9f, 0xfb, 0x5c, 0xed, 0x73, 0xe2, 0x55, - 0x62, 0x39, 0x78, 0x90, 0xa2, 0xda, 0x38, 0x0c, 0xb9, 0xd4, 0xf2, 0x7e, 0x26, 0x87, 0xb8, 0x4f, - 0xb5, 0x7a, 0x98, 0xaa, 0x2a, 0x89, 0xc7, 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87, 0x86, 0x6e, 0x0f, 0x66, 0x45, 0xf8, 0x19, 0x6c, 0xcd, 0xfe, 0x6d, - 0x68, 0x67, 0x89, 0xb7, 0xa2, 0xee, 0x37, 0x07, 0xad, 0x90, 0x4c, 0x82, 0x2e, 0xd8, 0xce, 0x7d, - 0x5e, 0xa8, 0xba, 0xd4, 0xfb, 0x63, 0x84, 0x5e, 0xf3, 0x06, 0x91, 0x23, 0xc3, 0x64, 0x33, 0xd2, - 0xc5, 0xed, 0xc4, 0x2a, 0xdf, 0x4d, 0xac, 0xf2, 0x9f, 0x89, 0x55, 0xfe, 0x39, 0xb5, 0x4a, 0x77, - 0x53, 0xab, 0xf4, 0x6b, 0x6a, 0x95, 0xbe, 0x3a, 0x7e, 0x20, 0x7b, 0xc3, 0xb6, 0x4d, 0x78, 0xdf, - 0x89, 0xb1, 0x2f, 0x55, 0x06, 0xc7, 0x64, 0x70, 0x46, 0x4e, 0xf6, 0xa3, 0x8d, 0x07, 0x54, 0xb4, - 0xd7, 0xd4, 0x2f, 0xf6, 0xfa, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x62, 0x95, 0x52, 0x6b, 0x55, - 0x06, 0x00, 0x00, +var fileDescriptor_7679b0952a0823f4 = []byte{ + // 628 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcd, 0x6e, 0x13, 0x31, + 0x18, 0x4c, 0x68, 0xd5, 0x1f, 0xa7, 0x6d, 0x5a, 0xc3, 0xc1, 0x2a, 0xd2, 0x12, 0x15, 0x21, 0x42, + 0x05, 0xbb, 0x55, 0xe0, 0x86, 0x38, 0xd0, 0x48, 0x2d, 0x15, 0xa1, 0x94, 0x4d, 0x25, 0x24, 0x0e, + 0x5d, 0x39, 0x8e, 0xb3, 0x59, 0xb1, 0xb1, 0xa3, 0xb5, 0x83, 0x12, 0x9e, 0x82, 0xc7, 0xea, 0xb1, + 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x62, 0xaf, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x16, 0x31, 0xe1, 0x81, + 0x4c, 0x07, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/keygen.pb.go b/x/observer/types/keygen.pb.go index 491e6290f9..9ed0cd39d5 100644 --- a/x/observer/types/keygen.pb.go +++ b/x/observer/types/keygen.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/keygen.proto +// source: zetachain/zetacore/observer/keygen.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -49,7 +48,7 @@ func (x KeygenStatus) String() string { } func (KeygenStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4efb2de738775c96, []int{0} + return fileDescriptor_e9d0b438d0ca0d23, []int{0} } type Keygen struct { @@ -62,7 +61,7 @@ func (m *Keygen) Reset() { *m = Keygen{} } func (m *Keygen) String() string { return proto.CompactTextString(m) } func (*Keygen) ProtoMessage() {} func (*Keygen) Descriptor() ([]byte, []int) { - return fileDescriptor_4efb2de738775c96, []int{0} + return fileDescriptor_e9d0b438d0ca0d23, []int{0} } func (m *Keygen) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -117,29 +116,31 @@ func init() { proto.RegisterType((*Keygen)(nil), "zetachain.zetacore.observer.Keygen") } -func init() { proto.RegisterFile("observer/keygen.proto", fileDescriptor_4efb2de738775c96) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/keygen.proto", fileDescriptor_e9d0b438d0ca0d23) +} -var fileDescriptor_4efb2de738775c96 = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,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x5a, 0x5c, 0x2c, - 0xc0, 0x28, 0x24, 0x00, 0xd6, 0xe5, 0x9e, 0x9a, 0xe7, 0x96, 0x98, 0x99, 0x93, 0x9a, 0x22, 0xc0, - 0x2c, 0xc5, 0xb2, 0x62, 0x89, 0x1c, 0xa3, 0x93, 0xe7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, - 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, - 0xcb, 0x31, 0x44, 0xe9, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x83, - 0x3c, 0xa9, 0x0b, 0xf6, 0xaf, 0x3e, 0xcc, 0xbf, 0xfa, 0x15, 0xfa, 0xf0, 0xa0, 0x2e, 0xa9, 0x2c, - 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x87, 0x9b, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xd3, 0xf7, 0xb2, - 0x79, 0x83, 0x01, 0x00, 0x00, +var fileDescriptor_e9d0b438d0ca0d23 = []byte{ + // 294 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xa8, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0xf3, 0x93, 0x8a, 0x53, + 0x8b, 0xca, 0x52, 0x8b, 0xf4, 0xb3, 0x53, 0x2b, 0xd3, 0x53, 0xf3, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, + 0xf2, 0x85, 0xa4, 0xe1, 0x2a, 0xf5, 0x60, 0x2a, 0xf5, 0x60, 0x2a, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, + 0xf3, 0xc1, 0xea, 0xf4, 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, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, + 0xe9, 0x25, 0xe7, 0xe7, 0x82, 0x43, 0x57, 0x17, 0x2d, 0xa0, 0x2b, 0x10, 0x41, 0x5d, 0x52, 0x59, + 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x37, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x05, 0x0d, + 0xf6, 0x55, 0x96, 0x01, 0x00, 0x00, } func (m *Keygen) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/keys.go b/x/observer/types/keys.go index c6426a4351..2e1e7556c7 100644 --- a/x/observer/types/keys.go +++ b/x/observer/types/keys.go @@ -54,11 +54,8 @@ const ( // NOTE: CoreParams is old name for AllChainParams we keep it as key value for backward compatibility AllChainParamsKey = "CoreParams" - ObserverMapperKey = "Observer-value-" - ObserverSetKey = "ObserverSet-value-" - ObserverParamsKey = "ObserverParams" - AdminPolicyParamsKey = "AdminParams" - BallotMaturityBlocksParamsKey = "BallotMaturityBlocksParams" + ObserverMapperKey = "Observer-value-" + ObserverSetKey = "ObserverSet-value-" // CrosschainFlagsKey is the key for the crosschain flags // NOTE: PermissionFlags is old name for CrosschainFlags we keep it as key value for backward compatibility diff --git a/x/observer/types/node_account.pb.go b/x/observer/types/node_account.pb.go index a127e290e6..53781a796f 100644 --- a/x/observer/types/node_account.pb.go +++ b/x/observer/types/node_account.pb.go @@ -1,17 +1,16 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/node_account.proto +// source: zetachain/zetacore/observer/node_account.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + crypto "github.com/zeta-chain/zetacore/pkg/crypto" io "io" math "math" math_bits "math/bits" - - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/gogo/protobuf/proto" - crypto "github.com/zeta-chain/zetacore/pkg/crypto" ) // Reference imports to suppress errors if they are not otherwise used. @@ -59,7 +58,7 @@ func (x NodeStatus) String() string { } func (NodeStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6f54e38f9d1a9953, []int{0} + return fileDescriptor_67bb97178fb2bc84, []int{0} } type NodeAccount struct { @@ -73,7 +72,7 @@ func (m *NodeAccount) Reset() { *m = NodeAccount{} } func (m *NodeAccount) String() string { return proto.CompactTextString(m) } func (*NodeAccount) ProtoMessage() {} func (*NodeAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_6f54e38f9d1a9953, []int{0} + return fileDescriptor_67bb97178fb2bc84, []int{0} } func (m *NodeAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -135,34 +134,36 @@ func init() { proto.RegisterType((*NodeAccount)(nil), "zetachain.zetacore.observer.NodeAccount") } -func init() { proto.RegisterFile("observer/node_account.proto", fileDescriptor_6f54e38f9d1a9953) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/node_account.proto", fileDescriptor_67bb97178fb2bc84) +} -var fileDescriptor_6f54e38f9d1a9953 = []byte{ - // 370 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xcb, 0x6a, 0xdb, 0x40, - 0x14, 0x86, 0x35, 0xbe, 0xd5, 0x1e, 0xb5, 0xae, 0x3a, 0x14, 0x2a, 0x64, 0x10, 0xa6, 0x8b, 0xd6, - 0x14, 0xaa, 0x01, 0x77, 0xd1, 0xb5, 0x4b, 0xa1, 0x94, 0x82, 0x31, 0x32, 0x25, 0x90, 0x4d, 0x98, - 0xd1, 0x1c, 0x64, 0x61, 0x67, 0x46, 0x8c, 0x46, 0x4e, 0x94, 0xa7, 0xc8, 0x43, 0x64, 0x91, 0x47, - 0xc9, 0xd2, 0x90, 0x4d, 0x96, 0xc1, 0x7e, 0x91, 0x20, 0xf9, 0x92, 0xcb, 0x22, 0xab, 0x39, 0x73, - 0xfe, 0xef, 0x70, 0xfe, 0xc3, 0x8f, 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49, 0xc1, 0x0b, 0xa7, - 0x46, 0x3a, 0xb8, 0x19, 0x02, 0x13, 0x85, 0x53, 0x27, 0x18, 0xb7, 0x46, 0x91, 0x49, 0x96, 0xe0, - 0x34, 0xc8, 0x5b, 0xdc, 0xfe, 0x9d, 0x64, 0x8c, 0x2f, 0x40, 0x38, 0x4d, 0xaf, 0x71, 0x7d, 0xe5, - 0xa3, 0x5f, 0x7f, 0x6f, 0xd6, 0x3e, 0x5a, 0xad, 0x7d, 0x74, 0xbf, 0xf6, 0xd1, 0xe5, 0xc6, 0xb7, - 0x56, 0x1b, 0xdf, 0xba, 0xdb, 0xf8, 0xd6, 0x31, 0x8d, 0x13, 0x33, 0xcb, 0x79, 0x10, 0xa9, 0x53, - 0x5a, 0x5a, 0xfe, 0x5e, 0xb9, 0xa7, 0x7b, 0xf7, 0xf4, 0x9c, 0x1e, 0xd2, 0x35, 0x45, 0x0a, 0x19, - 0x6f, 0x55, 0x59, 0xfc, 0x78, 0x08, 0x00, 0x00, 0xff, 0xff, 0x94, 0xd1, 0x0e, 0xdf, 0xf6, 0x01, - 0x00, 0x00, +var fileDescriptor_67bb97178fb2bc84 = []byte{ + // 378 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcd, 0x8a, 0xdb, 0x30, + 0x10, 0xc7, 0xad, 0x7c, 0x35, 0x91, 0xdb, 0xd4, 0x88, 0x1e, 0x8c, 0x0b, 0x26, 0xf4, 0xd0, 0x9a, + 0x40, 0x65, 0x48, 0x9f, 0x20, 0xa5, 0x50, 0x4a, 0x21, 0x04, 0x87, 0x52, 0xe8, 0xa5, 0x48, 0xd6, + 0xe0, 0x18, 0xa7, 0x92, 0x91, 0xe5, 0xb4, 0xee, 0x53, 0xf4, 0x21, 0x7a, 0xd8, 0x47, 0xd9, 0x63, + 0x8e, 0x7b, 0x5c, 0x92, 0xdb, 0x3e, 0xc5, 0x12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 0x3f, 0xfb, + 0x26, 0x33, 0xa9, 0x7e, 0x4b, 0xc7, 0x22, 0x2f, 0xb1, 0xfd, 0x7d, 0x9e, 0x1a, 0x58, 0xa4, 0x85, + 0x01, 0xe1, 0xa0, 0x6d, 0x75, 0x66, 0x98, 0x14, 0xbc, 0x72, 0x1a, 0xa4, 0x87, 0xdb, 0x11, 0x30, + 0x51, 0x39, 0x4d, 0x82, 0x71, 0x67, 0x1c, 0x9b, 0x74, 0x09, 0x4e, 0x8b, 0x3c, 0xc7, 0xdd, 0x4f, + 0x69, 0xc1, 0xf8, 0x02, 0x84, 0xd3, 0xf6, 0x5a, 0x57, 0xff, 0x7d, 0xf4, 0xf1, 0xcb, 0xf5, 0xda, + 0x47, 0xab, 0xb5, 0x8f, 0x6e, 0xd7, 0x3e, 0xfa, 0xb7, 0xf1, 0xad, 0xd5, 0xc6, 0xb7, 0x6e, 0x36, + 0xbe, 0xf5, 0x23, 0x4c, 0x52, 0x33, 0x2f, 0x39, 0x8d, 0xd5, 0xaf, 0xda, 0x97, 0xf7, 0x67, 0x16, + 0xfd, 0x39, 0xed, 0x81, 0xa9, 0x72, 0x28, 0x78, 0xa7, 0xb6, 0xe8, 0xc3, 0x7d, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x03, 0x08, 0x21, 0xe1, 0x33, 0x02, 0x00, 0x00, } func (m *NodeAccount) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/nonce_to_cctx.pb.go b/x/observer/types/nonce_to_cctx.pb.go index 0e7e05e98c..66d6270e5f 100644 --- a/x/observer/types/nonce_to_cctx.pb.go +++ b/x/observer/types/nonce_to_cctx.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/nonce_to_cctx.proto +// source: zetachain/zetacore/observer/nonce_to_cctx.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -36,7 +35,7 @@ func (m *NonceToCctx) Reset() { *m = NonceToCctx{} } func (m *NonceToCctx) String() string { return proto.CompactTextString(m) } func (*NonceToCctx) ProtoMessage() {} func (*NonceToCctx) Descriptor() ([]byte, []int) { - return fileDescriptor_6f9bbe8a689fa6e4, []int{0} + return fileDescriptor_fa2847eea8b274b8, []int{0} } func (m *NonceToCctx) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -97,25 +96,27 @@ func init() { proto.RegisterType((*NonceToCctx)(nil), "zetachain.zetacore.observer.NonceToCctx") } -func init() { proto.RegisterFile("observer/nonce_to_cctx.proto", fileDescriptor_6f9bbe8a689fa6e4) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/nonce_to_cctx.proto", fileDescriptor_fa2847eea8b274b8) +} -var fileDescriptor_6f9bbe8a689fa6e4 = []byte{ - // 230 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xc9, 0x4f, 0x2a, 0x4e, - 0x2d, 0x2a, 0x4b, 0x2d, 0xd2, 0xcf, 0xcb, 0xcf, 0x4b, 0x4e, 0x8d, 0x2f, 0xc9, 0x8f, 0x4f, 0x4e, - 0x2e, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0xae, 0x4a, 0x2d, 0x49, 0x4c, 0xce, - 0x48, 0xcc, 0xcc, 0xd3, 0x03, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x60, 0x1a, 0xa4, 0x44, 0xd2, 0xf3, - 0xd3, 0xf3, 0xc1, 0xea, 0xf4, 0x41, 0x2c, 0x88, 0x16, 0xa5, 0x3c, 0x2e, 0x6e, 0x3f, 0x90, 0x49, - 0x21, 0xf9, 0xce, 0xc9, 0x25, 0x15, 0x42, 0x92, 0x5c, 0x1c, 0x60, 0xfd, 0xf1, 0x99, 0x29, 0x12, - 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0xec, 0x60, 0xbe, 0x67, 0x8a, 0x90, 0x08, 0x17, 0x2b, 0xd8, - 0x4e, 0x09, 0x26, 0xb0, 0x38, 0x84, 0x23, 0x24, 0xc3, 0xc5, 0x09, 0x72, 0x80, 0x67, 0x5e, 0x4a, - 0x6a, 0x85, 0x04, 0xb3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x42, 0x40, 0x48, 0x80, 0x8b, 0xb9, 0xa4, - 0xb8, 0x58, 0x82, 0x05, 0x2c, 0x0e, 0x62, 0x3a, 0x79, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, - 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, - 0xb1, 0x1c, 0x43, 0x94, 0x7e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, - 0xc8, 0xf5, 0xba, 0x60, 0x8b, 0xf5, 0x61, 0x1e, 0xd1, 0xaf, 0xd0, 0x87, 0xfb, 0xbd, 0xa4, 0xb2, - 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xec, 0x03, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x54, 0xf7, - 0xb7, 0x20, 0x14, 0x01, 0x00, 0x00, +var fileDescriptor_fa2847eea8b274b8 = []byte{ + // 229 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xaf, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0x83, 0xb0, 0xf2, 0x8b, 0x52, 0xf5, 0xf3, 0x93, 0x8a, 0x53, 0x8b, + 0xca, 0x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, 0x00, 0x00, 0xff, 0xff, 0x31, 0x2e, 0xbb, + 0xcf, 0x27, 0x01, 0x00, 0x00, } func (m *NonceToCctx) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/observer.pb.go b/x/observer/types/observer.pb.go index ede9e119a5..b6852e13c0 100644 --- a/x/observer/types/observer.pb.go +++ b/x/observer/types/observer.pb.go @@ -1,17 +1,16 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/observer.proto +// source: zetachain/zetacore/observer/observer.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + chains "github.com/zeta-chain/zetacore/pkg/chains" io "io" math "math" math_bits "math/bits" - - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/gogo/protobuf/proto" - chains "github.com/zeta-chain/zetacore/pkg/chains" ) // Reference imports to suppress errors if they are not otherwise used. @@ -56,7 +55,7 @@ func (x ObservationType) String() string { } func (ObservationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3004233a4a5969ce, []int{0} + return fileDescriptor_05af1bc65780862e, []int{0} } type ObserverUpdateReason int32 @@ -84,7 +83,7 @@ func (x ObserverUpdateReason) String() string { } func (ObserverUpdateReason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3004233a4a5969ce, []int{1} + return fileDescriptor_05af1bc65780862e, []int{1} } type ObserverMapper struct { @@ -97,7 +96,7 @@ func (m *ObserverMapper) Reset() { *m = ObserverMapper{} } func (m *ObserverMapper) String() string { return proto.CompactTextString(m) } func (*ObserverMapper) ProtoMessage() {} func (*ObserverMapper) Descriptor() ([]byte, []int) { - return fileDescriptor_3004233a4a5969ce, []int{0} + return fileDescriptor_05af1bc65780862e, []int{0} } func (m *ObserverMapper) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -155,7 +154,7 @@ func (m *ObserverSet) Reset() { *m = ObserverSet{} } func (m *ObserverSet) String() string { return proto.CompactTextString(m) } func (*ObserverSet) ProtoMessage() {} func (*ObserverSet) Descriptor() ([]byte, []int) { - return fileDescriptor_3004233a4a5969ce, []int{1} + return fileDescriptor_05af1bc65780862e, []int{1} } func (m *ObserverSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -200,7 +199,7 @@ func (m *LastObserverCount) Reset() { *m = LastObserverCount{} } func (m *LastObserverCount) String() string { return proto.CompactTextString(m) } func (*LastObserverCount) ProtoMessage() {} func (*LastObserverCount) Descriptor() ([]byte, []int) { - return fileDescriptor_3004233a4a5969ce, []int{2} + return fileDescriptor_05af1bc65780862e, []int{2} } func (m *LastObserverCount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -251,37 +250,40 @@ func init() { proto.RegisterType((*LastObserverCount)(nil), "zetachain.zetacore.observer.LastObserverCount") } -func init() { proto.RegisterFile("observer/observer.proto", fileDescriptor_3004233a4a5969ce) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/observer.proto", fileDescriptor_05af1bc65780862e) +} -var fileDescriptor_3004233a4a5969ce = []byte{ - // 429 bytes of a gzipped FileDescriptorProto +var fileDescriptor_05af1bc65780862e = []byte{ + // 437 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0xc1, 0x8a, 0x13, 0x41, - 0x10, 0x9d, 0x4e, 0xa2, 0x90, 0x8e, 0xc9, 0xce, 0x36, 0x91, 0x0d, 0x11, 0x86, 0xb0, 0x5e, 0xc2, - 0xa2, 0x33, 0xb0, 0xfa, 0x03, 0x6e, 0x10, 0x5d, 0x8c, 0x2c, 0x4c, 0xb2, 0x08, 0x5e, 0x42, 0x27, - 0x53, 0x4e, 0x1a, 0x93, 0xee, 0x66, 0xba, 0x22, 0x89, 0x37, 0xff, 0xc0, 0x8f, 0xf0, 0xe0, 0xa7, - 0x78, 0xdc, 0xa3, 0x47, 0x49, 0x7e, 0x44, 0xba, 0x3b, 0xbd, 0x17, 0x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0x82, 0xfb, 0x5d, 0x14, 0xfc, 0xde, 0x45, 0xc1, 0xa7, 0xa4, 0xe0, 0x38, + 0x5f, 0x4d, 0xe3, 0x99, 0x5c, 0xda, 0x53, 0x79, 0xf5, 0xdf, 0xd5, 0xac, 0xff, 0x9d, 0x25, 0x6e, + 0x14, 0xe8, 0xe9, 0x63, 0x7b, 0x35, 0xaf, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x46, 0x39, + 0x45, 0xc2, 0x02, 0x00, 0x00, } func (m *ObserverMapper) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/params.pb.go b/x/observer/types/params.pb.go index 5406afe306..73c8b65193 100644 --- a/x/observer/types/params.pb.go +++ b/x/observer/types/params.pb.go @@ -1,18 +1,17 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/params.proto +// source: zetachain/zetacore/observer/params.proto 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" + proto "github.com/cosmos/gogoproto/proto" chains "github.com/zeta-chain/zetacore/pkg/chains" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. @@ -34,7 +33,7 @@ func (m *ChainParamsList) Reset() { *m = ChainParamsList{} } func (m *ChainParamsList) String() string { return proto.CompactTextString(m) } func (*ChainParamsList) ProtoMessage() {} func (*ChainParamsList) Descriptor() ([]byte, []int) { - return fileDescriptor_4542fa62877488a1, []int{0} + return fileDescriptor_e7fa4666eddf88e5, []int{0} } func (m *ChainParamsList) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -91,7 +90,7 @@ func (m *ChainParams) Reset() { *m = ChainParams{} } func (m *ChainParams) String() string { return proto.CompactTextString(m) } func (*ChainParams) ProtoMessage() {} func (*ChainParams) Descriptor() ([]byte, []int) { - return fileDescriptor_4542fa62877488a1, []int{1} + return fileDescriptor_e7fa4666eddf88e5, []int{1} } func (m *ChainParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -216,7 +215,7 @@ func (m *ObserverParams) Reset() { *m = ObserverParams{} } func (m *ObserverParams) String() string { return proto.CompactTextString(m) } func (*ObserverParams) ProtoMessage() {} func (*ObserverParams) Descriptor() ([]byte, []int) { - return fileDescriptor_4542fa62877488a1, []int{2} + return fileDescriptor_e7fa4666eddf88e5, []int{2} } func (m *ObserverParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -265,51 +264,53 @@ func init() { proto.RegisterType((*ObserverParams)(nil), "zetachain.zetacore.observer.ObserverParams") } -func init() { proto.RegisterFile("observer/params.proto", fileDescriptor_4542fa62877488a1) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/params.proto", fileDescriptor_e7fa4666eddf88e5) +} -var fileDescriptor_4542fa62877488a1 = []byte{ - // 643 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0x41, 0x4f, 0xdb, 0x3c, - 0x18, 0xc7, 0x1b, 0x0a, 0xbc, 0xe0, 0x14, 0x0a, 0xd1, 0x8b, 0xc8, 0x5b, 0xf4, 0x86, 0xae, 0x93, - 0xa6, 0x68, 0x12, 0xc9, 0xc4, 0xae, 0xdb, 0x01, 0xca, 0x05, 0x0d, 0x69, 0x28, 0x74, 0x87, 0xed, - 0x30, 0xcb, 0x75, 0x4c, 0x62, 0x35, 0xcd, 0x13, 0xd9, 0x0e, 0x2b, 0xfb, 0x14, 0xbb, 0xef, 0xb8, - 0x2f, 0xc3, 0x91, 0xe3, 0xb4, 0x03, 0x9a, 0xe0, 0x8b, 0x4c, 0x71, 0x92, 0xae, 0xa2, 0x68, 0x87, - 0x49, 0x9c, 0x62, 0xfb, 0xff, 0x7b, 0xfe, 0x7e, 0xf2, 0xd8, 0x8f, 0xd1, 0x16, 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b9, 0x9a, 0x41, 0x16, 0x35, 0x62, 0x42, 0xae, 0xa6, 0xcc, 0x73, 0xb4, 0xf9, - 0x89, 0x28, 0x1a, 0xe3, 0x5c, 0x4d, 0xa0, 0xe6, 0x96, 0x34, 0xd7, 0xd6, 0xc2, 0x3b, 0x35, 0x81, - 0x8a, 0x7d, 0x8d, 0xf4, 0xe1, 0x61, 0x05, 0x23, 0x56, 0xfc, 0x48, 0xaa, 0x04, 0xa1, 0x0a, 0x93, - 0x30, 0x14, 0x4c, 0x4a, 0x7b, 0xa5, 0x6b, 0xb8, 0xab, 0x81, 0x5d, 0x20, 0x83, 0x82, 0xe8, 0x57, - 0xc0, 0x41, 0xa9, 0x5b, 0xaf, 0x50, 0x87, 0x42, 0x9a, 0x32, 0xaa, 0x40, 0xcc, 0x47, 0xaf, 0x96, - 0xd1, 0x53, 0xe2, 0x7e, 0x74, 0x1f, 0x39, 0x4c, 0xd0, 0xfd, 0x17, 0x98, 0xe6, 0x52, 0x41, 0x78, - 0x39, 0xef, 0x80, 0xb4, 0xc3, 0x8e, 0xa6, 0xfa, 0x25, 0x74, 0xdf, 0xe4, 0x00, 0xfd, 0x0f, 0xb9, - 0x1a, 0x42, 0x9e, 0x86, 0x45, 0x59, 0x24, 0x8d, 0x59, 0x98, 0x27, 0x0c, 0xf3, 0x54, 0x31, 0x71, - 0x41, 0x12, 0xbb, 0xa5, 0x0f, 0xaf, 0x53, 0x43, 0x83, 0xc9, 0x59, 0x85, 0x1c, 0x57, 0x44, 0x91, - 0xc7, 0x83, 0x16, 0x09, 0xc0, 0x88, 0xc4, 0x8c, 0x84, 0xf6, 0x9a, 0xf6, 0xd8, 0x99, 0xf7, 0x38, - 0xa9, 0x11, 0xeb, 0x3d, 0xda, 0x18, 0x92, 0x24, 0x01, 0x85, 0x55, 0x2c, 0x98, 0x8c, 0x21, 0x09, - 0xed, 0xf5, 0x22, 0xfd, 0x43, 0xef, 0xea, 0x66, 0xb7, 0xf1, 0xe3, 0x66, 0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05, 0x00, 0x00, +var fileDescriptor_e7fa4666eddf88e5 = []byte{ + // 651 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0x41, 0x4f, 0xdb, 0x30, + 0x14, 0xc7, 0x1b, 0x0a, 0x0c, 0xdc, 0x42, 0x21, 0xda, 0xb4, 0xac, 0x68, 0xa1, 0xab, 0xa6, 0x29, + 0x42, 0x22, 0x99, 0xd8, 0x6d, 0xda, 0x0e, 0x50, 0x2e, 0x68, 0x48, 0x43, 0xa1, 0x3b, 0x6c, 0x87, + 0x59, 0xae, 0x63, 0x12, 0xab, 0x69, 0x5e, 0x64, 0x3b, 0xac, 0xec, 0x53, 0xec, 0x3b, 0xec, 0x1b, + 0xec, 0x53, 0x70, 0xe4, 0x38, 0xed, 0x80, 0x26, 0xf8, 0x22, 0x53, 0x9c, 0xa4, 0x54, 0x14, 0x71, + 0x98, 0xc4, 0x29, 0xf6, 0x7b, 0xbf, 0xf7, 0xf7, 0xcb, 0xb3, 0xdf, 0x43, 0xce, 0x77, 0xa6, 0x08, + 0x8d, 0x08, 0x4f, 0x3c, 0xbd, 0x02, 0xc1, 0x3c, 0x18, 0x48, 0x26, 0x4e, 0x99, 0xf0, 0x52, 0x22, + 0xc8, 0x48, 0xba, 0xa9, 0x00, 0x05, 0xe6, 0xc6, 0x84, 0x74, 0x2b, 0xd2, 0xad, 0xc8, 0xf6, 0xe3, + 0x10, 0x42, 0xd0, 0x9c, 0x97, 0xaf, 0x8a, 0x90, 0xf6, 0xd6, 0x7d, 0xe2, 0xd5, 0xe2, 0x1e, 0x36, + 0x1d, 0x86, 0x9e, 0x36, 0xc9, 0xf2, 0x53, 0xb0, 0xdd, 0xaf, 0xa8, 0xd5, 0xcb, 0xf7, 0x47, 0x3a, + 0xbf, 0x43, 0x2e, 0x95, 0xf9, 0x01, 0x35, 0x35, 0x82, 0x8b, 0x9c, 0x2d, 0xa3, 0x53, 0x77, 0x1a, + 0x3b, 0x8e, 0x7b, 0x4f, 0xd2, 0xee, 0x94, 0x86, 0xdf, 0xa0, 0x37, 0x9b, 0xee, 0xcf, 0x45, 0xd4, + 0x98, 0x72, 0x9a, 0xcf, 0xd0, 0x52, 0x21, 0xce, 0x03, 0xab, 0xd1, 0x31, 0x9c, 0xba, 0xff, 0x48, + 0xef, 0x0f, 0x02, 0x73, 0x1b, 0x99, 0x14, 0x92, 0x13, 0x2e, 0x46, 0x44, 0x71, 0x48, 0x30, 0x85, + 0x2c, 0x51, 0x96, 0xd1, 0x31, 0x9c, 0x79, 0x7f, 0x7d, 0xda, 0xd3, 0xcb, 0x1d, 0xa6, 0x83, 0xd6, + 0x42, 0x22, 0x71, 0x2a, 0x38, 0x65, 0x58, 0x71, 0x3a, 0x64, 0xc2, 0x9a, 0xd3, 0xf0, 0x6a, 0x48, + 0xe4, 0x51, 0x6e, 0xee, 0x6b, 0xab, 0xd9, 0x41, 0x4d, 0x9e, 0x60, 0x35, 0xae, 0xa8, 0xba, 0xa6, + 0x10, 0x4f, 0xfa, 0xe3, 0x92, 0xe8, 0xa2, 0x15, 0xc8, 0xd4, 0x14, 0x32, 0xaf, 0x91, 0x06, 0x64, + 0x6a, 0xc2, 0x6c, 0xa1, 0xf5, 0x6f, 0x44, 0xd1, 0x08, 0x67, 0x6a, 0x0c, 0x15, 0xb7, 0xa0, 0xb9, + 0x96, 0x76, 0x7c, 0x52, 0x63, 0x28, 0xd9, 0xf7, 0x48, 0x5f, 0x31, 0x56, 0x30, 0x64, 0xf9, 0x8f, + 0x24, 0x4a, 0x10, 0xaa, 0x30, 0x09, 0x02, 0xc1, 0xa4, 0xb4, 0x96, 0x3a, 0x86, 0xb3, 0xec, 0x5b, + 0x39, 0xd2, 0xcf, 0x89, 0x5e, 0x09, 0xec, 0x16, 0x7e, 0xf3, 0x1d, 0x6a, 0x53, 0x48, 0x12, 0x46, + 0x15, 0x88, 0xd9, 0xe8, 0xe5, 0x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0x96, 0xfc, 0x06, + 0x97, 0xc7, 0x95, 0xa9, 0xfb, 0x6b, 0x0e, 0xad, 0x56, 0x91, 0x65, 0xa3, 0xbc, 0x45, 0x0b, 0xba, + 0x31, 0x74, 0x03, 0x34, 0x76, 0x5e, 0xde, 0xd5, 0x7e, 0xe9, 0x30, 0x74, 0xcb, 0x6e, 0xd6, 0x3d, + 0xe6, 0x17, 0x21, 0x77, 0x16, 0xad, 0xfe, 0xe0, 0x45, 0x9b, 0x7f, 0xc8, 0xa2, 0x2d, 0xcc, 0x14, + 0x6d, 0xef, 0xe0, 0xfc, 0xca, 0x36, 0x2e, 0xae, 0x6c, 0xe3, 0xef, 0x95, 0x6d, 0xfc, 0xb8, 0xb6, + 0x6b, 0x17, 0xd7, 0x76, 0xed, 0xf7, 0xb5, 0x5d, 0xfb, 0xe2, 0x4d, 0x9d, 0x9d, 0x17, 0x6b, 0xfb, + 0xd6, 0x30, 0x1c, 0xdf, 0x8c, 0x4e, 0x9d, 0xc8, 0x60, 0x51, 0x0f, 0xc3, 0x37, 0xff, 0x02, 0x00, + 0x00, 0xff, 0xff, 0xc4, 0xd5, 0xdd, 0x33, 0xc3, 0x05, 0x00, 0x00, } func (m *ChainParamsList) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/pending_nonces.pb.go b/x/observer/types/pending_nonces.pb.go index 2769d17d76..237cf239cb 100644 --- a/x/observer/types/pending_nonces.pb.go +++ b/x/observer/types/pending_nonces.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/pending_nonces.proto +// source: zetachain/zetacore/observer/pending_nonces.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -36,7 +35,7 @@ func (m *PendingNonces) Reset() { *m = PendingNonces{} } func (m *PendingNonces) String() string { return proto.CompactTextString(m) } func (*PendingNonces) ProtoMessage() {} func (*PendingNonces) Descriptor() ([]byte, []int) { - return fileDescriptor_dd001e4838750ecf, []int{0} + return fileDescriptor_1777a9d0f7831696, []int{0} } func (m *PendingNonces) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -97,25 +96,27 @@ func init() { proto.RegisterType((*PendingNonces)(nil), "zetachain.zetacore.observer.PendingNonces") } -func init() { proto.RegisterFile("observer/pending_nonces.proto", fileDescriptor_dd001e4838750ecf) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/pending_nonces.proto", fileDescriptor_1777a9d0f7831696) +} -var fileDescriptor_dd001e4838750ecf = []byte{ +var fileDescriptor_1777a9d0f7831696 = []byte{ // 239 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcd, 0x4f, 0x2a, 0x4e, - 0x2d, 0x2a, 0x4b, 0x2d, 0xd2, 0x2f, 0x48, 0xcd, 0x4b, 0xc9, 0xcc, 0x4b, 0x8f, 0xcf, 0xcb, 0xcf, - 0x4b, 0x4e, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0xae, 0x4a, 0x2d, 0x49, 0x4c, - 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x03, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x60, 0x3a, 0xa4, 0x44, 0xd2, - 0xf3, 0xd3, 0xf3, 0xc1, 0xea, 0xf4, 0x41, 0x2c, 0x88, 0x16, 0xa5, 0x0a, 0x2e, 0xde, 0x00, 0x88, - 0x51, 0x7e, 0x60, 0x93, 0x84, 0xa4, 0xb9, 0x38, 0xc1, 0x66, 0xc6, 0xe7, 0xe4, 0x97, 0x4b, 0x30, - 0x2a, 0x30, 0x6a, 0x30, 0x07, 0x71, 0x80, 0x05, 0x7c, 0xf2, 0xcb, 0x85, 0x64, 0xb9, 0xb8, 0x20, - 0x92, 0x19, 0x99, 0xe9, 0x19, 0x12, 0x4c, 0x60, 0x59, 0x88, 0x72, 0x8f, 0xcc, 0xf4, 0x0c, 0x21, - 0x49, 0x2e, 0x0e, 0xb0, 0xed, 0xf1, 0x99, 0x29, 0x12, 0xcc, 0x60, 0x49, 0x76, 0x30, 0xdf, 0x33, - 0x45, 0x48, 0x80, 0x8b, 0xb9, 0xa4, 0xb8, 0x58, 0x82, 0x45, 0x81, 0x51, 0x83, 0x33, 0x08, 0xc4, - 0x74, 0xf2, 0x3c, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, - 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xfd, 0xf4, 0xcc, - 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x90, 0x3f, 0x74, 0xc1, 0x86, 0xe8, 0xc3, - 0xbc, 0xa4, 0x5f, 0xa1, 0x0f, 0x0f, 0x86, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0x5f, - 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x1d, 0x35, 0x4c, 0x1f, 0x01, 0x00, 0x00, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xa8, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0xf3, 0x93, 0x8a, 0x53, + 0x8b, 0xca, 0x52, 0x8b, 0xf4, 0x0b, 0x52, 0xf3, 0x52, 0x32, 0xf3, 0xd2, 0xe3, 0xf3, 0xf2, 0xf3, + 0x92, 0x53, 0x8b,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 0x32, 0x01, 0x00, 0x00, } func (m *PendingNonces) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/query.pb.go b/x/observer/types/query.pb.go index d75cfd9831..1c7b0178cc 100644 --- a/x/observer/types/query.pb.go +++ b/x/observer/types/query.pb.go @@ -1,25 +1,24 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/query.proto +// source: zetachain/zetacore/observer/query.proto 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" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" chains "github.com/zeta-chain/zetacore/pkg/chains" _ "github.com/zeta-chain/zetacore/pkg/proofs" _ "google.golang.org/genproto/googleapis/api/annotations" 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. @@ -41,7 +40,7 @@ func (m *QueryGetChainNoncesRequest) Reset() { *m = QueryGetChainNoncesR func (m *QueryGetChainNoncesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetChainNoncesRequest) ProtoMessage() {} func (*QueryGetChainNoncesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{0} + return fileDescriptor_25b2aa420449a0c0, []int{0} } func (m *QueryGetChainNoncesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -85,7 +84,7 @@ func (m *QueryGetChainNoncesResponse) Reset() { *m = QueryGetChainNonces func (m *QueryGetChainNoncesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetChainNoncesResponse) ProtoMessage() {} func (*QueryGetChainNoncesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{1} + return fileDescriptor_25b2aa420449a0c0, []int{1} } func (m *QueryGetChainNoncesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -129,7 +128,7 @@ func (m *QueryAllChainNoncesRequest) Reset() { *m = QueryAllChainNoncesR func (m *QueryAllChainNoncesRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllChainNoncesRequest) ProtoMessage() {} func (*QueryAllChainNoncesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{2} + return fileDescriptor_25b2aa420449a0c0, []int{2} } func (m *QueryAllChainNoncesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -174,7 +173,7 @@ func (m *QueryAllChainNoncesResponse) Reset() { *m = QueryAllChainNonces func (m *QueryAllChainNoncesResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllChainNoncesResponse) ProtoMessage() {} func (*QueryAllChainNoncesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{3} + return fileDescriptor_25b2aa420449a0c0, []int{3} } func (m *QueryAllChainNoncesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -225,7 +224,7 @@ func (m *QueryAllPendingNoncesRequest) Reset() { *m = QueryAllPendingNon func (m *QueryAllPendingNoncesRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllPendingNoncesRequest) ProtoMessage() {} func (*QueryAllPendingNoncesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{4} + return fileDescriptor_25b2aa420449a0c0, []int{4} } func (m *QueryAllPendingNoncesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -270,7 +269,7 @@ func (m *QueryAllPendingNoncesResponse) Reset() { *m = QueryAllPendingNo func (m *QueryAllPendingNoncesResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllPendingNoncesResponse) ProtoMessage() {} func (*QueryAllPendingNoncesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{5} + return fileDescriptor_25b2aa420449a0c0, []int{5} } func (m *QueryAllPendingNoncesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -321,7 +320,7 @@ func (m *QueryPendingNoncesByChainRequest) Reset() { *m = QueryPendingNo func (m *QueryPendingNoncesByChainRequest) String() string { return proto.CompactTextString(m) } func (*QueryPendingNoncesByChainRequest) ProtoMessage() {} func (*QueryPendingNoncesByChainRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{6} + return fileDescriptor_25b2aa420449a0c0, []int{6} } func (m *QueryPendingNoncesByChainRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -365,7 +364,7 @@ func (m *QueryPendingNoncesByChainResponse) Reset() { *m = QueryPendingN func (m *QueryPendingNoncesByChainResponse) String() string { return proto.CompactTextString(m) } func (*QueryPendingNoncesByChainResponse) ProtoMessage() {} func (*QueryPendingNoncesByChainResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{7} + return fileDescriptor_25b2aa420449a0c0, []int{7} } func (m *QueryPendingNoncesByChainResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -408,7 +407,7 @@ func (m *QueryGetTSSRequest) Reset() { *m = QueryGetTSSRequest{} } func (m *QueryGetTSSRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetTSSRequest) ProtoMessage() {} func (*QueryGetTSSRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{8} + return fileDescriptor_25b2aa420449a0c0, []int{8} } func (m *QueryGetTSSRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -445,7 +444,7 @@ func (m *QueryGetTSSResponse) Reset() { *m = QueryGetTSSResponse{} } func (m *QueryGetTSSResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetTSSResponse) ProtoMessage() {} func (*QueryGetTSSResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{9} + return fileDescriptor_25b2aa420449a0c0, []int{9} } func (m *QueryGetTSSResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -489,7 +488,7 @@ func (m *QueryGetTssAddressRequest) Reset() { *m = QueryGetTssAddressReq func (m *QueryGetTssAddressRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetTssAddressRequest) ProtoMessage() {} func (*QueryGetTssAddressRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{10} + return fileDescriptor_25b2aa420449a0c0, []int{10} } func (m *QueryGetTssAddressRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -534,7 +533,7 @@ func (m *QueryGetTssAddressResponse) Reset() { *m = QueryGetTssAddressRe func (m *QueryGetTssAddressResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetTssAddressResponse) ProtoMessage() {} func (*QueryGetTssAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{11} + return fileDescriptor_25b2aa420449a0c0, []int{11} } func (m *QueryGetTssAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -590,7 +589,7 @@ func (m *QueryGetTssAddressByFinalizedHeightRequest) String() string { } func (*QueryGetTssAddressByFinalizedHeightRequest) ProtoMessage() {} func (*QueryGetTssAddressByFinalizedHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{12} + return fileDescriptor_25b2aa420449a0c0, []int{12} } func (m *QueryGetTssAddressByFinalizedHeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -646,7 +645,7 @@ func (m *QueryGetTssAddressByFinalizedHeightResponse) String() string { } func (*QueryGetTssAddressByFinalizedHeightResponse) ProtoMessage() {} func (*QueryGetTssAddressByFinalizedHeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{13} + return fileDescriptor_25b2aa420449a0c0, []int{13} } func (m *QueryGetTssAddressByFinalizedHeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -697,7 +696,7 @@ func (m *QueryTssHistoryRequest) Reset() { *m = QueryTssHistoryRequest{} func (m *QueryTssHistoryRequest) String() string { return proto.CompactTextString(m) } func (*QueryTssHistoryRequest) ProtoMessage() {} func (*QueryTssHistoryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{14} + return fileDescriptor_25b2aa420449a0c0, []int{14} } func (m *QueryTssHistoryRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -742,7 +741,7 @@ func (m *QueryTssHistoryResponse) Reset() { *m = QueryTssHistoryResponse func (m *QueryTssHistoryResponse) String() string { return proto.CompactTextString(m) } func (*QueryTssHistoryResponse) ProtoMessage() {} func (*QueryTssHistoryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{15} + return fileDescriptor_25b2aa420449a0c0, []int{15} } func (m *QueryTssHistoryResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -794,7 +793,7 @@ func (m *QueryHasVotedRequest) Reset() { *m = QueryHasVotedRequest{} } func (m *QueryHasVotedRequest) String() string { return proto.CompactTextString(m) } func (*QueryHasVotedRequest) ProtoMessage() {} func (*QueryHasVotedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{16} + return fileDescriptor_25b2aa420449a0c0, []int{16} } func (m *QueryHasVotedRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -845,7 +844,7 @@ func (m *QueryHasVotedResponse) Reset() { *m = QueryHasVotedResponse{} } func (m *QueryHasVotedResponse) String() string { return proto.CompactTextString(m) } func (*QueryHasVotedResponse) ProtoMessage() {} func (*QueryHasVotedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{17} + return fileDescriptor_25b2aa420449a0c0, []int{17} } func (m *QueryHasVotedResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -889,7 +888,7 @@ func (m *QueryBallotByIdentifierRequest) Reset() { *m = QueryBallotByIde func (m *QueryBallotByIdentifierRequest) String() string { return proto.CompactTextString(m) } func (*QueryBallotByIdentifierRequest) ProtoMessage() {} func (*QueryBallotByIdentifierRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{18} + return fileDescriptor_25b2aa420449a0c0, []int{18} } func (m *QueryBallotByIdentifierRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -934,7 +933,7 @@ func (m *VoterList) Reset() { *m = VoterList{} } func (m *VoterList) String() string { return proto.CompactTextString(m) } func (*VoterList) ProtoMessage() {} func (*VoterList) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{19} + return fileDescriptor_25b2aa420449a0c0, []int{19} } func (m *VoterList) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -988,7 +987,7 @@ func (m *QueryBallotByIdentifierResponse) Reset() { *m = QueryBallotById func (m *QueryBallotByIdentifierResponse) String() string { return proto.CompactTextString(m) } func (*QueryBallotByIdentifierResponse) ProtoMessage() {} func (*QueryBallotByIdentifierResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{20} + return fileDescriptor_25b2aa420449a0c0, []int{20} } func (m *QueryBallotByIdentifierResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1052,7 +1051,7 @@ func (m *QueryObserverSet) Reset() { *m = QueryObserverSet{} } func (m *QueryObserverSet) String() string { return proto.CompactTextString(m) } func (*QueryObserverSet) ProtoMessage() {} func (*QueryObserverSet) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{21} + return fileDescriptor_25b2aa420449a0c0, []int{21} } func (m *QueryObserverSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1089,7 +1088,7 @@ func (m *QueryObserverSetResponse) Reset() { *m = QueryObserverSetRespon func (m *QueryObserverSetResponse) String() string { return proto.CompactTextString(m) } func (*QueryObserverSetResponse) ProtoMessage() {} func (*QueryObserverSetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{22} + return fileDescriptor_25b2aa420449a0c0, []int{22} } func (m *QueryObserverSetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1132,7 +1131,7 @@ func (m *QuerySupportedChains) Reset() { *m = QuerySupportedChains{} } func (m *QuerySupportedChains) String() string { return proto.CompactTextString(m) } func (*QuerySupportedChains) ProtoMessage() {} func (*QuerySupportedChains) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{23} + return fileDescriptor_25b2aa420449a0c0, []int{23} } func (m *QuerySupportedChains) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1169,7 +1168,7 @@ func (m *QuerySupportedChainsResponse) Reset() { *m = QuerySupportedChai func (m *QuerySupportedChainsResponse) String() string { return proto.CompactTextString(m) } func (*QuerySupportedChainsResponse) ProtoMessage() {} func (*QuerySupportedChainsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{24} + return fileDescriptor_25b2aa420449a0c0, []int{24} } func (m *QuerySupportedChainsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1213,7 +1212,7 @@ func (m *QueryGetChainParamsForChainRequest) Reset() { *m = QueryGetChai func (m *QueryGetChainParamsForChainRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetChainParamsForChainRequest) ProtoMessage() {} func (*QueryGetChainParamsForChainRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{25} + return fileDescriptor_25b2aa420449a0c0, []int{25} } func (m *QueryGetChainParamsForChainRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1257,7 +1256,7 @@ func (m *QueryGetChainParamsForChainResponse) Reset() { *m = QueryGetCha func (m *QueryGetChainParamsForChainResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetChainParamsForChainResponse) ProtoMessage() {} func (*QueryGetChainParamsForChainResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{26} + return fileDescriptor_25b2aa420449a0c0, []int{26} } func (m *QueryGetChainParamsForChainResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1300,7 +1299,7 @@ func (m *QueryGetChainParamsRequest) Reset() { *m = QueryGetChainParamsR func (m *QueryGetChainParamsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetChainParamsRequest) ProtoMessage() {} func (*QueryGetChainParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{27} + return fileDescriptor_25b2aa420449a0c0, []int{27} } func (m *QueryGetChainParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1337,7 +1336,7 @@ func (m *QueryGetChainParamsResponse) Reset() { *m = QueryGetChainParams func (m *QueryGetChainParamsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetChainParamsResponse) ProtoMessage() {} func (*QueryGetChainParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{28} + return fileDescriptor_25b2aa420449a0c0, []int{28} } func (m *QueryGetChainParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1381,7 +1380,7 @@ func (m *QueryGetNodeAccountRequest) Reset() { *m = QueryGetNodeAccountR func (m *QueryGetNodeAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetNodeAccountRequest) ProtoMessage() {} func (*QueryGetNodeAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{29} + return fileDescriptor_25b2aa420449a0c0, []int{29} } func (m *QueryGetNodeAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1425,7 +1424,7 @@ func (m *QueryGetNodeAccountResponse) Reset() { *m = QueryGetNodeAccount func (m *QueryGetNodeAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetNodeAccountResponse) ProtoMessage() {} func (*QueryGetNodeAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{30} + return fileDescriptor_25b2aa420449a0c0, []int{30} } func (m *QueryGetNodeAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1469,7 +1468,7 @@ func (m *QueryAllNodeAccountRequest) Reset() { *m = QueryAllNodeAccountR func (m *QueryAllNodeAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllNodeAccountRequest) ProtoMessage() {} func (*QueryAllNodeAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{31} + return fileDescriptor_25b2aa420449a0c0, []int{31} } func (m *QueryAllNodeAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1514,7 +1513,7 @@ func (m *QueryAllNodeAccountResponse) Reset() { *m = QueryAllNodeAccount func (m *QueryAllNodeAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllNodeAccountResponse) ProtoMessage() {} func (*QueryAllNodeAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{32} + return fileDescriptor_25b2aa420449a0c0, []int{32} } func (m *QueryAllNodeAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1564,7 +1563,7 @@ func (m *QueryGetCrosschainFlagsRequest) Reset() { *m = QueryGetCrosscha func (m *QueryGetCrosschainFlagsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetCrosschainFlagsRequest) ProtoMessage() {} func (*QueryGetCrosschainFlagsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{33} + return fileDescriptor_25b2aa420449a0c0, []int{33} } func (m *QueryGetCrosschainFlagsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1601,7 +1600,7 @@ func (m *QueryGetCrosschainFlagsResponse) Reset() { *m = QueryGetCrossch func (m *QueryGetCrosschainFlagsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetCrosschainFlagsResponse) ProtoMessage() {} func (*QueryGetCrosschainFlagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{34} + return fileDescriptor_25b2aa420449a0c0, []int{34} } func (m *QueryGetCrosschainFlagsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1644,7 +1643,7 @@ func (m *QueryGetKeygenRequest) Reset() { *m = QueryGetKeygenRequest{} } func (m *QueryGetKeygenRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetKeygenRequest) ProtoMessage() {} func (*QueryGetKeygenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{35} + return fileDescriptor_25b2aa420449a0c0, []int{35} } func (m *QueryGetKeygenRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1681,7 +1680,7 @@ func (m *QueryGetKeygenResponse) Reset() { *m = QueryGetKeygenResponse{} func (m *QueryGetKeygenResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetKeygenResponse) ProtoMessage() {} func (*QueryGetKeygenResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{36} + return fileDescriptor_25b2aa420449a0c0, []int{36} } func (m *QueryGetKeygenResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1724,7 +1723,7 @@ func (m *QueryShowObserverCountRequest) Reset() { *m = QueryShowObserver func (m *QueryShowObserverCountRequest) String() string { return proto.CompactTextString(m) } func (*QueryShowObserverCountRequest) ProtoMessage() {} func (*QueryShowObserverCountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{37} + return fileDescriptor_25b2aa420449a0c0, []int{37} } func (m *QueryShowObserverCountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1761,7 +1760,7 @@ func (m *QueryShowObserverCountResponse) Reset() { *m = QueryShowObserve func (m *QueryShowObserverCountResponse) String() string { return proto.CompactTextString(m) } func (*QueryShowObserverCountResponse) ProtoMessage() {} func (*QueryShowObserverCountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{38} + return fileDescriptor_25b2aa420449a0c0, []int{38} } func (m *QueryShowObserverCountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1805,7 +1804,7 @@ func (m *QueryBlameByIdentifierRequest) Reset() { *m = QueryBlameByIdent func (m *QueryBlameByIdentifierRequest) String() string { return proto.CompactTextString(m) } func (*QueryBlameByIdentifierRequest) ProtoMessage() {} func (*QueryBlameByIdentifierRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{39} + return fileDescriptor_25b2aa420449a0c0, []int{39} } func (m *QueryBlameByIdentifierRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1849,7 +1848,7 @@ func (m *QueryBlameByIdentifierResponse) Reset() { *m = QueryBlameByIden func (m *QueryBlameByIdentifierResponse) String() string { return proto.CompactTextString(m) } func (*QueryBlameByIdentifierResponse) ProtoMessage() {} func (*QueryBlameByIdentifierResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{40} + return fileDescriptor_25b2aa420449a0c0, []int{40} } func (m *QueryBlameByIdentifierResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1893,7 +1892,7 @@ func (m *QueryAllBlameRecordsRequest) Reset() { *m = QueryAllBlameRecord func (m *QueryAllBlameRecordsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllBlameRecordsRequest) ProtoMessage() {} func (*QueryAllBlameRecordsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{41} + return fileDescriptor_25b2aa420449a0c0, []int{41} } func (m *QueryAllBlameRecordsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1938,7 +1937,7 @@ func (m *QueryAllBlameRecordsResponse) Reset() { *m = QueryAllBlameRecor func (m *QueryAllBlameRecordsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllBlameRecordsResponse) ProtoMessage() {} func (*QueryAllBlameRecordsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{42} + return fileDescriptor_25b2aa420449a0c0, []int{42} } func (m *QueryAllBlameRecordsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1990,7 +1989,7 @@ func (m *QueryBlameByChainAndNonceRequest) Reset() { *m = QueryBlameByCh func (m *QueryBlameByChainAndNonceRequest) String() string { return proto.CompactTextString(m) } func (*QueryBlameByChainAndNonceRequest) ProtoMessage() {} func (*QueryBlameByChainAndNonceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{43} + return fileDescriptor_25b2aa420449a0c0, []int{43} } func (m *QueryBlameByChainAndNonceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2041,7 +2040,7 @@ func (m *QueryBlameByChainAndNonceResponse) Reset() { *m = QueryBlameByC func (m *QueryBlameByChainAndNonceResponse) String() string { return proto.CompactTextString(m) } func (*QueryBlameByChainAndNonceResponse) ProtoMessage() {} func (*QueryBlameByChainAndNonceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcb801e455adaee4, []int{44} + return fileDescriptor_25b2aa420449a0c0, []int{44} } func (m *QueryBlameByChainAndNonceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2125,143 +2124,145 @@ func init() { proto.RegisterType((*QueryBlameByChainAndNonceResponse)(nil), "zetachain.zetacore.observer.QueryBlameByChainAndNonceResponse") } -func init() { proto.RegisterFile("observer/query.proto", fileDescriptor_dcb801e455adaee4) } - -var fileDescriptor_dcb801e455adaee4 = []byte{ - // 2113 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xf7, 0x5a, 0x89, 0x22, 0x3d, 0x59, 0x1f, 0x1e, 0xcb, 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 0x72, 0xa9, 0x5d, 0x77, 0x1a, 0xf2, 0x14, 0x33, 0x7c, 0xff, 0xf1, 0xd6, - 0x57, 0x79, 0x6e, 0x42, 0x21, 0xae, 0x1e, 0x8c, 0x26, 0x1e, 0xbd, 0xd2, 0x83, 0x0e, 0x78, 0xad, - 0x63, 0x23, 0xbf, 0xd6, 0xb5, 0xff, 0x2d, 0xc1, 0x8b, 0x72, 0x20, 0xf2, 0x17, 0x0d, 0x26, 0x7c, - 0x99, 0x48, 0x2e, 0x66, 0x46, 0x49, 0x13, 0xaf, 0xfa, 0xda, 0x28, 0x2e, 0x8a, 0x80, 0x71, 0xff, - 0x67, 0xff, 0xf8, 0xef, 0x2f, 0x0e, 0x7e, 0x9b, 0x94, 0x4c, 0xcf, 0xe3, 0x82, 0x74, 0x0e, 0xbe, - 0x18, 0x99, 0x81, 0x40, 0x35, 0x77, 0xfa, 0x54, 0xda, 0xae, 0xb9, 0x13, 0x93, 0x91, 0xbb, 0xe4, - 0x9f, 0x1a, 0x90, 0x7e, 0xa9, 0x47, 0xae, 0x0f, 0x87, 0x35, 0x50, 0xe6, 0xea, 0x6f, 0xed, 0xcd, - 0x19, 0xd9, 0xdd, 0x91, 0xec, 0x6e, 0x92, 0x1b, 0xa9, 0xec, 0x90, 0x52, 0xad, 0x17, 0x61, 0x95, - 0x46, 0x94, 0xfc, 0x5a, 0x83, 0xa9, 0x88, 0xec, 0x22, 0x17, 0x86, 0x83, 0x8a, 0x74, 0xd7, 0xdf, - 0x1c, 0xa9, 0x7b, 0x00, 0xfe, 0x9c, 0x04, 0xbf, 0x4c, 0x4e, 0xa7, 0x82, 0x0f, 0x96, 0x45, 0x4e, - 0x05, 0xf9, 0x9d, 0x06, 0xb3, 0x09, 0x15, 0x97, 0xa7, 0x80, 0x12, 0x2e, 0xfa, 0xd5, 0x91, 0x5d, - 0x02, 0xb0, 0xe7, 0x25, 0xd8, 0x57, 0xc9, 0x2b, 0xa9, 0x60, 0x79, 0x02, 0xdb, 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9, 0x15, 0xe9, 0xde, 0x70, 0xa7, 0xff, 0x03, 0xc1, 0x10, 0x45, 0x1a, 0xc1, 0x5d, 0xba, 0xf7, - 0xc5, 0xb3, 0x82, 0xf6, 0xe5, 0xb3, 0x82, 0xf6, 0xd5, 0xb3, 0x82, 0xf6, 0xf3, 0xe7, 0x85, 0x03, - 0x5f, 0x3e, 0x2f, 0x1c, 0xf8, 0xd7, 0xf3, 0xc2, 0x81, 0xc7, 0x66, 0xcb, 0x16, 0xed, 0xed, 0x5a, - 0xb1, 0xce, 0x9e, 0xa4, 0xea, 0x98, 0x8f, 0x23, 0x73, 0xa7, 0xd7, 0xa5, 0xbc, 0x36, 0x2e, 0xff, - 0xcf, 0xe3, 0xd2, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x40, 0xfd, 0x0d, 0xb0, 0x23, 0x00, - 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/observer/query.proto", fileDescriptor_25b2aa420449a0c0) +} + +var fileDescriptor_25b2aa420449a0c0 = []byte{ + // 2128 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcf, 0x6f, 0x1b, 0xc7, + 0x15, 0xf6, 0x4a, 0x89, 0x22, 0x3d, 0xd9, 0x92, 0x3c, 0x96, 0x1d, 0x87, 0x76, 0x64, 0x79, 0x65, + 0xc7, 0xb2, 0x62, 0x73, 0x6d, 0x3a, 0xa9, 0x7f, 0xc7, 0x16, 0xdd, 0x58, 0xb2, 0x93, 0xda, 0x0e, + 0xa9, 0x36, 0x80, 0x91, 0x96, 0x5d, 0x92, 0x43, 0x72, 0xeb, 0xd5, 0x0e, 0xb3, 0x33, 0x72, 0xc2, + 0xa8, 0x02, 0x8a, 0x1e, 0x73, 0x2a, 0x50, 0xa0, 0xbd, 0x15, 0xbd, 0xf4, 0x58, 0xa0, 0x08, 0x50, + 0xb4, 0x40, 0xd1,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5f, 0xd8, 0xf7, 0xd8, 0x6a, 0x3a, 0xa2, 0xb5, 0x55, 0xcd, + 0xd7, 0xd8, 0x66, 0xaa, 0x8e, 0xf9, 0x34, 0x32, 0x77, 0x3a, 0x6d, 0xca, 0xab, 0x13, 0xf2, 0xef, + 0x1f, 0x97, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x19, 0xf9, 0xb3, 0x69, 0xbe, 0x24, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3129,7 +3130,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "observer/query.proto", + Metadata: "zetachain/zetacore/observer/query.proto", } func (m *QueryGetChainNoncesRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/query.pb.gw.go b/x/observer/types/query.pb.gw.go index 7057ad2066..fc62c63354 100644 --- a/x/observer/types/query.pb.gw.go +++ b/x/observer/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: observer/query.proto +// source: zetachain/zetacore/observer/query.proto /* Package types is a reverse proxy. diff --git a/x/observer/types/tss.pb.go b/x/observer/types/tss.pb.go index f1910beb8c..0adbd741ef 100644 --- a/x/observer/types/tss.pb.go +++ b/x/observer/types/tss.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/tss.proto +// source: zetachain/zetacore/observer/tss.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -36,7 +35,7 @@ func (m *TSS) Reset() { *m = TSS{} } func (m *TSS) String() string { return proto.CompactTextString(m) } func (*TSS) ProtoMessage() {} func (*TSS) Descriptor() ([]byte, []int) { - return fileDescriptor_debc03bce4d6c8c3, []int{0} + return fileDescriptor_0d5940b469d46916, []int{0} } func (m *TSS) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -104,28 +103,31 @@ func init() { proto.RegisterType((*TSS)(nil), "zetachain.zetacore.observer.TSS") } -func init() { proto.RegisterFile("observer/tss.proto", fileDescriptor_debc03bce4d6c8c3) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/tss.proto", fileDescriptor_0d5940b469d46916) +} -var fileDescriptor_debc03bce4d6c8c3 = []byte{ - // 286 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xc1, 0x4a, 0xc3, 0x40, - 0x10, 0x86, 0xbb, 0x44, 0x2b, 0xdd, 0x93, 0x6c, 0x2b, 0x14, 0xc5, 0xa5, 0x78, 0x2a, 0x82, 0xd9, - 0xa2, 0x4f, 0xa0, 0x17, 0x15, 0x3c, 0x48, 0xeb, 0xa9, 0x97, 0xb2, 0x69, 0xc7, 0x64, 0x69, 0xcd, - 0x86, 0x9d, 0xa9, 0x98, 0x3e, 0x85, 0x8f, 0xe5, 0xb1, 0x47, 0x8f, 0x92, 0x5c, 0x7c, 0x0c, 0xc9, - 0x86, 0x50, 0x41, 0x6f, 0xc3, 0x7c, 0xdf, 0x7f, 0xf9, 0xb8, 0xb0, 0x11, 0x82, 0x7b, 0x05, 0xa7, - 0x08, 0x31, 0xcc, 0x9c, 0x25, 0x2b, 0x4e, 0x36, 0x40, 0x7a, 0x9e, 0x68, 0x93, 0x86, 0xfe, 0xb2, - 0x0e, 0xc2, 0x46, 0x3b, 0xee, 0xc5, 0x36, 0xb6, 0xde, 0x53, 0xd5, 0x55, 0x4f, 0xce, 0xbe, 0x19, - 0x0f, 0x9e, 0x26, 0x13, 0x71, 0xca, 0x39, 0x21, 0xce, 0xb2, 0x75, 0xb4, 0x84, 0xbc, 0x1f, 0x0c, - 0xd8, 0xb0, 0x33, 0xee, 0x10, 0xe2, 0xa3, 0x7f, 0x88, 0x11, 0xef, 0x79, 0xac, 0x1d, 0x99, 0xb9, - 0xc9, 0x74, 0x4a, 0xb3, 0x95, 0x41, 0xea, 0xef, 0x0d, 0x82, 0x61, 0x67, 0x2c, 0x2a, 0x71, 0x87, - 0x1e, 0x0c, 0x92, 0xb8, 0xe4, 0x47, 0x36, 0x03, 0xa7, 0xc9, 0xba, 0x99, 0x5e, 0x2c, 0x1c, 0x20, - 0xd6, 0x93, 0x7d, 0x3f, 0xe9, 0x36, 0xf0, 0xba, 0x66, 0x7e, 0x33, 0xe2, 0xdd, 0x67, 0x93, 0xea, - 0x95, 0xd9, 0xc0, 0x62, 0x0a, 0xa4, 0xef, 0xc0, 0xc4, 0x09, 0xf5, 0xdb, 0x03, 0x36, 0x0c, 0xc6, - 0xff, 0x21, 0x71, 0xce, 0x0f, 0x97, 0x90, 0xdf, 0x42, 0xfa, 0x4b, 0x3f, 0xf0, 0xfa, 0x9f, 0xff, - 0xcd, 0xfd, 0x47, 0x21, 0xd9, 0xb6, 0x90, 0xec, 0xab, 0x90, 0xec, 0xbd, 0x94, 0xad, 0x6d, 0x29, - 0x5b, 0x9f, 0xa5, 0x6c, 0x4d, 0x55, 0x6c, 0x28, 0x59, 0x47, 0xe1, 0xdc, 0xbe, 0xa8, 0x2a, 0xdc, - 0x85, 0x6f, 0xa8, 0x9a, 0x86, 0xea, 0x4d, 0xed, 0x62, 0xe7, 0x19, 0x60, 0xd4, 0xf6, 0xf1, 0xae, - 0x7e, 0x02, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x52, 0xdf, 0xf3, 0x85, 0x01, 0x00, 0x00, +var fileDescriptor_0d5940b469d46916 = []byte{ + // 289 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xc1, 0x4a, 0xf3, 0x40, + 0x14, 0x46, 0x3b, 0xe4, 0xff,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, 0xd7, 0xa0, 0x93, + 0x94, 0xfa, 0xed, 0x01, 0x1b, 0x7a, 0xe3, 0xbf, 0x90, 0x38, 0xe1, 0xbb, 0x73, 0x28, 0xae, 0x20, + 0xdb, 0xd2, 0x77, 0x9c, 0xfe, 0xeb, 0x7f, 0x79, 0xf3, 0x5a, 0x4a, 0xb6, 0x2e, 0x25, 0x7b, 0x2f, + 0x25, 0x7b, 0xa9, 0x64, 0x6b, 0x5d, 0xc9, 0xd6, 0x5b, 0x25, 0x5b, 0xd3, 0x20, 0xd1, 0x94, 0x2e, + 0x43, 0x3f, 0x32, 0x8f, 0xae, 0xef, 0xe9, 0x8f, 0xd4, 0xcf, 0x5b, 0xb1, 0x8b, 0x1c, 0x30, 0x6c, + 0xbb, 0x78, 0xe7, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x49, 0x2e, 0xd2, 0x45, 0x98, 0x01, 0x00, + 0x00, } func (m *TSS) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/tss_funds_migrator.pb.go b/x/observer/types/tss_funds_migrator.pb.go index 7169b0cb14..4f031d477e 100644 --- a/x/observer/types/tss_funds_migrator.pb.go +++ b/x/observer/types/tss_funds_migrator.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/tss_funds_migrator.proto +// source: zetachain/zetacore/observer/tss_funds_migrator.proto package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/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. @@ -33,7 +32,7 @@ func (m *TssFundMigratorInfo) Reset() { *m = TssFundMigratorInfo{} } func (m *TssFundMigratorInfo) String() string { return proto.CompactTextString(m) } func (*TssFundMigratorInfo) ProtoMessage() {} func (*TssFundMigratorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_bb561ac1748a50be, []int{0} + return fileDescriptor_82eb7fa25833bded, []int{0} } func (m *TssFundMigratorInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -80,25 +79,27 @@ func init() { proto.RegisterType((*TssFundMigratorInfo)(nil), "zetachain.zetacore.observer.TssFundMigratorInfo") } -func init() { proto.RegisterFile("observer/tss_funds_migrator.proto", fileDescriptor_bb561ac1748a50be) } +func init() { + proto.RegisterFile("zetachain/zetacore/observer/tss_funds_migrator.proto", fileDescriptor_82eb7fa25833bded) +} -var fileDescriptor_bb561ac1748a50be = []byte{ +var fileDescriptor_82eb7fa25833bded = []byte{ // 231 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xcc, 0x4f, 0x2a, 0x4e, - 0x2d, 0x2a, 0x4b, 0x2d, 0xd2, 0x2f, 0x29, 0x2e, 0x8e, 0x4f, 0x2b, 0xcd, 0x4b, 0x29, 0x8e, 0xcf, - 0xcd, 0x4c, 0x2f, 0x4a, 0x2c, 0xc9, 0x2f, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0xae, - 0x4a, 0x2d, 0x49, 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x03, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x60, - 0xba, 0xa4, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0xea, 0xf4, 0x41, 0x2c, 0x88, 0x16, 0xa5, 0x24, - 0x2e, 0xe1, 0x90, 0xe2, 0x62, 0xb7, 0xd2, 0xbc, 0x14, 0x5f, 0xa8, 0x59, 0x9e, 0x79, 0x69, 0xf9, - 0x42, 0x92, 0x5c, 0x1c, 0x60, 0x73, 0xe2, 0x33, 0x53, 0x24, 0x18, 0x15, 0x18, 0x35, 0x98, 0x83, - 0xd8, 0xc1, 0x7c, 0xcf, 0x14, 0x21, 0x03, 0x2e, 0x11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 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0xea, 0xf4, + 0x41, 0x2c, 0x88, 0x16, 0xa5, 0x24, 0x2e, 0xe1, 0x90, 0xe2, 0x62, 0xb7, 0xd2, 0xbc, 0x14, 0x5f, + 0xa8, 0x59, 0x9e, 0x79, 0x69, 0xf9, 0x42, 0x92, 0x5c, 0x1c, 0x60, 0x73, 0xe2, 0x33, 0x53, 0x24, + 0x18, 0x15, 0x18, 0x35, 0x98, 0x83, 0xd8, 0xc1, 0x7c, 0xcf, 0x14, 0x21, 0x03, 0x2e, 0x11, 0x88, + 0xb5, 0x99, 0xf9, 0x79, 0xf1, 0xc9, 0xc9, 0x25, 0x15, 0xf1, 0x99, 0x79, 0x29, 0xa9, 0x15, 0x12, + 0x4c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x42, 0x70, 0x39, 0xe7, 0xe4, 0x92, 0x0a, 0x4f, 0x90, 0x8c, + 0x93, 0xe7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, + 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xe9, 0xa7, 0x67, 0x96, + 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0x82, 0xfd, 0xa9, 0x8b, 0xe6, 0xe5, 0x0a, 0x24, 0x4f, + 0x57, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x5d, 0x6d, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x19, + 0x3c, 0x7f, 0xa6, 0x20, 0x01, 0x00, 0x00, } func (m *TssFundMigratorInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/observer/types/tx.pb.go b/x/observer/types/tx.pb.go index 87585e885d..a327057a25 100644 --- a/x/observer/types/tx.pb.go +++ b/x/observer/types/tx.pb.go @@ -1,23 +1,22 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: observer/tx.proto +// source: zetachain/zetacore/observer/tx.proto 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" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" chains "github.com/zeta-chain/zetacore/pkg/chains" proofs "github.com/zeta-chain/zetacore/pkg/proofs" 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. @@ -42,7 +41,7 @@ func (m *MsgUpdateObserver) Reset() { *m = MsgUpdateObserver{} } func (m *MsgUpdateObserver) String() string { return proto.CompactTextString(m) } func (*MsgUpdateObserver) ProtoMessage() {} func (*MsgUpdateObserver) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{0} + return fileDescriptor_eda6e3b1d16a4021, []int{0} } func (m *MsgUpdateObserver) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -106,7 +105,7 @@ func (m *MsgUpdateObserverResponse) Reset() { *m = MsgUpdateObserverResp func (m *MsgUpdateObserverResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateObserverResponse) ProtoMessage() {} func (*MsgUpdateObserverResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{1} + return fileDescriptor_eda6e3b1d16a4021, []int{1} } func (m *MsgUpdateObserverResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -147,7 +146,7 @@ func (m *MsgVoteBlockHeader) Reset() { *m = MsgVoteBlockHeader{} } func (m *MsgVoteBlockHeader) String() string { return proto.CompactTextString(m) } func (*MsgVoteBlockHeader) ProtoMessage() {} func (*MsgVoteBlockHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{2} + return fileDescriptor_eda6e3b1d16a4021, []int{2} } func (m *MsgVoteBlockHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -220,7 +219,7 @@ func (m *MsgVoteBlockHeaderResponse) Reset() { *m = MsgVoteBlockHeaderRe func (m *MsgVoteBlockHeaderResponse) String() string { return proto.CompactTextString(m) } func (*MsgVoteBlockHeaderResponse) ProtoMessage() {} func (*MsgVoteBlockHeaderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{3} + return fileDescriptor_eda6e3b1d16a4021, []int{3} } func (m *MsgVoteBlockHeaderResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -272,7 +271,7 @@ func (m *MsgUpdateChainParams) Reset() { *m = MsgUpdateChainParams{} } func (m *MsgUpdateChainParams) String() string { return proto.CompactTextString(m) } func (*MsgUpdateChainParams) ProtoMessage() {} func (*MsgUpdateChainParams) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{4} + return fileDescriptor_eda6e3b1d16a4021, []int{4} } func (m *MsgUpdateChainParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -322,7 +321,7 @@ func (m *MsgUpdateChainParamsResponse) Reset() { *m = MsgUpdateChainPara func (m *MsgUpdateChainParamsResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateChainParamsResponse) ProtoMessage() {} func (*MsgUpdateChainParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{5} + return fileDescriptor_eda6e3b1d16a4021, []int{5} } func (m *MsgUpdateChainParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -360,7 +359,7 @@ func (m *MsgRemoveChainParams) Reset() { *m = MsgRemoveChainParams{} } func (m *MsgRemoveChainParams) String() string { return proto.CompactTextString(m) } func (*MsgRemoveChainParams) ProtoMessage() {} func (*MsgRemoveChainParams) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{6} + return fileDescriptor_eda6e3b1d16a4021, []int{6} } func (m *MsgRemoveChainParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -410,7 +409,7 @@ func (m *MsgRemoveChainParamsResponse) Reset() { *m = MsgRemoveChainPara func (m *MsgRemoveChainParamsResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveChainParamsResponse) ProtoMessage() {} func (*MsgRemoveChainParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{7} + return fileDescriptor_eda6e3b1d16a4021, []int{7} } func (m *MsgRemoveChainParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -450,7 +449,7 @@ func (m *MsgAddObserver) Reset() { *m = MsgAddObserver{} } func (m *MsgAddObserver) String() string { return proto.CompactTextString(m) } func (*MsgAddObserver) ProtoMessage() {} func (*MsgAddObserver) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{8} + return fileDescriptor_eda6e3b1d16a4021, []int{8} } func (m *MsgAddObserver) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -514,7 +513,7 @@ func (m *MsgAddObserverResponse) Reset() { *m = MsgAddObserverResponse{} func (m *MsgAddObserverResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddObserverResponse) ProtoMessage() {} func (*MsgAddObserverResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{9} + return fileDescriptor_eda6e3b1d16a4021, []int{9} } func (m *MsgAddObserverResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -553,7 +552,7 @@ func (m *MsgAddBlameVote) Reset() { *m = MsgAddBlameVote{} } func (m *MsgAddBlameVote) String() string { return proto.CompactTextString(m) } func (*MsgAddBlameVote) ProtoMessage() {} func (*MsgAddBlameVote) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{10} + return fileDescriptor_eda6e3b1d16a4021, []int{10} } func (m *MsgAddBlameVote) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -610,7 +609,7 @@ func (m *MsgAddBlameVoteResponse) Reset() { *m = MsgAddBlameVoteResponse func (m *MsgAddBlameVoteResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddBlameVoteResponse) ProtoMessage() {} func (*MsgAddBlameVoteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{11} + return fileDescriptor_eda6e3b1d16a4021, []int{11} } func (m *MsgAddBlameVoteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -651,7 +650,7 @@ func (m *MsgUpdateCrosschainFlags) Reset() { *m = MsgUpdateCrosschainFla func (m *MsgUpdateCrosschainFlags) String() string { return proto.CompactTextString(m) } func (*MsgUpdateCrosschainFlags) ProtoMessage() {} func (*MsgUpdateCrosschainFlags) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{12} + return fileDescriptor_eda6e3b1d16a4021, []int{12} } func (m *MsgUpdateCrosschainFlags) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -722,7 +721,7 @@ func (m *MsgUpdateCrosschainFlagsResponse) Reset() { *m = MsgUpdateCross func (m *MsgUpdateCrosschainFlagsResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateCrosschainFlagsResponse) ProtoMessage() {} func (*MsgUpdateCrosschainFlagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{13} + return fileDescriptor_eda6e3b1d16a4021, []int{13} } func (m *MsgUpdateCrosschainFlagsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -760,7 +759,7 @@ func (m *MsgUpdateKeygen) Reset() { *m = MsgUpdateKeygen{} } func (m *MsgUpdateKeygen) String() string { return proto.CompactTextString(m) } func (*MsgUpdateKeygen) ProtoMessage() {} func (*MsgUpdateKeygen) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{14} + return fileDescriptor_eda6e3b1d16a4021, []int{14} } func (m *MsgUpdateKeygen) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -810,7 +809,7 @@ func (m *MsgUpdateKeygenResponse) Reset() { *m = MsgUpdateKeygenResponse func (m *MsgUpdateKeygenResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateKeygenResponse) ProtoMessage() {} func (*MsgUpdateKeygenResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{15} + return fileDescriptor_eda6e3b1d16a4021, []int{15} } func (m *MsgUpdateKeygenResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -850,7 +849,7 @@ func (m *MsgResetChainNonces) Reset() { *m = MsgResetChainNonces{} } func (m *MsgResetChainNonces) String() string { return proto.CompactTextString(m) } func (*MsgResetChainNonces) ProtoMessage() {} func (*MsgResetChainNonces) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{16} + return fileDescriptor_eda6e3b1d16a4021, []int{16} } func (m *MsgResetChainNonces) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -914,7 +913,7 @@ func (m *MsgResetChainNoncesResponse) Reset() { *m = MsgResetChainNonces func (m *MsgResetChainNoncesResponse) String() string { return proto.CompactTextString(m) } func (*MsgResetChainNoncesResponse) ProtoMessage() {} func (*MsgResetChainNoncesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{17} + return fileDescriptor_eda6e3b1d16a4021, []int{17} } func (m *MsgResetChainNoncesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -947,14 +946,14 @@ type MsgVoteTSS struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` TssPubkey string `protobuf:"bytes,2,opt,name=tss_pubkey,json=tssPubkey,proto3" json:"tss_pubkey,omitempty"` KeygenZetaHeight int64 `protobuf:"varint,3,opt,name=keygen_zeta_height,json=keygenZetaHeight,proto3" json:"keygen_zeta_height,omitempty"` - Status chains.ReceiveStatus `protobuf:"varint,4,opt,name=status,proto3,enum=chains.ReceiveStatus" json:"status,omitempty"` + Status chains.ReceiveStatus `protobuf:"varint,4,opt,name=status,proto3,enum=zetachain.zetacore.pkg.chains.ReceiveStatus" json:"status,omitempty"` } func (m *MsgVoteTSS) Reset() { *m = MsgVoteTSS{} } func (m *MsgVoteTSS) String() string { return proto.CompactTextString(m) } func (*MsgVoteTSS) ProtoMessage() {} func (*MsgVoteTSS) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{18} + return fileDescriptor_eda6e3b1d16a4021, []int{18} } func (m *MsgVoteTSS) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1021,7 +1020,7 @@ func (m *MsgVoteTSSResponse) Reset() { *m = MsgVoteTSSResponse{} } func (m *MsgVoteTSSResponse) String() string { return proto.CompactTextString(m) } func (*MsgVoteTSSResponse) ProtoMessage() {} func (*MsgVoteTSSResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1bcd40fa296a2b1d, []int{19} + return fileDescriptor_eda6e3b1d16a4021, []int{19} } func (m *MsgVoteTSSResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1094,85 +1093,88 @@ func init() { proto.RegisterType((*MsgVoteTSSResponse)(nil), "zetachain.zetacore.observer.MsgVoteTSSResponse") } -func init() { proto.RegisterFile("observer/tx.proto", fileDescriptor_1bcd40fa296a2b1d) } - -var fileDescriptor_1bcd40fa296a2b1d = []byte{ - // 1200 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x4b, 0x6f, 0xdb, 0x46, - 0x10, 0x36, 0xe3, 0xc4, 0x96, 0xc7, 0x6f, 0xd6, 0x8e, 0x65, 0x39, 0x56, 0x0c, 0x02, 0x6d, 0xdd, - 0xd6, 0x91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0xab, 0xc1, 0xec, 0x1e, 0x73, 0xbf, 0xaa, - 0x39, 0x88, 0xe3, 0x7d, 0xc5, 0xa8, 0x67, 0x61, 0xd4, 0x0e, 0x31, 0xe2, 0x34, 0xcc, 0x6a, 0x2b, - 0xda, 0xea, 0x98, 0x19, 0xbf, 0xea, 0xeb, 0x30, 0x47, 0x03, 0xc7, 0x8a, 0x7d, 0x5b, 0xc8, 0x71, - 0x42, 0xcc, 0x58, 0xf6, 0x96, 0x80, 0xe9, 0x34, 0x70, 0x62, 0x92, 0x4d, 0xa9, 0x89, 0x2c, 0x08, - 0x3e, 0xeb, 0xb4, 0x18, 0x96, 0x16, 0x04, 0x9f, 0xb5, 0x5b, 0x1c, 0xc1, 0x64, 0x5d, 0xc4, 0x63, - 0x85, 0x18, 0x31, 0x4a, 0xb2, 0xb7, 0x57, 0xb4, 0xd5, 0xa9, 0xd2, 0x46, 0x21, 0xa5, 0x54, 0x85, - 0x98, 0x44, 0x66, 0x62, 0x0a, 0x43, 0x73, 0xa2, 0xde, 0xf4, 0x66, 0x2c, 0xc1, 0x62, 0x47, 0xaa, - 0x26, 0x66, 0x35, 0x4a, 0x18, 0x36, 0x7e, 0xd7, 0x40, 0xdf, 0x63, 0xee, 0x11, 0xe5, 0x78, 0x2b, - 0xa0, 0xf6, 0xf1, 0x0e, 0x46, 0x4e, 0xea, 0x49, 0x2c, 0x42, 0x46, 0xd6, 0xd8, 0x77, 0x44, 0xf6, - 0xc3, 0xe6, 0xa8, 0x78, 0xdf, 0x75, 0xf4, 0x65, 0x80, 0x4a, 0xc4, 0x61, 0x79, 0x88, 0x79, 0x22, - 0xd1, 0x09, 0x73, 0x4c, 0x48, 0x76, 0x10, 0xf3, 0xf4, 0xbb, 0x30, 0xe2, 0x61, 0xdf, 0xf5, 0xb8, - 0x48, 0x6c, 0xd8, 0x54, 0x6f, 0xfa, 0x7a, 0x24, 0x8f, 0xbc, 0x66, 0xef, 0xac, 0x68, 0xab, 0xe3, - 0x25, 0x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, 0xaf, 0xbd, 0xba, 0xcc, - 0x6b, 0xff, 0x5c, 0xe6, 0xb5, 0x5f, 0xae, 0xf2, 0x43, 0xaf, 0xae, 0xf2, 0x43, 0x7f, 0x5d, 0xe5, - 0x87, 0x9e, 0x17, 0x5d, 0x9f, 0x7b, 0xf5, 0x4a, 0xc1, 0xa6, 0x27, 0xc5, 0x88, 0xea, 0x81, 0x60, - 0x2d, 0xc6, 0xac, 0xc5, 0xf3, 0x62, 0xe3, 0x3f, 0xe0, 0x45, 0x0d, 0xb3, 0xca, 0x88, 0xf8, 0x53, - 0xf7, 0xf0, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe4, 0xd6, 0x5e, 0xab, 0xe8, 0x0e, 0x00, 0x00, +func init() { + proto.RegisterFile("zetachain/zetacore/observer/tx.proto", fileDescriptor_eda6e3b1d16a4021) +} + +var fileDescriptor_eda6e3b1d16a4021 = []byte{ + // 1209 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x49, 0x6f, 0xdb, 0xc6, + 0x17, 0x37, 0xe3, 0xc4, 0x96, 0x9f, 0x77, 0xfe, 0xed, 0x44, 0x96, 0x63, 0xfd, 0x0d, 0xa2, 0x69, + 0x94, 0xd4, 0x95, 0x6c, 0xa5, 0x5b, 0x0a, 0xf4, 0x60, 0x27, 0x8d, 0xed, 0xa6, 0x8e, 0x0d, 0xca, + 0xf5, 0x21, 0x17, 0x62, 0x44, 0x8e, 0x28, 0xd6, 0xf4, 0x8c, 0xc0, 0x19, 0x79, 0x49, 0x17, 0xa0, + 0xc7, 0x1e, 0x8a, 0xf6, 0x03, 0xf4, 0x8b, 0xf4, 0xde, 0x43, 0x7a, 0x0b, 0x7a, 0xea, 0xa9, 0x28, + 0xec, 0x53, 0x3f, 0x41, 0xaf, 0x05, 0x67, 0x86, 0xd4, 0x4e, 0x49, 0x06, 0x7a, 0x92, 0xf8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, 0xe8, 0x04, 0x5b, 0x1e, 0xa9, 0x50, 0x11, 0xc2, 0x64, 0xd1, 0x48, 0xac, 0x00, + 0x61, 0x50, 0x95, 0xf9, 0x84, 0xe0, 0xee, 0x92, 0x0a, 0x35, 0x96, 0xe0, 0x4e, 0x9b, 0x43, 0xb1, + 0xb3, 0xff, 0xdc, 0x80, 0x74, 0xa3, 0x36, 0xe2, 0x25, 0xf0, 0x2c, 0xdc, 0x01, 0x09, 0x5e, 0x3f, + 0x84, 0x39, 0x8f, 0xed, 0x92, 0x32, 0xad, 0x13, 0xe7, 0x53, 0x82, 0xca, 0x3e, 0x76, 0x84, 0x83, + 0x29, 0xb3, 0x43, 0xae, 0xaf, 0xc1, 0xbc, 0xc7, 0xf6, 0xeb, 0xbc, 0x05, 0x2c, 0x13, 0xdb, 0x79, + 0xa0, 0x57, 0x61, 0xd1, 0x45, 0xec, 0x20, 0xf0, 0x6c, 0xbc, 0x4b, 0x42, 0x73, 0x0c, 0x0b, 0x67, + 0x54, 0xb7, 0x17, 0x13, 0xe3, 0xdf, 0xee, 0xc6, 0x34, 0xbb, 0x2b, 0xd4, 0xbf, 0x81, 0xbb, 0xe5, + 0x46, 0xe3, 0x1f, 0xe1, 0xc0, 0xab, 0x78, 0x36, 0xe2, 0x1e, 0x95, 0xd1, 0xa7, 0xc7, 0x84, 0xc1, + 0xc7, 0x7d, 0x12, 0xde, 0x5b, 0x81, 0x99, 0xa8, 0xde, 0x30, 0x60, 0xb5, 0x57, 0xe2, 0xe3, 0xdb, + 0xd9, 0x14, 0x95, 0x24, 0x31, 0xcf, 0xf1, 0x85, 0x8b, 0x49, 0xc2, 0x9d, 0x2c, 0xc0, 0x2d, 0x61, + 0x50, 0x95, 0x91, 0x7c, 0x50, 0x77, 0xdf, 0xac, 0x22, 0xd6, 0xfe, 0xb3, 0x06, 0xff, 0x13, 0xad, + 0xca, 0x30, 0x17, 0x9d, 0xfa, 0x42, 0xac, 0xdc, 0xeb, 0x15, 0xeb, 0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0x95, 0xc7, 0xc4, 0x27, 0xe0, 0xa3, 0x7f, 0x03, 0x00, 0x00, 0xff, + 0xff, 0x81, 0x6a, 0x61, 0x4c, 0xc1, 0x0f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1576,7 +1578,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "observer/tx.proto", + Metadata: "zetachain/zetacore/observer/tx.proto", } func (m *MsgUpdateObserver) Marshal() (dAtA []byte, err error) { diff --git a/zetaclient/keys/keys_test.go b/zetaclient/keys/keys_test.go index 347195869f..ef6c3e2bc1 100644 --- a/zetaclient/keys/keys_test.go +++ b/zetaclient/keys/keys_test.go @@ -9,12 +9,12 @@ import ( "time" "github.com/99designs/keyring" + "github.com/cometbft/cometbft/crypto" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" hd "github.com/cosmos/cosmos-sdk/crypto/hd" cKeys "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/tendermint/tendermint/crypto" "github.com/zeta-chain/zetacore/zetaclient/config" . "gopkg.in/check.v1" diff --git a/zetaclient/testutils/stub/keyring.go b/zetaclient/testutils/stub/keyring.go index 819c2a6eed..50974f489c 100644 --- a/zetaclient/testutils/stub/keyring.go +++ b/zetaclient/testutils/stub/keyring.go @@ -86,6 +86,10 @@ func (m Keyring) ImportPrivKey(_, _, _ string) error { return nil } +func (m Keyring) ImportPrivKeyHex(_, _, _ string) error { + return nil +} + func (m Keyring) ImportPubKey(_ string, _ string) error { return nil } diff --git a/zetaclient/testutils/stub/sdk_client.go b/zetaclient/testutils/stub/sdk_client.go index c548aeb2e8..20260e4fa8 100644 --- a/zetaclient/testutils/stub/sdk_client.go +++ b/zetaclient/testutils/stub/sdk_client.go @@ -3,11 +3,11 @@ package stub import ( "context" - abci "github.com/tendermint/tendermint/abci/types" - "github.com/tendermint/tendermint/libs/bytes" - "github.com/tendermint/tendermint/rpc/client/mock" - coretypes "github.com/tendermint/tendermint/rpc/core/types" - tmtypes "github.com/tendermint/tendermint/types" + abci "github.com/cometbft/cometbft/abci/types" + "github.com/cometbft/cometbft/libs/bytes" + "github.com/cometbft/cometbft/rpc/client/mock" + coretypes "github.com/cometbft/cometbft/rpc/core/types" + tmtypes "github.com/cometbft/cometbft/types" ) type SDKClient struct { diff --git a/zetaclient/zetabridge/broadcast.go b/zetaclient/zetabridge/broadcast.go index 58fddbd223..5e3a11d667 100644 --- a/zetaclient/zetabridge/broadcast.go +++ b/zetaclient/zetabridge/broadcast.go @@ -6,6 +6,7 @@ import ( "strconv" "strings" + rpchttp "github.com/cometbft/cometbft/rpc/client/http" "github.com/cosmos/cosmos-sdk/client" clienttx "github.com/cosmos/cosmos-sdk/client/tx" sdktypes "github.com/cosmos/cosmos-sdk/types" @@ -14,7 +15,6 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/rs/zerolog/log" flag "github.com/spf13/pflag" - rpchttp "github.com/tendermint/tendermint/rpc/client/http" "github.com/zeta-chain/zetacore/app/ante" "github.com/zeta-chain/zetacore/cmd/zetacored/config" "github.com/zeta-chain/zetacore/zetaclient/authz" @@ -83,7 +83,11 @@ func (b *ZetaCoreBridge) Broadcast(gaslimit uint64, authzWrappedMsg sdktypes.Msg if err != nil { return "", err } - factory := clienttx.NewFactoryCLI(ctx, flags) + factory, err := clienttx.NewFactoryCLI(ctx, flags) + if err != nil { + return "", err + } + factory = factory.WithAccountNumber(b.accountNumber[authzSigner.KeyType]) factory = factory.WithSequence(b.seqNumber[authzSigner.KeyType]) factory = factory.WithSignMode(signing.SignMode_SIGN_MODE_DIRECT) diff --git a/zetaclient/zetabridge/query.go b/zetaclient/zetabridge/query.go index b9e08bef56..0b80a6c47d 100644 --- a/zetaclient/zetabridge/query.go +++ b/zetaclient/zetabridge/query.go @@ -8,12 +8,13 @@ import ( sdkmath "cosmossdk.io/math" "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" + genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" + feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" + + tmhttp "github.com/cometbft/cometbft/rpc/client/http" "github.com/cosmos/cosmos-sdk/types/query" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" - tmhttp "github.com/tendermint/tendermint/rpc/client/http" "github.com/zeta-chain/zetacore/cmd/zetacored/config" "github.com/zeta-chain/zetacore/pkg/chains" "github.com/zeta-chain/zetacore/pkg/proofs" diff --git a/zetaclient/zetabridge/query_test.go b/zetaclient/zetabridge/query_test.go index 3844482dd3..7b3c5b7c37 100644 --- a/zetaclient/zetabridge/query_test.go +++ b/zetaclient/zetabridge/query_test.go @@ -4,6 +4,7 @@ import ( "net" "testing" + tmtypes "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" @@ -11,7 +12,6 @@ import ( upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" "github.com/stretchr/testify/require" - tmtypes "github.com/tendermint/tendermint/proto/tendermint/types" "github.com/zeta-chain/zetacore/cmd/zetacored/config" "github.com/zeta-chain/zetacore/pkg/chains" "github.com/zeta-chain/zetacore/pkg/coin" @@ -68,7 +68,7 @@ func TestZetaCoreBridge_GetBallot(t *testing.T) { BallotStatus: 0, } input := observertypes.QueryBallotByIdentifierRequest{BallotIdentifier: "123"} - method := "/zetachain.zetacore.observer.Query/BallotByIdentifier" + method := "zetachain.zetacore.observer.Query/BallotByIdentifier" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -89,7 +89,7 @@ func TestZetaCoreBridge_GetCrosschainFlags(t *testing.T) { BlockHeaderVerificationFlags: nil, }} input := observertypes.QueryGetCrosschainFlagsRequest{} - method := "/zetachain.zetacore.observer.Query/CrosschainFlags" + method := "zetachain.zetacore.observer.Query/CrosschainFlags" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -108,7 +108,7 @@ func TestZetaCoreBridge_GetVerificationFlags(t *testing.T) { BtcTypeChainEnabled: false, }} input := lightclienttypes.QueryVerificationFlagsRequest{} - method := "/zetachain.zetacore.lightclient.Query/VerificationFlags" + method := "zetachain.zetacore.lightclient.Query/VerificationFlags" server := setupMockServer(t, lightclienttypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -123,10 +123,12 @@ func TestZetaCoreBridge_GetVerificationFlags(t *testing.T) { func TestZetaCoreBridge_GetChainParamsForChainID(t *testing.T) { expectedOutput := observertypes.QueryGetChainParamsForChainResponse{ChainParams: &observertypes.ChainParams{ - ChainId: 123, + ChainId: 123, + BallotThreshold: types.ZeroDec(), + MinObserverDelegation: types.ZeroDec(), }} input := observertypes.QueryGetChainParamsForChainRequest{ChainId: 123} - method := "/zetachain.zetacore.observer.Query/GetChainParamsForChain" + method := "zetachain.zetacore.observer.Query/GetChainParamsForChain" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -143,12 +145,14 @@ func TestZetaCoreBridge_GetChainParams(t *testing.T) { expectedOutput := observertypes.QueryGetChainParamsResponse{ChainParams: &observertypes.ChainParamsList{ ChainParams: []*observertypes.ChainParams{ { - ChainId: 123, + ChainId: 123, + MinObserverDelegation: types.ZeroDec(), + BallotThreshold: types.ZeroDec(), }, }, }} input := observertypes.QueryGetChainParamsRequest{} - method := "/zetachain.zetacore.observer.Query/GetChainParams" + method := "zetachain.zetacore.observer.Query/GetChainParams" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -192,7 +196,7 @@ func TestZetaCoreBridge_GetAllCctx(t *testing.T) { Pagination: nil, } input := crosschainTypes.QueryAllCctxRequest{} - method := "/zetachain.zetacore.crosschain.Query/CctxAll" + method := "zetachain.zetacore.crosschain.Query/CctxAll" server := setupMockServer(t, crosschainTypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -210,7 +214,7 @@ func TestZetaCoreBridge_GetCctxByHash(t *testing.T) { Index: "9c8d02b6956b9c78ecb6090a8160faaa48e7aecfd0026fcdf533721d861436a3", }} input := crosschainTypes.QueryGetCctxRequest{Index: "9c8d02b6956b9c78ecb6090a8160faaa48e7aecfd0026fcdf533721d861436a3"} - method := "/zetachain.zetacore.crosschain.Query/Cctx" + method := "zetachain.zetacore.crosschain.Query/Cctx" server := setupMockServer(t, crosschainTypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -231,7 +235,7 @@ func TestZetaCoreBridge_GetCctxByNonce(t *testing.T) { ChainID: 7000, Nonce: 55, } - method := "/zetachain.zetacore.crosschain.Query/CctxByNonce" + method := "zetachain.zetacore.crosschain.Query/CctxByNonce" server := setupMockServer(t, crosschainTypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -253,7 +257,7 @@ func TestZetaCoreBridge_GetObserverList(t *testing.T) { }, } input := observertypes.QueryObserverSet{} - method := "/zetachain.zetacore.observer.Query/ObserverSet" + method := "zetachain.zetacore.observer.Query/ObserverSet" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -276,7 +280,7 @@ func TestZetaCoreBridge_ListPendingCctx(t *testing.T) { TotalPending: 1, } input := crosschainTypes.QueryListCctxPendingRequest{ChainId: 7000} - method := "/zetachain.zetacore.crosschain.Query/CctxListPending" + method := "zetachain.zetacore.crosschain.Query/CctxListPending" server := setupMockServer(t, crosschainTypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -293,7 +297,7 @@ func TestZetaCoreBridge_ListPendingCctx(t *testing.T) { func TestZetaCoreBridge_GetAbortedZetaAmount(t *testing.T) { expectedOutput := crosschainTypes.QueryZetaAccountingResponse{AbortedZetaAmount: "1080999"} input := crosschainTypes.QueryZetaAccountingRequest{} - method := "/zetachain.zetacore.crosschain.Query/ZetaAccounting" + method := "zetachain.zetacore.crosschain.Query/ZetaAccounting" server := setupMockServer(t, crosschainTypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -342,7 +346,7 @@ func TestZetaCoreBridge_GetLastBlockHeight(t *testing.T) { }, } input := crosschainTypes.QueryAllLastBlockHeightRequest{} - method := "/zetachain.zetacore.crosschain.Query/LastBlockHeightAll" + method := "zetachain.zetacore.crosschain.Query/LastBlockHeightAll" server := setupMockServer(t, crosschainTypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -409,7 +413,7 @@ func TestZetaCoreBridge_GetLastBlockHeightByChain(t *testing.T) { }, } input := crosschainTypes.QueryGetLastBlockHeightRequest{Index: index.ChainName.String()} - method := "/zetachain.zetacore.crosschain.Query/LastBlockHeight" + method := "zetachain.zetacore.crosschain.Query/LastBlockHeight" server := setupMockServer(t, crosschainTypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -425,7 +429,7 @@ func TestZetaCoreBridge_GetLastBlockHeightByChain(t *testing.T) { func TestZetaCoreBridge_GetZetaBlockHeight(t *testing.T) { expectedOutput := crosschainTypes.QueryLastZetaHeightResponse{Height: 12345} input := crosschainTypes.QueryLastZetaHeightRequest{} - method := "/zetachain.zetacore.crosschain.Query/LastZetaHeight" + method := "zetachain.zetacore.crosschain.Query/LastZetaHeight" server := setupMockServer(t, crosschainTypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -479,7 +483,7 @@ func TestZetaCoreBridge_GetNonceByChain(t *testing.T) { }, } input := observertypes.QueryGetChainNoncesRequest{Index: chain.ChainName.String()} - method := "/zetachain.zetacore.observer.Query/ChainNonces" + method := "zetachain.zetacore.observer.Query/ChainNonces" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -504,7 +508,7 @@ func TestZetaCoreBridge_GetAllNodeAccounts(t *testing.T) { }, } input := observertypes.QueryAllNodeAccountRequest{} - method := "/zetachain.zetacore.observer.Query/NodeAccountAll" + method := "zetachain.zetacore.observer.Query/NodeAccountAll" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -525,7 +529,7 @@ func TestZetaCoreBridge_GetKeyGen(t *testing.T) { BlockNumber: 5646, }} input := observertypes.QueryGetKeygenRequest{} - method := "/zetachain.zetacore.observer.Query/Keygen" + method := "zetachain.zetacore.observer.Query/Keygen" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -543,7 +547,7 @@ func TestZetaCoreBridge_GetBallotByID(t *testing.T) { BallotIdentifier: "ballot1235", } input := observertypes.QueryBallotByIdentifierRequest{BallotIdentifier: "ballot1235"} - method := "/zetachain.zetacore.observer.Query/BallotByIdentifier" + method := "zetachain.zetacore.observer.Query/BallotByIdentifier" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -568,7 +572,7 @@ func TestZetaCoreBridge_GetInboundTrackersForChain(t *testing.T) { }, } input := crosschainTypes.QueryAllInTxTrackerByChainRequest{ChainId: chainID} - method := "/zetachain.zetacore.crosschain.Query/InTxTrackerAllByChain" + method := "zetachain.zetacore.crosschain.Query/InTxTrackerAllByChain" server := setupMockServer(t, crosschainTypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -592,7 +596,7 @@ func TestZetaCoreBridge_GetCurrentTss(t *testing.T) { }, } input := observertypes.QueryGetTSSRequest{} - method := "/zetachain.zetacore.observer.Query/TSS" + method := "zetachain.zetacore.observer.Query/TSS" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -611,7 +615,7 @@ func TestZetaCoreBridge_GetEthTssAddress(t *testing.T) { Btc: "bc1qm24wp577nk8aacckv8np465z3dvmu7ry45el6y", } input := observertypes.QueryGetTssAddressRequest{} - method := "/zetachain.zetacore.observer.Query/GetTssAddress" + method := "zetachain.zetacore.observer.Query/GetTssAddress" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -630,7 +634,7 @@ func TestZetaCoreBridge_GetBtcTssAddress(t *testing.T) { Btc: "bc1qm24wp577nk8aacckv8np465z3dvmu7ry45el6y", } input := observertypes.QueryGetTssAddressRequest{BitcoinChainId: 8332} - method := "/zetachain.zetacore.observer.Query/GetTssAddress" + method := "zetachain.zetacore.observer.Query/GetTssAddress" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -656,7 +660,7 @@ func TestZetaCoreBridge_GetTssHistory(t *testing.T) { }, } input := observertypes.QueryTssHistoryRequest{} - method := "/zetachain.zetacore.observer.Query/TssHistory" + method := "zetachain.zetacore.observer.Query/TssHistory" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -683,7 +687,7 @@ func TestZetaCoreBridge_GetOutTxTracker(t *testing.T) { ChainID: chain.ChainId, Nonce: 456, } - method := "/zetachain.zetacore.crosschain.Query/OutTxTracker" + method := "zetachain.zetacore.crosschain.Query/OutTxTracker" server := setupMockServer(t, crosschainTypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -718,7 +722,7 @@ func TestZetaCoreBridge_GetAllOutTxTrackerByChain(t *testing.T) { Reverse: false, }, } - method := "/zetachain.zetacore.crosschain.Query/OutTxTrackerAllByChain" + method := "zetachain.zetacore.crosschain.Query/OutTxTrackerAllByChain" server := setupMockServer(t, crosschainTypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -745,7 +749,7 @@ func TestZetaCoreBridge_GetPendingNoncesByChain(t *testing.T) { }, } input := observertypes.QueryPendingNoncesByChainRequest{ChainId: chains.EthChain().ChainId} - method := "/zetachain.zetacore.observer.Query/PendingNoncesByChain" + method := "zetachain.zetacore.observer.Query/PendingNoncesByChain" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -767,7 +771,7 @@ func TestZetaCoreBridge_GetBlockHeaderChainState(t *testing.T) { LatestBlockHash: nil, }} input := lightclienttypes.QueryGetChainStateRequest{ChainId: chainID} - method := "/zetachain.zetacore.lightclient.Query/ChainState" + method := "zetachain.zetacore.lightclient.Query/ChainState" server := setupMockServer(t, lightclienttypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -792,7 +796,7 @@ func TestZetaCoreBridge_GetSupportedChains(t *testing.T) { }, } input := observertypes.QuerySupportedChains{} - method := "/zetachain.zetacore.observer.Query/SupportedChains" + method := "zetachain.zetacore.observer.Query/SupportedChains" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -817,7 +821,7 @@ func TestZetaCoreBridge_GetPendingNonces(t *testing.T) { }, } input := observertypes.QueryAllPendingNoncesRequest{} - method := "/zetachain.zetacore.observer.Query/PendingNoncesAll" + method := "zetachain.zetacore.observer.Query/PendingNoncesAll" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -845,7 +849,7 @@ func TestZetaCoreBridge_Prove(t *testing.T) { BlockHash: blockHash, TxIndex: int64(txIndex), } - method := "/zetachain.zetacore.lightclient.Query/Prove" + method := "zetachain.zetacore.lightclient.Query/Prove" server := setupMockServer(t, lightclienttypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) @@ -864,7 +868,7 @@ func TestZetaCoreBridge_HasVoted(t *testing.T) { BallotIdentifier: "123456asdf", VoterAddress: "zeta1l40mm7meacx03r4lp87s9gkxfan32xnznp42u6", } - method := "/zetachain.zetacore.observer.Query/HasVoted" + method := "zetachain.zetacore.observer.Query/HasVoted" server := setupMockServer(t, observertypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() defer closeMockServer(t, server) diff --git a/zetaclient/zetabridge/zetacore_bridge.go b/zetaclient/zetabridge/zetacore_bridge.go index 3899d51d82..09eefeecd0 100644 --- a/zetaclient/zetabridge/zetacore_bridge.go +++ b/zetaclient/zetabridge/zetacore_bridge.go @@ -5,14 +5,15 @@ import ( "sync" "time" + "cosmossdk.io/simapp/params" "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/simapp/params" + + rpcclient "github.com/cometbft/cometbft/rpc/client" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/rs/zerolog" "github.com/rs/zerolog/log" - rpcclient "github.com/tendermint/tendermint/rpc/client" "github.com/zeta-chain/zetacore/app" "github.com/zeta-chain/zetacore/pkg/authz" "github.com/zeta-chain/zetacore/pkg/chains" From b01a506b3a23abd88097a9f3b2a9509da08e0420 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 13:51:46 +0200 Subject: [PATCH 12/40] proto fixes after merge --- pkg/chains/chains.pb.go | 117 ++--- proto/zetachain/zetacore/crosschain/tx.proto | 2 +- x/authority/types/policies.pb.go | 3 +- x/authority/types/query.pb.go | 6 +- x/crosschain/types/cross_chain_tx.pb.go | 6 +- x/crosschain/types/genesis.pb.go | 66 +-- x/crosschain/types/query.pb.go | 267 ++++++------ x/crosschain/types/rate_limiter_flags.pb.go | 61 ++- x/crosschain/types/tx.pb.go | 201 ++++----- x/emissions/types/query.pb.go | 426 ++----------------- x/emissions/types/query.pb.gw.go | 65 --- x/emissions/types/tx.pb.go | 421 +----------------- x/lightclient/types/verification_flags.pb.go | 3 +- x/observer/types/ballot.pb.go | 4 +- x/observer/types/crosschain_flags.pb.go | 3 +- x/observer/types/params.pb.go | 398 ++--------------- 16 files changed, 479 insertions(+), 1570 deletions(-) diff --git a/pkg/chains/chains.pb.go b/pkg/chains/chains.pb.go index 31401eff4b..08d95e899b 100644 --- a/pkg/chains/chains.pb.go +++ b/pkg/chains/chains.pb.go @@ -154,7 +154,7 @@ func (x Network) String() string { } func (Network) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_37ad35e0488e8bbc, []int{2} + return fileDescriptor_236b85e7bff6130d, []int{2} } // NetworkType represents the network type of the chain @@ -186,7 +186,7 @@ func (x NetworkType) String() string { } func (NetworkType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_37ad35e0488e8bbc, []int{3} + return fileDescriptor_236b85e7bff6130d, []int{3} } // Vm represents the virtual machine type of the chain to support smart contracts @@ -212,7 +212,7 @@ func (x Vm) String() string { } func (Vm) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_37ad35e0488e8bbc, []int{4} + return fileDescriptor_236b85e7bff6130d, []int{4} } // Consensus represents the consensus algorithm used by the chain @@ -241,16 +241,16 @@ func (x Consensus) String() string { } func (Consensus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_37ad35e0488e8bbc, []int{5} + return fileDescriptor_236b85e7bff6130d, []int{5} } type Chain struct { - ChainName ChainName `protobuf:"varint,1,opt,name=chain_name,json=chainName,proto3,enum=chains.ChainName" json:"chain_name,omitempty"` + ChainName ChainName `protobuf:"varint,1,opt,name=chain_name,json=chainName,proto3,enum=zetachain.zetacore.pkg.chains.ChainName" json:"chain_name,omitempty"` ChainId int64 `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - Network Network `protobuf:"varint,3,opt,name=network,proto3,enum=chains.Network" json:"network,omitempty"` - NetworkType NetworkType `protobuf:"varint,4,opt,name=network_type,json=networkType,proto3,enum=chains.NetworkType" json:"network_type,omitempty"` - Vm Vm `protobuf:"varint,5,opt,name=vm,proto3,enum=chains.Vm" json:"vm,omitempty"` - Consensus Consensus `protobuf:"varint,6,opt,name=consensus,proto3,enum=chains.Consensus" json:"consensus,omitempty"` + Network Network `protobuf:"varint,3,opt,name=network,proto3,enum=zetachain.zetacore.pkg.chains.Network" json:"network,omitempty"` + NetworkType NetworkType `protobuf:"varint,4,opt,name=network_type,json=networkType,proto3,enum=zetachain.zetacore.pkg.chains.NetworkType" json:"network_type,omitempty"` + Vm Vm `protobuf:"varint,5,opt,name=vm,proto3,enum=zetachain.zetacore.pkg.chains.Vm" json:"vm,omitempty"` + Consensus Consensus `protobuf:"varint,6,opt,name=consensus,proto3,enum=zetachain.zetacore.pkg.chains.Consensus" json:"consensus,omitempty"` IsExternal bool `protobuf:"varint,7,opt,name=is_external,json=isExternal,proto3" json:"is_external,omitempty"` IsHeaderSupported bool `protobuf:"varint,8,opt,name=is_header_supported,json=isHeaderSupported,proto3" json:"is_header_supported,omitempty"` } @@ -345,61 +345,62 @@ func (m *Chain) GetIsHeaderSupported() bool { } func init() { - proto.RegisterEnum("chains.ReceiveStatus", ReceiveStatus_name, ReceiveStatus_value) - proto.RegisterEnum("chains.ChainName", ChainName_name, ChainName_value) - proto.RegisterEnum("chains.Network", Network_name, Network_value) - proto.RegisterEnum("chains.NetworkType", NetworkType_name, NetworkType_value) - proto.RegisterEnum("chains.Vm", Vm_name, Vm_value) - proto.RegisterEnum("chains.Consensus", Consensus_name, Consensus_value) - proto.RegisterType((*Chain)(nil), "chains.Chain") + proto.RegisterEnum("zetachain.zetacore.pkg.chains.ReceiveStatus", ReceiveStatus_name, ReceiveStatus_value) + proto.RegisterEnum("zetachain.zetacore.pkg.chains.ChainName", ChainName_name, ChainName_value) + proto.RegisterEnum("zetachain.zetacore.pkg.chains.Network", Network_name, Network_value) + proto.RegisterEnum("zetachain.zetacore.pkg.chains.NetworkType", NetworkType_name, NetworkType_value) + proto.RegisterEnum("zetachain.zetacore.pkg.chains.Vm", Vm_name, Vm_value) + proto.RegisterEnum("zetachain.zetacore.pkg.chains.Consensus", Consensus_name, Consensus_value) + proto.RegisterType((*Chain)(nil), "zetachain.zetacore.pkg.chains.Chain") } func init() { proto.RegisterFile("zetachain/zetacore/pkg/chains/chains.proto", fileDescriptor_236b85e7bff6130d) } -var fileDescriptor_37ad35e0488e8bbc = []byte{ - // 634 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x94, 0x4f, 0x6f, 0xd3, 0x30, - 0x14, 0xc0, 0x9b, 0xf4, 0xff, 0x6b, 0xd7, 0x66, 0x1e, 0x12, 0x61, 0x87, 0x30, 0x71, 0xda, 0x26, - 0xd1, 0x22, 0x90, 0xb8, 0xc0, 0x05, 0x26, 0x10, 0x5c, 0x76, 0xc8, 0xd0, 0x0e, 0x5c, 0x22, 0x27, - 0x79, 0xa4, 0xd6, 0x6a, 0x3b, 0x8a, 0xdd, 0x42, 0xf9, 0x14, 0x7c, 0x08, 0x0e, 0x7c, 0x94, 0x1d, - 0x77, 0x41, 0xe2, 0x88, 0xb6, 0x2f, 0x82, 0xec, 0xc6, 0x29, 0xda, 0xa9, 0xcf, 0xbf, 0xf7, 0xf3, - 0xf3, 0x8b, 0xed, 0x1a, 0x1e, 0x96, 0x57, 0xc5, 0x3c, 0x5b, 0x50, 0x26, 0x54, 0xfd, 0x33, 0x2b, - 0x2b, 0xa9, 0x25, 0xe9, 0x6d, 0x47, 0x87, 0x0f, 0x0a, 0x59, 0x48, 0x8b, 0xe6, 0x26, 0xda, 0x66, - 0x9f, 0xfc, 0xf6, 0xa1, 0x7b, 0x66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x48, 0xbd, 0x49, 0x41, 0xdb, 0x52, 0x95, 0x05, 0x9d, 0xba, 0xc4, 0x7b, 0x18, 0xfd, - 0x77, 0x09, 0x8d, 0xea, 0xb6, 0xcd, 0x1e, 0xa4, 0x5b, 0xd1, 0xb3, 0x45, 0x2a, 0xb6, 0xde, 0x9e, - 0x03, 0x40, 0x2f, 0x47, 0x1b, 0xb7, 0xeb, 0x3a, 0x11, 0xf8, 0x97, 0xdc, 0x9c, 0xa6, 0x90, 0xc9, - 0x9a, 0x07, 0x2d, 0xdb, 0xd0, 0x9a, 0x07, 0x5e, 0x9d, 0x7f, 0x0d, 0xc3, 0xe6, 0x6e, 0x92, 0x31, - 0x0c, 0x50, 0x2f, 0xb0, 0xc2, 0x95, 0x31, 0x27, 0x00, 0x1a, 0x45, 0x8e, 0x15, 0x67, 0xa2, 0x5e, - 0x29, 0x65, 0x3a, 0x93, 0x4c, 0xb8, 0x3b, 0xf3, 0xf6, 0xec, 0xfa, 0x36, 0xf2, 0x6e, 0x6e, 0x23, - 0xef, 0xef, 0x6d, 0xe4, 0xfd, 0xb8, 0x8b, 0x5a, 0x37, 0x77, 0x51, 0xeb, 0xcf, 0x5d, 0xd4, 0xfa, - 0x7c, 0x52, 0x30, 0xbd, 0x58, 0xa5, 0xb3, 0x4c, 0xf2, 0xb9, 0xf9, 0xee, 0xa7, 0xf6, 0x8f, 0x60, - 0xc3, 0x4c, 0x56, 0x38, 0xdf, 0x3d, 0x1c, 0x69, 0xcf, 0x3e, 0x0a, 0x2f, 0xfe, 0x05, 0x00, 0x00, - 0xff, 0xff, 0x2a, 0xc3, 0x74, 0x63, 0x4d, 0x04, 0x00, 0x00, +var fileDescriptor_236b85e7bff6130d = []byte{ + // 655 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xcf, 0x72, 0xd3, 0x3a, + 0x14, 0xc6, 0x63, 0xe7, 0xff, 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 0xc0, 0xb0, 0xb9, 0x9b, 0x64, 0x0c, 0x03, 0xd4, 0x0b, + 0x2c, 0x71, 0x65, 0xc8, 0x09, 0x80, 0x46, 0x91, 0x61, 0xc9, 0x99, 0xa8, 0x2a, 0x25, 0x4c, 0xa7, + 0x92, 0x89, 0xfa, 0xce, 0x3c, 0x3f, 0xbe, 0xbc, 0x0e, 0x9c, 0xab, 0xeb, 0xc0, 0xf9, 0x7e, 0x1d, + 0x38, 0x9f, 0x6f, 0x82, 0xd6, 0xd5, 0x4d, 0xd0, 0xfa, 0x76, 0x13, 0xb4, 0xde, 0xdd, 0xcb, 0x99, + 0x5e, 0xac, 0x92, 0x30, 0x95, 0xdc, 0xbe, 0x5b, 0xf7, 0x7f, 0xf9, 0x84, 0x25, 0x3d, 0xfb, 0x0e, + 0x3d, 0xfa, 0x11, 0x00, 0x00, 0xff, 0xff, 0x25, 0x0b, 0x52, 0xa5, 0xea, 0x04, 0x00, 0x00, } func (m *Chain) Marshal() (dAtA []byte, err error) { diff --git a/proto/zetachain/zetacore/crosschain/tx.proto b/proto/zetachain/zetacore/crosschain/tx.proto index a192d2c36f..c8d37e6b86 100644 --- a/proto/zetachain/zetacore/crosschain/tx.proto +++ b/proto/zetachain/zetacore/crosschain/tx.proto @@ -1,11 +1,11 @@ syntax = "proto3"; package zetachain.zetacore.crosschain; -import "crosschain/rate_limiter_flags.proto"; import "gogoproto/gogo.proto"; import "zetachain/zetacore/pkg/chains/chains.proto"; import "zetachain/zetacore/pkg/coin/coin.proto"; import "zetachain/zetacore/pkg/proofs/proofs.proto"; +import "zetachain/zetacore/crosschain/rate_limiter_flags.proto"; option go_package = "github.com/zeta-chain/zetacore/x/crosschain/types"; diff --git a/x/authority/types/policies.pb.go b/x/authority/types/policies.pb.go index 2c317ced35..3b2eda6564 100644 --- a/x/authority/types/policies.pb.go +++ b/x/authority/types/policies.pb.go @@ -29,7 +29,8 @@ type PolicyType int32 const ( PolicyType_groupEmergency PolicyType = 0 PolicyType_groupOperational PolicyType = 1 - PolicyType_groupAdmin PolicyType = 2 + // non-sensitive protocol parameters + PolicyType_groupAdmin PolicyType = 2 ) var PolicyType_name = map[int32]string{ diff --git a/x/authority/types/query.pb.go b/x/authority/types/query.pb.go index 4bca3de84a..2ba690ad0e 100644 --- a/x/authority/types/query.pb.go +++ b/x/authority/types/query.pb.go @@ -30,7 +30,8 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// QueryGetPoliciesRequest is the request type for the Query/Policies RPC method. +// QueryGetPoliciesRequest is the request type for the Query/Policies RPC +// method. type QueryGetPoliciesRequest struct { } @@ -67,7 +68,8 @@ func (m *QueryGetPoliciesRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryGetPoliciesRequest proto.InternalMessageInfo -// QueryGetPoliciesResponse is the response type for the Query/Policies RPC method. +// QueryGetPoliciesResponse is the response type for the Query/Policies RPC +// method. type QueryGetPoliciesResponse struct { Policies Policies `protobuf:"bytes,1,opt,name=policies,proto3" json:"policies"` } diff --git a/x/crosschain/types/cross_chain_tx.pb.go b/x/crosschain/types/cross_chain_tx.pb.go index 07c92134b6..fc0b1ed369 100644 --- a/x/crosschain/types/cross_chain_tx.pb.go +++ b/x/crosschain/types/cross_chain_tx.pb.go @@ -91,7 +91,8 @@ func (TxFinalizationStatus) EnumDescriptor() ([]byte, []int) { } type InboundTxParams struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + // the Connector.send() SenderChainId int64 `protobuf:"varint,2,opt,name=sender_chain_id,json=senderChainId,proto3" json:"sender_chain_id,omitempty"` TxOrigin string `protobuf:"bytes,3,opt,name=tx_origin,json=txOrigin,proto3" json:"tx_origin,omitempty"` CoinType coin.CoinType `protobuf:"varint,4,opt,name=coin_type,json=coinType,proto3,enum=zetachain.zetacore.pkg.coin.CoinType" json:"coin_type,omitempty"` @@ -208,7 +209,8 @@ func (m *InboundTxParams) GetTxFinalizationStatus() TxFinalizationStatus { } type ZetaAccounting struct { - // aborted_zeta_amount stores the total aborted amount for cctx of coin-type ZETA + // aborted_zeta_amount stores the total aborted amount for cctx of coin-type + // ZETA AbortedZetaAmount github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,1,opt,name=aborted_zeta_amount,json=abortedZetaAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"aborted_zeta_amount"` } diff --git a/x/crosschain/types/genesis.pb.go b/x/crosschain/types/genesis.pb.go index 9e5997a6c1..b088a0d4d6 100644 --- a/x/crosschain/types/genesis.pb.go +++ b/x/crosschain/types/genesis.pb.go @@ -140,40 +140,40 @@ func init() { proto.RegisterFile("zetachain/zetacore/crosschain/genesis.proto", fileDescriptor_547615497292ea23) } -var fileDescriptor_dd51403692d571f4 = []byte{ - // 507 bytes of a gzipped FileDescriptorProto +var fileDescriptor_547615497292ea23 = []byte{ + // 511 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x6e, 0xd3, 0x30, - 0x14, 0xc6, 0x5b, 0x06, 0x83, 0x79, 0x85, 0x6d, 0x86, 0x8b, 0xa8, 0x12, 0x59, 0x35, 0x2e, 0x98, - 0x80, 0x25, 0x02, 0x9e, 0x80, 0x55, 0xda, 0x1f, 0xad, 0x12, 0x10, 0x7a, 0x35, 0x31, 0x19, 0xd7, - 0x33, 0x89, 0xb5, 0x2c, 0xae, 0xec, 0x13, 0x29, 0xf4, 0x29, 0x78, 0x08, 0x1e, 0x66, 0x97, 0xbb, - 0xe4, 0x0a, 0xa1, 0xf6, 0x45, 0x90, 0x9d, 0x6c, 0x38, 0xa4, 0xa2, 0xbd, 0x3b, 0xf2, 0x39, 0xdf, - 0xef, 0x3b, 0x3e, 0xc7, 0x46, 0x1e, 0x53, 0x52, 0x6b, 0x96, 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0x7d, 0xd5, 0x65, 0x90, 0x39, + 0x83, 0x35, 0x67, 0xd0, 0xae, 0x30, 0x38, 0x2e, 0x81, 0xc5, 0x25, 0xdf, 0x21, 0x87, 0xcf, 0xac, + 0xc9, 0xcc, 0xdb, 0x21, 0x89, 0x35, 0x59, 0x77, 0x26, 0xaf, 0x97, 0x30, 0x29, 0xc7, 0xb8, 0x21, + 0x64, 0x39, 0xc5, 0xaf, 0x68, 0xc3, 0x92, 0x84, 0x32, 0xa6, 0x52, 0x09, 0x42, 0x46, 0x5e, 0xa3, + 0x55, 0x5f, 0xe2, 0x07, 0x4e, 0x39, 0xd0, 0x0f, 0x53, 0xa8, 0x90, 0x7f, 0x32, 0x2a, 0x9d, 0xe2, + 0x37, 0x68, 0xeb, 0x40, 0x48, 0x9a, 0x88, 0x11, 0x3f, 0x3f, 0x96, 0x03, 0x95, 0xca, 0x73, 0xe3, + 0x6d, 0xb6, 0x56, 0xb6, 0xd7, 0xc2, 0xf9, 0x0f, 0xf6, 0x3e, 0xe7, 0xdf, 0xbc, 0xb7, 0xe5, 0xc6, + 0xe9, 0x54, 0x8c, 0x13, 0x52, 0xe0, 0xbd, 0x9c, 0x3b, 0xb0, 0xd8, 0xcd, 0xb3, 0xd5, 0xb7, 0xcf, + 0x4f, 0xae, 0xc6, 0x7e, 0xfd, 0x7a, 0xec, 0xd7, 0xff, 0x8e, 0xfd, 0xfa, 0xcf, 0x89, 0x5f, 0xbb, + 0x9e, 0xf8, 0xb5, 0xdf, 0x13, 0xbf, 0x76, 0xba, 0x1b, 0x09, 0x88, 0xd3, 0x41, 0xc0, 0xd4, 0xa5, + 0xdb, 0xc7, 0xf6, 0xad, 0xd5, 0xcc, 0x66, 0x97, 0x13, 0x7e, 0x0c, 0xb9, 0x19, 0xac, 0xba, 0xd5, + 0x7b, 0xfb, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x84, 0xc0, 0x1a, 0x26, 0x4f, 0x05, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/crosschain/types/query.pb.go b/x/crosschain/types/query.pb.go index 6d04a0f403..f2d930e547 100644 --- a/x/crosschain/types/query.pb.go +++ b/x/crosschain/types/query.pb.go @@ -1491,7 +1491,7 @@ func (m *QueryListPendingCctxRequest) Reset() { *m = QueryListPendingCct func (m *QueryListPendingCctxRequest) String() string { return proto.CompactTextString(m) } func (*QueryListPendingCctxRequest) ProtoMessage() {} func (*QueryListPendingCctxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{31} + return fileDescriptor_d00cb546ea76908b, []int{31} } func (m *QueryListPendingCctxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1543,7 +1543,7 @@ func (m *QueryListPendingCctxResponse) Reset() { *m = QueryListPendingCc func (m *QueryListPendingCctxResponse) String() string { return proto.CompactTextString(m) } func (*QueryListPendingCctxResponse) ProtoMessage() {} func (*QueryListPendingCctxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{32} + return fileDescriptor_d00cb546ea76908b, []int{32} } func (m *QueryListPendingCctxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1598,7 +1598,7 @@ func (m *QueryListPendingCctxWithinRateLimitRequest) String() string { } func (*QueryListPendingCctxWithinRateLimitRequest) ProtoMessage() {} func (*QueryListPendingCctxWithinRateLimitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{33} + return fileDescriptor_d00cb546ea76908b, []int{33} } func (m *QueryListPendingCctxWithinRateLimitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1648,7 +1648,7 @@ func (m *QueryListPendingCctxWithinRateLimitResponse) String() string { } func (*QueryListPendingCctxWithinRateLimitResponse) ProtoMessage() {} func (*QueryListPendingCctxWithinRateLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{34} + return fileDescriptor_d00cb546ea76908b, []int{34} } func (m *QueryListPendingCctxWithinRateLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1705,7 +1705,7 @@ func (m *QueryLastZetaHeightRequest) Reset() { *m = QueryLastZetaHeightR func (m *QueryLastZetaHeightRequest) String() string { return proto.CompactTextString(m) } func (*QueryLastZetaHeightRequest) ProtoMessage() {} func (*QueryLastZetaHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{35} + return fileDescriptor_d00cb546ea76908b, []int{35} } func (m *QueryLastZetaHeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1742,7 +1742,7 @@ func (m *QueryLastZetaHeightResponse) Reset() { *m = QueryLastZetaHeight func (m *QueryLastZetaHeightResponse) String() string { return proto.CompactTextString(m) } func (*QueryLastZetaHeightResponse) ProtoMessage() {} func (*QueryLastZetaHeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{36} + return fileDescriptor_d00cb546ea76908b, []int{36} } func (m *QueryLastZetaHeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1787,7 +1787,7 @@ func (m *QueryConvertGasToZetaRequest) Reset() { *m = QueryConvertGasToZ func (m *QueryConvertGasToZetaRequest) String() string { return proto.CompactTextString(m) } func (*QueryConvertGasToZetaRequest) ProtoMessage() {} func (*QueryConvertGasToZetaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{37} + return fileDescriptor_d00cb546ea76908b, []int{37} } func (m *QueryConvertGasToZetaRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1840,7 +1840,7 @@ func (m *QueryConvertGasToZetaResponse) Reset() { *m = QueryConvertGasTo func (m *QueryConvertGasToZetaResponse) String() string { return proto.CompactTextString(m) } func (*QueryConvertGasToZetaResponse) ProtoMessage() {} func (*QueryConvertGasToZetaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{38} + return fileDescriptor_d00cb546ea76908b, []int{38} } func (m *QueryConvertGasToZetaResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1897,7 +1897,7 @@ func (m *QueryMessagePassingProtocolFeeRequest) Reset() { *m = QueryMess func (m *QueryMessagePassingProtocolFeeRequest) String() string { return proto.CompactTextString(m) } func (*QueryMessagePassingProtocolFeeRequest) ProtoMessage() {} func (*QueryMessagePassingProtocolFeeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{39} + return fileDescriptor_d00cb546ea76908b, []int{39} } func (m *QueryMessagePassingProtocolFeeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1936,7 +1936,7 @@ func (m *QueryMessagePassingProtocolFeeResponse) Reset() { func (m *QueryMessagePassingProtocolFeeResponse) String() string { return proto.CompactTextString(m) } func (*QueryMessagePassingProtocolFeeResponse) ProtoMessage() {} func (*QueryMessagePassingProtocolFeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{40} + return fileDescriptor_d00cb546ea76908b, []int{40} } func (m *QueryMessagePassingProtocolFeeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1979,7 +1979,7 @@ func (m *QueryRateLimiterFlagsRequest) Reset() { *m = QueryRateLimiterFl func (m *QueryRateLimiterFlagsRequest) String() string { return proto.CompactTextString(m) } func (*QueryRateLimiterFlagsRequest) ProtoMessage() {} func (*QueryRateLimiterFlagsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{41} + return fileDescriptor_d00cb546ea76908b, []int{41} } func (m *QueryRateLimiterFlagsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2016,7 +2016,7 @@ func (m *QueryRateLimiterFlagsResponse) Reset() { *m = QueryRateLimiterF func (m *QueryRateLimiterFlagsResponse) String() string { return proto.CompactTextString(m) } func (*QueryRateLimiterFlagsResponse) ProtoMessage() {} func (*QueryRateLimiterFlagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65a992045e92a606, []int{42} + return fileDescriptor_d00cb546ea76908b, []int{42} } func (m *QueryRateLimiterFlagsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2102,127 +2102,128 @@ func init() { proto.RegisterFile("zetachain/zetacore/crosschain/query.proto", fileDescriptor_d00cb546ea76908b) } -var fileDescriptor_65a992045e92a606 = []byte{ - // 1901 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xc1, 0x6f, 0xdc, 0x4a, - 0x19, 0xcf, 0x64, 0x9b, 0xf7, 0xd2, 0x49, 0xda, 0xbc, 0xcc, 0x0b, 0x25, 0xf8, 0x25, 0x9b, 0xd6, - 0xa1, 0x4d, 0x48, 0xc8, 0xfa, 0x25, 0x7d, 0xcd, 0xa3, 0x6d, 0x1e, 0x62, 0x93, 0xbe, 0xa4, 0x81, - 0xb4, 0x4d, 0x57, 0x41, 0x45, 0x45, 0xc8, 0x9a, 0x78, 0xa7, 0x5e, 0xab, 0x8e, 0x9d, 0xae, 0xbd, - 0xd5, 0xa6, 0x51, 0x2e, 0x3d, 0x70, 0x46, 0xea, 0x81, 0x0b, 0x57, 0x44, 0x0f, 0x1c, 0x38, 0x20, - 0x38, 0x20, 0x15, 0x21, 0xa0, 0xf4, 0x58, 0x09, 0x81, 0x10, 0x48, 0x08, 0xb5, 0xfc, 0x05, 0xfc, - 0x05, 0xc8, 0xe3, 0xcf, 0xbb, 0x63, 0xaf, 0xbd, 0x3b, 0xd9, 0x6c, 0x0f, 0x3d, 0x75, 0xed, 0x99, - 0xef, 0x9b, 0xdf, 0xef, 0x9b, 0x6f, 0x3e, 0x7f, 0xf3, 0x6b, 0xf0, 0x39, 0xa3, 0xea, 0x7a, 0x9e, - 0x51, 0xa1, 0x96, 0xa3, 0x3d, 0xaa, 0xb1, 0xea, 0x41, 0x61, 0xbf, 0xea, 0xfa, 0x2e, 0x99,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, 0xc0, 0x37, 0xcd, 0xb4, 0xc3, 0xe8, 0xf9, 0x88, 0xfc, 0x1d, 0x61, - 0xd2, 0xaa, 0x2d, 0x10, 0x29, 0x3c, 0x99, 0x8a, 0x86, 0xf2, 0xed, 0x6e, 0xcd, 0x81, 0x4f, 0x91, - 0xf3, 0xb9, 0x4e, 0xae, 0x66, 0xf2, 0x49, 0xfe, 0x07, 0x88, 0x5e, 0xa6, 0x3e, 0x15, 0x89, 0xfd, - 0x1e, 0xe1, 0xd1, 0xf8, 0x0a, 0x41, 0x7a, 0xad, 0x1c, 0x23, 0x45, 0xba, 0xdc, 0xa5, 0x4c, 0x0d, - 0x43, 0x5d, 0xe0, 0xac, 0x66, 0xc8, 0x45, 0xa9, 0x5d, 0x22, 0xbf, 0x44, 0xcd, 0xbb, 0x33, 0x59, - 0x96, 0x4c, 0x90, 0xc4, 0x25, 0x5f, 0xf9, 0xfc, 0xd8, 0x76, 0x00, 0x56, 0xe3, 0x60, 0xbf, 0x41, - 0x66, 0x32, 0xc0, 0x9a, 0x60, 0x10, 0xc4, 0xbc, 0xcc, 0xea, 0x47, 0xe4, 0x17, 0x08, 0x0f, 0x45, - 0x5e, 0x82, 0x50, 0x2f, 0x4b, 0x06, 0xab, 0x2b, 0xc4, 0x29, 0x52, 0x83, 0x3a, 0xc3, 0x11, 0x5f, - 0x20, 0x53, 0x1d, 0x10, 0x93, 0x17, 0x08, 0x7f, 0x94, 0xec, 0xbb, 0x88, 0x54, 0xf1, 0xc8, 0x68, - 0x02, 0x95, 0x95, 0xee, 0x8c, 0x25, 0x43, 0x6d, 0x24, 0xb1, 0xbe, 0x44, 0x78, 0x48, 0x68, 0xad, - 0xc8, 0x0d, 0x99, 0xe5, 0x3b, 0xb5, 0x70, 0xca, 0x97, 0x27, 0xf4, 0x02, 0x6c, 0xe6, 0x38, 0x9b, - 0xaf, 0x13, 0x35, 0x83, 0x8d, 0xd0, 0x8e, 0x92, 0x57, 0xa8, 0x45, 0x4d, 0x20,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9, 0x7f, 0x50, 0xa1, 0x5c, 0xeb, 0xc6, 0x54, 0xb2, 0x95, 0x79, 0x12, 0x47, 0x19, - 0x00, 0x8f, 0xeb, 0x2e, 0x72, 0xc0, 0x53, 0x95, 0x1c, 0x39, 0xe0, 0xe9, 0x32, 0x4f, 0x47, 0xe0, - 0x76, 0x1c, 0x65, 0xd0, 0x2a, 0x24, 0x65, 0x01, 0xb9, 0x56, 0x21, 0x43, 0xc0, 0x90, 0x6b, 0x15, - 0xb2, 0xc4, 0x8d, 0x8e, 0xad, 0x42, 0x52, 0xaa, 0x58, 0xfd, 0xde, 0xab, 0x37, 0x79, 0xf4, 0xfa, - 0x4d, 0x1e, 0xfd, 0xe7, 0x4d, 0x1e, 0xfd, 0xe4, 0x6d, 0xbe, 0xef, 0xf5, 0xdb, 0x7c, 0xdf, 0x3f, - 0xde, 0xe6, 0xfb, 0xee, 0x2f, 0x9a, 0x96, 0x5f, 0xa9, 0xed, 0x16, 0x0c, 0x77, 0x4f, 0x74, 0x16, - 0x61, 0xd2, 0xea, 0xa2, 0x5f, 0xff, 0x60, 0x9f, 0x79, 0xbb, 0x1f, 0xf0, 0x6f, 0xf7, 0xe5, 0xff, - 0x07, 0x00, 0x00, 0xff, 0xff, 0x25, 0x12, 0xcf, 0x1a, 0x2c, 0x25, 0x00, 0x00, +var fileDescriptor_d00cb546ea76908b = []byte{ + // 1908 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xc1, 0x6f, 0xd4, 0xcc, + 0x15, 0xcf, 0x64, 0xc9, 0xf7, 0x85, 0x49, 0x20, 0x5f, 0xe6, 0x4b, 0x69, 0xba, 0x24, 0x0b, 0x38, + 0x85, 0x84, 0xa4, 0xd9, 0x25, 0x81, 0x84, 0x02, 0xa1, 0xea, 0x26, 0x90, 0x90, 0x36, 0x40, 0x58, + 0xa5, 0xa2, 0xa2, 0xaa, 0xac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 0xbd, 0x70, 0x82, 0xa3, 0x76, 0x3e, 0x05, 0x27, 0xdd, 0xc0, 0xe3, 0x41, 0x75, 0xf5, + 0x4c, 0xde, 0xa1, 0x4e, 0x65, 0xcb, 0x5e, 0xd1, 0xdc, 0x7a, 0xe0, 0xa6, 0x2c, 0xee, 0x37, 0x60, + 0x01, 0x4a, 0x7e, 0xf8, 0xac, 0x1c, 0xe0, 0x5c, 0x9a, 0x30, 0x70, 0xff, 0x11, 0x3e, 0x69, 0x44, + 0x56, 0xc0, 0xd1, 0xb3, 0x12, 0xf4, 0x1b, 0x42, 0xe0, 0x81, 0x98, 0x2a, 0x65, 0x09, 0xcc, 0x47, + 0x37, 0xdf, 0xa2, 0x2e, 0x95, 0x01, 0xff, 0x1c, 0x9f, 0x49, 0x95, 0x06, 0xf4, 0x0f, 0xf1, 0x89, + 0x15, 0x0f, 0x13, 0x4f, 0xfa, 0xad, 0xba, 0x23, 0x59, 0x2f, 0x44, 0x19, 0x80, 0x1e, 0xd5, 0xa3, + 0xe8, 0xe0, 0x75, 0x48, 0x99, 0x66, 0xaf, 0x77, 0x2b, 0x39, 0xdf, 0x20, 0xf0, 0x51, 0x82, 0xa5, + 0x16, 0x21, 0xca, 0x74, 0x29, 0x44, 0xdd, 0xcb, 0xd3, 0x02, 0xfe, 0x7a, 0x90, 0x6a, 0x6b, 0xd4, + 0xd9, 0xf4, 0xba, 0x43, 0xe1, 0xd3, 0x62, 0x58, 0x65, 0x56, 0x87, 0x08, 0xfb, 0x0f, 0x8a, 0x8a, + 0x47, 0x9b, 0x05, 0x80, 0xf2, 0x0a, 0xee, 0x0f, 0xde, 0x81, 0x6f, 0x27, 0xdb, 0x90, 0x0d, 0x55, + 0x84, 0x82, 0x0a, 0x05, 0x44, 0x45, 0xd3, 0x8c, 0x23, 0xea, 0x56, 0xf4, 0x5e, 0x21, 0x20, 0x11, + 0xb1, 0x91, 0x48, 0x22, 0xd3, 0x11, 0x89, 0xee, 0xc5, 0x67, 0xb1,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59, 0xf8, 0x57, 0x3e, 0x75, 0x51, 0xaf, 0xbb, 0xb7, 0xcb, 0x9c, + 0xed, 0xcf, 0xf8, 0xb7, 0xfb, 0xf2, 0x57, 0x01, 0x00, 0x00, 0xff, 0xff, 0x41, 0x33, 0xcf, 0x5e, + 0xc4, 0x25, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/crosschain/types/rate_limiter_flags.pb.go b/x/crosschain/types/rate_limiter_flags.pb.go index 899a1d7099..86f9c34059 100644 --- a/x/crosschain/types/rate_limiter_flags.pb.go +++ b/x/crosschain/types/rate_limiter_flags.pb.go @@ -1,17 +1,16 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: crosschain/rate_limiter_flags.proto +// source: zetachain/zetacore/crosschain/rate_limiter_flags.proto package types import ( fmt "fmt" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" 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" ) // Reference imports to suppress errors if they are not otherwise used. @@ -39,7 +38,7 @@ func (m *RateLimiterFlags) Reset() { *m = RateLimiterFlags{} } func (m *RateLimiterFlags) String() string { return proto.CompactTextString(m) } func (*RateLimiterFlags) ProtoMessage() {} func (*RateLimiterFlags) Descriptor() ([]byte, []int) { - return fileDescriptor_b17ae80d5af4e97e, []int{0} + return fileDescriptor_9c435f4c2dabc0eb, []int{0} } func (m *RateLimiterFlags) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -98,7 +97,7 @@ func (m *Conversion) Reset() { *m = Conversion{} } func (m *Conversion) String() string { return proto.CompactTextString(m) } func (*Conversion) ProtoMessage() {} func (*Conversion) Descriptor() ([]byte, []int) { - return fileDescriptor_b17ae80d5af4e97e, []int{1} + return fileDescriptor_9c435f4c2dabc0eb, []int{1} } func (m *Conversion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -140,32 +139,32 @@ func init() { } func init() { - proto.RegisterFile("crosschain/rate_limiter_flags.proto", fileDescriptor_b17ae80d5af4e97e) + proto.RegisterFile("zetachain/zetacore/crosschain/rate_limiter_flags.proto", fileDescriptor_9c435f4c2dabc0eb) } -var fileDescriptor_b17ae80d5af4e97e = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xc1, 0x4e, 0x32, 0x31, - 0x14, 0x85, 0xa7, 0xc0, 0xcf, 0x2f, 0x65, 0x63, 0x1a, 0x62, 0x26, 0x26, 0x0e, 0x13, 0x4c, 0x74, - 0x5c, 0xd0, 0x2a, 0xbe, 0xc1, 0x60, 0xdc, 0xe8, 0xc6, 0x49, 0xdc, 0xb8, 0x21, 0x43, 0x29, 0x43, - 0x23, 0xb4, 0xa4, 0xad, 0xa2, 0x3c, 0x85, 0x8f, 0xc5, 0x92, 0xa5, 0x31, 0x86, 0x18, 0x78, 0x11, - 0x33, 0x9d, 0x41, 0x66, 0x65, 0x5c, 0xf5, 0xde, 0xe4, 0x9e, 0xd3, 0xef, 0xe4, 0xc0, 0x63, 0xaa, - 0xa4, 0xd6, 0x74, 0x14, 0x73, 0x41, 0x54, 0x6c, 0x58, 0x6f, 0xcc, 0x27, 0xdc, 0x30, 0xd5, 0x1b, - 0x8e, 0xe3, 0x44, 0xe3, 0xa9, 0x92, 0x46, 0xa2, 0xa3, 0x39, 0x33, 0xb1, 0xbd, 0xc1, 0x76, 0x92, - 0x8a, 0xe1, 0x9d, 0xee, 0xb0, 0x91, 0xc8, 0x44, 0xda, 0x4b, 0x92, 0x4e, 0x99, 0xa8, 0xf5, 0x09, - 0xe0, 0x7e, 0x14, 0x1b, 0x76, 0x9b, 0x19, 0x5e, 0xa7, 0x7e, 0x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 0x00, 0xff, 0xff, 0xd2, 0x2c, 0x21, 0x90, 0xf6, 0x01, 0x00, 0x00, +var fileDescriptor_9c435f4c2dabc0eb = []byte{ + // 335 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcf, 0x4e, 0xfa, 0x40, + 0x10, 0xc7, 0xbb, 0xc0, 0x8f, 0x9f, 0x2c, 0x17, 0xb3, 0x21, 0xa6, 0x31, 0xb1, 0x34, 0x1c, 0xb4, + 0x1e, 0xd8, 0x2a, 0x26, 0x3e, 0x40, 0x31, 0x5e, 0xf4, 0x62, 0x13, 0x2f, 0x5e, 0x48, 0x59, 0x96, + 0xb2, 0x11, 0x3a, 0x64, 0x77, 0x15, 0xe5, 0x29, 0x7c, 0x2c, 0x8e, 0x1c, 0x8d, 0x31, 0xc4, 0xc0, + 0x8b, 0x98, 0x6e, 0xcb, 0x9f, 0x78, 0x30, 0x9e, 0x3a, 0xd3, 0xcc, 0xe7, 0xbb, 0x9f, 0xc9, 0xe0, + 0xcb, 0x29, 0xd7, 0x11, 0x1b, 0x44, 0x22, 0xf1, 0x4d, 0x05, 0x92, 0xfb, 0x4c, 0x82, 0x52, 0xd9, + 0x3f, 0x19, 0x69, 0xde, 0x19, 0x8a, 0x91, 0xd0, 0x5c, 0x76, 0xfa, 0xc3, 0x28, 0x56, 0x74, 0x2c, + 0x41, 0x03, 0x39, 0xda, 0x70, 0x74, 0xcd, 0xd1, 0x2d, 0x77, 0x58, 0x8b, 0x21, 0x06, 0x33, 0xe9, + 0xa7, 0x55, 0x06, 0x35, 0x3e, 0x11, 0xde, 0x0f, 0x23, 0xcd, 0x6f, 0xb3, 0xc0, 0xeb, 0x34, 0x8f, + 0xd8, 0xf8, 0x3f, 0x4f, 0xa2, 0xee, 0x90, 0xf7, 0x6c, 0xe4, 0x22, 0x6f, 0x2f, 0x5c, 0xb7, 0xe4, + 0x00, 0x97, 0x27, 0x22, 0xe9, 0xc1, 0xc4, 0x2e, 0xb8, 0xc8, 0x2b, 0x86, 0x79, 0x47, 0xda, 0xb8, + 0x94, 0x7a, 0xd9, 0x45, 0x17, 0x79, 0x95, 0xc0, 0x9f, 0x2d, 0xea, 0xd6, 0xc7, 0xa2, 0x7e, 0x12, + 0x0b, 0x3d, 0x78, 0xea, 0x52, 0x06, 0x23, 0x9f, 0x81, 0x1a, 0x81, 0xca, 0x3f, 0x4d, 0xd5, 0x7b, + 0xf4, 0xf5, 0xeb, 0x98, 0x2b, 0x7a, 0x2f, 0x12, 0x1d, 0x1a, 0x98, 0xdc, 0xe1, 0x2a, 0x83, 0xe4, + 0x99, 0x4b, 0x25, 0x20, 0x51, 0x76, 0xc9, 0x2d, 0x7a, 0xd5, 0xd6, 0x29, 0xfd, 0x75, 0x2d, 0xda, + 0xde, 0x10, 0x41, 0x29, 0x7d, 0x36, 0xdc, 0xcd, 0x68, 0xf4, 0x31, 0xde, 0x0e, 0x90, 0x1a, 0xfe, + 0x37, 0x95, 0xac, 0x75, 0x66, 0xb6, 0xaa, 0x84, 0x59, 0x43, 0x82, 0xdc, 0xbd, 0x60, 0xdc, 0x69, + 0xee, 0x7e, 0xfc, 0x07, 0xf7, 0x2b, 0xce, 0x32, 0xf5, 0xe0, 0x66, 0xb6, 0x74, 0xd0, 0x7c, 0xe9, + 0xa0, 0xaf, 0xa5, 0x83, 0xde, 0x56, 0x8e, 0x35, 0x5f, 0x39, 0xd6, 0xfb, 0xca, 0xb1, 0x1e, 0xce, + 0x77, 0x72, 0x52, 0xff, 0xe6, 0x8f, 0xcb, 0xbe, 0xec, 0xde, 0xd6, 0xc4, 0x76, 0xcb, 0xe6, 0x34, + 0x17, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x16, 0x2b, 0x9e, 0xbb, 0x09, 0x02, 0x00, 0x00, } func (m *RateLimiterFlags) Marshal() (dAtA []byte, err error) { diff --git a/x/crosschain/types/tx.pb.go b/x/crosschain/types/tx.pb.go index 10ee093a04..b2fad5a4bc 100644 --- a/x/crosschain/types/tx.pb.go +++ b/x/crosschain/types/tx.pb.go @@ -1352,7 +1352,7 @@ func (m *MsgUpdateRateLimiterFlags) Reset() { *m = MsgUpdateRateLimiterF func (m *MsgUpdateRateLimiterFlags) String() string { return proto.CompactTextString(m) } func (*MsgUpdateRateLimiterFlags) ProtoMessage() {} func (*MsgUpdateRateLimiterFlags) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{22} + return fileDescriptor_15f0860550897740, []int{22} } func (m *MsgUpdateRateLimiterFlags) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1402,7 +1402,7 @@ func (m *MsgUpdateRateLimiterFlagsResponse) Reset() { *m = MsgUpdateRate func (m *MsgUpdateRateLimiterFlagsResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateRateLimiterFlagsResponse) ProtoMessage() {} func (*MsgUpdateRateLimiterFlagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81d6d611190b7635, []int{23} + return fileDescriptor_15f0860550897740, []int{23} } func (m *MsgUpdateRateLimiterFlagsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1462,104 +1462,105 @@ func init() { proto.RegisterFile("zetachain/zetacore/crosschain/tx.proto", fileDescriptor_15f0860550897740) } -var fileDescriptor_81d6d611190b7635 = []byte{ - // 1528 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x18, 0x5b, 0x6b, 0xdb, 0x56, - 0x38, 0x5a, 0x6e, 0xf6, 0x97, 0x38, 0x69, 0x95, 0xb4, 0x71, 0x9c, 0xc6, 0x49, 0x9d, 0xb5, 0x0b, - 0x8c, 0xda, 0xad, 0xcb, 0x46, 0xdb, 0x6d, 0xb0, 0x24, 0xf4, 0x92, 0xad, 0x69, 0x8a, 0xea, 0x6e, - 0x63, 0x2f, 0x42, 0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xee, 0x73, - 0x65, 0x6a, 0x36, 0x46, 0xb6, 0x79, 0x72, 0xae, 0x7f, 0x04, 0x0b, 0x09, 0x6a, 0x51, 0xae, 0x21, - 0x23, 0x4e, 0x16, 0x90, 0x74, 0x3e, 0x46, 0x7a, 0xdf, 0x62, 0x4f, 0x19, 0x71, 0xf4, 0x63, 0x28, - 0x24, 0xc8, 0xc8, 0xde, 0x1e, 0xb1, 0xb9, 0x77, 0x48, 0x90, 0x81, 0x0c, 0xc2, 0x14, 0x4e, 0xa4, - 0xa2, 0x9a, 0x48, 0x57, 0x87, 0x98, 0x48, 0xdb, 0x3e, 0x37, 0xf2, 0x31, 0x89, 0x77, 0x5b, 0x7c, - 0xa3, 0xc4, 0xf8, 0x62, 0x80, 0x6c, 0xd9, 0x6b, 0xa6, 0x51, 0xfb, 0xde, 0xbc, 0xb0, 0x03, 0xe9, - 0x14, 0x66, 0x0e, 0xad, 0x5a, 0x48, 0xcc, 0x80, 0xd8, 0xc4, 0x13, 0x85, 0x82, 0xe1, 0xdf, 0x7c, - 0x70, 0xca, 0x29, 0xfa, 0xef, 0xab, 0x95, 0x0b, 0x47, 0x56, 0xbd, 0x76, 0xa7, 0x10, 0x67, 0x57, - 0x30, 0x32, 0x88, 0x30, 0x14, 0xac, 0x5f, 0x83, 0x09, 0xc6, 0x2d, 0x1e, 0xca, 0x4e, 0x39, 0x53, - 0xbe, 0x50, 0x54, 0x7b, 0x84, 0xba, 0xf1, 0x04, 0x0f, 0x0d, 0x75, 0x49, 0x5f, 0x81, 0x29, 0x69, - 0x22, 0xde, 0x52, 0x2d, 0x00, 0x10, 0xb5, 0x25, 0x30, 0xfa, 0x55, 0x98, 0x95, 0x17, 0xc4, 0xb0, - 0x95, 0xe5, 0x97, 0x42, 0xcb, 0x33, 0x88, 0xae, 0x30, 0xf6, 0x08, 0xbb, 0x54, 0x6c, 0xd4, 0xa5, - 0xfb, 0x8f, 0xba, 0xc2, 0x15, 0x58, 0xeb, 0x93, 0xd8, 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0x00, 0x00, 0xff, 0xff, - 0x8e, 0xcd, 0x56, 0x06, 0x3c, 0x14, 0x00, 0x00, +var fileDescriptor_15f0860550897740 = []byte{ + // 1551 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdd, 0x4f, 0x1b, 0xc7, + 0x16, 0x67, 0x03, 0x18, 0xfb, 0x80, 0x21, 0xd9, 0x70, 0x83, 0x31, 0xc1, 0x10, 0x27, 0xe1, 0xa2, + 0xab, 0x1b, 0x3b, 0x71, 0x74, 0xa3, 0x84, 0xdb, 0x4a, 0x05, 0x9a, 0x0f, 0xda, 0x10, 0xa2, 0x8d, + 0xd3, 0x56, 0x7d, 0x59, 0xad, 0x77, 0x87, 0x65, 0x85, 0xbd, 0x63, 0xed, 0x8c, 0x91, 0x41, 0x95, + 0x2a, 0x55, 0xca, 0x7b, 0x55, 0x55, 0x8a, 0x14, 0xa9, 0xff, 0x4f, 0x1e, 0xa3, 0x3e, 0x55, 0x7d, + 0x88, 0xaa, 0xe4, 0x1f, 0xa8, 0xfa, 0xd6, 0xb7, 0x6a, 0xce, 0x8c, 0x17, 0xef, 0xfa, 0x13, 0x47, + 0x55, 0x5f, 0x60, 0xcf, 0xf1, 0xf9, 0x9d, 0x39, 0x9f, 0x73, 0xce, 0x2e, 0xac, 0x9d, 0x10, 0x6e, + 0xd9, 0x07, 0x96, 0xe7, 0x17, 0xf1, 0x89, 0x06, 0xa4, 0x68, 0x07, 0x94, 0x31, 0xc9, 0xe3, 0xcd, + 0x42, 0x3d, 0xa0, 0x9c, 0xea, 0xcb, 0xa1, 0x5c, 0xa1, 0x25, 0x57, 0x38, 0x95, 0xcb, 0xce, 0xbb, + 0xd4, 0xa5, 0x28, 0x59, 0x14, 0x4f, 0x12, 0x94, 0xfd, 0x4f, 0x17, 0xe5, 0xf5, 0x43, 0xb7, 0x88, + 0x2c, 0xa6, 0xfe, 0x29, 0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x14, 0x66, 0x8f, 0xac, 0x6a, 0x83, + 0x98, 0x01, 0xb1, 0x89, 0x27, 0x1a, 0x05, 0xd3, 0xbf, 0xf5, 0xe8, 0x8c, 0xa3, 0xf8, 0x8f, 0xb7, + 0x2b, 0xff, 0x3a, 0xb6, 0x6a, 0xd5, 0x8d, 0x7c, 0x54, 0x5d, 0xde, 0x48, 0x23, 0xc3, 0x50, 0xb4, + 0xfe, 0x29, 0x24, 0x18, 0xb7, 0x78, 0x43, 0x5e, 0xa0, 0xb3, 0xa5, 0xff, 0xf6, 0x1c, 0x5a, 0x72, + 0x03, 0x52, 0xc0, 0x67, 0x88, 0x31, 0x14, 0x56, 0x5f, 0x81, 0x69, 0xe9, 0x39, 0x4a, 0xa9, 0x9b, + 0x01, 0x90, 0xb5, 0x2d, 0x38, 0xfa, 0x1a, 0xcc, 0x49, 0x01, 0x31, 0xc8, 0x65, 0x57, 0x26, 0x31, + 0x20, 0x69, 0x64, 0x97, 0x19, 0x7b, 0x82, 0x77, 0x5a, 0x64, 0x8c, 0xa6, 0x46, 0x1a, 0xa3, 0xf9, + 0xeb, 0x70, 0xb5, 0x4f, 0x1b, 0x9c, 0xf6, 0xf8, 0x04, 0x6e, 0x29, 0x51, 0xb9, 0x1d, 0x7f, 0x70, + 0xb7, 0x88, 0xd6, 0x24, 0xbe, 0x43, 0x02, 0xd5, 0x2a, 0x8a, 0x12, 0x3e, 0xca, 0x27, 0x33, 0x36, + 0xdb, 0xd2, 0x92, 0xbd, 0xad, 0xee, 0x84, 0x2c, 0x24, 0x55, 0x3a, 0x02, 0x75, 0x71, 0x87, 0xb4, + 0x7e, 0x1d, 0x66, 0x5b, 0xcf, 0x2a, 0x96, 0x93, 0x52, 0x45, 0x8b, 0x2b, 0xc3, 0x79, 0xba, 0xa9, + 0x25, 0x3e, 0x68, 0x53, 0x13, 0x5e, 0xd6, 0x08, 0x63, 0x96, 0x2b, 0xf3, 0x91, 0x32, 0x5a, 0xa4, + 0x7e, 0x19, 0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xf6, 0xde, 0x99, 0x21, + 0xed, 0x39, 0x88, 0x0d, 0xa8, 0x21, 0x72, 0x10, 0x45, 0x0c, 0x93, 0x83, 0xee, 0x63, 0x0b, 0x2f, + 0xd5, 0xce, 0xa1, 0x75, 0x7b, 0x98, 0x8b, 0x20, 0x06, 0x1a, 0xe6, 0x52, 0xed, 0x39, 0xa6, 0xf0, + 0x3e, 0xeb, 0x31, 0xa3, 0xee, 0x0e, 0x9b, 0xdd, 0x38, 0x72, 0x98, 0xfb, 0xac, 0xff, 0xec, 0xd9, + 0xfa, 0xfc, 0xf5, 0xbb, 0x9c, 0xf6, 0xe6, 0x5d, 0x4e, 0xfb, 0xed, 0x5d, 0x4e, 0xfb, 0xfe, 0x7d, + 0x6e, 0xec, 0xcd, 0xfb, 0xdc, 0xd8, 0x2f, 0xef, 0x73, 0x63, 0x5f, 0xdf, 0x6a, 0x5b, 0xe3, 0x84, + 0xee, 0x1b, 0xb1, 0x0f, 0x83, 0xcd, 0xc8, 0x77, 0x4f, 0xb1, 0xd5, 0x55, 0x12, 0xf8, 0x39, 0xf0, + 0xf6, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xff, 0x85, 0xff, 0x1f, 0x25, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/emissions/types/query.pb.go b/x/emissions/types/query.pb.go index 5dd799494a..3f390f913f 100644 --- a/x/emissions/types/query.pb.go +++ b/x/emissions/types/query.pb.go @@ -30,89 +30,6 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// QueryParamsRequest is request type for the Query/Params RPC method. -type QueryParamsRequest struct { -} - -func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } -func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryParamsRequest) ProtoMessage() {} -func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{0} -} -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) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - 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) -} - -var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo - -// QueryParamsResponse is response type for the Query/Params RPC method. -type QueryParamsResponse struct { - // params holds all the parameters of this module. - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` -} - -func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } -func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } -func (*QueryParamsResponse) ProtoMessage() {} -func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{1} -} -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) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - 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) -} - -var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo - -func (m *QueryParamsResponse) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - type QueryListPoolAddressesRequest struct { } @@ -120,7 +37,7 @@ func (m *QueryListPoolAddressesRequest) Reset() { *m = QueryListPoolAddr func (m *QueryListPoolAddressesRequest) String() string { return proto.CompactTextString(m) } func (*QueryListPoolAddressesRequest) ProtoMessage() {} func (*QueryListPoolAddressesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{2} + return fileDescriptor_cb9c0dfe78e2fb82, []int{0} } func (m *QueryListPoolAddressesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -159,7 +76,7 @@ func (m *QueryListPoolAddressesResponse) Reset() { *m = QueryListPoolAdd func (m *QueryListPoolAddressesResponse) String() string { return proto.CompactTextString(m) } func (*QueryListPoolAddressesResponse) ProtoMessage() {} func (*QueryListPoolAddressesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{3} + return fileDescriptor_cb9c0dfe78e2fb82, []int{1} } func (m *QueryListPoolAddressesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -216,7 +133,7 @@ func (m *QueryGetEmissionsFactorsRequest) Reset() { *m = QueryGetEmissio func (m *QueryGetEmissionsFactorsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetEmissionsFactorsRequest) ProtoMessage() {} func (*QueryGetEmissionsFactorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{4} + return fileDescriptor_cb9c0dfe78e2fb82, []int{2} } func (m *QueryGetEmissionsFactorsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -255,7 +172,7 @@ func (m *QueryGetEmissionsFactorsResponse) Reset() { *m = QueryGetEmissi func (m *QueryGetEmissionsFactorsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetEmissionsFactorsResponse) ProtoMessage() {} func (*QueryGetEmissionsFactorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{5} + return fileDescriptor_cb9c0dfe78e2fb82, []int{3} } func (m *QueryGetEmissionsFactorsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -313,7 +230,7 @@ func (m *QueryShowAvailableEmissionsRequest) Reset() { *m = QueryShowAva func (m *QueryShowAvailableEmissionsRequest) String() string { return proto.CompactTextString(m) } func (*QueryShowAvailableEmissionsRequest) ProtoMessage() {} func (*QueryShowAvailableEmissionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{6} + return fileDescriptor_cb9c0dfe78e2fb82, []int{4} } func (m *QueryShowAvailableEmissionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -357,7 +274,7 @@ func (m *QueryShowAvailableEmissionsResponse) Reset() { *m = QueryShowAv func (m *QueryShowAvailableEmissionsResponse) String() string { return proto.CompactTextString(m) } func (*QueryShowAvailableEmissionsResponse) ProtoMessage() {} func (*QueryShowAvailableEmissionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{7} + return fileDescriptor_cb9c0dfe78e2fb82, []int{5} } func (m *QueryShowAvailableEmissionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -394,8 +311,6 @@ func (m *QueryShowAvailableEmissionsResponse) GetAmount() string { } func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "zetachain.zetacore.emissions.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "zetachain.zetacore.emissions.QueryParamsResponse") proto.RegisterType((*QueryListPoolAddressesRequest)(nil), "zetachain.zetacore.emissions.QueryListPoolAddressesRequest") proto.RegisterType((*QueryListPoolAddressesResponse)(nil), "zetachain.zetacore.emissions.QueryListPoolAddressesResponse") proto.RegisterType((*QueryGetEmissionsFactorsRequest)(nil), "zetachain.zetacore.emissions.QueryGetEmissionsFactorsRequest") @@ -409,49 +324,45 @@ func init() { } var fileDescriptor_cb9c0dfe78e2fb82 = []byte{ - // 661 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4b, 0x6f, 0xd3, 0x4c, - 0x14, 0x8d, 0xfb, 0x7d, 0x04, 0x31, 0x48, 0x48, 0x4c, 0x4b, 0xa9, 0xac, 0xe2, 0x14, 0x13, 0x95, - 0xf2, 0xa8, 0xdd, 0x87, 0x84, 0x10, 0xd0, 0xaa, 0x8d, 0x04, 0x48, 0x3c, 0x44, 0x29, 0xb0, 0x80, - 0x8d, 0x35, 0x8e, 0x07, 0x67, 0x24, 0xdb, 0xe3, 0xfa, 0x8e, 0x5b, 0x0a, 0x62, 0xc3, 0x92, 0x15, - 0xa2, 0x7f, 0x87, 0x1f, 0x50, 0x76, 0x95, 0xd8, 0xb0, 0x02, 0xd4, 0xf0, 0x33, 0x58, 0xa0, 0x8c, - 0xc7, 0x26, 0x6f, 0x85, 0xb2, 0x9b, 0xc7, 0x39, 0xe7, 0x9e, 0x73, 0x7d, 0x47, 0x46, 0x73, 0xaf, - 0xa9, 0x20, 0xf5, 0x06, 0x61, 0x91, 0x2d, 0x57, 0x3c, 0xa1, 0x36, 0x0d, 0x19, 0x00, 0xe3, 0x11, - 0xd8, 0x5b, 0x29, 0x4d, 0x76, 0xad, 0x38, 0xe1, 0x82, 0xe3, 0xe9, 0x02, 0x69, 0xe5, 0x48, 0xab, - 0x40, 0xea, 0x97, 0xeb, 0x1c, 0x42, 0x0e, 0xb6, 0x4b, 0x80, 0x66, 0x34, 0x7b, 0x7b, 0xd1, 0xa5, - 0x82, 0x2c, 0xda, 0x31, 0xf1, 0x59, 0x44, 0x04, 0xe3, 0x51, 0xa6, 0xa4, 0x5f, 0x1a, 0x5a, 0x33, - 0x26, 0x09, 0x09, 0x41, 0x41, 0x27, 0x7c, 0xee, 0x73, 0xb9, 0xb4, 0x5b, 0x2b, 0x75, 0x3a, 0xed, - 0x73, 0xee, 0x07, 0xd4, 0x26, 0x31, 0xb3, 0x49, 0x14, 0x71, 0x21, 0xd5, 0x15, 0xc7, 0x9c, 0x40, - 0xf8, 0x71, 0xcb, 0xc0, 0x86, 0x14, 0xda, 0xa4, 0x5b, 0x29, 0x05, 0x61, 0x3e, 0x47, 0xe3, 0x1d, - 0xa7, 0x10, 0xf3, 0x08, 0x28, 0xae, 0xa1, 0x72, 0x56, 0x70, 0x4a, 0x9b, 0xd1, 0xe6, 0x4e, 0x2e, - 0x55, 0xad, 0x61, 0x31, 0xad, 0x8c, 0x5d, 0xfb, 0x7f, 0xff, 0x5b, 0xa5, 0xb4, 0xa9, 0x98, 0x66, - 0x05, 0x9d, 0x93, 0xd2, 0x0f, 0x18, 0x88, 0x0d, 0xce, 0x83, 0x75, 0xcf, 0x4b, 0x28, 0x00, 0x2d, - 0x6a, 0xff, 0xd2, 0x90, 0x31, 0x08, 0xa1, 0x7c, 0x3c, 0x43, 0x17, 0xd3, 0xc8, 0x63, 0x20, 0x12, - 0xe6, 0xa6, 0x82, 0x7a, 0x0e, 0x77, 0x81, 0x26, 0xdb, 0x34, 0x71, 0x5c, 0x12, 0x90, 0xa8, 0x4e, - 0xc1, 0x21, 0x19, 0x49, 0x1a, 0x3d, 0xb1, 0x59, 0xed, 0x80, 0x3f, 0x52, 0xe8, 0x9a, 0x02, 0xab, - 0x02, 0xf8, 0x3e, 0x32, 0x3b, 0x65, 0x05, 0x40, 0xaf, 0xe2, 0x98, 0x54, 0xac, 0x74, 0x20, 0x9f, - 0x02, 0x74, 0x8b, 0x5d, 0x43, 0x67, 0xf3, 0x4e, 0x38, 0x21, 0xf7, 0xd2, 0x80, 0x16, 0x0a, 0xff, - 0x49, 0x85, 0x33, 0xf9, 0xf5, 0x43, 0x79, 0xab, 0x78, 0xe6, 0x79, 0x54, 0x91, 0xe9, 0xef, 0x52, - 0x71, 0x3b, 0xef, 0xe4, 0x1d, 0x52, 0x17, 0x3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c, 0xcb, - 0x10, 0xf3, 0xf8, 0x4a, 0xff, 0x10, 0x3e, 0x15, 0x4e, 0xb1, 0x73, 0x5e, 0x2a, 0xcf, 0xdf, 0x35, - 0x34, 0xd9, 0x7f, 0xca, 0xf0, 0xda, 0x08, 0x7e, 0x86, 0x0e, 0xb8, 0xbe, 0xfe, 0x0f, 0x0a, 0x2a, - 0xd4, 0x9a, 0x0c, 0x75, 0x03, 0x5f, 0xef, 0x1f, 0x0a, 0x1a, 0x7c, 0xc7, 0x21, 0x39, 0xfd, 0x4f, - 0x3e, 0xfb, 0x8d, 0xfa, 0x5c, 0x6f, 0x6b, 0xf7, 0xf6, 0x0f, 0x0d, 0xed, 0xe0, 0xd0, 0xd0, 0x7e, - 0x1c, 0x1a, 0xda, 0x87, 0xa6, 0x51, 0x3a, 0x68, 0x1a, 0xa5, 0xaf, 0x4d, 0xa3, 0xf4, 0x62, 0xc1, - 0x67, 0xa2, 0x91, 0xba, 0x56, 0x9d, 0x87, 0xed, 0xea, 0xc5, 0x9f, 0xe5, 0x55, 0x5b, 0x21, 0xb1, - 0x1b, 0x53, 0x70, 0xcb, 0xf2, 0x3f, 0xb1, 0xfc, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x47, 0x4f, 0xee, - 0x4e, 0xfc, 0x06, 0x00, 0x00, + // 598 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcb, 0x6e, 0xd3, 0x40, + 0x14, 0x8d, 0x0b, 0x14, 0x31, 0x0b, 0x24, 0x06, 0x28, 0x55, 0x54, 0x9c, 0x62, 0xaa, 0x52, 0x1e, + 0xb5, 0x29, 0x95, 0x10, 0x02, 0x5a, 0x35, 0x95, 0x00, 0x89, 0x87, 0x80, 0x02, 0x1b, 0x36, 0xd6, + 0x38, 0x1e, 0x9c, 0x91, 0x6c, 0x5f, 0xd7, 0x77, 0x9c, 0x52, 0x10, 0x1b, 0xbe, 0x00, 0xc1, 0xef, + 0xf0, 0x01, 0xb0, 0xab, 0xc4, 0x86, 0x1d, 0x28, 0xe1, 0x13, 0x58, 0xb2, 0x40, 0x19, 0x8f, 0xdd, + 0x24, 0x4d, 0xa2, 0xaa, 0xdd, 0x79, 0x66, 0xce, 0x39, 0x73, 0xce, 0xbd, 0x77, 0x4c, 0x16, 0xde, + 0x71, 0xc9, 0x1a, 0x4d, 0x26, 0x62, 0x47, 0x7d, 0x41, 0xca, 0x1d, 0x1e, 0x09, 0x44, 0x01, 0x31, + 0x3a, 0x9b, 0x19, 0x4f, 0xb7, 0xed, 0x24, 0x05, 0x09, 0x74, 0xa6, 0x44, 0xda, 0x05, 0xd2, 0x2e, + 0x91, 0xd5, 0x2b, 0x0d, 0xc0, 0x08, 0xd0, 0xf1, 0x18, 0xf2, 0x9c, 0xe6, 0xb4, 0x96, 0x3c, 0x2e, + 0xd9, 0x92, 0x93, 0xb0, 0x40, 0xc4, 0x4c, 0x0a, 0x88, 0x73, 0xa5, 0xea, 0xe5, 0xb1, 0x77, 0x26, + 0x2c, 0x65, 0x11, 0x6a, 0xe8, 0x99, 0x00, 0x02, 0x50, 0x9f, 0x4e, 0xf7, 0x4b, 0xef, 0xce, 0x04, + 0x00, 0x41, 0xc8, 0x1d, 0x96, 0x08, 0x87, 0xc5, 0x31, 0x48, 0xa5, 0xae, 0x39, 0x56, 0x8d, 0x9c, + 0x7f, 0xde, 0x35, 0xf0, 0x58, 0xa0, 0x7c, 0x06, 0x10, 0xd6, 0x7d, 0x3f, 0xe5, 0x88, 0x1c, 0x37, + 0xf8, 0x66, 0xc6, 0x51, 0x5a, 0xff, 0x0c, 0x62, 0x8e, 0x42, 0x60, 0x02, 0x31, 0x72, 0xfa, 0x8a, + 0x5c, 0xca, 0x62, 0x5f, 0xa0, 0x4c, 0x85, 0x97, 0x49, 0xee, 0xbb, 0xe0, 0x21, 0x4f, 0x5b, 0x3c, + 0x75, 0x3d, 0x16, 0xb2, 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0xec, 0xb1, 0x23, 0x59, 0xbd, 0x7b, + 0x30, 0x72, 0x6e, 0xd9, 0xba, 0xf6, 0xf1, 0xc7, 0x9f, 0x2f, 0x13, 0xf3, 0x74, 0x4e, 0xbd, 0xa7, + 0xc5, 0xfc, 0x69, 0xed, 0xbe, 0xa8, 0x50, 0xa0, 0x2c, 0x46, 0x83, 0x23, 0xfd, 0x6e, 0x90, 0xd3, + 0x43, 0xfa, 0x4a, 0x57, 0xf6, 0xe1, 0x61, 0xf4, 0xcc, 0x54, 0x57, 0x0f, 0x4a, 0xd7, 0x21, 0x96, + 0x55, 0x88, 0x45, 0x7a, 0x75, 0x78, 0x88, 0x80, 0x4b, 0xb7, 0x5c, 0xb9, 0x6f, 0xb4, 0xe7, 0x5f, + 0x06, 0x99, 0x1a, 0xde, 0x4f, 0xba, 0xb6, 0x0f, 0x3f, 0x63, 0x47, 0xa9, 0x5a, 0x3f, 0x84, 0x82, + 0x0e, 0xb5, 0xa6, 0x42, 0xdd, 0xa6, 0xb7, 0x86, 0x87, 0xc2, 0x26, 0x6c, 0xb9, 0xac, 0xa0, 0xef, + 0xe6, 0x73, 0xde, 0xeb, 0x76, 0x7d, 0x58, 0x7f, 0xf8, 0xad, 0x6d, 0x1a, 0x3b, 0x6d, 0xd3, 0xf8, + 0xdd, 0x36, 0x8d, 0x4f, 0x1d, 0xb3, 0xb2, 0xd3, 0x31, 0x2b, 0x3f, 0x3b, 0x66, 0xe5, 0xf5, 0xf5, + 0x40, 0xc8, 0x66, 0xe6, 0xd9, 0x0d, 0x88, 0x7a, 0xd5, 0xcb, 0x5f, 0xea, 0xdb, 0x9e, 0x8b, 0xe4, + 0x76, 0xc2, 0xd1, 0x9b, 0x54, 0x3f, 0xc8, 0xe5, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x70, 0xe0, + 0xef, 0x84, 0xf5, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -466,8 +377,6 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { - // Parameters queries the parameters of the module. - Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of ListBalances items. ListPoolAddresses(ctx context.Context, in *QueryListPoolAddressesRequest, opts ...grpc.CallOption) (*QueryListPoolAddressesResponse, error) // Queries a list of GetEmmisonsFactors items. @@ -484,15 +393,6 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { return &queryClient{cc} } -func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { - out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/zetachain.zetacore.emissions.Query/Params", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *queryClient) ListPoolAddresses(ctx context.Context, in *QueryListPoolAddressesRequest, opts ...grpc.CallOption) (*QueryListPoolAddressesResponse, error) { out := new(QueryListPoolAddressesResponse) err := c.cc.Invoke(ctx, "/zetachain.zetacore.emissions.Query/ListPoolAddresses", in, out, opts...) @@ -522,8 +422,6 @@ func (c *queryClient) ShowAvailableEmissions(ctx context.Context, in *QueryShowA // QueryServer is the server API for Query service. type QueryServer interface { - // Parameters queries the parameters of the module. - Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of ListBalances items. ListPoolAddresses(context.Context, *QueryListPoolAddressesRequest) (*QueryListPoolAddressesResponse, error) // Queries a list of GetEmmisonsFactors items. @@ -536,9 +434,6 @@ type QueryServer interface { type UnimplementedQueryServer struct { } -func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") -} func (*UnimplementedQueryServer) ListPoolAddresses(ctx context.Context, req *QueryListPoolAddressesRequest) (*QueryListPoolAddressesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPoolAddresses not implemented") } @@ -553,24 +448,6 @@ func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) } -func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryParamsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServer).Params(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/zetachain.zetacore.emissions.Query/Params", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _Query_ListPoolAddresses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryListPoolAddressesRequest) if err := dec(in); err != nil { @@ -629,10 +506,6 @@ var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "zetachain.zetacore.emissions.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ - { - MethodName: "Params", - Handler: _Query_Params_Handler, - }, { MethodName: "ListPoolAddresses", Handler: _Query_ListPoolAddresses_Handler, @@ -650,62 +523,6 @@ var _Query_serviceDesc = grpc.ServiceDesc{ Metadata: "zetachain/zetacore/emissions/query.proto", } -func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - func (m *QueryListPoolAddressesRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -911,26 +728,6 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } -func (m *QueryParamsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *QueryParamsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Params.Size() - n += 1 + l + sovQuery(uint64(l)) - return n -} - func (m *QueryListPoolAddressesRequest) Size() (n int) { if m == nil { return 0 @@ -1023,139 +820,6 @@ func sovQuery(x uint64) (n int) { func sozQuery(x uint64) (n int) { return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *QueryListPoolAddressesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/emissions/types/query.pb.gw.go b/x/emissions/types/query.pb.gw.go index 05b5ad7f8b..17ef0d685e 100644 --- a/x/emissions/types/query.pb.gw.go +++ b/x/emissions/types/query.pb.gw.go @@ -33,24 +33,6 @@ var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage var _ = metadata.Join -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) { - var protoReq QueryParamsRequest - var metadata runtime.ServerMetadata - - 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) { - var protoReq QueryParamsRequest - var metadata runtime.ServerMetadata - - msg, err := server.Params(ctx, &protoReq) - return msg, metadata, err - -} - func request_Query_ListPoolAddresses_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryListPoolAddressesRequest var metadata runtime.ServerMetadata @@ -147,29 +129,6 @@ func local_request_Query_ShowAvailableEmissions_0(ctx context.Context, marshaler // 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_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_ListPoolAddresses_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -280,26 +239,6 @@ func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc // "QueryClient" to call the correct interceptors. func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { - mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Query_Params_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_Query_ListPoolAddresses_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -364,8 +303,6 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"zeta-chain", "emissions", "params"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ListPoolAddresses_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"zeta-chain", "emissions", "list_addresses"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_GetEmissionsFactors_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"zeta-chain", "emissions", "get_emissions_factors"}, "", runtime.AssumeColonVerbOpt(false))) @@ -374,8 +311,6 @@ var ( ) var ( - forward_Query_Params_0 = runtime.ForwardResponseMessage - forward_Query_ListPoolAddresses_0 = runtime.ForwardResponseMessage forward_Query_GetEmissionsFactors_0 = runtime.ForwardResponseMessage diff --git a/x/emissions/types/tx.pb.go b/x/emissions/types/tx.pb.go index 53ecb580ff..800b88ee3a 100644 --- a/x/emissions/types/tx.pb.go +++ b/x/emissions/types/tx.pb.go @@ -110,99 +110,9 @@ func (m *MsgWithdrawEmissionResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgWithdrawEmissionResponse proto.InternalMessageInfo -type MsgUpdateParams struct { - Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` -} - -func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } -func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateParams) ProtoMessage() {} -func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return fileDescriptor_fa84fc8dd79e3cdb, []int{2} -} -func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateParams.Merge(m, src) -} -func (m *MsgUpdateParams) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateParams) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo - -func (m *MsgUpdateParams) GetAuthority() string { - if m != nil { - return m.Authority - } - return "" -} - -func (m *MsgUpdateParams) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - -type MsgUpdateParamsResponse struct { -} - -func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } -func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } -func (*MsgUpdateParamsResponse) ProtoMessage() {} -func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_fa84fc8dd79e3cdb, []int{3} -} -func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) -} -func (m *MsgUpdateParamsResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo - func init() { proto.RegisterType((*MsgWithdrawEmission)(nil), "zetachain.zetacore.emissions.MsgWithdrawEmission") proto.RegisterType((*MsgWithdrawEmissionResponse)(nil), "zetachain.zetacore.emissions.MsgWithdrawEmissionResponse") - proto.RegisterType((*MsgUpdateParams)(nil), "zetachain.zetacore.emissions.MsgUpdateParams") - proto.RegisterType((*MsgUpdateParamsResponse)(nil), "zetachain.zetacore.emissions.MsgUpdateParamsResponse") } func init() { @@ -210,30 +120,25 @@ func init() { } var fileDescriptor_fa84fc8dd79e3cdb = []byte{ - // 366 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0xcb, 0x4a, 0xf3, 0x40, - 0x14, 0x4e, 0xfe, 0x5f, 0x2a, 0x1d, 0x05, 0x65, 0x14, 0xac, 0xb1, 0xa6, 0x12, 0x54, 0x74, 0xd1, - 0x89, 0x56, 0x5c, 0xb8, 0x0d, 0x28, 0x28, 0x14, 0x24, 0x20, 0x82, 0xbb, 0x69, 0x3a, 0x24, 0x41, - 0x92, 0x09, 0x73, 0xa6, 0xb4, 0x75, 0xe5, 0x23, 0xf8, 0x58, 0x5d, 0x76, 0x29, 0x2e, 0x8a, 0xb4, - 0xef, 0x21, 0x92, 0x5b, 0xad, 0x51, 0x2a, 0x5d, 0xe5, 0x64, 0xf2, 0xdd, 0x26, 0xe7, 0x43, 0x07, - 0x4f, 0x4c, 0x52, 0xc7, 0xa3, 0x7e, 0x68, 0x26, 0x13, 0x17, 0xcc, 0x64, 0x81, 0x0f, 0xe0, 0xf3, - 0x10, 0x4c, 0xd9, 0x23, 0x91, 0xe0, 0x92, 0xe3, 0xea, 0x14, 0x46, 0x72, 0x18, 0x99, 0xc2, 0xb4, - 0xe3, 0xb9, 0x22, 0x11, 0x15, 0x34, 0x80, 0x54, 0x48, 0xdb, 0x74, 0xb9, 0xcb, 0x93, 0xd1, 0x8c, - 0xa7, 0xf4, 0xd4, 0xe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0x18, 0xeb, 0xea, 0x70, 0xac, 0xab, 0xef, - 0x63, 0x5d, 0x7d, 0x99, 0xe8, 0xca, 0x70, 0xa2, 0x2b, 0xaf, 0x13, 0x5d, 0x79, 0x38, 0x99, 0xd9, - 0x7c, 0x2c, 0x5a, 0x2f, 0xf4, 0xb1, 0x37, 0x5b, 0xeb, 0xb8, 0x07, 0xad, 0x52, 0xd2, 0xbd, 0xb3, - 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6d, 0x6d, 0x2d, 0x1c, 0x03, 0x03, 0x00, 0x00, + // 286 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xad, 0x4a, 0x2d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x53, 0x73, 0x33, 0x8b, + 0x8b, 0x33, 0xf3, 0xf3, 0x8a, 0xf5, 0x4b, 0x2a, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x64, + 0xe0, 0xca, 0xf4, 0x60, 0xca, 0xf4, 0xe0, 0xca, 0xa4, 0x34, 0xf1, 0x1a, 0x52, 0x90, 0x58, 0x94, + 0x98, 0x5b, 0x0c, 0x31, 0x48, 0x4a, 0x24, 0x3d, 0x3f, 0x3d, 0x1f, 0xcc, 0xd4, 0x07, 0xb1, 0x20, + 0xa2, 0x4a, 0xe5, 0x5c, 0xc2, 0xbe, 0xc5, 0xe9, 0xe1, 0x99, 0x25, 0x19, 0x29, 0x45, 0x89, 0xe5, + 0xae, 0x50, 0xad, 0x42, 0x12, 0x5c, 0xec, 0xc9, 0x45, 0xa9, 0x89, 0x25, 0xf9, 0x45, 0x12, 0x8c, + 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x30, 0xae, 0x90, 0x1b, 0x17, 0x5b, 0x62, 0x6e, 0x7e, 0x69, 0x5e, + 0x89, 0x04, 0x13, 0x48, 0xc2, 0x49, 0xef, 0xc4, 0x3d, 0x79, 0x86, 0x5b, 0xf7, 0xe4, 0xd5, 0xd2, + 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x93, 0xf3, 0x8b, 0x73, 0xf3, 0x8b, + 0xa1, 0x94, 0x6e, 0x71, 0x4a, 0xb6, 0x7e, 0x49, 0x65, 0x41, 0x6a, 0xb1, 0x9e, 0x67, 0x5e, 0x49, + 0x10, 0x54, 0xb7, 0x92, 0x2c, 0x97, 0x34, 0x16, 0x8b, 0x83, 0x52, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, + 0x53, 0x8d, 0x3a, 0x18, 0xb9, 0x98, 0x7d, 0x8b, 0xd3, 0x85, 0x1a, 0x18, 0xb9, 0x04, 0x30, 0x5c, + 0x67, 0xa8, 0x87, 0x2f, 0x50, 0xf4, 0xb0, 0x98, 0x2b, 0x65, 0x49, 0xb2, 0x16, 0x98, 0x53, 0x9c, + 0xbc, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, + 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x00, 0xc9, 0xcf, 0x20, + 0x43, 0x75, 0xd1, 0x62, 0xa2, 0x02, 0x39, 0x42, 0x41, 0x21, 0x90, 0xc4, 0x06, 0x0e, 0x75, 0x63, + 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x98, 0xed, 0xbb, 0xfd, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -248,7 +153,6 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { - UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) WithdrawEmission(ctx context.Context, in *MsgWithdrawEmission, opts ...grpc.CallOption) (*MsgWithdrawEmissionResponse, error) } @@ -260,15 +164,6 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { return &msgClient{cc} } -func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { - out := new(MsgUpdateParamsResponse) - err := c.cc.Invoke(ctx, "/zetachain.zetacore.emissions.Msg/UpdateParams", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *msgClient) WithdrawEmission(ctx context.Context, in *MsgWithdrawEmission, opts ...grpc.CallOption) (*MsgWithdrawEmissionResponse, error) { out := new(MsgWithdrawEmissionResponse) err := c.cc.Invoke(ctx, "/zetachain.zetacore.emissions.Msg/WithdrawEmission", in, out, opts...) @@ -280,7 +175,6 @@ func (c *msgClient) WithdrawEmission(ctx context.Context, in *MsgWithdrawEmissio // MsgServer is the server API for Msg service. type MsgServer interface { - UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) WithdrawEmission(context.Context, *MsgWithdrawEmission) (*MsgWithdrawEmissionResponse, error) } @@ -288,9 +182,6 @@ type MsgServer interface { type UnimplementedMsgServer struct { } -func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") -} func (*UnimplementedMsgServer) WithdrawEmission(ctx context.Context, req *MsgWithdrawEmission) (*MsgWithdrawEmissionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WithdrawEmission not implemented") } @@ -299,24 +190,6 @@ func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) } -func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateParams) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UpdateParams(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/zetachain.zetacore.emissions.Msg/UpdateParams", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) - } - return interceptor(ctx, in, info, handler) -} - func _Msg_WithdrawEmission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgWithdrawEmission) if err := dec(in); err != nil { @@ -339,10 +212,6 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "zetachain.zetacore.emissions.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ - { - MethodName: "UpdateParams", - Handler: _Msg_UpdateParams_Handler, - }, { MethodName: "WithdrawEmission", Handler: _Msg_WithdrawEmission_Handler, @@ -415,69 +284,6 @@ func (m *MsgWithdrawEmissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, er return len(dAtA) - i, nil } -func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.Authority) > 0 { - i -= len(m.Authority) - copy(dAtA[i:], m.Authority) - i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -513,30 +319,6 @@ func (m *MsgWithdrawEmissionResponse) Size() (n int) { return n } -func (m *MsgUpdateParams) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Authority) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.Params.Size() - n += 1 + l + sovTx(uint64(l)) - return n -} - -func (m *MsgUpdateParamsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -709,171 +491,6 @@ func (m *MsgWithdrawEmissionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Authority = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/lightclient/types/verification_flags.pb.go b/x/lightclient/types/verification_flags.pb.go index 9db164b56a..23ea621e51 100644 --- a/x/lightclient/types/verification_flags.pb.go +++ b/x/lightclient/types/verification_flags.pb.go @@ -22,7 +22,8 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// VerificationFlags is a structure containing information which chain types are enabled for block header verification +// VerificationFlags is a structure containing information which chain types are +// enabled for block header verification type VerificationFlags struct { EthTypeChainEnabled bool `protobuf:"varint,1,opt,name=ethTypeChainEnabled,proto3" json:"ethTypeChainEnabled,omitempty"` BtcTypeChainEnabled bool `protobuf:"varint,2,opt,name=btcTypeChainEnabled,proto3" json:"btcTypeChainEnabled,omitempty"` diff --git a/x/observer/types/ballot.pb.go b/x/observer/types/ballot.pb.go index ecff89c287..daeb4c0ac8 100644 --- a/x/observer/types/ballot.pb.go +++ b/x/observer/types/ballot.pb.go @@ -29,7 +29,9 @@ type VoteType int32 const ( VoteType_SuccessObservation VoteType = 0 VoteType_FailureObservation VoteType = 1 - VoteType_NotYetVoted VoteType = 2 + // this voter is observing failed / reverted . It does + // not mean it was unable to observe. + VoteType_NotYetVoted VoteType = 2 ) var VoteType_name = map[int32]string{ diff --git a/x/observer/types/crosschain_flags.pb.go b/x/observer/types/crosschain_flags.pb.go index 606ca3fa16..85227e2329 100644 --- a/x/observer/types/crosschain_flags.pb.go +++ b/x/observer/types/crosschain_flags.pb.go @@ -34,7 +34,8 @@ type GasPriceIncreaseFlags struct { // Maximum gas price increase in percent of the median gas price // Default is used if 0 GasPriceIncreaseMax uint32 `protobuf:"varint,4,opt,name=gasPriceIncreaseMax,proto3" json:"gasPriceIncreaseMax,omitempty"` - // Maximum number of pending crosschain transactions to check for gas price increase + // Maximum number of pending crosschain transactions to check for gas price + // increase MaxPendingCctxs uint32 `protobuf:"varint,5,opt,name=maxPendingCctxs,proto3" json:"maxPendingCctxs,omitempty"` } diff --git a/x/observer/types/params.pb.go b/x/observer/types/params.pb.go index 73c8b65193..6699ba2f6b 100644 --- a/x/observer/types/params.pb.go +++ b/x/observer/types/params.pb.go @@ -8,7 +8,7 @@ import ( github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - chains "github.com/zeta-chain/zetacore/pkg/chains" + _ "github.com/zeta-chain/zetacore/pkg/chains" io "io" math "math" math_bits "math/bits" @@ -203,65 +203,9 @@ func (m *ChainParams) GetIsSupported() bool { return false } -// Deprecated(v13): Use ChainParamsList -type ObserverParams struct { - Chain *chains.Chain `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"` - BallotThreshold github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=ballot_threshold,json=ballotThreshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"ballot_threshold"` - MinObserverDelegation github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=min_observer_delegation,json=minObserverDelegation,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_observer_delegation"` - IsSupported bool `protobuf:"varint,5,opt,name=is_supported,json=isSupported,proto3" json:"is_supported,omitempty"` -} - -func (m *ObserverParams) Reset() { *m = ObserverParams{} } -func (m *ObserverParams) String() string { return proto.CompactTextString(m) } -func (*ObserverParams) ProtoMessage() {} -func (*ObserverParams) Descriptor() ([]byte, []int) { - return fileDescriptor_e7fa4666eddf88e5, []int{2} -} -func (m *ObserverParams) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ObserverParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ObserverParams.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ObserverParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObserverParams.Merge(m, src) -} -func (m *ObserverParams) XXX_Size() int { - return m.Size() -} -func (m *ObserverParams) XXX_DiscardUnknown() { - xxx_messageInfo_ObserverParams.DiscardUnknown(m) -} - -var xxx_messageInfo_ObserverParams proto.InternalMessageInfo - -func (m *ObserverParams) GetChain() *chains.Chain { - if m != nil { - return m.Chain - } - return nil -} - -func (m *ObserverParams) GetIsSupported() bool { - if m != nil { - return m.IsSupported - } - return false -} - func init() { proto.RegisterType((*ChainParamsList)(nil), "zetachain.zetacore.observer.ChainParamsList") proto.RegisterType((*ChainParams)(nil), "zetachain.zetacore.observer.ChainParams") - proto.RegisterType((*ObserverParams)(nil), "zetachain.zetacore.observer.ObserverParams") } func init() { @@ -269,48 +213,45 @@ func init() { } var fileDescriptor_e7fa4666eddf88e5 = []byte{ - // 651 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0x41, 0x4f, 0xdb, 0x30, - 0x14, 0xc7, 0x1b, 0x0a, 0x0c, 0xdc, 0x42, 0x21, 0xda, 0xb4, 0xac, 0x68, 0xa1, 0xab, 0xa6, 0x29, - 0x42, 0x22, 0x99, 0xd8, 0x6d, 0xda, 0x0e, 0x50, 0x2e, 0x68, 0x48, 0x43, 0xa1, 0x3b, 0x6c, 0x87, - 0x59, 0xae, 0x63, 0x12, 0xab, 0x69, 0x5e, 0x64, 0x3b, 0xac, 0xec, 0x53, 0xec, 0x3b, 0xec, 0x1b, - 0xec, 0x53, 0x70, 0xe4, 0x38, 0xed, 0x80, 0x26, 0xf8, 0x22, 0x53, 0x9c, 0xa4, 0x54, 0x14, 0x71, - 0x98, 0xc4, 0x29, 0xf6, 0x7b, 0xbf, 0xf7, 0xf7, 0xcb, 0xb3, 0xdf, 0x43, 0xce, 0x77, 0xa6, 0x08, - 0x8d, 0x08, 0x4f, 0x3c, 0xbd, 0x02, 0xc1, 0x3c, 0x18, 0x48, 0x26, 0x4e, 0x99, 0xf0, 0x52, 0x22, - 0xc8, 0x48, 0xba, 0xa9, 0x00, 0x05, 0xe6, 0xc6, 0x84, 0x74, 0x2b, 0xd2, 0xad, 0xc8, 0xf6, 0xe3, - 0x10, 0x42, 0xd0, 0x9c, 0x97, 0xaf, 0x8a, 0x90, 0xf6, 0xd6, 0x7d, 0xe2, 0xd5, 0xe2, 0x1e, 0x36, - 0x1d, 0x86, 0x9e, 0x36, 0xc9, 0xf2, 0x53, 0xb0, 0xdd, 0xaf, 0xa8, 0xd5, 0xcb, 0xf7, 0x47, 0x3a, - 0xbf, 0x43, 0x2e, 0x95, 0xf9, 0x01, 0x35, 0x35, 0x82, 0x8b, 0x9c, 0x2d, 0xa3, 0x53, 0x77, 0x1a, - 0x3b, 0x8e, 0x7b, 0x4f, 0xd2, 0xee, 0x94, 0x86, 0xdf, 0xa0, 0x37, 0x9b, 0xee, 0xcf, 0x45, 0xd4, - 0x98, 0x72, 0x9a, 0xcf, 0xd0, 0x52, 0x21, 0xce, 0x03, 0xab, 0xd1, 0x31, 0x9c, 0xba, 0xff, 0x48, - 0xef, 0x0f, 0x02, 0x73, 0x1b, 0x99, 0x14, 0x92, 0x13, 0x2e, 0x46, 0x44, 0x71, 0x48, 0x30, 0x85, - 0x2c, 0x51, 0x96, 0xd1, 0x31, 0x9c, 0x79, 0x7f, 0x7d, 0xda, 0xd3, 0xcb, 0x1d, 0xa6, 0x83, 0xd6, - 0x42, 0x22, 0x71, 0x2a, 0x38, 0x65, 0x58, 0x71, 0x3a, 0x64, 0xc2, 0x9a, 0xd3, 0xf0, 0x6a, 0x48, - 0xe4, 0x51, 0x6e, 0xee, 0x6b, 0xab, 0xd9, 0x41, 0x4d, 0x9e, 0x60, 0x35, 0xae, 0xa8, 0xba, 0xa6, - 0x10, 0x4f, 0xfa, 0xe3, 0x92, 0xe8, 0xa2, 0x15, 0xc8, 0xd4, 0x14, 0x32, 0xaf, 0x91, 0x06, 0x64, - 0x6a, 0xc2, 0x6c, 0xa1, 0xf5, 0x6f, 0x44, 0xd1, 0x08, 0x67, 0x6a, 0x0c, 0x15, 0xb7, 0xa0, 0xb9, - 0x96, 0x76, 0x7c, 0x52, 0x63, 0x28, 0xd9, 0xf7, 0x48, 0x5f, 0x31, 0x56, 0x30, 0x64, 0xf9, 0x8f, - 0x24, 0x4a, 0x10, 0xaa, 0x30, 0x09, 0x02, 0xc1, 0xa4, 0xb4, 0x96, 0x3a, 0x86, 0xb3, 0xec, 0x5b, - 0x39, 0xd2, 0xcf, 0x89, 0x5e, 0x09, 0xec, 0x16, 0x7e, 0xf3, 0x1d, 0x6a, 0x53, 0x48, 0x12, 0x46, - 0x15, 0x88, 0xd9, 0xe8, 0xe5, 0x22, 0x7a, 0x42, 0xdc, 0x8e, 0xee, 0x21, 0x9b, 0x09, 0xba, 0xf3, - 0x1a, 0xd3, 0x4c, 0x2a, 0x08, 0xce, 0x66, 0x15, 0x90, 0x56, 0xd8, 0xd0, 0x54, 0xaf, 0x80, 0x6e, - 0x8b, 0xec, 0xa2, 0xe7, 0x90, 0xa9, 0x01, 0x64, 0x49, 0x90, 0x97, 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x21, 0x77, 0x16, 0xad, 0xfe, 0xe0, 0x45, 0x9b, 0x7f, 0xc8, 0xa2, 0x2d, 0xcc, 0x14, - 0x6d, 0xef, 0xe0, 0xfc, 0xca, 0x36, 0x2e, 0xae, 0x6c, 0xe3, 0xef, 0x95, 0x6d, 0xfc, 0xb8, 0xb6, - 0x6b, 0x17, 0xd7, 0x76, 0xed, 0xf7, 0xb5, 0x5d, 0xfb, 0xe2, 0x4d, 0x9d, 0x9d, 0x17, 0x6b, 0xfb, - 0xd6, 0x30, 0x1c, 0xdf, 0x8c, 0x4e, 0x9d, 0xc8, 0x60, 0x51, 0x0f, 0xc3, 0x37, 0xff, 0x02, 0x00, - 0x00, 0xff, 0xff, 0xc4, 0xd5, 0xdd, 0x33, 0xc3, 0x05, 0x00, 0x00, + // 599 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x41, 0x4f, 0xdb, 0x30, + 0x14, 0x80, 0x9b, 0xc1, 0x18, 0xb8, 0x85, 0x42, 0xb4, 0x69, 0x59, 0xd1, 0x42, 0xc7, 0x61, 0x8a, + 0x90, 0x48, 0x26, 0x76, 0xdd, 0x0e, 0x50, 0x2e, 0x68, 0x48, 0x43, 0xa5, 0x3b, 0x6c, 0x87, 0x59, + 0xae, 0x6d, 0x12, 0xab, 0xa9, 0x5f, 0x64, 0x3b, 0xac, 0xec, 0x57, 0xec, 0x3f, 0xec, 0xcf, 0x70, + 0xe4, 0x38, 0xed, 0x80, 0x26, 0xf8, 0x23, 0x53, 0x9c, 0xa4, 0x54, 0x30, 0xf5, 0xb0, 0x93, 0xed, + 0xf7, 0xbe, 0xf7, 0xf9, 0xb5, 0xb6, 0x83, 0x82, 0xef, 0xdc, 0x10, 0x9a, 0x10, 0x21, 0x23, 0x3b, + 0x03, 0xc5, 0x23, 0x18, 0x6a, 0xae, 0xce, 0xb9, 0x8a, 0x32, 0xa2, 0xc8, 0x58, 0x87, 0x99, 0x02, + 0x03, 0xee, 0xe6, 0x94, 0x0c, 0x6b, 0x32, 0xac, 0xc9, 0xce, 0xd3, 0x18, 0x62, 0xb0, 0x5c, 0x54, + 0xcc, 0xca, 0x92, 0xce, 0xce, 0x3c, 0x79, 0x3d, 0x99, 0xc3, 0x66, 0xa3, 0x38, 0xb2, 0x21, 0x5d, + 0x0d, 0x25, 0xbb, 0xfd, 0x15, 0xb5, 0x7b, 0xc5, 0xfa, 0xc4, 0xf6, 0x77, 0x2c, 0xb4, 0x71, 0x3f, + 0xa0, 0x96, 0x45, 0x70, 0xd9, 0xb3, 0xe7, 0x74, 0x17, 0x82, 0xe6, 0x5e, 0x10, 0xce, 0x69, 0x3a, + 0x9c, 0x71, 0xf4, 0x9b, 0xf4, 0x6e, 0xb1, 0xfd, 0x73, 0x09, 0x35, 0x67, 0x92, 0xee, 0x0b, 0xb4, + 0x5c, 0xca, 0x05, 0xf3, 0x9a, 0x5d, 0x27, 0x58, 0xe8, 0x3f, 0xb1, 0xeb, 0x23, 0xe6, 0xee, 0x22, + 0x97, 0x82, 0x3c, 0x13, 0x6a, 0x4c, 0x8c, 0x00, 0x89, 0x29, 0xe4, 0xd2, 0x78, 0x4e, 0xd7, 0x09, + 0x16, 0xfb, 0x1b, 0xb3, 0x99, 0x5e, 0x91, 0x70, 0x03, 0xb4, 0x1e, 0x13, 0x8d, 0x33, 0x25, 0x28, + 0xc7, 0x46, 0xd0, 0x11, 0x57, 0xde, 0x23, 0x0b, 0xaf, 0xc5, 0x44, 0x9f, 0x14, 0xe1, 0x81, 0x8d, + 0xba, 0x5d, 0xd4, 0x12, 0x12, 0x9b, 0x49, 0x4d, 0x2d, 0x58, 0x0a, 0x09, 0x39, 0x98, 0x54, 0xc4, + 0x36, 0x5a, 0x85, 0xdc, 0xcc, 0x20, 0x8b, 0x16, 0x69, 0x42, 0x6e, 0xa6, 0xcc, 0x0e, 0xda, 0xf8, + 0x46, 0x0c, 0x4d, 0x70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cd, 0x46, 0x91, 0xb9, 0xc8, + 0xb8, 0x0e, 0x0f, 0x39, 0xed, 0xb7, 0x4b, 0xcf, 0xa0, 0xd6, 0xb8, 0x67, 0xe8, 0xf9, 0x58, 0x48, + 0x5c, 0xdf, 0x61, 0xcc, 0x78, 0xca, 0x63, 0x7b, 0xc1, 0xbc, 0xf6, 0x7f, 0xed, 0xf0, 0x6c, 0x2c, + 0xe4, 0xc7, 0xca, 0x76, 0x38, 0x95, 0xb9, 0xaf, 0x50, 0x4b, 0x68, 0xac, 0xf3, 0x2c, 0x03, 0x65, + 0x38, 0xf3, 0xd6, 0xbb, 0x4e, 0xb0, 0xdc, 0x6f, 0x0a, 0x7d, 0x5a, 0x87, 0x0e, 0x8e, 0x2e, 0x6f, + 0x7c, 0xe7, 0xea, 0xc6, 0x77, 0xfe, 0xdc, 0xf8, 0xce, 0x8f, 0x5b, 0xbf, 0x71, 0x75, 0xeb, 0x37, + 0x7e, 0xdd, 0xfa, 0x8d, 0x2f, 0xd1, 0xcc, 0xde, 0xc5, 0x7d, 0xd9, 0xbd, 0xf7, 0xae, 0x27, 0x77, + 0x5f, 0x01, 0xdb, 0xc8, 0x70, 0xc9, 0xbe, 0xeb, 0xb7, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xde, + 0x1d, 0x37, 0xab, 0x8e, 0x04, 0x00, 0x00, } func (m *ChainParamsList) Marshal() (dAtA []byte, err error) { @@ -466,71 +407,6 @@ func (m *ChainParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ObserverParams) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ObserverParams) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ObserverParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.IsSupported { - i-- - if m.IsSupported { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - { - size := m.MinObserverDelegation.Size() - i -= size - if _, err := m.MinObserverDelegation.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintParams(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - { - size := m.BallotThreshold.Size() - i -= size - if _, err := m.BallotThreshold.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintParams(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - if m.Chain != nil { - { - size, err := m.Chain.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintParams(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func encodeVarintParams(dAtA []byte, offset int, v uint64) int { offset -= sovParams(v) base := offset @@ -609,26 +485,6 @@ func (m *ChainParams) Size() (n int) { return n } -func (m *ObserverParams) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Chain != nil { - l = m.Chain.Size() - n += 1 + l + sovParams(uint64(l)) - } - l = m.BallotThreshold.Size() - n += 1 + l + sovParams(uint64(l)) - l = m.MinObserverDelegation.Size() - n += 1 + l + sovParams(uint64(l)) - if m.IsSupported { - n += 2 - } - return n -} - func sovParams(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -1105,180 +961,6 @@ func (m *ChainParams) Unmarshal(dAtA []byte) error { } return nil } -func (m *ObserverParams) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ObserverParams: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ObserverParams: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Chain", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthParams - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthParams - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Chain == nil { - m.Chain = &chains.Chain{} - } - if err := m.Chain.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BallotThreshold", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthParams - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthParams - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.BallotThreshold.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MinObserverDelegation", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthParams - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthParams - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.MinObserverDelegation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsSupported", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IsSupported = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipParams(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthParams - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func skipParams(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 From 0cd76e8c952c1d10c50950328cbf7cfed69077ca Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 14:01:52 +0200 Subject: [PATCH 13/40] Fix tx proto emissions --- Makefile | 2 +- proto/zetachain/zetacore/emissions/tx.proto | 8 + x/emissions/types/tx.pb.go | 421 +++++++++++++++++++- 3 files changed, 411 insertions(+), 20 deletions(-) diff --git a/Makefile b/Makefile index 64956eb612..fc71c7c22b 100644 --- a/Makefile +++ b/Makefile @@ -180,7 +180,7 @@ mocks: @bash ./scripts/mocks-generate.sh .PHONY: mocks -generate: proto openapi specs typescript docs-zetacored +generate: proto-gen openapi specs typescript docs-zetacored .PHONY: generate ############################################################################### diff --git a/proto/zetachain/zetacore/emissions/tx.proto b/proto/zetachain/zetacore/emissions/tx.proto index 0061b724ac..dfd967f45e 100644 --- a/proto/zetachain/zetacore/emissions/tx.proto +++ b/proto/zetachain/zetacore/emissions/tx.proto @@ -8,6 +8,7 @@ option go_package = "github.com/zeta-chain/zetacore/x/emissions/types"; // Msg defines the Msg service. service Msg { + rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); rpc WithdrawEmission(MsgWithdrawEmission) returns (MsgWithdrawEmissionResponse); } @@ -21,3 +22,10 @@ message MsgWithdrawEmission { } message MsgWithdrawEmissionResponse {} + +message MsgUpdateParams { + string authority = 1; + Params params = 2 [(gogoproto.nullable) = false]; +} + +message MsgUpdateParamsResponse {} \ No newline at end of file diff --git a/x/emissions/types/tx.pb.go b/x/emissions/types/tx.pb.go index 800b88ee3a..53ecb580ff 100644 --- a/x/emissions/types/tx.pb.go +++ b/x/emissions/types/tx.pb.go @@ -110,9 +110,99 @@ func (m *MsgWithdrawEmissionResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgWithdrawEmissionResponse proto.InternalMessageInfo +type MsgUpdateParams struct { + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` +} + +func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } +func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParams) ProtoMessage() {} +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return fileDescriptor_fa84fc8dd79e3cdb, []int{2} +} +func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParams.Merge(m, src) +} +func (m *MsgUpdateParams) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo + +func (m *MsgUpdateParams) GetAuthority() string { + if m != nil { + return m.Authority + } + return "" +} + +func (m *MsgUpdateParams) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +type MsgUpdateParamsResponse struct { +} + +func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } +func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParamsResponse) ProtoMessage() {} +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fa84fc8dd79e3cdb, []int{3} +} +func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) +} +func (m *MsgUpdateParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgWithdrawEmission)(nil), "zetachain.zetacore.emissions.MsgWithdrawEmission") proto.RegisterType((*MsgWithdrawEmissionResponse)(nil), "zetachain.zetacore.emissions.MsgWithdrawEmissionResponse") + proto.RegisterType((*MsgUpdateParams)(nil), "zetachain.zetacore.emissions.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "zetachain.zetacore.emissions.MsgUpdateParamsResponse") } func init() { @@ -120,25 +210,30 @@ func init() { } var fileDescriptor_fa84fc8dd79e3cdb = []byte{ - // 286 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xad, 0x4a, 0x2d, 0x49, - 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x07, 0xb3, 0xf2, 0x8b, 0x52, 0xf5, 0x53, 0x73, 0x33, 0x8b, - 0x8b, 0x33, 0xf3, 0xf3, 0x8a, 0xf5, 0x4b, 0x2a, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x64, - 0xe0, 0xca, 0xf4, 0x60, 0xca, 0xf4, 0xe0, 0xca, 0xa4, 0x34, 0xf1, 0x1a, 0x52, 0x90, 0x58, 0x94, - 0x98, 0x5b, 0x0c, 0x31, 0x48, 0x4a, 0x24, 0x3d, 0x3f, 0x3d, 0x1f, 0xcc, 0xd4, 0x07, 0xb1, 0x20, - 0xa2, 0x4a, 0xe5, 0x5c, 0xc2, 0xbe, 0xc5, 0xe9, 0xe1, 0x99, 0x25, 0x19, 0x29, 0x45, 0x89, 0xe5, - 0xae, 0x50, 0xad, 0x42, 0x12, 0x5c, 0xec, 0xc9, 0x45, 0xa9, 0x89, 0x25, 0xf9, 0x45, 0x12, 0x8c, - 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x30, 0xae, 0x90, 0x1b, 0x17, 0x5b, 0x62, 0x6e, 0x7e, 0x69, 0x5e, - 0x89, 0x04, 0x13, 0x48, 0xc2, 0x49, 0xef, 0xc4, 0x3d, 0x79, 0x86, 0x5b, 0xf7, 0xe4, 0xd5, 0xd2, - 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x93, 0xf3, 0x8b, 0x73, 0xf3, 0x8b, - 0xa1, 0x94, 0x6e, 0x71, 0x4a, 0xb6, 0x7e, 0x49, 0x65, 0x41, 0x6a, 0xb1, 0x9e, 0x67, 0x5e, 0x49, - 0x10, 0x54, 0xb7, 0x92, 0x2c, 0x97, 0x34, 0x16, 0x8b, 0x83, 0x52, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, - 0x53, 0x8d, 0x3a, 0x18, 0xb9, 0x98, 0x7d, 0x8b, 0xd3, 0x85, 0x1a, 0x18, 0xb9, 0x04, 0x30, 0x5c, - 0x67, 0xa8, 0x87, 0x2f, 0x50, 0xf4, 0xb0, 0x98, 0x2b, 0x65, 0x49, 0xb2, 0x16, 0x98, 0x53, 0x9c, - 0xbc, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, - 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x00, 0xc9, 0xcf, 0x20, - 0x43, 0x75, 0xd1, 0x62, 0xa2, 0x02, 0x39, 0x42, 0x41, 0x21, 0x90, 0xc4, 0x06, 0x0e, 0x75, 0x63, - 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x98, 0xed, 0xbb, 0xfd, 0x01, 0x00, 0x00, + // 366 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0xcb, 0x4a, 0xf3, 0x40, + 0x14, 0x4e, 0xfe, 0x5f, 0x2a, 0x1d, 0x05, 0x65, 0x14, 0xac, 0xb1, 0xa6, 0x12, 0x54, 0x74, 0xd1, + 0x89, 0x56, 0x5c, 0xb8, 0x0d, 0x28, 0x28, 0x14, 0x24, 0x20, 0x82, 0xbb, 0x69, 0x3a, 0x24, 0x41,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 0xa8, 0x4c, 0x3b, 0xd2, 0xe3, 0xc2, 0x97, 0xfd, 0x2c, + 0xd5, 0xd7, 0x01, 0xb6, 0x50, 0x29, 0xbd, 0x6e, 0x92, 0x6b, 0xa5, 0xb1, 0x4f, 0xe6, 0xfd, 0x38, + 0x92, 0x6a, 0x5a, 0x4b, 0x71, 0x7a, 0x3b, 0x63, 0x1a, 0xdb, 0x68, 0xab, 0x60, 0x9a, 0xe7, 0x69, + 0x7c, 0xa8, 0xe8, 0x7f, 0x13, 0x5c, 0x2c, 0xd1, 0xea, 0xb7, 0x50, 0xf5, 0xf9, 0x36, 0x05, 0x39, + 0xed, 0x7c, 0x21, 0x78, 0xee, 0x8e, 0x9f, 0x55, 0xb4, 0xfe, 0x63, 0x47, 0xa7, 0x7f, 0x6a, 0x15, + 0x29, 0xda, 0xc5, 0xc2, 0x94, 0x3c, 0x82, 0x75, 0x33, 0x18, 0xeb, 0xea, 0x70, 0xac, 0xab, 0xef, + 0x63, 0x5d, 0x7d, 0x99, 0xe8, 0xca, 0x70, 0xa2, 0x2b, 0xaf, 0x13, 0x5d, 0x79, 0x38, 0x99, 0xd9, + 0x7c, 0x2c, 0x5a, 0x2f, 0xf4, 0xb1, 0x37, 0x5b, 0xeb, 0xb8, 0x07, 0xad, 0x52, 0xd2, 0xbd, 0xb3, + 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6d, 0x6d, 0x2d, 0x1c, 0x03, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -153,6 +248,7 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) WithdrawEmission(ctx context.Context, in *MsgWithdrawEmission, opts ...grpc.CallOption) (*MsgWithdrawEmissionResponse, error) } @@ -164,6 +260,15 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { return &msgClient{cc} } +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, "/zetachain.zetacore.emissions.Msg/UpdateParams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *msgClient) WithdrawEmission(ctx context.Context, in *MsgWithdrawEmission, opts ...grpc.CallOption) (*MsgWithdrawEmissionResponse, error) { out := new(MsgWithdrawEmissionResponse) err := c.cc.Invoke(ctx, "/zetachain.zetacore.emissions.Msg/WithdrawEmission", in, out, opts...) @@ -175,6 +280,7 @@ func (c *msgClient) WithdrawEmission(ctx context.Context, in *MsgWithdrawEmissio // MsgServer is the server API for Msg service. type MsgServer interface { + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) WithdrawEmission(context.Context, *MsgWithdrawEmission) (*MsgWithdrawEmissionResponse, error) } @@ -182,6 +288,9 @@ type MsgServer interface { type UnimplementedMsgServer struct { } +func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} func (*UnimplementedMsgServer) WithdrawEmission(ctx context.Context, req *MsgWithdrawEmission) (*MsgWithdrawEmissionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WithdrawEmission not implemented") } @@ -190,6 +299,24 @@ func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) } +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zetachain.zetacore.emissions.Msg/UpdateParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) +} + func _Msg_WithdrawEmission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgWithdrawEmission) if err := dec(in); err != nil { @@ -212,6 +339,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "zetachain.zetacore.emissions.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, { MethodName: "WithdrawEmission", Handler: _Msg_WithdrawEmission_Handler, @@ -284,6 +415,69 @@ func (m *MsgWithdrawEmissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, er return len(dAtA) - i, nil } +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -319,6 +513,30 @@ func (m *MsgWithdrawEmissionResponse) Size() (n int) { return n } +func (m *MsgUpdateParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Params.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -491,6 +709,171 @@ func (m *MsgWithdrawEmissionResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 From d2304ffe2b489d52c2318d272043d6de4f58c8fe Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 14:21:44 +0200 Subject: [PATCH 14/40] fixes --- cmd/zetacored/parse_genesis.go | 2 +- cmd/zetacored/parse_genesis_test.go | 2 +- go.mod | 2 +- go.sum | 6 - .../zetachain/zetacore/emissions/query.proto | 14 + testutil/sample/sample.go | 2 +- x/emissions/types/query.pb.go | 426 ++++++++++++++++-- x/emissions/types/query.pb.gw.go | 65 +++ x/fungible/keeper/evm_test.go | 12 +- zetaclient/zetabridge/query_test.go | 2 +- 10 files changed, 471 insertions(+), 62 deletions(-) diff --git a/cmd/zetacored/parse_genesis.go b/cmd/zetacored/parse_genesis.go index d0529b64d8..730f35b282 100644 --- a/cmd/zetacored/parse_genesis.go +++ b/cmd/zetacored/parse_genesis.go @@ -7,6 +7,7 @@ import ( "path/filepath" "cosmossdk.io/math" + "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" @@ -27,7 +28,6 @@ import ( evmtypes "github.com/evmos/ethermint/x/evm/types" feemarkettypes "github.com/evmos/ethermint/x/feemarket/types" "github.com/spf13/cobra" - "github.com/tendermint/tendermint/types" "github.com/zeta-chain/zetacore/app" crosschaintypes "github.com/zeta-chain/zetacore/x/crosschain/types" emissionstypes "github.com/zeta-chain/zetacore/x/emissions/types" diff --git a/cmd/zetacored/parse_genesis_test.go b/cmd/zetacored/parse_genesis_test.go index 76a9e1247f..f0a4ba8ba6 100644 --- a/cmd/zetacored/parse_genesis_test.go +++ b/cmd/zetacored/parse_genesis_test.go @@ -7,13 +7,13 @@ import ( "path/filepath" "testing" + "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/cosmos/cosmos-sdk/x/genutil" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/types" "github.com/zeta-chain/zetacore/app" zetacored "github.com/zeta-chain/zetacore/cmd/zetacored" keepertest "github.com/zeta-chain/zetacore/testutil/keeper" diff --git a/go.mod b/go.mod index edbe194eb5..1a995cbe22 100644 --- a/go.mod +++ b/go.mod @@ -43,7 +43,7 @@ require ( github.com/zeta-chain/go-tss v0.1.1-0.20240208222330-f3be0d4a0d98 github.com/zeta-chain/keystone/keys v0.0.0-20231105174229-903bc9405da2 github.com/zeta-chain/protocol-contracts v1.0.2-athens3.0.20240418181724-c222fd3ae1f5 - google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f + google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 gopkg.in/yaml.v2 v2.4.0 ) diff --git a/go.sum b/go.sum index 082c92ebe4..0d9494363b 100644 --- a/go.sum +++ b/go.sum @@ -1024,7 +1024,6 @@ github.com/ipfs/go-datastore v0.6.0/go.mod h1:rt5M3nNbSO/8q1t4LNkLyUwRs8HupMeN/8 github.com/ipfs/go-detect-race v0.0.1 h1:qX/xay2W3E4Q1U7d9lNs1sU9nvguX0a7319XbyQ6cOk= github.com/ipfs/go-detect-race v0.0.1/go.mod h1:8BNT7shDZPo99Q74BpGMK+4D8Mn4j46UU0LZ723meps= github.com/ipfs/go-ipfs-util v0.0.2 h1:59Sswnk1MFaiq+VcaknX7aYEyGyGDAA73ilhEK2POp8= -github.com/ipfs/go-ipfs-util v0.0.2/go.mod h1:CbPtkWJzjLdEcezDns2XYaehFVNXG9zrdrtMecczcsQ= github.com/ipfs/go-log v1.0.5 h1:2dOuUCB1Z7uoczMWgAyDck5JLb72zHzrMnGnCNNbvY8= github.com/ipfs/go-log v1.0.5/go.mod h1:j0b8ZoR+7+R99LD9jZ6+AJsrzkPbSXbZfGakb5JPtIo= github.com/ipfs/go-log/v2 v2.1.3/go.mod h1:/8d0SH3Su5Ooc31QlL1WysJhvyOTDCjcCZ9Axpmri6g= @@ -1588,7 +1587,6 @@ github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4k github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d/go.mod h1:UdhH50NIW0fCiwBSr0co2m7BnFLdv4fQTgdqdJTHFeE= github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e/go.mod h1:HuIsMU8RRBOtsCgI77wP899iHVBQpCmg4ErYMZB+2IA= -github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572/go.mod h1:w0SWMsp6j9O/dk4/ZpIhL+3CkG8ofA2vuv7k+ltqUMc= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= @@ -1777,10 +1775,6 @@ github.com/zeta-chain/go-tss v0.1.1-0.20240208222330-f3be0d4a0d98 h1:GCSRgszQbAR github.com/zeta-chain/go-tss v0.1.1-0.20240208222330-f3be0d4a0d98/go.mod h1:+lJfk/qqt+oxXeVuJV+PzpUoxftUfoTRf2eF3qlbyFI= github.com/zeta-chain/keystone/keys v0.0.0-20231105174229-903bc9405da2 h1:gd2uE0X+ZbdFJ8DubxNqLbOVlCB12EgWdzSNRAR82tM= github.com/zeta-chain/keystone/keys v0.0.0-20231105174229-903bc9405da2/go.mod h1:x7Bkwbzt2W2lQfjOirnff0Dj+tykdbTG1FMJPVPZsvE= -github.com/zeta-chain/protocol-contracts v1.0.2-athens3.0.20240415192848-ad076a028d30 h1:V1Kl0xLsdL2l9ThMEx/NLqRvr8zTAAyq2IoM+nhPMhE= -github.com/zeta-chain/protocol-contracts v1.0.2-athens3.0.20240415192848-ad076a028d30/go.mod h1:v79f+eY6PMpmLv188FAubst4XV2Mm8mUmx1OgmdFG3c= -github.com/zeta-chain/protocol-contracts v1.0.2-athens3.0.20240417132824-4be6fd4cb877 h1:Lp1HUBFI4M1vJg5exJ4zasIEAtD/iPef/OYW4eM9pXw= -github.com/zeta-chain/protocol-contracts v1.0.2-athens3.0.20240417132824-4be6fd4cb877/go.mod h1:v79f+eY6PMpmLv188FAubst4XV2Mm8mUmx1OgmdFG3c= github.com/zeta-chain/protocol-contracts v1.0.2-athens3.0.20240418181724-c222fd3ae1f5 h1:ljM7xka3WZvth9k1uYxrG3/FKQQTkR96FZlIjUKOoYw= github.com/zeta-chain/protocol-contracts v1.0.2-athens3.0.20240418181724-c222fd3ae1f5/go.mod h1:v79f+eY6PMpmLv188FAubst4XV2Mm8mUmx1OgmdFG3c= github.com/zondax/hid v0.9.0/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= diff --git a/proto/zetachain/zetacore/emissions/query.proto b/proto/zetachain/zetacore/emissions/query.proto index 2247d3e2cc..5b5ee3a181 100644 --- a/proto/zetachain/zetacore/emissions/query.proto +++ b/proto/zetachain/zetacore/emissions/query.proto @@ -10,6 +10,10 @@ option go_package = "github.com/zeta-chain/zetacore/x/emissions/types"; // Query defines the gRPC querier service. service Query { + // Parameters queries the parameters of the module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/zeta-chain/emissions/params"; + } // Queries a list of ListBalances items. rpc ListPoolAddresses(QueryListPoolAddressesRequest) returns (QueryListPoolAddressesResponse) { @@ -33,6 +37,16 @@ service Query { // this line is used by starport scaffolding # 2 } +// QueryParamsRequest is request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is response type for the Query/Params RPC method. +message QueryParamsResponse { + // params holds all the parameters of this module. + Params params = 1 [(gogoproto.nullable) = false]; +} + + message QueryListPoolAddressesRequest {} message QueryListPoolAddressesResponse { diff --git a/testutil/sample/sample.go b/testutil/sample/sample.go index 7dae4b7dd2..6328f6e304 100644 --- a/testutil/sample/sample.go +++ b/testutil/sample/sample.go @@ -11,9 +11,9 @@ import ( "github.com/zeta-chain/zetacore/pkg/chains" sdkmath "cosmossdk.io/math" + "github.com/cometbft/cometbft/types" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" ethcrypto "github.com/ethereum/go-ethereum/crypto" - "github.com/tendermint/tendermint/types" "github.com/zeta-chain/zetacore/cmd/zetacored/config" "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" diff --git a/x/emissions/types/query.pb.go b/x/emissions/types/query.pb.go index 3f390f913f..5dd799494a 100644 --- a/x/emissions/types/query.pb.go +++ b/x/emissions/types/query.pb.go @@ -30,6 +30,89 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// QueryParamsRequest is request type for the Query/Params RPC method. +type QueryParamsRequest struct { +} + +func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } +func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryParamsRequest) ProtoMessage() {} +func (*QueryParamsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cb9c0dfe78e2fb82, []int{0} +} +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) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + 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) +} + +var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo + +// QueryParamsResponse is response type for the Query/Params RPC method. +type QueryParamsResponse struct { + // params holds all the parameters of this module. + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` +} + +func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } +func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryParamsResponse) ProtoMessage() {} +func (*QueryParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_cb9c0dfe78e2fb82, []int{1} +} +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) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + 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) +} + +var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo + +func (m *QueryParamsResponse) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + type QueryListPoolAddressesRequest struct { } @@ -37,7 +120,7 @@ func (m *QueryListPoolAddressesRequest) Reset() { *m = QueryListPoolAddr func (m *QueryListPoolAddressesRequest) String() string { return proto.CompactTextString(m) } func (*QueryListPoolAddressesRequest) ProtoMessage() {} func (*QueryListPoolAddressesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{0} + return fileDescriptor_cb9c0dfe78e2fb82, []int{2} } func (m *QueryListPoolAddressesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -76,7 +159,7 @@ func (m *QueryListPoolAddressesResponse) Reset() { *m = QueryListPoolAdd func (m *QueryListPoolAddressesResponse) String() string { return proto.CompactTextString(m) } func (*QueryListPoolAddressesResponse) ProtoMessage() {} func (*QueryListPoolAddressesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{1} + return fileDescriptor_cb9c0dfe78e2fb82, []int{3} } func (m *QueryListPoolAddressesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -133,7 +216,7 @@ func (m *QueryGetEmissionsFactorsRequest) Reset() { *m = QueryGetEmissio func (m *QueryGetEmissionsFactorsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetEmissionsFactorsRequest) ProtoMessage() {} func (*QueryGetEmissionsFactorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{2} + return fileDescriptor_cb9c0dfe78e2fb82, []int{4} } func (m *QueryGetEmissionsFactorsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -172,7 +255,7 @@ func (m *QueryGetEmissionsFactorsResponse) Reset() { *m = QueryGetEmissi func (m *QueryGetEmissionsFactorsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetEmissionsFactorsResponse) ProtoMessage() {} func (*QueryGetEmissionsFactorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{3} + return fileDescriptor_cb9c0dfe78e2fb82, []int{5} } func (m *QueryGetEmissionsFactorsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -230,7 +313,7 @@ func (m *QueryShowAvailableEmissionsRequest) Reset() { *m = QueryShowAva func (m *QueryShowAvailableEmissionsRequest) String() string { return proto.CompactTextString(m) } func (*QueryShowAvailableEmissionsRequest) ProtoMessage() {} func (*QueryShowAvailableEmissionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{4} + return fileDescriptor_cb9c0dfe78e2fb82, []int{6} } func (m *QueryShowAvailableEmissionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -274,7 +357,7 @@ func (m *QueryShowAvailableEmissionsResponse) Reset() { *m = QueryShowAv func (m *QueryShowAvailableEmissionsResponse) String() string { return proto.CompactTextString(m) } func (*QueryShowAvailableEmissionsResponse) ProtoMessage() {} func (*QueryShowAvailableEmissionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cb9c0dfe78e2fb82, []int{5} + return fileDescriptor_cb9c0dfe78e2fb82, []int{7} } func (m *QueryShowAvailableEmissionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -311,6 +394,8 @@ func (m *QueryShowAvailableEmissionsResponse) GetAmount() string { } func init() { + proto.RegisterType((*QueryParamsRequest)(nil), "zetachain.zetacore.emissions.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "zetachain.zetacore.emissions.QueryParamsResponse") proto.RegisterType((*QueryListPoolAddressesRequest)(nil), "zetachain.zetacore.emissions.QueryListPoolAddressesRequest") proto.RegisterType((*QueryListPoolAddressesResponse)(nil), "zetachain.zetacore.emissions.QueryListPoolAddressesResponse") proto.RegisterType((*QueryGetEmissionsFactorsRequest)(nil), "zetachain.zetacore.emissions.QueryGetEmissionsFactorsRequest") @@ -324,45 +409,49 @@ func init() { } var fileDescriptor_cb9c0dfe78e2fb82 = []byte{ - // 598 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcb, 0x6e, 0xd3, 0x40, - 0x14, 0x8d, 0x0b, 0x14, 0x31, 0x0b, 0x24, 0x06, 0x28, 0x55, 0x54, 0x9c, 0x62, 0xaa, 0x52, 0x1e, - 0xb5, 0x29, 0x95, 0x10, 0x02, 0x5a, 0x35, 0x95, 0x00, 0x89, 0x87, 0x80, 0x02, 0x1b, 0x36, 0xd6, - 0x38, 0x1e, 0x9c, 0x91, 0x6c, 0x5f, 0xd7, 0x77, 0x9c, 0x52, 0x10, 0x1b, 0xbe, 0x00, 0xc1, 0xef, - 0xf0, 0x01, 0xb0, 0xab, 0xc4, 0x86, 0x1d, 0x28, 0xe1, 0x13, 0x58, 0xb2, 0x40, 0x19, 0x8f, 0xdd, - 0x24, 0x4d, 0xa2, 0xaa, 0xdd, 0x79, 0x66, 0xce, 0x39, 0x73, 0xce, 0xbd, 0x77, 0x4c, 0x16, 0xde, - 0x71, 0xc9, 0x1a, 0x4d, 0x26, 0x62, 0x47, 0x7d, 0x41, 0xca, 0x1d, 0x1e, 0x09, 0x44, 0x01, 0x31, - 0x3a, 0x9b, 0x19, 0x4f, 0xb7, 0xed, 0x24, 0x05, 0x09, 0x74, 0xa6, 0x44, 0xda, 0x05, 0xd2, 0x2e, - 0x91, 0xd5, 0x2b, 0x0d, 0xc0, 0x08, 0xd0, 0xf1, 0x18, 0xf2, 0x9c, 0xe6, 0xb4, 0x96, 0x3c, 0x2e, - 0xd9, 0x92, 0x93, 0xb0, 0x40, 0xc4, 0x4c, 0x0a, 0x88, 0x73, 0xa5, 0xea, 0xe5, 0xb1, 0x77, 0x26, - 0x2c, 0x65, 0x11, 0x6a, 0xe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73, 0xde, 0xeb, 0x76, 0x7d, 0x58, 0x7f, 0xf8, 0xad, 0x6d, 0x1a, 0x3b, 0x6d, 0xd3, 0xf8, - 0xdd, 0x36, 0x8d, 0x4f, 0x1d, 0xb3, 0xb2, 0xd3, 0x31, 0x2b, 0x3f, 0x3b, 0x66, 0xe5, 0xf5, 0xf5, - 0x40, 0xc8, 0x66, 0xe6, 0xd9, 0x0d, 0x88, 0x7a, 0xd5, 0xcb, 0x5f, 0xea, 0xdb, 0x9e, 0x8b, 0xe4, - 0x76, 0xc2, 0xd1, 0x9b, 0x54, 0x3f, 0xc8, 0xe5, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x70, 0xe0, - 0xef, 0x84, 0xf5, 0x05, 0x00, 0x00, + // 661 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4b, 0x6f, 0xd3, 0x4c, + 0x14, 0x8d, 0xfb, 0x7d, 0x04, 0x31, 0x48, 0x48, 0x4c, 0x4b, 0xa9, 0xac, 0xe2, 0x14, 0x13, 0x95, + 0xf2, 0xa8, 0xdd, 0x87, 0x84, 0x10, 0xd0, 0xaa, 0x8d, 0x04, 0x48, 0x3c, 0x44, 0x29, 0xb0, 0x80, + 0x8d, 0x35, 0x8e, 0x07, 0x67, 0x24, 0xdb, 0xe3, 0xfa, 0x8e, 0x5b, 0x0a, 0x62, 0xc3, 0x92, 0x15, + 0xa2, 0x7f, 0x87, 0x1f, 0x50, 0x76, 0x95, 0xd8, 0xb0, 0x02, 0xd4, 0xf0, 0x33, 0x58, 0xa0, 0x8c, + 0xc7, 0x26, 0x6f, 0x85, 0xb2, 0x9b, 0xc7, 0x39, 0xe7, 0x9e, 0x73, 0x7d, 0x47, 0x46, 0x73, 0xaf, + 0xa9, 0x20, 0xf5, 0x06, 0x61, 0x91, 0x2d, 0x57, 0x3c, 0xa1, 0x36, 0x0d, 0x19, 0x00, 0xe3, 0x11, + 0xd8, 0x5b, 0x29, 0x4d, 0x76, 0xad, 0x38, 0xe1, 0x82, 0xe3, 0xe9, 0x02, 0x69, 0xe5, 0x48, 0xab, + 0x40, 0xea, 0x97, 0xeb, 0x1c, 0x42, 0x0e, 0xb6, 0x4b, 0x80, 0x66, 0x34, 0x7b, 0x7b, 0xd1, 0xa5, + 0x82, 0x2c, 0xda, 0x31, 0xf1, 0x59, 0x44, 0x04, 0xe3, 0x51, 0xa6, 0xa4, 0x5f, 0x1a, 0x5a, 0x33, + 0x26, 0x09, 0x09, 0x41, 0x41, 0x27, 0x7c, 0xee, 0x73, 0xb9, 0xb4, 0x5b, 0x2b, 0x75, 0x3a, 0xed, + 0x73, 0xee, 0x07, 0xd4, 0x26, 0x31, 0xb3, 0x49, 0x14, 0x71, 0x21, 0xd5, 0x15, 0xc7, 0x9c, 0x40, + 0xf8, 0x71, 0xcb, 0xc0, 0x86, 0x14, 0xda, 0xa4, 0x5b, 0x29, 0x05, 0x61, 0x3e, 0x47, 0xe3, 0x1d, + 0xa7, 0x10, 0xf3, 0x08, 0x28, 0xae, 0xa1, 0x72, 0x56, 0x70, 0x4a, 0x9b, 0xd1, 0xe6, 0x4e, 0x2e, + 0x55, 0xad, 0x61, 0x31, 0xad, 0x8c, 0x5d, 0xfb, 0x7f, 0xff, 0x5b, 0xa5, 0xb4, 0xa9, 0x98, 0x66, + 0x05, 0x9d, 0x93, 0xd2, 0x0f, 0x18, 0x88, 0x0d, 0xce, 0x83, 0x75, 0xcf, 0x4b, 0x28, 0x00, 0x2d, + 0x6a, 0xff, 0xd2, 0x90, 0x31, 0x08, 0xa1, 0x7c, 0x3c, 0x43, 0x17, 0xd3, 0xc8, 0x63, 0x20, 0x12, + 0xe6, 0xa6, 0x82, 0x7a, 0x0e, 0x77, 0x81, 0x26, 0xdb, 0x34, 0x71, 0x5c, 0x12, 0x90, 0xa8, 0x4e, + 0xc1, 0x21, 0x19, 0x49, 0x1a, 0x3d, 0xb1, 0x59, 0xed, 0x80, 0x3f, 0x52, 0xe8, 0x9a, 0x02, 0xab, + 0x02, 0xf8, 0x3e, 0x32, 0x3b, 0x65, 0x05, 0x40, 0xaf, 0xe2, 0x98, 0x54, 0xac, 0x74, 0x20, 0x9f, + 0x02, 0x74, 0x8b, 0x5d, 0x43, 0x67, 0xf3, 0x4e, 0x38, 0x21, 0xf7, 0xd2, 0x80, 0x16, 0x0a, 0xff, + 0x49, 0x85, 0x33, 0xf9, 0xf5, 0x43, 0x79, 0xab, 0x78, 0xe6, 0x79, 0x54, 0x91, 0xe9, 0xef, 0x52, + 0x71, 0x3b, 0xef, 0xe4, 0x1d, 0x52, 0x17, 0x3c, 0x29, 0x3a, 0xf4, 0x51, 0x43, 0x33, 0x83, 0x31, + 0xaa, 0x47, 0xb3, 0xe8, 0x54, 0x42, 0x65, 0x4e, 0x75, 0xa5, 0x5a, 0xd1, 0x75, 0x8a, 0x0d, 0x84, + 0x5c, 0x1e, 0x79, 0x0a, 0x93, 0x85, 0x6b, 0x3b, 0x69, 0xe9, 0x78, 0x69, 0x22, 0x67, 0x46, 0x61, + 0x32, 0xfb, 0x5d, 0xa7, 0xe6, 0x2a, 0x32, 0xa5, 0xa7, 0x27, 0x0d, 0xbe, 0xb3, 0xbe, 0x4d, 0x58, + 0x40, 0xdc, 0x80, 0x16, 0xee, 0x94, 0x75, 0x3c, 0x85, 0x8e, 0x77, 0x7e, 0x99, 0x7c, 0x6b, 0xae, + 0xa0, 0x0b, 0x43, 0xf9, 0x2a, 0xd6, 0x24, 0x2a, 0x93, 0x90, 0xa7, 0x91, 0x50, 0x7c, 0xb5, 0x5b, + 0x7a, 0x5f, 0x46, 0xc7, 0x24, 0x1f, 0xef, 0x69, 0xa8, 0x9c, 0x4d, 0x1e, 0x5e, 0x18, 0x3e, 0x9f, + 0xbd, 0x83, 0xaf, 0x2f, 0xfe, 0x05, 0x23, 0x73, 0x64, 0x56, 0xdf, 0x7d, 0xf9, 0xb9, 0x37, 0x66,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x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -377,6 +466,8 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { + // Parameters queries the parameters of the module. + Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of ListBalances items. ListPoolAddresses(ctx context.Context, in *QueryListPoolAddressesRequest, opts ...grpc.CallOption) (*QueryListPoolAddressesResponse, error) // Queries a list of GetEmmisonsFactors items. @@ -393,6 +484,15 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { return &queryClient{cc} } +func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { + out := new(QueryParamsResponse) + err := c.cc.Invoke(ctx, "/zetachain.zetacore.emissions.Query/Params", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) ListPoolAddresses(ctx context.Context, in *QueryListPoolAddressesRequest, opts ...grpc.CallOption) (*QueryListPoolAddressesResponse, error) { out := new(QueryListPoolAddressesResponse) err := c.cc.Invoke(ctx, "/zetachain.zetacore.emissions.Query/ListPoolAddresses", in, out, opts...) @@ -422,6 +522,8 @@ func (c *queryClient) ShowAvailableEmissions(ctx context.Context, in *QueryShowA // QueryServer is the server API for Query service. type QueryServer interface { + // Parameters queries the parameters of the module. + Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of ListBalances items. ListPoolAddresses(context.Context, *QueryListPoolAddressesRequest) (*QueryListPoolAddressesResponse, error) // Queries a list of GetEmmisonsFactors items. @@ -434,6 +536,9 @@ type QueryServer interface { type UnimplementedQueryServer struct { } +func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") +} func (*UnimplementedQueryServer) ListPoolAddresses(ctx context.Context, req *QueryListPoolAddressesRequest) (*QueryListPoolAddressesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPoolAddresses not implemented") } @@ -448,6 +553,24 @@ func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) } +func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryParamsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Params(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zetachain.zetacore.emissions.Query/Params", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_ListPoolAddresses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryListPoolAddressesRequest) if err := dec(in); err != nil { @@ -506,6 +629,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "zetachain.zetacore.emissions.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ + { + MethodName: "Params", + Handler: _Query_Params_Handler, + }, { MethodName: "ListPoolAddresses", Handler: _Query_ListPoolAddresses_Handler, @@ -523,6 +650,62 @@ var _Query_serviceDesc = grpc.ServiceDesc{ Metadata: "zetachain/zetacore/emissions/query.proto", } +func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + func (m *QueryListPoolAddressesRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -728,6 +911,26 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } +func (m *QueryParamsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + func (m *QueryListPoolAddressesRequest) Size() (n int) { if m == nil { return 0 @@ -820,6 +1023,139 @@ func sovQuery(x uint64) (n int) { func sozQuery(x uint64) (n int) { return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } +func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *QueryListPoolAddressesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/emissions/types/query.pb.gw.go b/x/emissions/types/query.pb.gw.go index 17ef0d685e..05b5ad7f8b 100644 --- a/x/emissions/types/query.pb.gw.go +++ b/x/emissions/types/query.pb.gw.go @@ -33,6 +33,24 @@ var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage var _ = metadata.Join +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) { + var protoReq QueryParamsRequest + var metadata runtime.ServerMetadata + + 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) { + var protoReq QueryParamsRequest + var metadata runtime.ServerMetadata + + msg, err := server.Params(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_ListPoolAddresses_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryListPoolAddressesRequest var metadata runtime.ServerMetadata @@ -129,6 +147,29 @@ func local_request_Query_ShowAvailableEmissions_0(ctx context.Context, marshaler // 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_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_ListPoolAddresses_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -239,6 +280,26 @@ func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc // "QueryClient" to call the correct interceptors. func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { + mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Params_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_ListPoolAddresses_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -303,6 +364,8 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"zeta-chain", "emissions", "params"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_ListPoolAddresses_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"zeta-chain", "emissions", "list_addresses"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_GetEmissionsFactors_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"zeta-chain", "emissions", "get_emissions_factors"}, "", runtime.AssumeColonVerbOpt(false))) @@ -311,6 +374,8 @@ var ( ) var ( + forward_Query_Params_0 = runtime.ForwardResponseMessage + forward_Query_ListPoolAddresses_0 = runtime.ForwardResponseMessage forward_Query_GetEmissionsFactors_0 = runtime.ForwardResponseMessage diff --git a/x/fungible/keeper/evm_test.go b/x/fungible/keeper/evm_test.go index 9b78dfd279..8e2bc2f005 100644 --- a/x/fungible/keeper/evm_test.go +++ b/x/fungible/keeper/evm_test.go @@ -1328,7 +1328,7 @@ func TestKeeper_QueryZRC20Data(t *testing.T) { func TestKeeper_CallOnReceiveZevmConnector(t *testing.T) { t.Run("should call on receive on connector which calls onZetaMessage on sample DAPP", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) deploySystemContracts(t, ctx, k, sdkk.EvmKeeper) @@ -1371,7 +1371,7 @@ func TestKeeper_CallOnReceiveZevmConnector(t *testing.T) { }) t.Run("should error if system contract not found", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) dAppContract, err := k.DeployContract(ctx, contracts.DappMetaData) @@ -1387,7 +1387,7 @@ func TestKeeper_CallOnReceiveZevmConnector(t *testing.T) { }) t.Run("should error in contract call reverts", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) deploySystemContracts(t, ctx, k, sdkk.EvmKeeper) @@ -1406,7 +1406,7 @@ func TestKeeper_CallOnReceiveZevmConnector(t *testing.T) { func TestKeeper_CallOnRevertZevmConnector(t *testing.T) { t.Run("should call on revert on connector which calls onZetaRevert on sample DAPP", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) deploySystemContracts(t, ctx, k, sdkk.EvmKeeper) @@ -1446,7 +1446,7 @@ func TestKeeper_CallOnRevertZevmConnector(t *testing.T) { }) t.Run("should error if system contract not found", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) dAppContract, err := k.DeployContract(ctx, contracts.DappMetaData) @@ -1463,7 +1463,7 @@ func TestKeeper_CallOnRevertZevmConnector(t *testing.T) { }) t.Run("should error in contract call reverts", func(t *testing.T) { - k, ctx, sdkk, _ := testkeeper.FungibleKeeper(t) + k, ctx, sdkk, _ := keepertest.FungibleKeeper(t) _ = k.GetAuthKeeper().GetModuleAccount(ctx, types.ModuleName) deploySystemContracts(t, ctx, k, sdkk.EvmKeeper) diff --git a/zetaclient/zetabridge/query_test.go b/zetaclient/zetabridge/query_test.go index 77ea0d5694..65993b9c58 100644 --- a/zetaclient/zetabridge/query_test.go +++ b/zetaclient/zetabridge/query_test.go @@ -279,7 +279,7 @@ func TestZetaCoreBridge_ListPendingCctx(t *testing.T) { }, TotalPending: 1, } - input := crosschainTypes.QueryListCctxPendingRequest{ChainId: 7000} + input := crosschainTypes.QueryListPendingCctxRequest{ChainId: 7000} method := "zetachain.zetacore.crosschain.Query/ListPendingCctx" server := setupMockServer(t, crosschainTypes.RegisterQueryServer, method, input, expectedOutput) server.Serve() From 2a518398e31fa98b424ce6031a3852a92dadff07 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 14:24:07 +0200 Subject: [PATCH 15/40] make generate --- .../zetacored/zetacored_parse-genesis-file.md | 1 + ...uery_crosschain_update_rate_limit_flags.md | 1 + docs/openapi/openapi.swagger.yaml | 51 ++++++++++++++++++- docs/spec/emissions/messages.md | 12 +++++ .../crosschain/rate_limiter_flags_pb.d.ts | 2 +- .../zetacore/emissions/query_pb.d.ts | 50 ++++++++++++++++++ .../zetachain/zetacore/emissions/tx_pb.d.ts | 49 ++++++++++++++++++ .../zetacore/pkg/chains/chains_pb.d.ts | 20 ++++---- 8 files changed, 174 insertions(+), 12 deletions(-) diff --git a/docs/cli/zetacored/zetacored_parse-genesis-file.md b/docs/cli/zetacored/zetacored_parse-genesis-file.md index b35a5c6b97..44bcb41424 100644 --- a/docs/cli/zetacored/zetacored_parse-genesis-file.md +++ b/docs/cli/zetacored/zetacored_parse-genesis-file.md @@ -18,6 +18,7 @@ zetacored parse-genesis-file [import-genesis-file] [optional-genesis-file] [flag --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/cli/zetacored/zetacored_query_crosschain_update_rate_limit_flags.md b/docs/cli/zetacored/zetacored_query_crosschain_update_rate_limit_flags.md index a4455cc6b0..6dcc3b12a4 100644 --- a/docs/cli/zetacored/zetacored_query_crosschain_update_rate_limit_flags.md +++ b/docs/cli/zetacored/zetacored_query_crosschain_update_rate_limit_flags.md @@ -24,6 +24,7 @@ zetacored query crosschain update_rate_limit_flags [flags] --home string directory for config and data --log_format string The logging format (json|plain) --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --log_no_color Disable colored logs --trace print out full stack trace on errors ``` diff --git a/docs/openapi/openapi.swagger.yaml b/docs/openapi/openapi.swagger.yaml index 88c8192ccf..630bbaa947 100644 --- a/docs/openapi/openapi.swagger.yaml +++ b/docs/openapi/openapi.swagger.yaml @@ -29059,6 +29059,21 @@ paths: $ref: '#/definitions/googlerpcStatus' tags: - Query + /zeta-chain/emissions/params: + get: + summary: Parameters queries the parameters of the module. + operationId: Query_Params + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/emissionsQueryParamsResponse' + default: + description: An unexpected error response. + schema: + $ref: '#/definitions/googlerpcStatus' + tags: + - Query /zeta-chain/emissions/show_available_emissions/{address}: get: summary: Queries a list of ShowAvailableEmissions items. @@ -56430,7 +56445,7 @@ definitions: - OutboundMined: the corresponding outbound tx is mined - PendingRevert: outbound cannot succeed; should revert inbound - Reverted: inbound reverted. - - Aborted: inbound tx error or invalid paramters and cannot revert; just abort. But the amount can be refunded to zetachain using and admin proposal + - Aborted: inbound tx error or invalid paramters and cannot revert; just abort. crosschainConversion: type: object properties: @@ -56858,8 +56873,35 @@ definitions: ed25519: type: string title: PubKeySet contains two pub keys , secp256k1 and ed25519 + emissionsMsgUpdateParamsResponse: + type: object emissionsMsgWithdrawEmissionResponse: type: object + emissionsParams: + type: object + properties: + max_bond_factor: + type: string + min_bond_factor: + type: string + avg_block_time: + type: string + target_bond_ratio: + type: string + validator_emission_percentage: + type: string + observer_emission_percentage: + type: string + tss_signer_emission_percentage: + type: string + duration_factor_constant: + type: string + observer_slash_amount: + type: string + ballot_maturity_blocks: + type: string + format: int64 + description: Params defines the parameters for the module. emissionsQueryGetEmissionsFactorsResponse: type: object properties: @@ -56878,6 +56920,13 @@ definitions: type: string emission_module_address: type: string + emissionsQueryParamsResponse: + type: object + properties: + params: + $ref: '#/definitions/emissionsParams' + description: params holds all the parameters of this module. + description: QueryParamsResponse is response type for the Query/Params RPC method. emissionsQueryShowAvailableEmissionsResponse: type: object properties: diff --git a/docs/spec/emissions/messages.md b/docs/spec/emissions/messages.md index c5fc4a4520..b3549681bd 100644 --- a/docs/spec/emissions/messages.md +++ b/docs/spec/emissions/messages.md @@ -1,5 +1,17 @@ # Messages +## MsgUpdateParams + +UpdateParams defines a governance operation for updating the x/emissions module parameters. +The authority is hard-coded to the x/gov module account. + +```proto +message MsgUpdateParams { + string authority = 1; + Params params = 2; +} +``` + ## MsgWithdrawEmission WithdrawEmission allows the user to withdraw from their withdrawable emissions. diff --git a/typescript/zetachain/zetacore/crosschain/rate_limiter_flags_pb.d.ts b/typescript/zetachain/zetacore/crosschain/rate_limiter_flags_pb.d.ts index 02997cd099..fb593e85b4 100644 --- a/typescript/zetachain/zetacore/crosschain/rate_limiter_flags_pb.d.ts +++ b/typescript/zetachain/zetacore/crosschain/rate_limiter_flags_pb.d.ts @@ -1,5 +1,5 @@ // @generated by protoc-gen-es v1.3.0 with parameter "target=dts" -// @generated from file crosschain/rate_limiter_flags.proto (package zetachain.zetacore.crosschain, syntax proto3) +// @generated from file zetachain/zetacore/crosschain/rate_limiter_flags.proto (package zetachain.zetacore.crosschain, syntax proto3) /* eslint-disable */ // @ts-nocheck diff --git a/typescript/zetachain/zetacore/emissions/query_pb.d.ts b/typescript/zetachain/zetacore/emissions/query_pb.d.ts index 5da49b486a..3f1d07a6d1 100644 --- a/typescript/zetachain/zetacore/emissions/query_pb.d.ts +++ b/typescript/zetachain/zetacore/emissions/query_pb.d.ts @@ -5,6 +5,56 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; +import type { Params } from "./params_pb.js"; + +/** + * QueryParamsRequest is request type for the Query/Params RPC method. + * + * @generated from message zetachain.zetacore.emissions.QueryParamsRequest + */ +export declare class QueryParamsRequest extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "zetachain.zetacore.emissions.QueryParamsRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest; + + static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest; + + static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean; +} + +/** + * QueryParamsResponse is response type for the Query/Params RPC method. + * + * @generated from message zetachain.zetacore.emissions.QueryParamsResponse + */ +export declare class QueryParamsResponse extends Message { + /** + * params holds all the parameters of this module. + * + * @generated from field: zetachain.zetacore.emissions.Params params = 1; + */ + params?: Params; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "zetachain.zetacore.emissions.QueryParamsResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse; + + static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse; + + static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean; +} /** * @generated from message zetachain.zetacore.emissions.QueryListPoolAddressesRequest diff --git a/typescript/zetachain/zetacore/emissions/tx_pb.d.ts b/typescript/zetachain/zetacore/emissions/tx_pb.d.ts index 69e2b98be7..e2554e6bfe 100644 --- a/typescript/zetachain/zetacore/emissions/tx_pb.d.ts +++ b/typescript/zetachain/zetacore/emissions/tx_pb.d.ts @@ -5,6 +5,7 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; +import type { Params } from "./params_pb.js"; /** * @generated from message zetachain.zetacore.emissions.MsgWithdrawEmission @@ -54,3 +55,51 @@ export declare class MsgWithdrawEmissionResponse extends Message | undefined, b: MsgWithdrawEmissionResponse | PlainMessage | undefined): boolean; } +/** + * @generated from message zetachain.zetacore.emissions.MsgUpdateParams + */ +export declare class MsgUpdateParams extends Message { + /** + * @generated from field: string authority = 1; + */ + authority: string; + + /** + * @generated from field: zetachain.zetacore.emissions.Params params = 2; + */ + params?: Params; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "zetachain.zetacore.emissions.MsgUpdateParams"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParams; + + static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParams; + + static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParams; + + static equals(a: MsgUpdateParams | PlainMessage | undefined, b: MsgUpdateParams | PlainMessage | undefined): boolean; +} + +/** + * @generated from message zetachain.zetacore.emissions.MsgUpdateParamsResponse + */ +export declare class MsgUpdateParamsResponse extends Message { + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "zetachain.zetacore.emissions.MsgUpdateParamsResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParamsResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParamsResponse; + + static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParamsResponse; + + static equals(a: MsgUpdateParamsResponse | PlainMessage | undefined, b: MsgUpdateParamsResponse | PlainMessage | undefined): boolean; +} + diff --git a/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts b/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts index 8d986b16cb..59ec7023e4 100644 --- a/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts +++ b/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts @@ -31,7 +31,7 @@ export declare enum ReceiveStatus { /** * ChainName represents the name of the chain * - * @generated from enum chains.ChainName + * @generated from enum zetachain.zetacore.pkg.chains.ChainName */ export declare enum ChainName { /** @@ -123,7 +123,7 @@ export declare enum ChainName { /** * Network represents the network type of the chain * - * @generated from enum chains.Network + * @generated from enum zetachain.zetacore.pkg.chains.Network */ export declare enum Network { /** @@ -155,7 +155,7 @@ export declare enum Network { /** * NetworkType represents the network type of the chain * - * @generated from enum chains.NetworkType + * @generated from enum zetachain.zetacore.pkg.chains.NetworkType */ export declare enum NetworkType { /** @@ -182,7 +182,7 @@ export declare enum NetworkType { /** * Vm represents the virtual machine type of the chain to support smart contracts * - * @generated from enum chains.Vm + * @generated from enum zetachain.zetacore.pkg.chains.Vm */ export declare enum Vm { /** @@ -199,7 +199,7 @@ export declare enum Vm { /** * Consensus represents the consensus algorithm used by the chain * - * @generated from enum chains.Consensus + * @generated from enum zetachain.zetacore.pkg.chains.Consensus */ export declare enum Consensus { /** @@ -219,7 +219,7 @@ export declare enum Consensus { } /** - * @generated from message chains.Chain + * @generated from message zetachain.zetacore.pkg.chains.Chain */ export declare class Chain extends Message { /** @@ -233,22 +233,22 @@ export declare class Chain extends Message { chainId: bigint; /** - * @generated from field: chains.Network network = 3; + * @generated from field: zetachain.zetacore.pkg.chains.Network network = 3; */ network: Network; /** - * @generated from field: chains.NetworkType network_type = 4; + * @generated from field: zetachain.zetacore.pkg.chains.NetworkType network_type = 4; */ networkType: NetworkType; /** - * @generated from field: chains.Vm vm = 5; + * @generated from field: zetachain.zetacore.pkg.chains.Vm vm = 5; */ vm: Vm; /** - * @generated from field: chains.Consensus consensus = 6; + * @generated from field: zetachain.zetacore.pkg.chains.Consensus consensus = 6; */ consensus: Consensus; From e335b22a4ab922f2c40a48cc95703d40d6e87749 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 14:41:59 +0200 Subject: [PATCH 16/40] remove tendermint usage --- x/crosschain/keeper/processs_outbound.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/crosschain/keeper/processs_outbound.go b/x/crosschain/keeper/processs_outbound.go index a6ae80fca3..8f872e50d8 100644 --- a/x/crosschain/keeper/processs_outbound.go +++ b/x/crosschain/keeper/processs_outbound.go @@ -5,10 +5,10 @@ import ( "fmt" cosmoserrors "cosmossdk.io/errors" + tmbytes "github.com/cometbft/cometbft/libs/bytes" + tmtypes "github.com/cometbft/cometbft/types" sdk "github.com/cosmos/cosmos-sdk/types" ethcommon "github.com/ethereum/go-ethereum/common" - tmbytes "github.com/tendermint/tendermint/libs/bytes" - tmtypes "github.com/tendermint/tendermint/types" "github.com/zeta-chain/zetacore/pkg/chains" "github.com/zeta-chain/zetacore/pkg/coin" "github.com/zeta-chain/zetacore/x/crosschain/types" From 46623844499d28d360df802a5acc31208ca9ff14 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 15:01:47 +0200 Subject: [PATCH 17/40] Update changelog --- changelog.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index 3063837fa7..c87c91c33c 100644 --- a/changelog.md +++ b/changelog.md @@ -7,10 +7,7 @@ ### Features * [2032](https://github.com/zeta-chain/node/pull/2032) - improve some general structure of the ZetaClient codebase -* [2039](https://github.com/zeta-chain/node/pull/2039) - cosmos v0.47 upgrade - -### Refactor -* [2014](https://github.com/zeta-chain/node/pull/2014) - remove params module +* [2100](https://github.com/zeta-chain/node/pull/2100) - cosmos v0.47 upgrade ## Unreleased ### Breaking Changes From 70ceefabde127d67b4a4f72ae9be7f7d647ad7e1 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 15:40:03 +0200 Subject: [PATCH 18/40] fix test --- testutil/sample/sample.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testutil/sample/sample.go b/testutil/sample/sample.go index 6328f6e304..c3011b1cb6 100644 --- a/testutil/sample/sample.go +++ b/testutil/sample/sample.go @@ -111,7 +111,7 @@ func AppState(t *testing.T) map[string]json.RawMessage { } func GenDoc(t *testing.T) *types.GenesisDoc { - jsonBlob := []byte("{\n \"genesis_time\": \"2024-04-12T05:07:56.004517Z\",\n \"chain_id\": \"localnet_101-1\",\n \"initial_height\": \"1\",\n \"consensus_params\": {\n \"block\": {\n \"max_bytes\": \"22020096\",\n \"max_gas\": \"10000000\",\n \"time_iota_ms\": \"1000\"\n },\n \"evidence\": {\n \"max_age_num_blocks\": \"100000\",\n \"max_age_duration\": \"172800000000000\",\n \"max_bytes\": \"1048576\"\n },\n \"validator\": {\n \"pub_key_types\": [\n \"ed25519\"\n ]\n },\n \"version\": {}\n },\n \"app_hash\": \"\",\n \"app_state\": {\n \"auth\": {\n \"params\": {\n \"max_memo_characters\": \"256\",\n \"tx_sig_limit\": \"7\",\n \"tx_size_cost_per_byte\": \"10\",\n \"sig_verify_cost_ed25519\": \"590\",\n \"sig_verify_cost_secp256k1\": \"1000\"\n },\n \"accounts\": [\n {\n \"@type\": \"/ethermint.types.v1.EthAccount\",\n \"base_account\": {\n \"address\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"pub_key\": null,\n \"account_number\": \"0\",\n \"sequence\": \"0\"\n },\n \"code_hash\": \"0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470\"\n },\n {\n \"@type\": \"/ethermint.types.v1.EthAccount\",\n \"base_account\": {\n \"address\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"pub_key\": null,\n \"account_number\": \"0\",\n \"sequence\": \"0\"\n },\n \"code_hash\": \"0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470\"\n },\n {\n \"@type\": \"/ethermint.types.v1.EthAccount\",\n \"base_account\": {\n \"address\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"pub_key\": null,\n \"account_number\": \"0\",\n \"sequence\": \"0\"\n },\n \"code_hash\": \"0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470\"\n },\n {\n \"@type\": \"/ethermint.types.v1.EthAccount\",\n \"base_account\": {\n \"address\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"pub_key\": null,\n \"account_number\": \"0\",\n \"sequence\": \"0\"\n },\n \"code_hash\": \"0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470\"\n }\n ]\n },\n \"authority\": {\n \"policies\": {\n \"items\": [\n {\n \"policy_type\": \"groupEmergency\",\n \"address\": \"zeta1afk9zr2hn2jsac63h4hm60vl9z3e5u69gndzf7c99cqge3vzwjzsxn0x73\"\n },\n {\n \"policy_type\": \"groupOperational\",\n \"address\": \"zeta1afk9zr2hn2jsac63h4hm60vl9z3e5u69gndzf7c99cqge3vzwjzsxn0x73\"\n },\n {\n \"policy_type\": \"groupAdmin\",\n \"address\": \"zeta1afk9zr2hn2jsac63h4hm60vl9z3e5u69gndzf7c99cqge3vzwjzsxn0x73\"\n }\n ]\n }\n },\n \"authz\": {\n \"authorization\": [\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgGasPriceVoter\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgVoteOnObservedInboundTx\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgVoteOnObservedOutboundTx\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgCreateTSSVoter\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgAddToOutTxTracker\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.observer.MsgAddBlameVote\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.observer.MsgAddBlockHeader\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgGasPriceVoter\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgVoteOnObservedInboundTx\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgVoteOnObservedOutboundTx\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgCreateTSSVoter\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgAddToOutTxTracker\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.observer.MsgAddBlameVote\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.observer.MsgAddBlockHeader\"\n },\n \"expiration\": null\n }\n ]\n },\n \"bank\": {\n \"params\": {\n \"send_enabled\": [],\n \"default_send_enabled\": true\n },\n \"balances\": [\n {\n \"address\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"coins\": [\n {\n \"denom\": \"azeta\",\n \"amount\": \"4200000000000000000000000\"\n }\n ]\n },\n {\n \"address\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"coins\": [\n {\n \"denom\": \"azeta\",\n \"amount\": \"1000000000000000000000\"\n }\n ]\n },\n {\n \"address\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"coins\": [\n {\n \"denom\": \"azeta\",\n \"amount\": \"4200000000000000000000000\"\n }\n ]\n },\n {\n \"address\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"coins\": [\n {\n \"denom\": \"azeta\",\n \"amount\": \"1000000000000000000000\"\n }\n ]\n }\n ],\n \"supply\": [\n {\n \"denom\": \"azeta\",\n \"amount\": \"8402000000000000000000000\"\n }\n ],\n \"denom_metadata\": []\n },\n \"crisis\": {\n \"constant_fee\": {\n \"denom\": \"azeta\",\n \"amount\": \"1000\"\n }\n },\n \"crosschain\": {\n \"outTxTrackerList\": [],\n \"inTxHashToCctxList\": [],\n \"in_tx_tracker_list\": [],\n \"zeta_accounting\": {\n \"aborted_zeta_amount\": \"0\"\n }\n },\n \"distribution\": {\n \"params\": {\n \"community_tax\": \"0.020000000000000000\",\n \"base_proposer_reward\": \"0.010000000000000000\",\n \"bonus_proposer_reward\": \"0.040000000000000000\",\n \"withdraw_addr_enabled\": true\n },\n \"fee_pool\": {\n \"community_pool\": []\n },\n \"delegator_withdraw_infos\": [],\n \"previous_proposer\": \"\",\n \"outstanding_rewards\": [],\n \"validator_accumulated_commissions\": [],\n \"validator_historical_rewards\": [],\n \"validator_current_rewards\": [],\n \"delegator_starting_infos\": [],\n \"validator_slash_events\": []\n },\n \"emissions\": {\n \"params\": {\n \"max_bond_factor\": \"1.25\",\n \"min_bond_factor\": \"0.75\",\n \"avg_block_time\": \"6.00\",\n \"target_bond_ratio\": \"00.67\",\n \"validator_emission_percentage\": \"00.50\",\n \"observer_emission_percentage\": \"00.25\",\n \"tss_signer_emission_percentage\": \"00.25\",\n \"duration_factor_constant\": \"0.001877876953694702\",\n \"observer_slash_amount\": \"0\"\n },\n \"withdrawableEmissions\": []\n },\n \"evidence\": {\n \"evidence\": []\n },\n \"evm\": {\n \"accounts\": [],\n \"params\": {\n \"evm_denom\": \"azeta\",\n \"enable_create\": true,\n \"enable_call\": true,\n \"extra_eips\": [],\n \"chain_config\": {\n \"homestead_block\": \"0\",\n \"dao_fork_block\": \"0\",\n \"dao_fork_support\": true,\n \"eip150_block\": \"0\",\n \"eip150_hash\": \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n \"eip155_block\": \"0\",\n \"eip158_block\": \"0\",\n \"byzantium_block\": \"0\",\n \"constantinople_block\": \"0\",\n \"petersburg_block\": \"0\",\n \"istanbul_block\": \"0\",\n \"muir_glacier_block\": \"0\",\n \"berlin_block\": \"0\",\n \"london_block\": \"0\",\n \"arrow_glacier_block\": \"0\",\n \"gray_glacier_block\": \"0\",\n \"merge_netsplit_block\": \"0\",\n \"shanghai_block\": \"0\",\n \"cancun_block\": \"0\"\n },\n \"allow_unprotected_txs\": false\n }\n },\n \"feemarket\": {\n \"params\": {\n \"no_base_fee\": false,\n \"base_fee_change_denominator\": 8,\n \"elasticity_multiplier\": 2,\n \"enable_height\": \"0\",\n \"base_fee\": \"1000000000\",\n \"min_gas_price\": \"0.000000000000000000\",\n \"min_gas_multiplier\": \"0.500000000000000000\"\n },\n \"block_gas\": \"0\"\n },\n \"fungible\": {\n \"params\": {},\n \"foreignCoinsList\": [],\n \"systemContract\": null\n },\n \"genutil\": {\n \"gen_txs\": [\n {\n \"body\": {\n \"messages\": [\n {\n \"@type\": \"/cosmos.staking.v1beta1.MsgCreateValidator\",\n \"description\": {\n \"moniker\": \"Zetanode-Localnet\",\n \"identity\": \"\",\n \"website\": \"\",\n \"security_contact\": \"\",\n \"details\": \"\"\n },\n \"commission\": {\n \"rate\": \"0.100000000000000000\",\n \"max_rate\": \"0.200000000000000000\",\n \"max_change_rate\": \"0.010000000000000000\"\n },\n \"min_self_delegation\": \"1\",\n \"delegator_address\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"validator_address\": \"zetavaloper13c7p3xrhd6q2rx3h235jpt8pjdwvacyw7tkass\",\n \"pubkey\": {\n \"@type\": \"/cosmos.crypto.ed25519.PubKey\",\n \"key\": \"sBSs5r1vQn1idTp4uRTbdUK0jjmEscI3pn88LUXI4CQ=\"\n },\n \"value\": {\n \"denom\": \"azeta\",\n \"amount\": \"1000000000000000000000\"\n }\n }\n ],\n \"memo\": \"1db4f4185e68c1c17d508294de2592616dad37a5@192.168.2.12:26656\",\n \"timeout_height\": \"0\",\n \"extension_options\": [],\n \"non_critical_extension_options\": []\n },\n \"auth_info\": {\n \"signer_infos\": [\n {\n \"public_key\": {\n \"@type\": \"/cosmos.crypto.secp256k1.PubKey\",\n \"key\": \"A05F6QuFVpb/5KrIPvlHr209ZsD22gW0omhLSXWAtQrh\"\n },\n \"mode_info\": {\n \"single\": {\n \"mode\": \"SIGN_MODE_DIRECT\"\n }\n },\n \"sequence\": \"0\"\n }\n ],\n \"fee\": {\n \"amount\": [],\n \"gas_limit\": \"200000\",\n \"payer\": \"\",\n \"granter\": \"\"\n },\n \"tip\": null\n },\n \"signatures\": [\n \"y5YROwZmV0jcgv5BgRJCDE+Kq5OsX8+88or1ogekPLBw3ecPt8GsCeEbPQ24JONLzNwQEIUDNYTeSQnXnCfzyg==\"\n ]\n }\n ]\n },\n \"gov\": {\n \"starting_proposal_id\": \"1\",\n \"deposits\": [],\n \"votes\": [],\n \"proposals\": [],\n \"deposit_params\": {\n \"min_deposit\": [\n {\n \"denom\": \"azeta\",\n \"amount\": \"10000000\"\n }\n ],\n \"max_deposit_period\": \"172800s\"\n },\n \"voting_params\": {\n \"voting_period\": \"10s\"\n },\n \"tally_params\": {\n \"quorum\": \"0.334000000000000000\",\n \"threshold\": \"0.500000000000000000\",\n \"veto_threshold\": \"0.334000000000000000\"\n }\n },\n \"group\": {\n \"group_seq\": \"0\",\n \"groups\": [],\n \"group_members\": [],\n \"group_policy_seq\": \"0\",\n \"group_policies\": [],\n \"proposal_seq\": \"0\",\n \"proposals\": [],\n \"votes\": []\n },\n \"mint\": {\n \"params\": {\n \"mint_denom\": \"azeta\"\n }\n },\n \"observer\": {\n \"observers\": {\n \"observer_list\": [\n \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\"\n ]\n },\n \"nodeAccountList\": [\n {\n \"operator\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"granteeAddress\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"granteePubkey\": {\n \"secp256k1\": \"zetapub1addwnpepqtlu7fykuh875xjckz4mn4x0mzc25rrqk5qne7mrwxqmatgllv3nx6lrkdp\"\n },\n \"nodeStatus\": 4\n },\n {\n \"operator\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"granteeAddress\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"granteePubkey\": {\n \"secp256k1\": \"zetapub1addwnpepqwy5pmg39regpq0gkggxehmfm8hwmxxw94sch7qzh4smava0szs07kk5045\"\n },\n \"nodeStatus\": 4\n }\n ],\n \"crosschain_flags\": {\n \"isInboundEnabled\": true,\n \"isOutboundEnabled\": true\n },\n \"params\": {\n \"observer_params\": [\n {\n \"chain\": {\n \"chain_name\": 2,\n \"chain_id\": 101\n },\n \"ballot_threshold\": \"0.660000000000000000\",\n \"min_observer_delegation\": \"1000000000000000000000.000000000000000000\",\n \"is_supported\": true\n },\n {\n \"chain\": {\n \"chain_name\": 15,\n \"chain_id\": 18444\n },\n \"ballot_threshold\": \"0.660000000000000000\",\n \"min_observer_delegation\": \"1000000000000000000000.000000000000000000\",\n \"is_supported\": true\n },\n {\n \"chain\": {\n \"chain_name\": 14,\n \"chain_id\": 1337\n },\n \"ballot_threshold\": \"0.660000000000000000\",\n \"min_observer_delegation\": \"1000000000000000000000.000000000000000000\",\n \"is_supported\": true\n }\n ],\n \"admin_policy\": [\n {\n \"address\": \"zeta1afk9zr2hn2jsac63h4hm60vl9z3e5u69gndzf7c99cqge3vzwjzsxn0x73\"\n },\n {\n \"policy_type\": 1,\n \"address\": \"zeta1afk9zr2hn2jsac63h4hm60vl9z3e5u69gndzf7c99cqge3vzwjzsxn0x73\"\n }\n ],\n \"ballot_maturity_blocks\": 100\n },\n \"keygen\": {\n \"status\": 1,\n \"granteePubkeys\": [\n \"zetapub1addwnpepqtlu7fykuh875xjckz4mn4x0mzc25rrqk5qne7mrwxqmatgllv3nx6lrkdp\",\n \"zetapub1addwnpepqwy5pmg39regpq0gkggxehmfm8hwmxxw94sch7qzh4smava0szs07kk5045\"\n ]\n },\n \"chain_params_list\": {},\n \"tss\": {\n \"tss_pubkey\": \"zetapub1addwnpepq28c57cvcs0a2htsem5zxr6qnlvq9mzhmm76z3jncsnzz32rclangr2g35p\",\n \"tss_participant_list\": [\n \"zetapub1addwnpepqtlu7fykuh875xjckz4mn4x0mzc25rrqk5qne7mrwxqmatgllv3nx6lrkdp\",\n \"zetapub1addwnpepqwy5pmg39regpq0gkggxehmfm8hwmxxw94sch7qzh4smava0szs07kk5045\"\n ],\n \"operator_address_list\": [\n \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\"\n ]\n },\n \"tss_history\": [],\n \"tss_fund_migrators\": [],\n \"blame_list\": [],\n \"pending_nonces\": [],\n \"chain_nonces\": [],\n \"nonce_to_cctx\": []\n },\n \"params\": null,\n \"slashing\": {\n \"params\": {\n \"signed_blocks_window\": \"100\",\n \"min_signed_per_window\": \"0.500000000000000000\",\n \"downtime_jail_duration\": \"600s\",\n \"slash_fraction_double_sign\": \"0.050000000000000000\",\n \"slash_fraction_downtime\": \"0.010000000000000000\"\n },\n \"signing_infos\": [],\n \"missed_blocks\": []\n },\n \"staking\": {\n \"params\": {\n \"unbonding_time\": \"1814400s\",\n \"max_validators\": 100,\n \"max_entries\": 7,\n \"historical_entries\": 10000,\n \"bond_denom\": \"azeta\",\n \"min_commission_rate\": \"0.000000000000000000\"\n },\n \"last_total_power\": \"0\",\n \"last_validator_powers\": [],\n \"validators\": [],\n \"delegations\": [],\n \"unbonding_delegations\": [],\n \"redelegations\": [],\n \"exported\": false\n },\n \"upgrade\": {},\n \"vesting\": {}\n }\n}") + jsonBlob := []byte("{\n \"genesis_time\": \"2024-04-12T05:07:56.004517Z\",\n \"chain_id\": \"localnet_101-1\",\n \"initial_height\": \"1\",\n \"consensus_params\": {\n \"block\": {\n \"max_bytes\": \"22020096\",\n \"max_gas\": \"10000000\",\n \"time_iota_ms\": \"1000\"\n },\n \"evidence\": {\n \"max_age_num_blocks\": \"100000\",\n \"max_age_duration\": \"172800000000000\",\n \"max_bytes\": \"1048576\"\n },\n \"validator\": {\n \"pub_key_types\": [\n \"ed25519\"\n ]\n },\n \"version\": {}\n },\n \"app_hash\": \"\",\n \"app_state\": {\n \"auth\": {\n \"params\": {\n \"max_memo_characters\": \"256\",\n \"tx_sig_limit\": \"7\",\n \"tx_size_cost_per_byte\": \"10\",\n \"sig_verify_cost_ed25519\": \"590\",\n \"sig_verify_cost_secp256k1\": \"1000\"\n },\n \"accounts\": [\n {\n \"@type\": \"/ethermint.types.v1.EthAccount\",\n \"base_account\": {\n \"address\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"pub_key\": null,\n \"account_number\": \"0\",\n \"sequence\": \"0\"\n },\n \"code_hash\": \"0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470\"\n },\n {\n \"@type\": \"/ethermint.types.v1.EthAccount\",\n \"base_account\": {\n \"address\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"pub_key\": null,\n \"account_number\": \"0\",\n \"sequence\": \"0\"\n },\n \"code_hash\": \"0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470\"\n },\n {\n \"@type\": \"/ethermint.types.v1.EthAccount\",\n \"base_account\": {\n \"address\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"pub_key\": null,\n \"account_number\": \"0\",\n \"sequence\": \"0\"\n },\n \"code_hash\": \"0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470\"\n },\n {\n \"@type\": \"/ethermint.types.v1.EthAccount\",\n \"base_account\": {\n \"address\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"pub_key\": null,\n \"account_number\": \"0\",\n \"sequence\": \"0\"\n },\n \"code_hash\": \"0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470\"\n }\n ]\n },\n \"authority\": {\n \"policies\": {\n \"items\": [\n {\n \"policy_type\": \"groupEmergency\",\n \"address\": \"zeta1afk9zr2hn2jsac63h4hm60vl9z3e5u69gndzf7c99cqge3vzwjzsxn0x73\"\n },\n {\n \"policy_type\": \"groupOperational\",\n \"address\": \"zeta1afk9zr2hn2jsac63h4hm60vl9z3e5u69gndzf7c99cqge3vzwjzsxn0x73\"\n },\n {\n \"policy_type\": \"groupAdmin\",\n \"address\": \"zeta1afk9zr2hn2jsac63h4hm60vl9z3e5u69gndzf7c99cqge3vzwjzsxn0x73\"\n }\n ]\n }\n },\n \"authz\": {\n \"authorization\": [\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgGasPriceVoter\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgVoteOnObservedInboundTx\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgVoteOnObservedOutboundTx\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgCreateTSSVoter\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgAddToOutTxTracker\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.observer.MsgAddBlameVote\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"grantee\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.observer.MsgAddBlockHeader\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgGasPriceVoter\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgVoteOnObservedInboundTx\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgVoteOnObservedOutboundTx\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgCreateTSSVoter\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.crosschain.MsgAddToOutTxTracker\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.observer.MsgAddBlameVote\"\n },\n \"expiration\": null\n },\n {\n \"granter\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"grantee\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"authorization\": {\n \"@type\": \"/cosmos.authz.v1beta1.GenericAuthorization\",\n \"msg\": \"/zetachain.zetacore.observer.MsgAddBlockHeader\"\n },\n \"expiration\": null\n }\n ]\n },\n \"bank\": {\n \"params\": {\n \"send_enabled\": [],\n \"default_send_enabled\": true\n },\n \"balances\": [\n {\n \"address\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"coins\": [\n {\n \"denom\": \"azeta\",\n \"amount\": \"4200000000000000000000000\"\n }\n ]\n },\n {\n \"address\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"coins\": [\n {\n \"denom\": \"azeta\",\n \"amount\": \"1000000000000000000000\"\n }\n ]\n },\n {\n \"address\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"coins\": [\n {\n \"denom\": \"azeta\",\n \"amount\": \"4200000000000000000000000\"\n }\n ]\n },\n {\n \"address\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"coins\": [\n {\n \"denom\": \"azeta\",\n \"amount\": \"1000000000000000000000\"\n }\n ]\n }\n ],\n \"supply\": [\n {\n \"denom\": \"azeta\",\n \"amount\": \"8402000000000000000000000\"\n }\n ],\n \"denom_metadata\": []\n },\n \"crisis\": {\n \"constant_fee\": {\n \"denom\": \"azeta\",\n \"amount\": \"1000\"\n }\n },\n \"crosschain\": {\n \"outTxTrackerList\": [],\n \"inTxHashToCctxList\": [],\n \"in_tx_tracker_list\": [],\n \"zeta_accounting\": {\n \"aborted_zeta_amount\": \"0\"\n }\n },\n \"distribution\": {\n \"params\": {\n \"community_tax\": \"0.020000000000000000\",\n \"base_proposer_reward\": \"0.010000000000000000\",\n \"bonus_proposer_reward\": \"0.040000000000000000\",\n \"withdraw_addr_enabled\": true\n },\n \"fee_pool\": {\n \"community_pool\": []\n },\n \"delegator_withdraw_infos\": [],\n \"previous_proposer\": \"\",\n \"outstanding_rewards\": [],\n \"validator_accumulated_commissions\": [],\n \"validator_historical_rewards\": [],\n \"validator_current_rewards\": [],\n \"delegator_starting_infos\": [],\n \"validator_slash_events\": []\n },\n \"emissions\": {\n \"params\": {\n \"max_bond_factor\": \"1.25\",\n \"min_bond_factor\": \"0.75\",\n \"avg_block_time\": \"6.00\",\n \"target_bond_ratio\": \"00.67\",\n \"validator_emission_percentage\": \"00.50\",\n \"observer_emission_percentage\": \"00.25\",\n \"tss_signer_emission_percentage\": \"00.25\",\n \"duration_factor_constant\": \"0.001877876953694702\",\n \"observer_slash_amount\": \"0\"\n },\n \"withdrawableEmissions\": []\n },\n \"evidence\": {\n \"evidence\": []\n },\n \"evm\": {\n \"accounts\": [],\n \"params\": {\n \"evm_denom\": \"azeta\",\n \"enable_create\": true,\n \"enable_call\": true,\n \"extra_eips\": [],\n \"chain_config\": {\n \"homestead_block\": \"0\",\n \"dao_fork_block\": \"0\",\n \"dao_fork_support\": true,\n \"eip150_block\": \"0\",\n \"eip150_hash\": \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n \"eip155_block\": \"0\",\n \"eip158_block\": \"0\",\n \"byzantium_block\": \"0\",\n \"constantinople_block\": \"0\",\n \"petersburg_block\": \"0\",\n \"istanbul_block\": \"0\",\n \"muir_glacier_block\": \"0\",\n \"berlin_block\": \"0\",\n \"london_block\": \"0\",\n \"arrow_glacier_block\": \"0\",\n \"gray_glacier_block\": \"0\",\n \"merge_netsplit_block\": \"0\",\n \"shanghai_block\": \"0\",\n \"cancun_block\": \"0\"\n },\n \"allow_unprotected_txs\": false\n }\n },\n \"feemarket\": {\n \"params\": {\n \"no_base_fee\": false,\n \"base_fee_change_denominator\": 8,\n \"elasticity_multiplier\": 2,\n \"enable_height\": \"0\",\n \"base_fee\": \"1000000000\",\n \"min_gas_price\": \"0.000000000000000000\",\n \"min_gas_multiplier\": \"0.500000000000000000\"\n },\n \"block_gas\": \"0\"\n },\n \"fungible\": {\n \"params\": {},\n \"foreignCoinsList\": [],\n \"systemContract\": null\n },\n \"genutil\": {\n \"gen_txs\": [\n {\n \"body\": {\n \"messages\": [\n {\n \"@type\": \"/cosmos.staking.v1beta1.MsgCreateValidator\",\n \"description\": {\n \"moniker\": \"Zetanode-Localnet\",\n \"identity\": \"\",\n \"website\": \"\",\n \"security_contact\": \"\",\n \"details\": \"\"\n },\n \"commission\": {\n \"rate\": \"0.100000000000000000\",\n \"max_rate\": \"0.200000000000000000\",\n \"max_change_rate\": \"0.010000000000000000\"\n },\n \"min_self_delegation\": \"1\",\n \"delegator_address\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"validator_address\": \"zetavaloper13c7p3xrhd6q2rx3h235jpt8pjdwvacyw7tkass\",\n \"pubkey\": {\n \"@type\": \"/cosmos.crypto.ed25519.PubKey\",\n \"key\": \"sBSs5r1vQn1idTp4uRTbdUK0jjmEscI3pn88LUXI4CQ=\"\n },\n \"value\": {\n \"denom\": \"azeta\",\n \"amount\": \"1000000000000000000000\"\n }\n }\n ],\n \"memo\": \"1db4f4185e68c1c17d508294de2592616dad37a5@192.168.2.12:26656\",\n \"timeout_height\": \"0\",\n \"extension_options\": [],\n \"non_critical_extension_options\": []\n },\n \"auth_info\": {\n \"signer_infos\": [\n {\n \"public_key\": {\n \"@type\": \"/cosmos.crypto.secp256k1.PubKey\",\n \"key\": \"A05F6QuFVpb/5KrIPvlHr209ZsD22gW0omhLSXWAtQrh\"\n },\n \"mode_info\": {\n \"single\": {\n \"mode\": \"SIGN_MODE_DIRECT\"\n }\n },\n \"sequence\": \"0\"\n }\n ],\n \"fee\": {\n \"amount\": [],\n \"gas_limit\": \"200000\",\n \"payer\": \"\",\n \"granter\": \"\"\n },\n \"tip\": null\n },\n \"signatures\": [\n \"y5YROwZmV0jcgv5BgRJCDE+Kq5OsX8+88or1ogekPLBw3ecPt8GsCeEbPQ24JONLzNwQEIUDNYTeSQnXnCfzyg==\"\n ]\n }\n ]\n },\n \"gov\": {\n \"starting_proposal_id\": \"1\",\n \"deposits\": [],\n \"votes\": [],\n \"proposals\": [],\n \"deposit_params\": {\n \"min_deposit\": [\n {\n \"denom\": \"azeta\",\n \"amount\": \"10000000\"\n }\n ],\n \"max_deposit_period\": \"172800s\"\n },\n \"voting_params\": {\n \"voting_period\": \"10s\"\n },\n \"tally_params\": {\n \"quorum\": \"0.334000000000000000\",\n \"threshold\": \"0.500000000000000000\",\n \"veto_threshold\": \"0.334000000000000000\"\n }\n },\n \"group\": {\n \"group_seq\": \"0\",\n \"groups\": [],\n \"group_members\": [],\n \"group_policy_seq\": \"0\",\n \"group_policies\": [],\n \"proposal_seq\": \"0\",\n \"proposals\": [],\n \"votes\": []\n },\n \"mint\": {\n \"params\": {\n \"mint_denom\": \"azeta\"\n }\n },\n \"observer\": {\n \"observers\": {\n \"observer_list\": [\n \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\"\n ]\n },\n \"nodeAccountList\": [\n {\n \"operator\": \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"granteeAddress\": \"zeta10up34mvwjhjd9xkq56fwsf0k75vtg287uav69n\",\n \"granteePubkey\": {\n \"secp256k1\": \"zetapub1addwnpepqtlu7fykuh875xjckz4mn4x0mzc25rrqk5qne7mrwxqmatgllv3nx6lrkdp\"\n },\n \"nodeStatus\": 4\n },\n {\n \"operator\": \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\",\n \"granteeAddress\": \"zeta1unzpyll3tmutf0r8sqpxpnj46vtdr59mw8qepx\",\n \"granteePubkey\": {\n \"secp256k1\": \"zetapub1addwnpepqwy5pmg39regpq0gkggxehmfm8hwmxxw94sch7qzh4smava0szs07kk5045\"\n },\n \"nodeStatus\": 4\n }\n ],\n \"crosschain_flags\": {\n \"isInboundEnabled\": true,\n \"isOutboundEnabled\": true\n },\n \"keygen\": {\n \"status\": 1,\n \"granteePubkeys\": [\n \"zetapub1addwnpepqtlu7fykuh875xjckz4mn4x0mzc25rrqk5qne7mrwxqmatgllv3nx6lrkdp\",\n \"zetapub1addwnpepqwy5pmg39regpq0gkggxehmfm8hwmxxw94sch7qzh4smava0szs07kk5045\"\n ]\n },\n \"chain_params_list\": {},\n \"tss\": {\n \"tss_pubkey\": \"zetapub1addwnpepq28c57cvcs0a2htsem5zxr6qnlvq9mzhmm76z3jncsnzz32rclangr2g35p\",\n \"tss_participant_list\": [\n \"zetapub1addwnpepqtlu7fykuh875xjckz4mn4x0mzc25rrqk5qne7mrwxqmatgllv3nx6lrkdp\",\n \"zetapub1addwnpepqwy5pmg39regpq0gkggxehmfm8hwmxxw94sch7qzh4smava0szs07kk5045\"\n ],\n \"operator_address_list\": [\n \"zeta13c7p3xrhd6q2rx3h235jpt8pjdwvacyw6twpax\",\n \"zeta1f203dypqg5jh9hqfx0gfkmmnkdfuat3jr45ep2\"\n ]\n },\n \"tss_history\": [],\n \"tss_fund_migrators\": [],\n \"blame_list\": [],\n \"pending_nonces\": [],\n \"chain_nonces\": [],\n \"nonce_to_cctx\": []\n },\n \"params\": null,\n \"slashing\": {\n \"params\": {\n \"signed_blocks_window\": \"100\",\n \"min_signed_per_window\": \"0.500000000000000000\",\n \"downtime_jail_duration\": \"600s\",\n \"slash_fraction_double_sign\": \"0.050000000000000000\",\n \"slash_fraction_downtime\": \"0.010000000000000000\"\n },\n \"signing_infos\": [],\n \"missed_blocks\": []\n },\n \"staking\": {\n \"params\": {\n \"unbonding_time\": \"1814400s\",\n \"max_validators\": 100,\n \"max_entries\": 7,\n \"historical_entries\": 10000,\n \"bond_denom\": \"azeta\",\n \"min_commission_rate\": \"0.000000000000000000\"\n },\n \"last_total_power\": \"0\",\n \"last_validator_powers\": [],\n \"validators\": [],\n \"delegations\": [],\n \"unbonding_delegations\": [],\n \"redelegations\": [],\n \"exported\": false\n },\n \"upgrade\": {},\n \"vesting\": {}\n }\n }") genDoc, err := types.GenesisDocFromJSON(jsonBlob) require.NoError(t, err) return genDoc From 2c6386a68613b554f1379c0de06731b1bc1f7678 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 15:48:39 +0200 Subject: [PATCH 19/40] add some logs to proto gen script --- scripts/protoc-gen-go.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/protoc-gen-go.sh b/scripts/protoc-gen-go.sh index a646bc6615..7e113826cf 100644 --- a/scripts/protoc-gen-go.sh +++ b/scripts/protoc-gen-go.sh @@ -3,9 +3,13 @@ set -eo pipefail echo "Generating gogo proto code" +echo "$PWD" +echo */ cd proto +echo "$PWD" proto_dirs=$(find . -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) for dir in $proto_dirs; do + echo $dir for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do if grep "option go_package" $file &> /dev/null ; then buf generate --template buf.gen.gogo.yaml $file @@ -14,6 +18,8 @@ for dir in $proto_dirs; do done cd .. +echo "$PWD" +echo */ # Move proto files to the right places. cp -r github.com/zeta-chain/zetacore/* ./ From ec3b62a050d78639d3e630b7687be855c014672d Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 15:54:52 +0200 Subject: [PATCH 20/40] permissions --- scripts/protoc-gen-go.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/protoc-gen-go.sh diff --git a/scripts/protoc-gen-go.sh b/scripts/protoc-gen-go.sh old mode 100644 new mode 100755 From 7df4c55fbe8cdccc4b94c64dfa726a37f094b41e Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 15:59:23 +0200 Subject: [PATCH 21/40] add more logs --- scripts/protoc-gen-go.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/protoc-gen-go.sh b/scripts/protoc-gen-go.sh index 7e113826cf..8658f33166 100755 --- a/scripts/protoc-gen-go.sh +++ b/scripts/protoc-gen-go.sh @@ -16,7 +16,7 @@ for dir in $proto_dirs; do fi done done - +echo */ cd .. echo "$PWD" echo */ From bc7b729d4ba1d5d69874d16fb9356a99ad94d91e Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 16:12:53 +0200 Subject: [PATCH 22/40] test --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fc71c7c22b..73c175abbf 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ BUILDTIME := $(shell date -u +"%Y%m%d.%H%M%S" ) DOCKER ?= docker DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf GOFLAGS:="" +REPOSITORY_ROOT := $(dir $(abspath $(MAKEFILE_LIST))) ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=zetacore \ -X github.com/cosmos/cosmos-sdk/version.ServerName=zetacored \ @@ -151,7 +152,7 @@ typescript: protoVer=0.13.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) -protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) +protoImage=$(DOCKER) run --rm -v $(REPOSITORY_ROOT):/workspace --workdir /workspace $(protoImageName) proto-gen: @echo "Generating Protobuf files" From d7101fb723dc3a6c15dc07f4a658a9f6d0cd9f97 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 16:30:00 +0200 Subject: [PATCH 23/40] test --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 73c175abbf..fec644d447 100644 --- a/Makefile +++ b/Makefile @@ -152,7 +152,7 @@ typescript: protoVer=0.13.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) -protoImage=$(DOCKER) run --rm -v $(REPOSITORY_ROOT):/workspace --workdir /workspace $(protoImageName) +protoImage=$(DOCKER) run --rm -v $(GITHUB_WORKSPACE):/workspace --workdir /workspace $(protoImageName) proto-gen: @echo "Generating Protobuf files" From baa7644777df8f73e4c7bd064756054a66d69eb6 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 16:32:04 +0200 Subject: [PATCH 24/40] test --- .github/workflows/generate-files.yml | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate-files.yml b/.github/workflows/generate-files.yml index 3e1d9561d9..032a44e818 100644 --- a/.github/workflows/generate-files.yml +++ b/.github/workflows/generate-files.yml @@ -18,6 +18,8 @@ jobs: echo "$HOME/go/bin" >> $GITHUB_PATH - name: Generate Go code, docs and specs + env: + TEST_ENV: ${{ github.workspace }} run: make generate - name: Check for changes diff --git a/Makefile b/Makefile index fec644d447..eb7791ad49 100644 --- a/Makefile +++ b/Makefile @@ -152,7 +152,7 @@ typescript: protoVer=0.13.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) -protoImage=$(DOCKER) run --rm -v $(GITHUB_WORKSPACE):/workspace --workdir /workspace $(protoImageName) +protoImage=$(DOCKER) run --rm -v $(TEST_ENV):/workspace --workdir /workspace $(protoImageName) proto-gen: @echo "Generating Protobuf files" From cc6718fd95fd32ea8a73033e6b3e3d431bc3ed25 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 17:10:31 +0200 Subject: [PATCH 25/40] test --- .github/workflows/generate-files.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/generate-files.yml b/.github/workflows/generate-files.yml index 032a44e818..6a0d909489 100644 --- a/.github/workflows/generate-files.yml +++ b/.github/workflows/generate-files.yml @@ -18,6 +18,8 @@ jobs: echo "$HOME/go/bin" >> $GITHUB_PATH - name: Generate Go code, docs and specs + with: + context: . env: TEST_ENV: ${{ github.workspace }} run: make generate From 937421da4517f9ae84849b0efdc9504809dcfdc9 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 17:16:41 +0200 Subject: [PATCH 26/40] test --- .github/workflows/generate-files.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-files.yml b/.github/workflows/generate-files.yml index 6a0d909489..8f49f66108 100644 --- a/.github/workflows/generate-files.yml +++ b/.github/workflows/generate-files.yml @@ -12,14 +12,14 @@ jobs: uses: actions/checkout@v3 - uses: bufbuild/buf-setup-action@v1 + with: + context: . - name: Add protoc plugins to PATH run: | echo "$HOME/go/bin" >> $GITHUB_PATH - name: Generate Go code, docs and specs - with: - context: . env: TEST_ENV: ${{ github.workspace }} run: make generate From 40dd0622b635863dfad1aa21cb248d07c74f376a Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 17:19:43 +0200 Subject: [PATCH 27/40] test --- .github/workflows/generate-files.yml | 2 -- Makefile | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/generate-files.yml b/.github/workflows/generate-files.yml index 8f49f66108..032a44e818 100644 --- a/.github/workflows/generate-files.yml +++ b/.github/workflows/generate-files.yml @@ -12,8 +12,6 @@ jobs: uses: actions/checkout@v3 - uses: bufbuild/buf-setup-action@v1 - with: - context: . - name: Add protoc plugins to PATH run: | diff --git a/Makefile b/Makefile index eb7791ad49..1b49ad197d 100644 --- a/Makefile +++ b/Makefile @@ -152,7 +152,7 @@ typescript: protoVer=0.13.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) -protoImage=$(DOCKER) run --rm -v $(TEST_ENV):/workspace --workdir /workspace $(protoImageName) +protoImage=$(DOCKER) run --rm -v $(PWD):/workspace --workdir /workspace $(protoImageName) proto-gen: @echo "Generating Protobuf files" From 53f3251bdc3366ef0bfdb658f8142470dd757491 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 17:21:15 +0200 Subject: [PATCH 28/40] test --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1b49ad197d..fec644d447 100644 --- a/Makefile +++ b/Makefile @@ -152,7 +152,7 @@ typescript: protoVer=0.13.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) -protoImage=$(DOCKER) run --rm -v $(PWD):/workspace --workdir /workspace $(protoImageName) +protoImage=$(DOCKER) run --rm -v $(GITHUB_WORKSPACE):/workspace --workdir /workspace $(protoImageName) proto-gen: @echo "Generating Protobuf files" From 79dfa553e37c9672568e368a7fbd020267ef2d71 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 17:26:01 +0200 Subject: [PATCH 29/40] test --- scripts/protoc-gen-go.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/protoc-gen-go.sh b/scripts/protoc-gen-go.sh index 8658f33166..1f26edb35b 100755 --- a/scripts/protoc-gen-go.sh +++ b/scripts/protoc-gen-go.sh @@ -17,7 +17,9 @@ for dir in $proto_dirs; do done done echo */ -cd .. +cd zetachain +echo "*/" +cd ../.. echo "$PWD" echo */ From 59f18ea4bafd8474b977d0b7dee92c0e97aedd57 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 17:28:08 +0200 Subject: [PATCH 30/40] test --- scripts/protoc-gen-go.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/protoc-gen-go.sh b/scripts/protoc-gen-go.sh index 1f26edb35b..9c14fbcf06 100755 --- a/scripts/protoc-gen-go.sh +++ b/scripts/protoc-gen-go.sh @@ -18,7 +18,7 @@ for dir in $proto_dirs; do done echo */ cd zetachain -echo "*/" +echo */ cd ../.. echo "$PWD" echo */ From 6b8055c111d44ed499b755d8cba521b0b0a0907b Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 17:31:49 +0200 Subject: [PATCH 31/40] test --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fec644d447..6b5f989e98 100644 --- a/Makefile +++ b/Makefile @@ -152,11 +152,12 @@ typescript: protoVer=0.13.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) -protoImage=$(DOCKER) run --rm -v $(GITHUB_WORKSPACE):/workspace --workdir /workspace $(protoImageName) +protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) +protoImageCi=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace --user root $(protoImageName) proto-gen: @echo "Generating Protobuf files" - @$(protoImage) sh ./scripts/protoc-gen-go.sh + @$(protoImageCi) sh ./scripts/protoc-gen-go.sh proto-format: @$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \; From 0375c804c3e14276948a18a058e099c89b335e22 Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 17:35:36 +0200 Subject: [PATCH 32/40] cleanup --- .github/workflows/generate-files.yml | 2 +- Makefile | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate-files.yml b/.github/workflows/generate-files.yml index 032a44e818..f041e74a52 100644 --- a/.github/workflows/generate-files.yml +++ b/.github/workflows/generate-files.yml @@ -20,7 +20,7 @@ jobs: - name: Generate Go code, docs and specs env: TEST_ENV: ${{ github.workspace }} - run: make generate + run: make generate-ci - name: Check for changes run: | diff --git a/Makefile b/Makefile index 6b5f989e98..224e6d4652 100644 --- a/Makefile +++ b/Makefile @@ -156,6 +156,10 @@ protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(pro protoImageCi=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace --user root $(protoImageName) proto-gen: + @echo "Generating Protobuf files" + @$(protoImage) sh ./scripts/protoc-gen-go.sh + +proto-gen-ci: @echo "Generating Protobuf files" @$(protoImageCi) sh ./scripts/protoc-gen-go.sh @@ -185,6 +189,9 @@ mocks: generate: proto-gen openapi specs typescript docs-zetacored .PHONY: generate +generate-ci: proto-gen-ci openapi specs typescript docs-zetacored +.PHONY: generate-ci + ############################################################################### ### E2E tests and localnet ### ############################################################################### From aa4351930ddb465729e6ce36e3971fe3df2315dc Mon Sep 17 00:00:00 2001 From: skosito Date: Tue, 30 Apr 2024 17:40:29 +0200 Subject: [PATCH 33/40] cleanup --- scripts/protoc-gen-go.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/scripts/protoc-gen-go.sh b/scripts/protoc-gen-go.sh index 9c14fbcf06..a646bc6615 100755 --- a/scripts/protoc-gen-go.sh +++ b/scripts/protoc-gen-go.sh @@ -3,25 +3,17 @@ set -eo pipefail echo "Generating gogo proto code" -echo "$PWD" -echo */ cd proto -echo "$PWD" proto_dirs=$(find . -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) for dir in $proto_dirs; do - echo $dir for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do if grep "option go_package" $file &> /dev/null ; then buf generate --template buf.gen.gogo.yaml $file fi done done -echo */ -cd zetachain -echo */ -cd ../.. -echo "$PWD" -echo */ + +cd .. # Move proto files to the right places. cp -r github.com/zeta-chain/zetacore/* ./ From c611885e5817bb361ca206af31f61305b1d1207c Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Tue, 30 Apr 2024 13:17:26 -0700 Subject: [PATCH 34/40] always format proto before generation --- Makefile | 11 +++++----- pkg/chains/chains.pb.go | 3 ++- .../zetacore/crosschain/genesis.proto | 2 +- .../zetachain/zetacore/crosschain/query.proto | 22 +++++++++---------- .../crosschain/rate_limiter_flags.proto | 2 +- proto/zetachain/zetacore/crosschain/tx.proto | 8 ++++--- .../zetachain/zetacore/emissions/query.proto | 7 +++--- proto/zetachain/zetacore/emissions/tx.proto | 2 +- .../zetacore/pkg/chains/chains.proto | 17 ++++++++------ 9 files changed, 40 insertions(+), 34 deletions(-) diff --git a/Makefile b/Makefile index 224e6d4652..a91f7a815e 100644 --- a/Makefile +++ b/Makefile @@ -155,17 +155,18 @@ protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) protoImageCi=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace --user root $(protoImageName) -proto-gen: +proto-format: + @echo "Formatting Protobuf files" + @$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \; + +proto-gen: proto-format @echo "Generating Protobuf files" @$(protoImage) sh ./scripts/protoc-gen-go.sh -proto-gen-ci: +proto-gen-ci: proto-format @echo "Generating Protobuf files" @$(protoImageCi) sh ./scripts/protoc-gen-go.sh -proto-format: - @$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \; - openapi: @echo "--> Generating OpenAPI specs" @bash ./scripts/protoc-gen-openapi.sh diff --git a/pkg/chains/chains.pb.go b/pkg/chains/chains.pb.go index 08d95e899b..1b20a86f5f 100644 --- a/pkg/chains/chains.pb.go +++ b/pkg/chains/chains.pb.go @@ -189,7 +189,8 @@ func (NetworkType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_236b85e7bff6130d, []int{3} } -// Vm represents the virtual machine type of the chain to support smart contracts +// Vm represents the virtual machine type of the chain to support smart +// contracts type Vm int32 const ( diff --git a/proto/zetachain/zetacore/crosschain/genesis.proto b/proto/zetachain/zetacore/crosschain/genesis.proto index bb5e3237ea..dc0be2ba7b 100644 --- a/proto/zetachain/zetacore/crosschain/genesis.proto +++ b/proto/zetachain/zetacore/crosschain/genesis.proto @@ -23,5 +23,5 @@ message GenesisState { repeated InTxTracker in_tx_tracker_list = 11 [ (gogoproto.nullable) = false ]; ZetaAccounting zeta_accounting = 12 [ (gogoproto.nullable) = false ]; repeated string FinalizedInbounds = 16; - RateLimiterFlags rate_limiter_flags = 17 [(gogoproto.nullable) = false]; + RateLimiterFlags rate_limiter_flags = 17 [ (gogoproto.nullable) = false ]; } diff --git a/proto/zetachain/zetacore/crosschain/query.proto b/proto/zetachain/zetacore/crosschain/query.proto index 076a3aecdf..3620199d84 100644 --- a/proto/zetachain/zetacore/crosschain/query.proto +++ b/proto/zetachain/zetacore/crosschain/query.proto @@ -114,13 +114,16 @@ service Query { } // Queries a list of pending cctxs. - rpc ListPendingCctx(QueryListPendingCctxRequest) returns (QueryListPendingCctxResponse) { + rpc ListPendingCctx(QueryListPendingCctxRequest) + returns (QueryListPendingCctxResponse) { option (google.api.http).get = "/zeta-chain/crosschain/pendingCctx"; } // Queries a list of pending cctxs within rate limit. - rpc ListPendingCctxWithinRateLimit(QueryListPendingCctxWithinRateLimitRequest) returns (QueryListPendingCctxWithinRateLimitResponse) { - option (google.api.http).get = "/zeta-chain/crosschain/pendingCctxWithinRateLimit"; + rpc ListPendingCctxWithinRateLimit(QueryListPendingCctxWithinRateLimitRequest) + returns (QueryListPendingCctxWithinRateLimitResponse) { + option (google.api.http).get = + "/zeta-chain/crosschain/pendingCctxWithinRateLimit"; } rpc ZetaAccounting(QueryZetaAccountingRequest) @@ -135,7 +138,8 @@ service Query { } // Queries the rate limiter flags - rpc RateLimiterFlags(QueryRateLimiterFlagsRequest) returns (QueryRateLimiterFlagsResponse) { + rpc RateLimiterFlags(QueryRateLimiterFlagsRequest) + returns (QueryRateLimiterFlagsResponse) { option (google.api.http).get = "/zeta-chain/crosschain/rateLimiterFlags"; } } @@ -266,9 +270,7 @@ message QueryListPendingCctxResponse { uint64 totalPending = 2; } -message QueryListPendingCctxWithinRateLimitRequest { - uint32 limit = 1; -} +message QueryListPendingCctxWithinRateLimitRequest { uint32 limit = 1; } message QueryListPendingCctxWithinRateLimitResponse { repeated CrossChainTx cross_chain_tx = 1; @@ -293,12 +295,10 @@ message QueryConvertGasToZetaResponse { message QueryMessagePassingProtocolFeeRequest {} -message QueryMessagePassingProtocolFeeResponse { - string feeInZeta = 1; -} +message QueryMessagePassingProtocolFeeResponse { string feeInZeta = 1; } message QueryRateLimiterFlagsRequest {} message QueryRateLimiterFlagsResponse { - RateLimiterFlags rateLimiterFlags = 1 [(gogoproto.nullable) = false]; + RateLimiterFlags rateLimiterFlags = 1 [ (gogoproto.nullable) = false ]; } diff --git a/proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto b/proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto index 0e8185713b..f1402cb138 100644 --- a/proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto +++ b/proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto @@ -18,7 +18,7 @@ message RateLimiterFlags { ]; // conversion in azeta per token - repeated Conversion conversions = 4 [(gogoproto.nullable) = false]; + repeated Conversion conversions = 4 [ (gogoproto.nullable) = false ]; } message Conversion { diff --git a/proto/zetachain/zetacore/crosschain/tx.proto b/proto/zetachain/zetacore/crosschain/tx.proto index c8d37e6b86..0bd9aa7e07 100644 --- a/proto/zetachain/zetacore/crosschain/tx.proto +++ b/proto/zetachain/zetacore/crosschain/tx.proto @@ -29,9 +29,11 @@ service Msg { rpc MigrateTssFunds(MsgMigrateTssFunds) returns (MsgMigrateTssFundsResponse); rpc AbortStuckCCTX(MsgAbortStuckCCTX) returns (MsgAbortStuckCCTXResponse); - rpc RefundAbortedCCTX(MsgRefundAbortedCCTX) returns (MsgRefundAbortedCCTXResponse); + rpc RefundAbortedCCTX(MsgRefundAbortedCCTX) + returns (MsgRefundAbortedCCTXResponse); - rpc UpdateRateLimiterFlags(MsgUpdateRateLimiterFlags) returns (MsgUpdateRateLimiterFlagsResponse); + rpc UpdateRateLimiterFlags(MsgUpdateRateLimiterFlags) + returns (MsgUpdateRateLimiterFlagsResponse); } message MsgMigrateTssFunds { @@ -178,7 +180,7 @@ message MsgRefundAbortedCCTXResponse {} message MsgUpdateRateLimiterFlags { string creator = 1; - RateLimiterFlags rate_limiter_flags = 2 [(gogoproto.nullable) = false]; + RateLimiterFlags rate_limiter_flags = 2 [ (gogoproto.nullable) = false ]; } message MsgUpdateRateLimiterFlagsResponse {} diff --git a/proto/zetachain/zetacore/emissions/query.proto b/proto/zetachain/zetacore/emissions/query.proto index 5b5ee3a181..64d1a3ccca 100644 --- a/proto/zetachain/zetacore/emissions/query.proto +++ b/proto/zetachain/zetacore/emissions/query.proto @@ -10,8 +10,8 @@ option go_package = "github.com/zeta-chain/zetacore/x/emissions/types"; // Query defines the gRPC querier service. service Query { - // Parameters queries the parameters of the module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { + // Parameters queries the parameters of the module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { option (google.api.http).get = "/zeta-chain/emissions/params"; } // Queries a list of ListBalances items. @@ -43,10 +43,9 @@ message QueryParamsRequest {} // QueryParamsResponse is response type for the Query/Params RPC method. message QueryParamsResponse { // params holds all the parameters of this module. - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; } - message QueryListPoolAddressesRequest {} message QueryListPoolAddressesResponse { diff --git a/proto/zetachain/zetacore/emissions/tx.proto b/proto/zetachain/zetacore/emissions/tx.proto index dfd967f45e..347be273c1 100644 --- a/proto/zetachain/zetacore/emissions/tx.proto +++ b/proto/zetachain/zetacore/emissions/tx.proto @@ -25,7 +25,7 @@ message MsgWithdrawEmissionResponse {} message MsgUpdateParams { string authority = 1; - Params params = 2 [(gogoproto.nullable) = false]; + Params params = 2 [ (gogoproto.nullable) = false ]; } message MsgUpdateParamsResponse {} \ No newline at end of file diff --git a/proto/zetachain/zetacore/pkg/chains/chains.proto b/proto/zetachain/zetacore/pkg/chains/chains.proto index 02fbd3525b..74523c7fba 100644 --- a/proto/zetachain/zetacore/pkg/chains/chains.proto +++ b/proto/zetachain/zetacore/pkg/chains/chains.proto @@ -54,7 +54,8 @@ enum NetworkType { devnet = 3; } -// Vm represents the virtual machine type of the chain to support smart contracts +// Vm represents the virtual machine type of the chain to support smart +// contracts enum Vm { option (gogoproto.goproto_enum_stringer) = true; no_vm = 0; @@ -72,12 +73,14 @@ enum Consensus { // Chain represents a blockchain network with its unique chain ID // ChainName is the name of the chain // ChainId is the unique identifier of the chain -// Network is the network type of the chain , this can be ZETA, ETH, BSC, BTC, POLYGON -// NetworkType is the network type of the chain, this can be MAINNET, TESTNET, DEVNET, PRIVNET -// Vm is the virtual machine type of the chain to support smart contracts, this can be EVM, NO_VM -// Consensus is the consensus algorithm used by the chain, this can be Tendermint, Ethereum, Bitcoin -// IsExternal is a boolean value to determine if the chain is external to Zeta -// IsHeaderSupported is a boolean value to determine if the chain supports headers +// Network is the network type of the chain , this can be ZETA, ETH, BSC, +// BTC, POLYGON NetworkType is the network type of the chain, this can be +// MAINNET, TESTNET, DEVNET, PRIVNET Vm is the virtual machine type of the +// chain to support smart contracts, this can be EVM, NO_VM Consensus is the +// consensus algorithm used by the chain, this can be Tendermint, Ethereum, +// Bitcoin IsExternal is a boolean value to determine if the chain is +// external to Zeta IsHeaderSupported is a boolean value to determine if the +// chain supports headers message Chain { ChainName chain_name = 1; From 4d9dc4dae3d8667a8f784c0c23c6204b256fe43b Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Tue, 30 Apr 2024 13:32:02 -0700 Subject: [PATCH 35/40] generate explicit format deps --- Makefile | 13 +++++++------ docs/openapi/openapi.swagger.yaml | 4 +++- .../zetachain/zetacore/pkg/chains/chains_pb.d.ts | 3 ++- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index a91f7a815e..a23d7dc8ae 100644 --- a/Makefile +++ b/Makefile @@ -145,11 +145,6 @@ gosec: ### Generation commands ### ############################################################################### -typescript: - @echo "--> Generating TypeScript bindings" - @bash ./scripts/protoc-gen-typescript.sh -.PHONY: typescript - protoVer=0.13.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) @@ -158,6 +153,12 @@ protoImageCi=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace --u proto-format: @echo "Formatting Protobuf files" @$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \; +.PHONY: proto-format + +typescript: proto-format + @echo "--> Generating TypeScript bindings" + @bash ./scripts/protoc-gen-typescript.sh +.PHONY: typescript proto-gen: proto-format @echo "Generating Protobuf files" @@ -167,7 +168,7 @@ proto-gen-ci: proto-format @echo "Generating Protobuf files" @$(protoImageCi) sh ./scripts/protoc-gen-go.sh -openapi: +openapi: proto-format @echo "--> Generating OpenAPI specs" @bash ./scripts/protoc-gen-openapi.sh .PHONY: openapi diff --git a/docs/openapi/openapi.swagger.yaml b/docs/openapi/openapi.swagger.yaml index 630bbaa947..e22cfc59f2 100644 --- a/docs/openapi/openapi.swagger.yaml +++ b/docs/openapi/openapi.swagger.yaml @@ -56416,7 +56416,9 @@ definitions: - no_vm - evm default: no_vm - title: Vm represents the virtual machine type of the chain to support smart contracts + title: |- + Vm represents the virtual machine type of the chain to support smart + contracts coinCoinType: type: string enum: diff --git a/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts b/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts index 59ec7023e4..922c6ddae1 100644 --- a/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts +++ b/typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts @@ -180,7 +180,8 @@ export declare enum NetworkType { } /** - * Vm represents the virtual machine type of the chain to support smart contracts + * Vm represents the virtual machine type of the chain to support smart + * contracts * * @generated from enum zetachain.zetacore.pkg.chains.Vm */ From 5871e0f9f8ea4538fb7f3d4de9ec2d09094a1141 Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Tue, 30 Apr 2024 13:53:56 -0700 Subject: [PATCH 36/40] set docker username to fix permissions in CI --- .github/workflows/generate-files.yml | 2 +- Makefile | 14 +++----------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/generate-files.yml b/.github/workflows/generate-files.yml index f041e74a52..032a44e818 100644 --- a/.github/workflows/generate-files.yml +++ b/.github/workflows/generate-files.yml @@ -20,7 +20,7 @@ jobs: - name: Generate Go code, docs and specs env: TEST_ENV: ${{ github.workspace }} - run: make generate-ci + run: make generate - name: Check for changes run: | diff --git a/Makefile b/Makefile index a23d7dc8ae..de52b34048 100644 --- a/Makefile +++ b/Makefile @@ -147,11 +147,10 @@ gosec: protoVer=0.13.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) -protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) -protoImageCi=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace --user root $(protoImageName) +protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace --user $(shell id -u):$(shell id -g) $(protoImageName) proto-format: - @echo "Formatting Protobuf files" + @echo "--> Formatting Protobuf files" @$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \; .PHONY: proto-format @@ -161,13 +160,9 @@ typescript: proto-format .PHONY: typescript proto-gen: proto-format - @echo "Generating Protobuf files" + @echo "--> Generating Protobuf files" @$(protoImage) sh ./scripts/protoc-gen-go.sh -proto-gen-ci: proto-format - @echo "Generating Protobuf files" - @$(protoImageCi) sh ./scripts/protoc-gen-go.sh - openapi: proto-format @echo "--> Generating OpenAPI specs" @bash ./scripts/protoc-gen-openapi.sh @@ -191,9 +186,6 @@ mocks: generate: proto-gen openapi specs typescript docs-zetacored .PHONY: generate -generate-ci: proto-gen-ci openapi specs typescript docs-zetacored -.PHONY: generate-ci - ############################################################################### ### E2E tests and localnet ### ############################################################################### From 7e5c0dc6634cff2cfa5cf810d8d9162abc8697fd Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Tue, 30 Apr 2024 13:54:41 -0700 Subject: [PATCH 37/40] dummy proto change to test formatting --- proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto b/proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto index f1402cb138..0e8185713b 100644 --- a/proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto +++ b/proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto @@ -18,7 +18,7 @@ message RateLimiterFlags { ]; // conversion in azeta per token - repeated Conversion conversions = 4 [ (gogoproto.nullable) = false ]; + repeated Conversion conversions = 4 [(gogoproto.nullable) = false]; } message Conversion { From 70f8c5070a687df704ed3b444c94a01ec9f992e3 Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Tue, 30 Apr 2024 14:11:01 -0700 Subject: [PATCH 38/40] set buf cache directory --- scripts/protoc-gen-go.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/protoc-gen-go.sh b/scripts/protoc-gen-go.sh index a646bc6615..819f5769db 100755 --- a/scripts/protoc-gen-go.sh +++ b/scripts/protoc-gen-go.sh @@ -2,6 +2,8 @@ set -eo pipefail +export BUF_CACHE_DIR="/tmp/buf-cache" + echo "Generating gogo proto code" cd proto proto_dirs=$(find . -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) From a430d7b8476c635ec0a45be06dcb4446b52088cb Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Tue, 30 Apr 2024 14:42:00 -0700 Subject: [PATCH 39/40] Revert "dummy proto change to test formatting" This reverts commit 7e5c0dc6634cff2cfa5cf810d8d9162abc8697fd. --- proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto b/proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto index 0e8185713b..f1402cb138 100644 --- a/proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto +++ b/proto/zetachain/zetacore/crosschain/rate_limiter_flags.proto @@ -18,7 +18,7 @@ message RateLimiterFlags { ]; // conversion in azeta per token - repeated Conversion conversions = 4 [(gogoproto.nullable) = false]; + repeated Conversion conversions = 4 [ (gogoproto.nullable) = false ]; } message Conversion { From bddee34152e2c3c52123492e4c8cc110ceb82aa9 Mon Sep 17 00:00:00 2001 From: skosito Date: Thu, 2 May 2024 08:33:44 +0100 Subject: [PATCH 40/40] refactor: update go-tss (#2094) * Remove unused params from fungible module * Make generate * Changelog * Lint fix * Lint fix * Migrate emissions params to store * Migrate observer params to its own store * Make generate * Changelog * Lint fixes * Add observer slash amount param to migrate script * Fix tests * Lint fixes * Fixes * Lint fixes * Fixes * Tests * Small cleanup * Try upgrade with simapp change * Remove not needed params store mock * fix compile errors * proto changes * Fixes * Upgrade handler changes * Fixes * Fix e2e test * Fixes after merge * Add found flag to get params method * Move ballot maturity blocks param to emissions module * Remove params from observer module * Fix build * Regen proto * Fixes for e2e tests * Fix some unit tests * Fix some lint errors * Fix more unit tests * PR comments * Proto paths fixes * Linters * make typescript * proto format * make specs * make docs * make gen * lint * Fix some unit tests * Fix cli test suites * Fix lints * Tmp comment unit test * lint * Use latest ethermint change and fix test * PR comment * PR comments * Fix one more import * Cleanup * Lint fix * Bump zetachain ethermint * Remove cometbft replace * go mod tidy * bump ethermint * Revert replace * Bump ethermint * Proto files updates after merge * Make generate * Bump ethermint * Fix PR comments * Formatting * Mention observer params removal in breaking changes in changelog * bump ethermint * Remove tendermint dep after go-tss upgrade * go mod tidy * bump go-tss * changelog * changelog --- changelog.md | 3 ++ cmd/zetaclientd/keygen_tss.go | 4 +-- cmd/zetaclientd/start.go | 2 +- go.mod | 6 +--- go.sum | 52 ++--------------------------------- zetaclient/tss/tss_signer.go | 2 +- 6 files changed, 10 insertions(+), 59 deletions(-) diff --git a/changelog.md b/changelog.md index c87c91c33c..624405bb83 100644 --- a/changelog.md +++ b/changelog.md @@ -9,6 +9,9 @@ * [2032](https://github.com/zeta-chain/node/pull/2032) - improve some general structure of the ZetaClient codebase * [2100](https://github.com/zeta-chain/node/pull/2100) - cosmos v0.47 upgrade +### Refactor +* [2094](https://github.com/zeta-chain/node/pull/2094) - upgrade go-tss to use cosmos v0.47 + ## Unreleased ### Breaking Changes diff --git a/cmd/zetaclientd/keygen_tss.go b/cmd/zetaclientd/keygen_tss.go index cc33f17cbd..7aa6a9061b 100644 --- a/cmd/zetaclientd/keygen_tss.go +++ b/cmd/zetaclientd/keygen_tss.go @@ -10,10 +10,10 @@ import ( appcontext "github.com/zeta-chain/zetacore/zetaclient/app_context" mc "github.com/zeta-chain/zetacore/zetaclient/tss" "github.com/zeta-chain/zetacore/zetaclient/zetabridge" + "golang.org/x/crypto/sha3" + "github.com/cometbft/cometbft/crypto/secp256k1" "github.com/rs/zerolog" - "github.com/tendermint/crypto/sha3" - "github.com/tendermint/tendermint/crypto/secp256k1" tsscommon "github.com/zeta-chain/go-tss/common" "github.com/zeta-chain/go-tss/keygen" "github.com/zeta-chain/go-tss/p2p" diff --git a/cmd/zetaclientd/start.go b/cmd/zetaclientd/start.go index de1633ad6f..b125b26451 100644 --- a/cmd/zetaclientd/start.go +++ b/cmd/zetaclientd/start.go @@ -12,13 +12,13 @@ import ( "syscall" "time" + "github.com/cometbft/cometbft/crypto/secp256k1" ethcommon "github.com/ethereum/go-ethereum/common" "github.com/libp2p/go-libp2p/core" maddr "github.com/multiformats/go-multiaddr" "github.com/pkg/errors" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "github.com/tendermint/tendermint/crypto/secp256k1" "github.com/zeta-chain/go-tss/p2p" "github.com/zeta-chain/zetacore/pkg/authz" "github.com/zeta-chain/zetacore/pkg/constant" diff --git a/go.mod b/go.mod index 1a995cbe22..810d071ef7 100644 --- a/go.mod +++ b/go.mod @@ -39,8 +39,7 @@ require ( github.com/frumioj/crypto11 v1.2.5-0.20210823151709-946ce662cc0e github.com/pkg/errors v0.9.1 github.com/rakyll/statik v0.1.7 - github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 - github.com/zeta-chain/go-tss v0.1.1-0.20240208222330-f3be0d4a0d98 + github.com/zeta-chain/go-tss v0.1.1-0.20240430111318-1785e48eb127 github.com/zeta-chain/keystone/keys v0.0.0-20231105174229-903bc9405da2 github.com/zeta-chain/protocol-contracts v1.0.2-athens3.0.20240418181724-c222fd3ae1f5 google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 @@ -64,7 +63,6 @@ require ( github.com/cometbft/cometbft-db v0.8.0 github.com/nanmu42/etherscan-api v1.10.0 github.com/onrik/ethrpc v1.2.0 - github.com/tendermint/tendermint v0.34.14 go.nhat.io/grpcmock v0.25.0 ) @@ -308,7 +306,6 @@ require ( github.com/status-im/keycard-go v0.2.0 // indirect github.com/stretchr/objx v0.5.1 // indirect github.com/subosito/gotenv v1.4.2 // indirect - github.com/tendermint/btcd v0.1.1 // indirect github.com/tendermint/go-amino v0.16.0 // indirect github.com/tidwall/btree v1.6.0 // indirect github.com/tklauser/go-sysconf v0.3.10 // indirect @@ -318,7 +315,6 @@ require ( github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 // indirect github.com/zondax/hid v0.9.2 // indirect github.com/zondax/ledger-go v0.14.3 // indirect - gitlab.com/thorchain/binance-sdk v1.2.3-0.20210117202539-d569b6b9ba5d // indirect go.opencensus.io v0.24.0 // indirect go.uber.org/atomic v1.11.0 // indirect go.uber.org/multierr v1.11.0 // indirect diff --git a/go.sum b/go.sum index 0d9494363b..01def45cfe 100644 --- a/go.sum +++ b/go.sum @@ -231,9 +231,7 @@ github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1/go.mod h1:fBF9PQNqB8scdgpZ3 github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0/go.mod h1:tPaiy8S5bQ+S5sOiDlINkp7+Ef339+Nz5L5XO+cnOHo= github.com/Azure/azure-storage-blob-go v0.7.0/go.mod h1:f9YQKtsG1nMisotuTPpO0tjNuEjKRYAcJU8/ydDI++4= -github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= -github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= github.com/Azure/go-autorest/autorest/adal v0.8.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= @@ -262,11 +260,8 @@ github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXY github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY= github.com/Joker/jade v1.0.1-0.20190614124447-d475f43051e7/go.mod h1:6E6s8o2AE4KhCrqr6GRJjdC/gNfTdxkIXvuGZZda2VM= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= -github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= -github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.6.0 h1:slsWYD/zyx7lCXoZVlvQrj0hPTM1HI4+v1sIda2yDvg= github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw= -github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/Shopify/goreferrer v0.0.0-20181106222321-ec9c9a553398/go.mod h1:a1uqRtAwp2Xwc6WNPJEufxJ7fx3npB4UV/JOLmbu5I0= @@ -282,7 +277,6 @@ github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrd github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= github.com/Workiva/go-datastructures v1.0.52/go.mod h1:Z+F2Rca0qCsVYDS8z7bAGm8f3UkzuWYS/oBZz5a7VVA= github.com/Zilliqa/gozilliqa-sdk v1.2.1-0.20201201074141-dd0ecada1be6/go.mod h1:eSYp2T6f0apnuW8TzhV3f6Aff2SE8Dwio++U4ha4yEM= -github.com/adlio/schema v1.1.13/go.mod h1:L5Z7tw+7lRK1Fnpi/LT/ooCP1elkXn0krMWBQHUhEDE= github.com/adlio/schema v1.3.3 h1:oBJn8I02PyTB466pZO1UZEn1TV5XLlifBSyMrmHl/1I= github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= @@ -342,8 +336,6 @@ github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 h1:41iFGWnSlI2 github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/binance-chain/edwards25519 v0.0.0-20200305024217-f36fc4b53d43 h1:Vkf7rtHx8uHx8gDfkQaCdVfc+gfrF9v6sR6xJy7RXNg= github.com/binance-chain/edwards25519 v0.0.0-20200305024217-f36fc4b53d43/go.mod h1:TnVqVdGEK8b6erOMkcyYGWzCQMw7HEMCOw3BgFYCFWs= -github.com/binance-chain/ledger-cosmos-go v0.9.9-binance.1/go.mod h1:FI6WAujuiBpoSavYreux2zTKyrUkngXDlRJczxsDK5M= -github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= @@ -398,7 +390,6 @@ github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghf github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/logex v1.2.1 h1:XHDu3E6q+gdHgsdTPH6ImJMIp436vR6MPtH8gP05QzM= @@ -410,7 +401,6 @@ github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMn github.com/chzyer/test v1.0.0 h1:p3BQDXSxOhOG0P9z6/hGnII4LGiEPOYBhs8asl/fC04= github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8= github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX2Qs= -github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= @@ -458,8 +448,6 @@ github.com/consensys/gnark-crypto v0.5.3/go.mod h1:hOdPlWQV1gDLp7faZVeg8Y0iEPFaO github.com/containerd/cgroups v0.0.0-20201119153540-4cbc285b3327/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE= github.com/containerd/cgroups v1.1.0 h1:v8rEWFl6EoqHB+swVNjVoCJE8o3jX7e8nqBGPLaDFBM= github.com/containerd/cgroups v1.1.0/go.mod h1:6ppBcbh/NOOUU+dMKrykgaBnK9lCIBxHqJDGwsa1mIw= -github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= -github.com/containerd/continuity v0.0.0-20190827140505-75bee3e2ccb6/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= @@ -519,7 +507,6 @@ github.com/creachadair/taskgroup v0.4.2/go.mod h1:qiXUOSrbwAY3u0JPGTzObbE3yf9hcX github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= -github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U= github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0= github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0= @@ -568,7 +555,6 @@ github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/ github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/docker/docker v1.4.2-0.20180625184442-8e610b2b55bf/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= -github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= @@ -647,7 +633,6 @@ github.com/francoispqt/gojay v1.2.13 h1:d2m3sFjloqoIUQU3TsHBgj6qg/BVGlTBeHDUmyJn github.com/francoispqt/gojay v1.2.13/go.mod h1:ehT5mTG4ua4581f1++1WLG0vPdaA9HaiDsoyrBGkyDY= github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= -github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= github.com/frumioj/crypto11 v1.2.5-0.20210823151709-946ce662cc0e h1:HRagc2sBsKLDvVVXQMaCEU8ueRFAl3txucwykhQPbGc= github.com/frumioj/crypto11 v1.2.5-0.20210823151709-946ce662cc0e/go.mod h1:/1u7qgWwAI7wja4BdNu5Vd5gqMtmtoiACHlhl46uY1E= @@ -898,7 +883,6 @@ github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/ad github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gotestyourself/gotestyourself v2.2.0+incompatible/go.mod h1:zZKM6oeNM8k+FRljX1mnzVYeS8wiGgQyvST1/GafPbY= github.com/graph-gophers/graphql-go v0.0.0-20191115155744-f33e81362277/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= github.com/graph-gophers/graphql-go v1.3.0/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= @@ -1137,7 +1121,6 @@ github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2 github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.10.7 h1:p7ZhMD+KsSRozJr34udlUrhboJwWAgCg34+/ZZNvZZw= github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/libp2p/go-buffer-pool v0.0.2/go.mod h1:MvaB6xw5vOrDl8rYZGLFdKAuk/hRoRZd1Vi32+RXyFM= @@ -1270,7 +1253,6 @@ github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyua github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/pointerstructure v1.2.0 h1:O+i9nHnXS3l/9Wu7r4NrEdwA2VFTicjUEN1uBnDo34A= github.com/mitchellh/pointerstructure v1.2.0/go.mod h1:BRAsLI5zgXmw97Lf6s25bs8ohIXc3tViBH44KcwB2g4= -github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -1282,7 +1264,6 @@ github.com/moul/http2curl v1.0.0/go.mod h1:8UbvGypXm98wA/IqH45anm5Y2Z6ep6O31QGOA github.com/mr-tron/base58 v1.1.2/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc= github.com/mr-tron/base58 v1.2.0 h1:T/HDJBh4ZCPbU39/+c3rRvE0uKBQlU27+QI8LJ4t64o= github.com/mr-tron/base58 v1.2.0/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc= -github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg= github.com/mtibben/percent v0.2.1 h1:5gssi8Nqo8QU/r2pynCm+hBQHpkB/uNK7BJCFogWdzs= github.com/mtibben/percent v0.2.1/go.mod h1:KG9uO+SZkUp+VkRHsCdYQV3XSZrrSpR3O9ibNBTZrns= @@ -1361,17 +1342,12 @@ github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7J github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.27.7 h1:fVih9JD6ogIiHUN6ePK7HJidyEDpWGVB5mzM7cWNXoU= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= -github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= -github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/image-spec v1.1.0-rc2 h1:2zx/Stx4Wc5pIPDvIxHXvXtQFW/7XWJGmnM7r3wg034= -github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04suvGRQFzWTD0= github.com/opencontainers/runc v1.1.3 h1:vIXrkId+0/J2Ymu2m7VjGvbSlAId9XNRPhn2p4b+d8w= github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 h1:3snG66yBm59tKhhSPQrQ/0bCrv1LQbKt40LnUPiUxdc= github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8= github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= @@ -1385,7 +1361,6 @@ github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJ github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= github.com/ory/dockertest v3.3.5+incompatible h1:iLLK6SQwIhcbrG783Dghaaa3WPzGc+4Emza6EbVUUGA= -github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs= github.com/otiai10/copy v1.6.0/go.mod h1:XWfuS3CrI0R6IE0FbgHsEazaXO8G0LpMp9o8tos0x4E= github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs= @@ -1535,7 +1510,6 @@ github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71e github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo= github.com/segmentio/fasthash v1.0.3/go.mod h1:waKX8l2N8yckOgmSsXJi7x1ZfdKZ4x7KRMzBtS3oedY= github.com/segmentio/kafka-go v0.1.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= github.com/segmentio/kafka-go v0.2.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= @@ -1570,11 +1544,9 @@ github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeV github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537/go.mod h1:QJTqeLYEDaXHZDBsXlPCDqdhQuJkuw4NOtaxYe3xii4= github.com/shurcooL/webdavfs v0.0.0-20170829043945-18c3829fa133/go.mod h1:hKmq5kWdCj2z2KEozexVbfEZIWiTjhE0+UjmZgPqehw= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/assertions v1.2.0 h1:42S6lae5dvLc7BrLu/0ugRtcFVjoJNMC/N3yZFZkDFs= @@ -1653,18 +1625,13 @@ github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8 github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/swaggest/assertjson v1.9.0 h1:dKu0BfJkIxv/xe//mkCrK5yZbs79jL7OVf9Ija7o2xQ= github.com/swaggest/assertjson v1.9.0/go.mod h1:b+ZKX2VRiUjxfUIal0HDN85W0nHPAYUbYH5WkkSsFsU= -github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07/go.mod h1:kDXzergiv9cbyO7IOYJZWg1U88JhDg3PB6klq9Hg2pA= github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c h1:g+WoO5jjkqGAzHWCjJB1zZfXPIAaDpzXIEJ0eS6B5Ok= github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c/go.mod h1:ahpPrc7HpcfEWDQRZEmnXMzHY03mLDYMCxeDzy46i+8= -github.com/tendermint/btcd v0.0.0-20180816174608-e5840949ff4f/go.mod h1:DC6/m53jtQzr/NFmMNEu0rxf18/ktVoVtMrnDD5pN+U= -github.com/tendermint/btcd v0.1.1 h1:0VcxPfflS2zZ3RiOAHkBiFUcPvbtRj5O7zHmcJWHV7s= github.com/tendermint/btcd v0.1.1/go.mod h1:DC6/m53jtQzr/NFmMNEu0rxf18/ktVoVtMrnDD5pN+U= -github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 h1:hqAk8riJvK4RMWx1aInLzndwxKalgi5rTqgfXxOxbEI= github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk= -github.com/tendermint/go-amino v0.14.1/go.mod h1:i/UKE5Uocn+argJJBb12qTZsCDBcAYMbR92AaJVmKso= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= github.com/tendermint/tendermint v0.34.0-rc4/go.mod h1:yotsojf2C1QBOw4dZrTcxbyxmPUrT4hNuOQWX9XUwB4= @@ -1673,8 +1640,6 @@ github.com/tendermint/tendermint v0.34.0/go.mod h1:Aj3PIipBFSNO21r+Lq3TtzQ+uKESx github.com/tendermint/tendermint v0.34.10/go.mod h1:aeHL7alPh4uTBIJQ8mgFEE8VwJLXI1VD3rVOmH2Mcy0= github.com/tendermint/tendermint v0.34.11/go.mod h1:aeHL7alPh4uTBIJQ8mgFEE8VwJLXI1VD3rVOmH2Mcy0= github.com/tendermint/tendermint v0.34.12/go.mod h1:aeHL7alPh4uTBIJQ8mgFEE8VwJLXI1VD3rVOmH2Mcy0= -github.com/tendermint/tendermint v0.34.14 h1:GCXmlS8Bqd2Ix3TQCpwYLUNHe+Y+QyJsm5YE+S/FkPo= -github.com/tendermint/tendermint v0.34.14/go.mod h1:FrwVm3TvsVicI9Z7FlucHV6Znfd5KBc/Lpp69cCwtk0= github.com/tendermint/tm-db v0.6.2/go.mod h1:GYtQ67SUvATOcoY8/+x6ylk8Qo02BQyLrAs+yAcLvGI= github.com/tendermint/tm-db v0.6.3/go.mod h1:lfA1dL9/Y/Y8wwyPp2NMLyn5P5Ptr/gvDFNWtrCWSf8= github.com/tendermint/tm-db v0.6.4/go.mod h1:dptYhIpJ2M5kUuenLr+Yyf3zQOv1SgBZcl8/BmWlMBw= @@ -1736,8 +1701,6 @@ github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+ github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio= github.com/viant/assertly v0.4.8/go.mod h1:aGifi++jvCrUaklKEKT0BU95igDNaqkvz+49uaYMPRU= github.com/viant/toolbox v0.24.0/go.mod h1:OxMCG57V0PXuIP2HNQrtJf2CjqdmbrOx5EkMILuUhzM= -github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= -github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= github.com/vmihailenco/msgpack/v5 v5.1.4/go.mod h1:C5gboKD0TJPqWDTVTtrQNfRbiBwHZGo8UTqP/9/XvLI= github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= @@ -1771,8 +1734,8 @@ github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1 github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/zeta-chain/ethermint v0.0.0-20240429123701-35f3f79bf83f h1:joafCsPgohPEn93VCbNXi9IAl6kNvKy8u+kv5amEvUk= github.com/zeta-chain/ethermint v0.0.0-20240429123701-35f3f79bf83f/go.mod h1:s1zA6OpXv3Tb5I0M6M6j5fo/AssaZL/pgkc7G0W2kN8= -github.com/zeta-chain/go-tss v0.1.1-0.20240208222330-f3be0d4a0d98 h1:GCSRgszQbAR7h/qK0YKjlm1mcnZOaGMbztRLaAfoOx0= -github.com/zeta-chain/go-tss v0.1.1-0.20240208222330-f3be0d4a0d98/go.mod h1:+lJfk/qqt+oxXeVuJV+PzpUoxftUfoTRf2eF3qlbyFI= +github.com/zeta-chain/go-tss v0.1.1-0.20240430111318-1785e48eb127 h1:AGQepvsMIVHAHPlplzNcSCyMoGBY1DfO4WHG/QHUSIU= +github.com/zeta-chain/go-tss v0.1.1-0.20240430111318-1785e48eb127/go.mod h1:bVpAoSlRYYCY/R34horVU3cheeHqhSVxygelc++emIU= github.com/zeta-chain/keystone/keys v0.0.0-20231105174229-903bc9405da2 h1:gd2uE0X+ZbdFJ8DubxNqLbOVlCB12EgWdzSNRAR82tM= github.com/zeta-chain/keystone/keys v0.0.0-20231105174229-903bc9405da2/go.mod h1:x7Bkwbzt2W2lQfjOirnff0Dj+tykdbTG1FMJPVPZsvE= github.com/zeta-chain/protocol-contracts v1.0.2-athens3.0.20240418181724-c222fd3ae1f5 h1:ljM7xka3WZvth9k1uYxrG3/FKQQTkR96FZlIjUKOoYw= @@ -1780,11 +1743,8 @@ github.com/zeta-chain/protocol-contracts v1.0.2-athens3.0.20240418181724-c222fd3 github.com/zondax/hid v0.9.0/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= github.com/zondax/hid v0.9.2 h1:WCJFnEDMiqGF64nlZz28E9qLVZ0KSJ7xpc5DLEyma2U= github.com/zondax/hid v0.9.2/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= -github.com/zondax/ledger-go v0.12.1/go.mod h1:KatxXrVDzgWwbssUWsF5+cOJHXPvzQ09YSlzGNuhOEo= github.com/zondax/ledger-go v0.14.3 h1:wEpJt2CEcBJ428md/5MgSLsXLBos98sBOyxNmCjfUCw= github.com/zondax/ledger-go v0.14.3/go.mod h1:IKKaoxupuB43g4NxeQmbLXv7T9AlQyie1UpHb342ycI= -gitlab.com/thorchain/binance-sdk v1.2.3-0.20210117202539-d569b6b9ba5d h1:GGPSI9gU22zW75m1YO7ZEMFtVEI5NgyK4g17CIXFjqI= -gitlab.com/thorchain/binance-sdk v1.2.3-0.20210117202539-d569b6b9ba5d/go.mod h1:SW01IZMpqlPNPdhHnn99qnJNvg8ll/agyyW7p85npwY= gitlab.com/thorchain/tss/tss-lib v0.1.5 h1:L9MD+E3B4lJmadso69lTIP6s2Iks24fS7Ancs62LTZo= gitlab.com/thorchain/tss/tss-lib v0.1.5/go.mod h1:pEM3W/1inIzmdQn9IY9pA0MkG1bTGKhsSivxizeyyt4= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= @@ -1963,7 +1923,6 @@ golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191002035440-2ec189313ef0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -1988,7 +1947,6 @@ golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwY golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210220033124-5f55cee0dc0d/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= @@ -1998,7 +1956,6 @@ golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210903162142-ad29c8ab022f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= @@ -2084,7 +2041,6 @@ golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190712062909-fae7ac547cb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2093,11 +2049,9 @@ golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2147,7 +2101,6 @@ golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210420205809-ac73e9fd8988/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -2160,7 +2113,6 @@ golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210903071746-97244b99971b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210909193231-528a39cd75f3/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= diff --git a/zetaclient/tss/tss_signer.go b/zetaclient/tss/tss_signer.go index 379d89c5f7..fccf9323a7 100644 --- a/zetaclient/tss/tss_signer.go +++ b/zetaclient/tss/tss_signer.go @@ -21,12 +21,12 @@ import ( "github.com/binance-chain/tss-lib/ecdsa/keygen" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcutil" + tmcrypto "github.com/cometbft/cometbft/crypto" ethcommon "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" gopeer "github.com/libp2p/go-libp2p/core/peer" "github.com/rs/zerolog" "github.com/rs/zerolog/log" - tmcrypto "github.com/tendermint/tendermint/crypto" thorcommon "github.com/zeta-chain/go-tss/common" "github.com/zeta-chain/go-tss/keysign" "github.com/zeta-chain/go-tss/p2p"