refactor: rename to CometBFT (#14914)
This commit is contained in:
+3
-3
@@ -7,7 +7,7 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
|
||||
tmtypes "github.com/cometbft/cometbft/types"
|
||||
cmttypes "github.com/cometbft/cometbft/types"
|
||||
amino "github.com/tendermint/go-amino"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/codec/types"
|
||||
@@ -30,8 +30,8 @@ func NewLegacyAmino() *LegacyAmino {
|
||||
// RegisterEvidences registers Tendermint evidence types with the provided Amino
|
||||
// codec.
|
||||
func RegisterEvidences(cdc *LegacyAmino) {
|
||||
cdc.Amino.RegisterInterface((*tmtypes.Evidence)(nil), nil)
|
||||
cdc.Amino.RegisterConcrete(&tmtypes.DuplicateVoteEvidence{}, "tendermint/DuplicateVoteEvidence", nil)
|
||||
cdc.Amino.RegisterInterface((*cmttypes.Evidence)(nil), nil)
|
||||
cdc.Amino.RegisterConcrete(&cmttypes.DuplicateVoteEvidence{}, "tendermint/DuplicateVoteEvidence", nil)
|
||||
}
|
||||
|
||||
// MarshalJSONIndent provides a utility for indented JSON encoding of an object
|
||||
|
||||
Reference in New Issue
Block a user