refactor!: migrate Cosmos SDK to CometBFT (#14897)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/tendermint/tendermint/libs/log (interfaces: Logger)
|
||||
// Source: github.com/cometbft/cometbft/libs/log (interfaces: Logger)
|
||||
|
||||
// Package mock is a generated GoMock package.
|
||||
package mock
|
||||
@@ -7,8 +7,8 @@ package mock
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
log "github.com/cometbft/cometbft/libs/log"
|
||||
gomock "github.com/golang/mock/gomock"
|
||||
log "github.com/tendermint/tendermint/libs/log"
|
||||
)
|
||||
|
||||
// MockLogger is a mock of Logger interface.
|
||||
@@ -1,9 +1,9 @@
|
||||
package mock
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/crypto"
|
||||
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
|
||||
tmtypes "github.com/tendermint/tendermint/types"
|
||||
"github.com/cometbft/cometbft/crypto"
|
||||
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
|
||||
tmtypes "github.com/cometbft/cometbft/types"
|
||||
|
||||
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
|
||||
"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
|
||||
|
||||
@@ -3,8 +3,8 @@ package mock
|
||||
import (
|
||||
"testing"
|
||||
|
||||
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
|
||||
"github.com/stretchr/testify/require"
|
||||
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
|
||||
)
|
||||
|
||||
func TestGetPubKey(t *testing.T) {
|
||||
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
gomock "github.com/golang/mock/gomock"
|
||||
runtime "github.com/grpc-ecosystem/grpc-gateway/runtime"
|
||||
cobra "github.com/spf13/cobra"
|
||||
types1 "github.com/tendermint/tendermint/abci/types"
|
||||
types1 "github.com/cometbft/cometbft/abci/types"
|
||||
)
|
||||
|
||||
// MockAppModuleWithAllExtensions is a mock of AppModuleWithAllExtensions interface.
|
||||
|
||||
@@ -16,7 +16,7 @@ import (
|
||||
gomock "github.com/golang/mock/gomock"
|
||||
runtime "github.com/grpc-ecosystem/grpc-gateway/runtime"
|
||||
cobra "github.com/spf13/cobra"
|
||||
types1 "github.com/tendermint/tendermint/abci/types"
|
||||
types1 "github.com/cometbft/cometbft/abci/types"
|
||||
)
|
||||
|
||||
// MockAppModuleBasic is a mock of AppModuleBasic interface.
|
||||
|
||||
Reference in New Issue
Block a user