refactor: bring cometbft back to v0.38.x family (#25285)

This commit is contained in:
Alex | Interchain Labs
2025-08-29 15:58:04 -04:00
committed by GitHub
parent a37940077e
commit 727faf0484
446 changed files with 15286 additions and 103152 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"fmt"
"strings"
"github.com/cometbft/cometbft/v2/mempool"
cmttypes "github.com/cometbft/cometbft/v2/types"
"github.com/cometbft/cometbft/mempool"
cmttypes "github.com/cometbft/cometbft/types"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"fmt"
"testing"
"github.com/cometbft/cometbft/v2/crypto/tmhash"
"github.com/cometbft/cometbft/v2/mempool"
"github.com/cometbft/cometbft/crypto/tmhash"
"github.com/cometbft/cometbft/mempool"
"github.com/stretchr/testify/require"
"github.com/cosmos/cosmos-sdk/client/flags"
+2 -2
View File
@@ -3,8 +3,8 @@ package client
import (
"context"
rpcclient "github.com/cometbft/cometbft/v2/rpc/client"
coretypes "github.com/cometbft/cometbft/v2/rpc/core/types"
rpcclient "github.com/cometbft/cometbft/rpc/client"
coretypes "github.com/cometbft/cometbft/rpc/core/types"
)
// CometRPC defines the interface of a CometBFT RPC client needed for
+2 -2
View File
@@ -3,8 +3,8 @@ package cmtservice
import (
"context"
cmtproto "github.com/cometbft/cometbft/api/cometbft/types/v2"
coretypes "github.com/cometbft/cometbft/v2/rpc/core/types"
cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
coretypes "github.com/cometbft/cometbft/rpc/core/types"
"github.com/cosmos/cosmos-sdk/client"
)
+115 -116
View File
@@ -6,8 +6,8 @@ package cmtservice
import (
context "context"
fmt "fmt"
v1 "github.com/cometbft/cometbft/api/cometbft/p2p/v1"
v2 "github.com/cometbft/cometbft/api/cometbft/types/v2"
p2p "github.com/cometbft/cometbft/proto/tendermint/p2p"
types "github.com/cometbft/cometbft/proto/tendermint/types"
_ "github.com/cosmos/cosmos-proto"
query "github.com/cosmos/cosmos-sdk/types/query"
_ "github.com/cosmos/cosmos-sdk/types/tx/amino"
@@ -38,7 +38,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method.
type GetValidatorSetByHeightRequest struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
// pagination defines a pagination for the request.
// pagination defines an pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
@@ -93,7 +93,7 @@ func (m *GetValidatorSetByHeightRequest) GetPagination() *query.PageRequest {
type GetValidatorSetByHeightResponse struct {
BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
Validators []*Validator `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"`
// pagination defines a pagination for the response.
// pagination defines an pagination for the response.
Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
@@ -153,7 +153,7 @@ func (m *GetValidatorSetByHeightResponse) GetPagination() *query.PageResponse {
// GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method.
type GetLatestValidatorSetRequest struct {
// pagination defines a pagination for the request.
// pagination defines an pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
@@ -201,7 +201,7 @@ func (m *GetLatestValidatorSetRequest) GetPagination() *query.PageRequest {
type GetLatestValidatorSetResponse struct {
BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
Validators []*Validator `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"`
// pagination defines a pagination for the response.
// pagination defines an pagination for the response.
Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
@@ -375,10 +375,10 @@ func (m *GetBlockByHeightRequest) GetHeight() int64 {
// GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method.
type GetBlockByHeightResponse struct {
BlockId *v2.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
BlockId *types.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
// Deprecated: please use `sdk_block` instead
Block *v2.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
SdkBlock *Block `protobuf:"bytes,3,opt,name=sdk_block,json=sdkBlock,proto3" json:"sdk_block,omitempty"`
Block *types.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
SdkBlock *Block `protobuf:"bytes,3,opt,name=sdk_block,json=sdkBlock,proto3" json:"sdk_block,omitempty"`
}
func (m *GetBlockByHeightResponse) Reset() { *m = GetBlockByHeightResponse{} }
@@ -414,14 +414,14 @@ func (m *GetBlockByHeightResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_GetBlockByHeightResponse proto.InternalMessageInfo
func (m *GetBlockByHeightResponse) GetBlockId() *v2.BlockID {
func (m *GetBlockByHeightResponse) GetBlockId() *types.BlockID {
if m != nil {
return m.BlockId
}
return nil
}
func (m *GetBlockByHeightResponse) GetBlock() *v2.Block {
func (m *GetBlockByHeightResponse) GetBlock() *types.Block {
if m != nil {
return m.Block
}
@@ -474,10 +474,10 @@ var xxx_messageInfo_GetLatestBlockRequest proto.InternalMessageInfo
// GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method.
type GetLatestBlockResponse struct {
BlockId *v2.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
BlockId *types.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
// Deprecated: please use `sdk_block` instead
Block *v2.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
SdkBlock *Block `protobuf:"bytes,3,opt,name=sdk_block,json=sdkBlock,proto3" json:"sdk_block,omitempty"`
Block *types.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
SdkBlock *Block `protobuf:"bytes,3,opt,name=sdk_block,json=sdkBlock,proto3" json:"sdk_block,omitempty"`
}
func (m *GetLatestBlockResponse) Reset() { *m = GetLatestBlockResponse{} }
@@ -513,14 +513,14 @@ func (m *GetLatestBlockResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_GetLatestBlockResponse proto.InternalMessageInfo
func (m *GetLatestBlockResponse) GetBlockId() *v2.BlockID {
func (m *GetLatestBlockResponse) GetBlockId() *types.BlockID {
if m != nil {
return m.BlockId
}
return nil
}
func (m *GetLatestBlockResponse) GetBlock() *v2.Block {
func (m *GetLatestBlockResponse) GetBlock() *types.Block {
if m != nil {
return m.Block
}
@@ -655,8 +655,8 @@ var xxx_messageInfo_GetNodeInfoRequest proto.InternalMessageInfo
// GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method.
type GetNodeInfoResponse struct {
DefaultNodeInfo *v1.DefaultNodeInfo `protobuf:"bytes,1,opt,name=default_node_info,json=defaultNodeInfo,proto3" json:"default_node_info,omitempty"`
ApplicationVersion *VersionInfo `protobuf:"bytes,2,opt,name=application_version,json=applicationVersion,proto3" json:"application_version,omitempty"`
DefaultNodeInfo *p2p.DefaultNodeInfo `protobuf:"bytes,1,opt,name=default_node_info,json=defaultNodeInfo,proto3" json:"default_node_info,omitempty"`
ApplicationVersion *VersionInfo `protobuf:"bytes,2,opt,name=application_version,json=applicationVersion,proto3" json:"application_version,omitempty"`
}
func (m *GetNodeInfoResponse) Reset() { *m = GetNodeInfoResponse{} }
@@ -692,7 +692,7 @@ func (m *GetNodeInfoResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_GetNodeInfoResponse proto.InternalMessageInfo
func (m *GetNodeInfoResponse) GetDefaultNodeInfo() *v1.DefaultNodeInfo {
func (m *GetNodeInfoResponse) GetDefaultNodeInfo() *p2p.DefaultNodeInfo {
if m != nil {
return m.DefaultNodeInfo
}
@@ -1191,98 +1191,97 @@ func init() {
}
var fileDescriptor_40c93fb3ef485c5d = []byte{
// 1443 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0x5f, 0x6f, 0x1b, 0xc5,
0x16, 0xcf, 0xda, 0x69, 0x6c, 0x1f, 0xf7, 0xde, 0x26, 0x93, 0xdc, 0xd6, 0xf5, 0x6d, 0xdd, 0x5c,
0x4b, 0xb7, 0x4d, 0x5b, 0xb2, 0x5b, 0x3b, 0x6d, 0xda, 0x87, 0x52, 0x94, 0x34, 0x25, 0x0d, 0xb4,
0x25, 0x6c, 0x10, 0x48, 0x08, 0x69, 0xb5, 0xf6, 0x8e, 0x37, 0xab, 0xd8, 0x3b, 0xd3, 0x9d, 0xb1,
0xc1, 0x42, 0x48, 0x88, 0x0f, 0x80, 0x90, 0xf8, 0x0a, 0x3c, 0xc0, 0x1b, 0x0f, 0x15, 0x3c, 0x51,
0x09, 0x9e, 0x2a, 0x9e, 0xaa, 0x22, 0xa1, 0xaa, 0x0f, 0x08, 0xb5, 0x48, 0x7c, 0x0d, 0x34, 0x7f,
0xd6, 0xde, 0x6d, 0x92, 0xda, 0xe9, 0x1b, 0xbc, 0x58, 0xb3, 0xe7, 0xef, 0xef, 0x77, 0xce, 0xcc,
0x99, 0x31, 0x9c, 0x6b, 0x12, 0xd6, 0x21, 0xcc, 0x6a, 0xb8, 0x0c, 0x5b, 0x1c, 0x87, 0x1e, 0x8e,
0x3a, 0x41, 0xc8, 0xad, 0x5e, 0xad, 0x81, 0xb9, 0x5b, 0xb3, 0xee, 0x76, 0x71, 0xd4, 0x37, 0x69,
0x44, 0x38, 0x41, 0x15, 0x65, 0x6b, 0x0a, 0x5b, 0x73, 0x68, 0x6b, 0x6a, 0xdb, 0xf2, 0x9c, 0x4f,
0x7c, 0x22, 0x4d, 0x2d, 0xb1, 0x52, 0x5e, 0xe5, 0x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, 0xf9, 0xd5, 0x97,
0xf4, 0xd6, 0x7c, 0xae, 0x4a, 0x3e, 0xcb, 0xe8, 0xe2, 0x28, 0x3e, 0xc3, 0xc7, 0x36, 0xe6, 0x83,
0xae, 0x3c, 0x31, 0xe4, 0x6b, 0x73, 0xaf, 0x7f, 0x52, 0xe8, 0xda, 0x18, 0xc0, 0x5e, 0xf0, 0x2f,
0xb0, 0xfc, 0xda, 0x4b, 0xfb, 0x6b, 0x6a, 0xd7, 0x24, 0xb5, 0x2b, 0x68, 0xf9, 0x60, 0xd4, 0x06,
0x1d, 0xfb, 0xde, 0x80, 0xc2, 0xe0, 0xca, 0x40, 0x17, 0x46, 0xc1, 0x79, 0xfe, 0x22, 0x2b, 0xd7,
0x0e, 0xe0, 0xa1, 0x21, 0xdf, 0xf8, 0x79, 0xd7, 0x05, 0xbc, 0x2c, 0x59, 0xbc, 0x82, 0xce, 0x8d,
0x62, 0xe1, 0x36, 0x9a, 0x81, 0x23, 0xff, 0xe5, 0xac, 0xde, 0x7e, 0xf0, 0xb4, 0x62, 0x3c, 0x7c,
0x5a, 0x31, 0x7e, 0x7f, 0x5a, 0x31, 0xbe, 0x78, 0x56, 0x99, 0x78, 0xf8, 0xac, 0x32, 0xf1, 0xf8,
0x59, 0x65, 0xe2, 0xfd, 0x25, 0x3f, 0xe0, 0xdb, 0xdd, 0x86, 0x78, 0x91, 0xc5, 0xf1, 0x86, 0xe9,
0xac, 0x66, 0x3b, 0xc0, 0x21, 0xb7, 0xfc, 0x88, 0x36, 0xad, 0x66, 0x87, 0x33, 0x35, 0x87, 0x1b,
0x53, 0xf2, 0x8f, 0xcb, 0xd2, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x30, 0xfb, 0x01, 0xed, 0x37,
0x11, 0x00, 0x00,
// 1425 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0x4f, 0x6f, 0x1b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 0xd8, 0x0f,
0x06, 0x14, 0xfa, 0x9f, 0x0c, 0x74, 0x61, 0x18, 0x9c, 0xe7, 0x3f, 0x64, 0xe5, 0xda, 0x21, 0x3c,
0x34, 0xe4, 0x1b, 0xbf, 0xec, 0xf9, 0x00, 0x2f, 0x4b, 0x16, 0xaf, 0xa2, 0x73, 0xc3, 0x58, 0xb8,
0x8d, 0x66, 0xe0, 0xc8, 0x3f, 0x38, 0xab, 0xb7, 0x1f, 0x3c, 0xad, 0x18, 0x0f, 0x9f, 0x56, 0x8c,
0x3f, 0x9e, 0x56, 0x8c, 0x2f, 0x9f, 0x55, 0xc6, 0x1e, 0x3e, 0xab, 0x8c, 0x3d, 0x7e, 0x56, 0x19,
0xfb, 0x60, 0xc9, 0x0f, 0xf8, 0x4e, 0xa7, 0x61, 0x36, 0x49, 0x3b, 0x8e, 0x37, 0x48, 0x67, 0x35,
0x5b, 0x01, 0x0e, 0xb9, 0xe5, 0x47, 0xb4, 0x69, 0x35, 0xdb, 0x9c, 0xa9, 0x3d, 0xdc, 0x98, 0x90,
0xff, 0x59, 0x96, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x57, 0xbd, 0x37, 0xc7, 0x2f, 0x11, 0x00,
0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -3619,7 +3618,7 @@ func (m *GetBlockByHeightResponse) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF
}
if m.BlockId == nil {
m.BlockId = &v2.BlockID{}
m.BlockId = &types.BlockID{}
}
if err := m.BlockId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
@@ -3655,7 +3654,7 @@ func (m *GetBlockByHeightResponse) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF
}
if m.Block == nil {
m.Block = &v2.Block{}
m.Block = &types.Block{}
}
if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
@@ -3827,7 +3826,7 @@ func (m *GetLatestBlockResponse) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF
}
if m.BlockId == nil {
m.BlockId = &v2.BlockID{}
m.BlockId = &types.BlockID{}
}
if err := m.BlockId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
@@ -3863,7 +3862,7 @@ func (m *GetLatestBlockResponse) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF
}
if m.Block == nil {
m.Block = &v2.Block{}
m.Block = &types.Block{}
}
if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
@@ -4155,7 +4154,7 @@ func (m *GetNodeInfoResponse) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF
}
if m.DefaultNodeInfo == nil {
m.DefaultNodeInfo = &v1.DefaultNodeInfo{}
m.DefaultNodeInfo = &p2p.DefaultNodeInfo{}
}
if err := m.DefaultNodeInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
+2 -2
View File
@@ -3,7 +3,7 @@ package cmtservice
import (
"context"
abci "github.com/cometbft/cometbft/v2/abci/types"
abci "github.com/cometbft/cometbft/abci/types"
gogogrpc "github.com/cosmos/gogoproto/grpc"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"google.golang.org/grpc/codes"
@@ -25,7 +25,7 @@ var (
)
type (
abciQueryFn = func(context.Context, *abci.QueryRequest) (*abci.QueryResponse, error)
abciQueryFn = func(context.Context, *abci.RequestQuery) (*abci.ResponseQuery, error)
queryServer struct {
clientCtx client.Context
+1 -1
View File
@@ -3,7 +3,7 @@ package cmtservice
import (
"context"
coretypes "github.com/cometbft/cometbft/v2/rpc/core/types"
coretypes "github.com/cometbft/cometbft/rpc/core/types"
"github.com/cosmos/cosmos-sdk/client"
)
+4 -4
View File
@@ -1,13 +1,13 @@
package cmtservice
import (
abci "github.com/cometbft/cometbft/v2/abci/types"
abci "github.com/cometbft/cometbft/abci/types"
)
// ToABCIRequestQuery converts a gRPC ABCIQueryRequest type to an ABCI
// RequestQuery type.
func (req *ABCIQueryRequest) ToABCIRequestQuery() *abci.QueryRequest {
return &abci.QueryRequest{
func (req *ABCIQueryRequest) ToABCIRequestQuery() *abci.RequestQuery {
return &abci.RequestQuery{
Data: req.Data,
Path: req.Path,
Height: req.Height,
@@ -17,7 +17,7 @@ func (req *ABCIQueryRequest) ToABCIRequestQuery() *abci.QueryRequest {
// FromABCIResponseQuery converts an ABCI ResponseQuery type to a gRPC
// ABCIQueryResponse type.
func FromABCIResponseQuery(res *abci.QueryResponse) *ABCIQueryResponse {
func FromABCIResponseQuery(res *abci.ResponseQuery) *ABCIQueryResponse {
var proofOps *ProofOps
if res.ProofOps != nil {
+63 -64
View File
@@ -5,8 +5,8 @@ package cmtservice
import (
fmt "fmt"
v2 "github.com/cometbft/cometbft/api/cometbft/types/v2"
v1 "github.com/cometbft/cometbft/api/cometbft/version/v1"
types "github.com/cometbft/cometbft/proto/tendermint/types"
version "github.com/cometbft/cometbft/proto/tendermint/version"
_ "github.com/cosmos/cosmos-sdk/types/tx/amino"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
@@ -33,10 +33,10 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// Block is tendermint type Block, with the Header proposer address
// field converted to bech32 string.
type Block struct {
Header Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header"`
Data v2.Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
Evidence v2.EvidenceList `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence"`
LastCommit *v2.Commit `protobuf:"bytes,4,opt,name=last_commit,json=lastCommit,proto3" json:"last_commit,omitempty"`
Header Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header"`
Data types.Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
Evidence types.EvidenceList `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence"`
LastCommit *types.Commit `protobuf:"bytes,4,opt,name=last_commit,json=lastCommit,proto3" json:"last_commit,omitempty"`
}
func (m *Block) Reset() { *m = Block{} }
@@ -79,21 +79,21 @@ func (m *Block) GetHeader() Header {
return Header{}
}
func (m *Block) GetData() v2.Data {
func (m *Block) GetData() types.Data {
if m != nil {
return m.Data
}
return v2.Data{}
return types.Data{}
}
func (m *Block) GetEvidence() v2.EvidenceList {
func (m *Block) GetEvidence() types.EvidenceList {
if m != nil {
return m.Evidence
}
return v2.EvidenceList{}
return types.EvidenceList{}
}
func (m *Block) GetLastCommit() *v2.Commit {
func (m *Block) GetLastCommit() *types.Commit {
if m != nil {
return m.LastCommit
}
@@ -103,12 +103,12 @@ func (m *Block) GetLastCommit() *v2.Commit {
// Header defines the structure of a Tendermint block header.
type Header struct {
// basic block info
Version v1.Consensus `protobuf:"bytes,1,opt,name=version,proto3" json:"version"`
ChainID string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
Time time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"`
Version version.Consensus `protobuf:"bytes,1,opt,name=version,proto3" json:"version"`
ChainID string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
Time time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"`
// prev block info
LastBlockId v2.BlockID `protobuf:"bytes,5,opt,name=last_block_id,json=lastBlockId,proto3" json:"last_block_id"`
LastBlockId types.BlockID `protobuf:"bytes,5,opt,name=last_block_id,json=lastBlockId,proto3" json:"last_block_id"`
// hashes of block data
LastCommitHash []byte `protobuf:"bytes,6,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"`
DataHash []byte `protobuf:"bytes,7,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
@@ -159,11 +159,11 @@ func (m *Header) XXX_DiscardUnknown() {
var xxx_messageInfo_Header proto.InternalMessageInfo
func (m *Header) GetVersion() v1.Consensus {
func (m *Header) GetVersion() version.Consensus {
if m != nil {
return m.Version
}
return v1.Consensus{}
return version.Consensus{}
}
func (m *Header) GetChainID() string {
@@ -187,11 +187,11 @@ func (m *Header) GetTime() time.Time {
return time.Time{}
}
func (m *Header) GetLastBlockId() v2.BlockID {
func (m *Header) GetLastBlockId() types.BlockID {
if m != nil {
return m.LastBlockId
}
return v2.BlockID{}
return types.BlockID{}
}
func (m *Header) GetLastCommitHash() []byte {
@@ -267,49 +267,48 @@ func init() {
}
var fileDescriptor_bb9931519c08e0d6 = []byte{
// 661 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0xcd, 0x6e, 0xd3, 0x40,
0x14, 0x85, 0xe3, 0x36, 0xcd, 0xcf, 0xa4, 0xe9, 0x8f, 0x55, 0x41, 0x1a, 0x84, 0x53, 0x15, 0x51,
0x4a, 0x25, 0x66, 0x68, 0x2b, 0xb1, 0x40, 0x62, 0x41, 0x52, 0x50, 0x23, 0xc1, 0x26, 0x42, 0x2c,
0xd8, 0x44, 0x13, 0x7b, 0x6a, 0x8f, 0x1a, 0x7b, 0x2c, 0xcf, 0xc4, 0x82, 0x97, 0x40, 0x7d, 0x0c,
0x96, 0x3c, 0x46, 0x97, 0x5d, 0xb2, 0x2a, 0x28, 0x5d, 0xf0, 0x08, 0x6c, 0xd1, 0xdc, 0x19, 0x37,
0x29, 0xad, 0xd8, 0x24, 0xf6, 0xb9, 0xdf, 0x3d, 0x99, 0x7b, 0xee, 0x28, 0x68, 0xcf, 0x17, 0x32,
0x16, 0x92, 0x8c, 0xa8, 0x64, 0x44, 0xb1, 0x24, 0x60, 0x59, 0xcc, 0x13, 0x45, 0xf2, 0xfd, 0x11,
0x53, 0x74, 0x9f, 0xa8, 0x2f, 0x29, 0x93, 0x38, 0xcd, 0x84, 0x12, 0xae, 0x67, 0x58, 0xac, 0x59,
0x3c, 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 0x03, 0xed, 0xea, 0xda, 0xc7, 0x9b, 0x1d, 0x8f, 0xd1, 0x8a, 0x5f, 0x2c, 0xc3,
0xb0, 0x08, 0xd8, 0xe6, 0xb5, 0x0a, 0xd8, 0x26, 0xaa, 0xd1, 0x34, 0x35, 0x40, 0x03, 0x80, 0x2a,
0x4d, 0x53, 0x28, 0xed, 0xa1, 0x75, 0x98, 0x31, 0x63, 0x72, 0x32, 0x56, 0xd6, 0x64, 0x19, 0x98,
0x55, 0x5d, 0x18, 0x18, 0x1d, 0xd8, 0x47, 0xa8, 0x59, 0xdc, 0x38, 0xc3, 0x35, 0x81, 0x5b, 0x2e,
0x44, 0x80, 0x9e, 0xa2, 0xb5, 0x34, 0x13, 0xa9, 0x90, 0x2c, 0x1b, 0xd2, 0x20, 0xc8, 0x98, 0x94,
0xad, 0x15, 0x7d, 0x0d, 0x06, 0xab, 0x85, 0xfe, 0xda, 0xc8, 0xdd, 0xf7, 0xe7, 0x53, 0xcf, 0xb9,
0x98, 0x7a, 0xce, 0xaf, 0xa9, 0xe7, 0x9c, 0x5d, 0x79, 0xa5, 0x8b, 0x2b, 0xaf, 0xf4, 0xe3, 0xca,
0x2b, 0x7d, 0x3a, 0x0c, 0xb9, 0x8a, 0x26, 0x23, 0xbd, 0x33, 0x62, 0xff, 0xa7, 0xcc, 0xd7, 0x33,
0x19, 0x9c, 0x12, 0x7f, 0xcc, 0x59, 0xa2, 0x48, 0x98, 0xa5, 0x3e, 0xf1, 0x63, 0x25, 0x59, 0x96,
0x73, 0x9f, 0x8d, 0x2a, 0x70, 0x45, 0x0e, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x63, 0x5f, 0x19,
0xcc, 0xda, 0x04, 0x00, 0x00,
// 647 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0xcd, 0x6e, 0xd3, 0x4e,
0x14, 0xc5, 0xe3, 0x36, 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66, 0x8e, 0x75,
0x3d, 0x73, 0xac, 0x9f, 0x33, 0xc7, 0xba, 0xbc, 0x75, 0x6a, 0xd7, 0xb7, 0x4e, 0xed, 0xfb, 0xad,
0x53, 0xfb, 0x70, 0x1c, 0x31, 0x19, 0x4f, 0xc6, 0x6e, 0xc0, 0x53, 0xcf, 0xfc, 0x3f, 0xe9, 0xaf,
0xa7, 0x22, 0xbc, 0xf0, 0x82, 0x84, 0xd1, 0x4c, 0x7a, 0x51, 0x91, 0x07, 0x5e, 0x90, 0x4a, 0x41,
0x8b, 0x29, 0x0b, 0xe8, 0xb8, 0x01, 0x37, 0xe4, 0xf8, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00,
0x0c, 0x32, 0xb7, 0xd2, 0x04, 0x00, 0x00,
}
func (m *Block) Marshal() (dAtA []byte, err error) {
@@ -755,7 +754,7 @@ func (m *Block) Unmarshal(dAtA []byte) error {
return io.ErrUnexpectedEOF
}
if m.LastCommit == nil {
m.LastCommit = &v2.Commit{}
m.LastCommit = &types.Commit{}
}
if err := m.LastCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
+1 -1
View File
@@ -1,7 +1,7 @@
package cmtservice
import (
cmtprototypes "github.com/cometbft/cometbft/api/cometbft/types/v2"
cmtprototypes "github.com/cometbft/cometbft/proto/tendermint/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package cmtservice
import (
"context"
coretypes "github.com/cometbft/cometbft/v2/rpc/core/types"
coretypes "github.com/cometbft/cometbft/rpc/core/types"
"github.com/cosmos/cosmos-sdk/client"
)
+2 -2
View File
@@ -6,7 +6,7 @@ import (
"reflect"
"strconv"
abci "github.com/cometbft/cometbft/v2/abci/types"
abci "github.com/cometbft/cometbft/abci/types"
gogogrpc "github.com/cosmos/gogoproto/grpc"
"google.golang.org/grpc"
"google.golang.org/grpc/encoding"
@@ -83,7 +83,7 @@ func (ctx Context) Invoke(grpcCtx gocontext.Context, method string, req, reply a
ctx = ctx.WithHeight(height)
}
abciReq := abci.QueryRequest{
abciReq := abci.RequestQuery{
Path: method,
Data: reqBz,
Height: ctx.Height,
+4 -4
View File
@@ -4,8 +4,8 @@ import (
"context"
"testing"
abci "github.com/cometbft/cometbft/v2/abci/types"
cmtjson "github.com/cometbft/cometbft/v2/libs/json"
abci "github.com/cometbft/cometbft/abci/types"
cmtjson "github.com/cometbft/cometbft/libs/json"
dbm "github.com/cosmos/cosmos-db"
"github.com/stretchr/testify/suite"
"google.golang.org/grpc"
@@ -83,14 +83,14 @@ func (s *IntegrationTestSuite) SetupSuite() {
s.NoError(err)
// init chain will set the validator set and initialize the genesis accounts
_, err = app.InitChain(&abci.InitChainRequest{
_, err = app.InitChain(&abci.RequestInitChain{
Validators: []abci.ValidatorUpdate{},
ConsensusParams: sims.DefaultConsensusParams,
AppStateBytes: stateBytes,
})
s.NoError(err)
_, err = app.FinalizeBlock(&abci.FinalizeBlockRequest{
_, err = app.FinalizeBlock(&abci.RequestFinalizeBlock{
Height: app.LastBlockHeight() + 1,
Hash: app.LastCommitID().Hash,
NextValidatorsHash: valSet.Hash(),
+9 -9
View File
@@ -5,8 +5,8 @@ import (
"strings"
"github.com/cockroachdb/errors"
abci "github.com/cometbft/cometbft/v2/abci/types"
rpcclient "github.com/cometbft/cometbft/v2/rpc/client"
abci "github.com/cometbft/cometbft/abci/types"
rpcclient "github.com/cometbft/cometbft/rpc/client"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
@@ -51,7 +51,7 @@ func (ctx Context) QueryStore(key []byte, storeName string) ([]byte, int64, erro
// It returns the ResultQuery obtained from the query. The height used to perform
// the query is the RequestQuery Height if it is non-zero, otherwise the context
// height is used.
func (ctx Context) QueryABCI(req abci.QueryRequest) (abci.QueryResponse, error) {
func (ctx Context) QueryABCI(req abci.RequestQuery) (abci.ResponseQuery, error) {
return ctx.queryABCI(req)
}
@@ -75,10 +75,10 @@ func (ctx Context) GetFromName() string {
return ctx.FromName
}
func (ctx Context) queryABCI(req abci.QueryRequest) (abci.QueryResponse, error) {
func (ctx Context) queryABCI(req abci.RequestQuery) (abci.ResponseQuery, error) {
node, err := ctx.GetNode()
if err != nil {
return abci.QueryResponse{}, err
return abci.ResponseQuery{}, err
}
var queryHeight int64
@@ -96,11 +96,11 @@ func (ctx Context) queryABCI(req abci.QueryRequest) (abci.QueryResponse, error)
result, err := node.ABCIQueryWithOptions(ctx.GetCmdContextWithFallback(), req.Path, req.Data, opts)
if err != nil {
return abci.QueryResponse{}, err
return abci.ResponseQuery{}, err
}
if !result.Response.IsOK() {
return abci.QueryResponse{}, sdkErrorToGRPCError(result.Response)
return abci.ResponseQuery{}, sdkErrorToGRPCError(result.Response)
}
// data from trusted node or subspace query doesn't need verification
@@ -111,7 +111,7 @@ func (ctx Context) queryABCI(req abci.QueryRequest) (abci.QueryResponse, error)
return result.Response, nil
}
func sdkErrorToGRPCError(resp abci.QueryResponse) error {
func sdkErrorToGRPCError(resp abci.ResponseQuery) error {
switch resp.Code {
case sdkerrors.ErrInvalidRequest.ABCICode():
return status.Error(codes.InvalidArgument, resp.Log)
@@ -128,7 +128,7 @@ func sdkErrorToGRPCError(resp abci.QueryResponse) error {
// and path. It returns the result and height of the query upon success
// or an error if the query fails.
func (ctx Context) query(path string, key []byte) ([]byte, int64, error) {
resp, err := ctx.queryABCI(abci.QueryRequest{
resp, err := ctx.queryABCI(abci.RequestQuery{
Path: path,
Data: key,
Height: ctx.Height,
+2 -2
View File
@@ -4,7 +4,7 @@ import (
"context"
"testing"
abci "github.com/cometbft/cometbft/v2/abci/types"
abci "github.com/cometbft/cometbft/abci/types"
"github.com/stretchr/testify/require"
"github.com/cosmos/cosmos-sdk/client"
@@ -15,6 +15,6 @@ func TestQueryABCICancellation(t *testing.T) {
cancel()
ctx := client.Context{}.WithClient(client.MockClient{}).WithCmdContext(cmdCtx)
_, err := ctx.QueryABCI(abci.QueryRequest{})
_, err := ctx.QueryABCI(abci.RequestQuery{})
require.ErrorIs(t, err, context.Canceled)
}
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"fmt"
"time"
cmt "github.com/cometbft/cometbft/api/cometbft/types/v2"
coretypes "github.com/cometbft/cometbft/v2/rpc/core/types"
cmt "github.com/cometbft/cometbft/proto/tendermint/types"
coretypes "github.com/cometbft/cometbft/rpc/core/types"
"github.com/cosmos/cosmos-sdk/client"
sdk "github.com/cosmos/cosmos-sdk/types"
+6 -6
View File
@@ -6,7 +6,7 @@ import (
"strconv"
"testing"
abci "github.com/cometbft/cometbft/v2/abci/types"
abci "github.com/cometbft/cometbft/abci/types"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
"google.golang.org/grpc"
@@ -65,14 +65,14 @@ func (s *IntegrationTestSuite) TestQueryABCIHeight() {
reqHeight int64
ctxHeight int64
awaitMinChainHeight int64
assertFn func(t *testing.T, latestHeightAtQuery int64, resp abci.QueryResponse)
assertFn func(t *testing.T, latestHeightAtQuery int64, resp abci.ResponseQuery)
}{
{
name: "request height set",
reqHeight: 2, // no proof when < 2
ctxHeight: 1,
awaitMinChainHeight: 3, // wait +1 block to be on the safe side
assertFn: func(t *testing.T, _ int64, resp abci.QueryResponse) {
assertFn: func(t *testing.T, _ int64, resp abci.ResponseQuery) {
t.Helper()
assert.Equal(t, int64(2), resp.Height)
},
@@ -82,7 +82,7 @@ func (s *IntegrationTestSuite) TestQueryABCIHeight() {
reqHeight: 0,
ctxHeight: 3,
awaitMinChainHeight: 4, // wait +1 block to be on the safe side
assertFn: func(t *testing.T, _ int64, resp abci.QueryResponse) {
assertFn: func(t *testing.T, _ int64, resp abci.ResponseQuery) {
t.Helper()
assert.Equal(t, int64(3), resp.Height)
},
@@ -92,7 +92,7 @@ func (s *IntegrationTestSuite) TestQueryABCIHeight() {
reqHeight: 0,
ctxHeight: 0,
awaitMinChainHeight: 2, // no proof when < 2
assertFn: func(t *testing.T, latestHeightAtQuery int64, resp abci.QueryResponse) {
assertFn: func(t *testing.T, latestHeightAtQuery int64, resp abci.ResponseQuery) {
t.Helper()
anyOf := []int64{latestHeightAtQuery, latestHeightAtQuery - 1}
assert.Contains(t, anyOf, resp.Height)
@@ -108,7 +108,7 @@ func (s *IntegrationTestSuite) TestQueryABCIHeight() {
clientCtx := val.ClientCtx
clientCtx = clientCtx.WithHeight(tc.ctxHeight)
req := abci.QueryRequest{
req := abci.RequestQuery{
Path: fmt.Sprintf("store/%s/key", banktypes.StoreKey),
Height: tc.reqHeight,
Data: address.MustLengthPrefix(val.Address),
+4 -4
View File
@@ -9,9 +9,9 @@ import (
"strings"
"time"
rpchttp "github.com/cometbft/cometbft/v2/rpc/client/http"
coretypes "github.com/cometbft/cometbft/v2/rpc/core/types"
tmtypes "github.com/cometbft/cometbft/v2/types"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
coretypes "github.com/cometbft/cometbft/rpc/core/types"
tmtypes "github.com/cometbft/cometbft/types"
"github.com/spf13/cobra"
"github.com/cosmos/cosmos-sdk/client"
@@ -119,7 +119,7 @@ $ %[1]s tx [flags] | %[1]s q wait-tx
return err
}
c, err := rpchttp.New(clientCtx.NodeURI)
c, err := rpchttp.New(clientCtx.NodeURI, "/websocket")
if err != nil {
return err
}
+5 -5
View File
@@ -4,11 +4,11 @@ import (
"context"
"fmt"
"github.com/cometbft/cometbft/v2/libs/bytes"
rpcclient "github.com/cometbft/cometbft/v2/rpc/client"
"github.com/cometbft/cometbft/v2/rpc/client/mock"
coretypes "github.com/cometbft/cometbft/v2/rpc/core/types"
cmttypes "github.com/cometbft/cometbft/v2/types"
"github.com/cometbft/cometbft/libs/bytes"
rpcclient "github.com/cometbft/cometbft/rpc/client"
"github.com/cometbft/cometbft/rpc/client/mock"
coretypes "github.com/cometbft/cometbft/rpc/core/types"
cmttypes "github.com/cometbft/cometbft/types"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
+2 -2
View File
@@ -3,7 +3,7 @@ package client
import (
"encoding/base64"
rpchttp "github.com/cometbft/cometbft/v2/rpc/client/http"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
"github.com/spf13/pflag"
errorsmod "cosmossdk.io/errors"
@@ -74,7 +74,7 @@ func ReadPageRequest(flagSet *pflag.FlagSet) (*query.PageRequest, error) {
// NewClientFromNode sets up Client implementation that communicates with a CometBFT node over
// JSON RPC and WebSockets
func NewClientFromNode(nodeURI string) (*rpchttp.HTTP, error) {
return rpchttp.New(nodeURI)
return rpchttp.New(nodeURI, "/websocket")
}
// FlagSetWithPageKeyDecoded returns the provided flagSet with the page-key value base64 decoded (if it exists).
+13 -14
View File
@@ -3,14 +3,14 @@ module cosmossdk.io/client/v2
go 1.24
require (
cosmossdk.io/api v1.0.0-rc.1
cosmossdk.io/core v1.1.0-rc.1
cosmossdk.io/api v0.9.2
cosmossdk.io/core v0.11.3
cosmossdk.io/depinject v1.2.1
cosmossdk.io/math v1.5.3
cosmossdk.io/x/tx v1.2.0-rc.1
cosmossdk.io/x/tx v0.14.0
github.com/cockroachdb/errors v1.12.0
github.com/cosmos/cosmos-proto v1.0.0-beta.5
github.com/cosmos/cosmos-sdk v0.54.0-rc.1
github.com/cosmos/cosmos-sdk v0.53.4
github.com/cosmos/gogoproto v1.7.0
github.com/spf13/cobra v1.9.1
github.com/spf13/pflag v1.0.7
@@ -26,12 +26,13 @@ require (
cosmossdk.io/errors v1.0.2 // indirect
cosmossdk.io/log v1.6.1 // indirect
cosmossdk.io/schema v1.1.0 // indirect
cosmossdk.io/store v1.10.0-rc.2 // indirect
cosmossdk.io/store v1.1.2 // indirect
filippo.io/edwards25519 v1.1.0 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/99designs/keyring v1.2.1 // indirect
github.com/DataDog/datadog-go v3.2.0+incompatible // indirect
github.com/DataDog/zstd v1.5.7 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bgentry/speakeasy v0.2.0 // indirect
github.com/bytedance/sonic v1.14.0 // indirect
@@ -45,9 +46,8 @@ require (
github.com/cockroachdb/pebble v1.1.5 // indirect
github.com/cockroachdb/redact v1.1.6 // indirect
github.com/cockroachdb/tokenbucket v0.0.0-20250429170803-42689b6311bb // indirect
github.com/cometbft/cometbft-db v1.0.4 // indirect
github.com/cometbft/cometbft/api v1.1.0-rc1 // indirect
github.com/cometbft/cometbft/v2 v2.0.0-rc1 // indirect
github.com/cometbft/cometbft v0.38.18 // indirect
github.com/cometbft/cometbft-db v0.14.1 // indirect
github.com/cosmos/btcutil v1.0.5 // indirect
github.com/cosmos/cosmos-db v1.1.3 // indirect
github.com/cosmos/go-bip39 v1.0.0 // indirect
@@ -64,11 +64,13 @@ require (
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/dvsekhvalnov/jose2go v1.6.0 // indirect
github.com/emicklei/dot v1.8.0 // indirect
github.com/ethereum/go-ethereum v1.15.5 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.9.0 // indirect
github.com/getsentry/sentry-go v0.35.0 // indirect
github.com/go-kit/kit v0.13.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
@@ -81,7 +83,6 @@ require (
github.com/google/flatbuffers v25.2.10+incompatible // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/orderedcode v0.0.1 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/handlers v1.5.2 // indirect
github.com/gorilla/mux v1.8.1 // indirect
github.com/gorilla/websocket v1.5.3 // indirect
@@ -96,7 +97,6 @@ require (
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
github.com/hashicorp/yamux v0.1.2 // indirect
github.com/hdevalence/ed25519consensus v0.2.0 // indirect
github.com/holiman/uint256 v1.3.2 // indirect
github.com/huandu/skiplist v1.2.1 // indirect
github.com/iancoleman/strcase v0.3.0 // indirect
github.com/improbable-eng/grpc-web v0.15.0 // indirect
@@ -107,8 +107,7 @@ require (
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/lib/pq v1.10.9 // indirect
github.com/linxGnu/grocksdb v1.10.1 // indirect
github.com/lmittmann/tint v1.0.7 // indirect
github.com/linxGnu/grocksdb v1.9.8 // indirect
github.com/manifoldco/promptui v0.9.0 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -117,6 +116,7 @@ require (
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/opencontainers/image-spec v1.1.0-rc5 // indirect
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7 // indirect
github.com/pkg/errors v0.9.1 // indirect
@@ -136,7 +136,6 @@ require (
github.com/spf13/cast v1.9.2 // indirect
github.com/spf13/viper v1.20.1 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/supranational/blst v0.3.14 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
github.com/tendermint/go-amino v0.16.0 // indirect
github.com/tidwall/btree v1.7.0 // indirect
+24 -28
View File
@@ -1,11 +1,11 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
cosmossdk.io/api v1.0.0-rc.1 h1:KwZHIMveoeg6YVwvKZxJLp7be5uk6qmnqNAar2tPxVU=
cosmossdk.io/api v1.0.0-rc.1/go.mod h1:8YOT+XjVFb9eZJk62YqjFILOm8MlLhbnkC9/jxIYri8=
cosmossdk.io/api v0.9.2 h1:9i9ptOBdmoIEVEVWLtYYHjxZonlF/aOVODLFaxpmNtg=
cosmossdk.io/api v0.9.2/go.mod h1:CWt31nVohvoPMTlPv+mMNCtC0a7BqRdESjCsstHcTkU=
cosmossdk.io/collections v1.3.1 h1:09e+DUId2brWsNOQ4nrk+bprVmMUaDH9xvtZkeqIjVw=
cosmossdk.io/collections v1.3.1/go.mod h1:ynvkP0r5ruAjbmedE+vQ07MT6OtJ0ZIDKrtJHK7Q/4c=
cosmossdk.io/core v1.1.0-rc.1 h1:VhF5xd4uJZt/lQzbl8qT1W3Pcrklp4RSnugcWQZyf5M=
cosmossdk.io/core v1.1.0-rc.1/go.mod h1:fKHIWVYfPCC4tto9eoYFZC/yAWFlWw2mz8YgSYvjnUs=
cosmossdk.io/core v0.11.3 h1:mei+MVDJOwIjIniaKelE3jPDqShCc/F4LkNNHh+4yfo=
cosmossdk.io/core v0.11.3/go.mod h1:9rL4RE1uDt5AJ4Tg55sYyHWXA16VmpHgbe0PbJc6N2Y=
cosmossdk.io/depinject v1.2.1 h1:eD6FxkIjlVaNZT+dXTQuwQTKZrFZ4UrfCq1RKgzyhMw=
cosmossdk.io/depinject v1.2.1/go.mod h1:lqQEycz0H2JXqvOgVwTsjEdMI0plswI7p6KX+MVqFOM=
cosmossdk.io/errors v1.0.2 h1:wcYiJz08HThbWxd/L4jObeLaLySopyyuUFB5w4AGpCo=
@@ -16,10 +16,10 @@ cosmossdk.io/math v1.5.3 h1:WH6tu6Z3AUCeHbeOSHg2mt9rnoiUWVWaQ2t6Gkll96U=
cosmossdk.io/math v1.5.3/go.mod h1:uqcZv7vexnhMFJF+6zh9EWdm/+Ylyln34IvPnBauPCQ=
cosmossdk.io/schema v1.1.0 h1:mmpuz3dzouCoyjjcMcA/xHBEmMChN+EHh8EHxHRHhzE=
cosmossdk.io/schema v1.1.0/go.mod h1:Gb7pqO+tpR+jLW5qDcNOSv0KtppYs7881kfzakguhhI=
cosmossdk.io/store v1.10.0-rc.2 h1:7ze2UoheVTVMK4ElHtoRhYv8nlUImj34e4yp1yy1bgE=
cosmossdk.io/store v1.10.0-rc.2/go.mod h1:3p1IV4EGsULFfeyAcfj7/DBcDsy8d3VlYIEJnhhbP3U=
cosmossdk.io/x/tx v1.2.0-rc.1 h1:AartiA6eiTD9KHmnlj3uG3H8FjyjI0qNkmvmU+p6cJ8=
cosmossdk.io/x/tx v1.2.0-rc.1/go.mod h1:UzpMTUmQEFfz+m0E+lhzFIiEhtZCHjScU/NC652DBHI=
cosmossdk.io/store v1.1.2 h1:3HOZG8+CuThREKv6cn3WSohAc6yccxO3hLzwK6rBC7o=
cosmossdk.io/store v1.1.2/go.mod h1:60rAGzTHevGm592kFhiUVkNC9w7gooSEn5iUBPzHQ6A=
cosmossdk.io/x/tx v0.14.0 h1:hB3O25kIcyDW/7kMTLMaO8Ripj3yqs5imceVd6c/heA=
cosmossdk.io/x/tx v0.14.0/go.mod h1:Tn30rSRA1PRfdGB3Yz55W4Sn6EIutr9xtMKSHij+9PM=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
@@ -42,6 +42,7 @@ github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEV
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk=
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/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/adlio/schema v1.3.6 h1:k1/zc2jNfeiZBA5aFTRy37jlBIuCkXCm0XmvpzCKI9I=
github.com/adlio/schema v1.3.6/go.mod h1:qkxwLgPBd1FgLRHYVCmQT/rrBr3JH38J9LjmVzWNudg=
@@ -134,12 +135,10 @@ github.com/cockroachdb/redact v1.1.6/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZ
github.com/cockroachdb/tokenbucket v0.0.0-20250429170803-42689b6311bb h1:3bCgBvB8PbJVMX1ouCcSIxvsqKPYM7gs72o0zC76n9g=
github.com/cockroachdb/tokenbucket v0.0.0-20250429170803-42689b6311bb/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ=
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI=
github.com/cometbft/cometbft-db v1.0.4 h1:cezb8yx/ZWcF124wqUtAFjAuDksS1y1yXedvtprUFxs=
github.com/cometbft/cometbft-db v1.0.4/go.mod h1:M+BtHAGU2XLrpUxo3Nn1nOCcnVCiLM9yx5OuT0u5SCA=
github.com/cometbft/cometbft/api v1.1.0-rc1 h1:NdlXfp4wialMwJ+1ds1DBtfysdxErUxg8/AaqgT0ifQ=
github.com/cometbft/cometbft/api v1.1.0-rc1/go.mod h1:Ivh6nSCTJPQOyfQo8dgnyu/T88it092sEqSrZSmTQN8=
github.com/cometbft/cometbft/v2 v2.0.0-rc1 h1:3QyDHTFzH3a1N6c2jt03kFDCxM/hgUvhzDYBVnPVXY8=
github.com/cometbft/cometbft/v2 v2.0.0-rc1/go.mod h1:/ze08eO171CqUqTqAE7FW7ydUJIVkgp6e2svpYvIR3c=
github.com/cometbft/cometbft v0.38.18 h1:1ZHYMdu0S75YxFM13LlPXnOwiIpUW5z9TKMQtTIALpw=
github.com/cometbft/cometbft v0.38.18/go.mod h1:PlOQgf3jQorep+g6oVnJgtP65TJvBJoLiXjGaMdNxBE=
github.com/cometbft/cometbft-db v0.14.1 h1:SxoamPghqICBAIcGpleHbmoPqy+crij/++eZz3DlerQ=
github.com/cometbft/cometbft-db v0.14.1/go.mod h1:KHP1YghilyGV/xjD5DP3+2hyigWx0WTp9X+0Gnx0RxQ=
github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg=
github.com/containerd/continuity v0.3.0/go.mod h1:wJEAIwKOm/pBZuBd0JmeTvnLquTB1Ag8espWhkykbPM=
github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
@@ -152,8 +151,8 @@ github.com/cosmos/cosmos-db v1.1.3 h1:7QNT77+vkefostcKkhrzDK9uoIEryzFrU9eoMeaQOP
github.com/cosmos/cosmos-db v1.1.3/go.mod h1:kN+wGsnwUJZYn8Sy5Q2O0vCYA99MJllkKASbs6Unb9U=
github.com/cosmos/cosmos-proto v1.0.0-beta.5 h1:eNcayDLpip+zVLRLYafhzLvQlSmyab+RC5W7ZfmxJLA=
github.com/cosmos/cosmos-proto v1.0.0-beta.5/go.mod h1:hQGLpiIUloJBMdQMMWb/4wRApmI9hjHH05nefC0Ojec=
github.com/cosmos/cosmos-sdk v0.54.0-rc.1 h1:hCsF4kJK/iqNDNIXF+bNP72G+Ik2K77TUluWRmsuGSU=
github.com/cosmos/cosmos-sdk v0.54.0-rc.1/go.mod h1:8jH0Q4+2IhIu3kXsGDtIvUZfmeydcvNJxYlOE80ukz4=
github.com/cosmos/cosmos-sdk v0.53.4 h1:kPF6vY68+/xi1/VebSZGpoxQqA52qkhUzqkrgeBn3Mg=
github.com/cosmos/cosmos-sdk v0.53.4/go.mod h1:7U3+WHZtI44dEOnU46+lDzBb2tFh1QlMvi8Z5JugopI=
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/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE=
@@ -213,8 +212,6 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.m
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.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/ethereum/go-ethereum v1.15.5 h1:Fo2TbBWC61lWVkFw9tsMoHCNX1ndpuaQBRJ8H6xLUPo=
github.com/ethereum/go-ethereum v1.15.5/go.mod h1:1LG2LnMOx2yPRHR/S+xuipXH29vPr6BIH6GElD8N/fo=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
@@ -245,10 +242,16 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2
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.13.0 h1:OoneCcHKHQ03LfBpoQCUfCluwd2Vt3ohz+kvbJneZAU=
github.com/go-kit/kit v0.13.0/go.mod h1:phqEHMMUbyrCFCTgH48JueqrM3md2HcAZ8N3XE4FKDg=
github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
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-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.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.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
@@ -384,9 +387,8 @@ github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa
github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU=
github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4=
github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
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-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8=
github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
github.com/hashicorp/go-version v1.2.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=
@@ -403,8 +405,6 @@ github.com/hashicorp/yamux v0.1.2 h1:XtB8kyFOyHXYVFnwT5C3+Bdo8gArse7j2AQ0DA0Uey8
github.com/hashicorp/yamux v0.1.2/go.mod h1:C+zze2n6e/7wshOZep2A70/aQU6QBRWJO/G6FT1wIns=
github.com/hdevalence/ed25519consensus v0.2.0 h1:37ICyZqdyj0lAZ8P4D1d1id3HqbbG1N3iBb1Tb4rdcU=
github.com/hdevalence/ed25519consensus v0.2.0/go.mod h1:w3BHWjwJbFU29IRHL1Iqkw3sus+7FctEyM4RqDxYNzo=
github.com/holiman/uint256 v1.3.2 h1:a9EgMPSC1AAaj1SZL5zIQD3WbwTuHrMGOerLjGmM/TA=
github.com/holiman/uint256 v1.3.2/go.mod h1:EOMSn4q6Nyt9P6efbI3bueV4e1b3dGlUCXeiRV4ng7E=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
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=
@@ -468,10 +468,8 @@ github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=
github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
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/linxGnu/grocksdb v1.10.1 h1:YX6gUcKvSC3d0s9DaqgbU+CRkZHzlELgHu1Z/kmtslg=
github.com/linxGnu/grocksdb v1.10.1/go.mod h1:C3CNe9UYc9hlEM2pC82AqiGS3LRW537u9LFV4wIZuHk=
github.com/lmittmann/tint v1.0.7 h1:D/0OqWZ0YOGZ6AyC+5Y2kD8PBEzBk6rFHVSfOqCkF9Y=
github.com/lmittmann/tint v1.0.7/go.mod h1:HIS3gSy7qNwGCj+5oRjAutErFBl4BzdQP6cJZ0NfMwE=
github.com/linxGnu/grocksdb v1.9.8 h1:vOIKv9/+HKiqJAElJIEYv3ZLcihRxyP7Suu/Mu8Dxjs=
github.com/linxGnu/grocksdb v1.9.8/go.mod h1:C3CNe9UYc9hlEM2pC82AqiGS3LRW537u9LFV4wIZuHk=
github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ=
github.com/magiconair/properties v1.8.10 h1:s31yESBquKXCV9a/ScB3ESkOjUYYv+X0rg8SYxI99mE=
github.com/magiconair/properties v1.8.10/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0=
@@ -701,8 +699,6 @@ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
github.com/supranational/blst v0.3.14 h1:xNMoHRJOTwMn63ip6qoWJ2Ymgvj7E2b9jY2FAwY+qRo=
github.com/supranational/blst v0.3.14/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw=
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d h1:vfofYNRScrDdvS342BElfbETmL1Aiz3i2t0zfRj16Hs=
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d/go.mod h1:RRCYJbIwD5jmqPI9XoAFR0OcDxqUctll6zUj/+B4S48=
github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E=