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:
Marko
2023-04-13 13:42:52 +00:00
committed by GitHub
co-authored by Aleksandr Bezobchuk Facundo Medica
parent fb0656620b
commit 9e4fbb6db1
13 changed files with 2181 additions and 74 deletions
+2 -1
View File
@@ -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{})