Update Kava grpc client with consensus client (#1828)

* Add consensus client to kava grpc client

* Update kvtool to latest version
This version includes the v25 kava template
This commit is contained in:
Draco 2024-02-12 12:49:49 -05:00 committed by GitHub
parent ad03a75679
commit 5914f1db85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
authz "github.com/cosmos/cosmos-sdk/x/authz"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
consensustypes "github.com/cosmos/cosmos-sdk/x/consensus/types"
disttypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types"
govv1types "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
@ -58,6 +59,7 @@ type QueryClient struct {
Slashing slashingtypes.QueryClient
Staking stakingtypes.QueryClient
Upgrade upgradetypes.QueryClient
Consensus consensustypes.QueryClient
// 3rd party query clients
@ -106,6 +108,7 @@ func NewQueryClient(grpcEndpoint string) (*QueryClient, error) {
Slashing: slashingtypes.NewQueryClient(conn),
Staking: stakingtypes.NewQueryClient(conn),
Upgrade: upgradetypes.NewQueryClient(conn),
Consensus: consensustypes.NewQueryClient(conn),
Evm: evmtypes.NewQueryClient(conn),
Feemarket: feemarkettypes.NewQueryClient(conn),

View File

@ -46,6 +46,7 @@ func TestNewQueryClient_ValidClient(t *testing.T) {
require.NotNil(t, client.Slashing)
require.NotNil(t, client.Staking)
require.NotNil(t, client.Upgrade)
require.NotNil(t, client.Consensus)
// validate 3rd party clients
require.NotNil(t, client.Evm)

@ -1 +1 @@
Subproject commit 99214e8b5196b9ab16fa9902f956858c178921a5
Subproject commit 79bb25f47d20c10e70f0539c519240fba82b3302