feat!: add node status endpoint (#15597)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
This commit is contained in:
co-authored by
Aleksandr Bezobchuk
Facundo Medica
parent
fb0656620b
commit
9e4fbb6db1
@@ -6,11 +6,12 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
"github.com/cosmos/cosmos-sdk/server/config"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
)
|
||||
|
||||
func TestServiceServer_Config(t *testing.T) {
|
||||
svr := NewQueryServer(client.Context{})
|
||||
svr := NewQueryServer(client.Context{}, *config.DefaultConfig())
|
||||
ctx := sdk.Context{}.WithMinGasPrices(sdk.NewDecCoins(sdk.NewInt64DecCoin("stake", 15)))
|
||||
|
||||
resp, err := svr.Config(ctx, &ConfigRequest{})
|
||||
|
||||
Reference in New Issue
Block a user