refactor(staking)!: remove historical info (#20845)
Co-authored-by: Facundo <facundomedica@gmail.com>
This commit is contained in:
@@ -162,7 +162,6 @@ func (c *Consensus[T]) Query(ctx context.Context, req *abciproto.QueryRequest) (
|
||||
// otherwise it is a KV store query
|
||||
if err == nil {
|
||||
res, err := c.app.Query(ctx, uint64(req.Height), protoMsg)
|
||||
|
||||
if err != nil {
|
||||
resp := queryResult(err)
|
||||
resp.Height = req.Height
|
||||
|
||||
@@ -20,8 +20,8 @@ import (
|
||||
|
||||
"cosmossdk.io/server/v2/cometbft/client/rpc"
|
||||
auth "cosmossdk.io/x/auth/client/cli"
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/cosmos/cosmos-sdk/types/query"
|
||||
|
||||
@@ -17,6 +17,7 @@ replace (
|
||||
cosmossdk.io/x/bank => ../../../x/bank
|
||||
cosmossdk.io/x/consensus => ../../../x/consensus
|
||||
cosmossdk.io/x/staking => ../../../x/staking
|
||||
cosmossdk.io/x/tx => ../../../x/tx
|
||||
github.com/cosmos/cosmos-sdk => ../../../
|
||||
)
|
||||
|
||||
|
||||
@@ -10,8 +10,6 @@ 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/math v1.3.0 h1:RC+jryuKeytIiictDslBP9i1fhkVm6ZDmZEoNP316zE=
|
||||
cosmossdk.io/math v1.3.0/go.mod h1:vnRTxewy+M7BtXBNFybkuhSH4WfedVAAnERHgVFhp3k=
|
||||
cosmossdk.io/x/tx v0.13.3 h1:Ha4mNaHmxBc6RMun9aKuqul8yHiL78EKJQ8g23Zf73g=
|
||||
cosmossdk.io/x/tx v0.13.3/go.mod h1:I8xaHv0rhUdIvIdptKIqzYy27+n2+zBVaxO6fscFhys=
|
||||
filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
|
||||
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
|
||||
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs=
|
||||
|
||||
Reference in New Issue
Block a user