refactor!: migrate Cosmos SDK to CometBFT (#14897)

This commit is contained in:
Julien Robert
2023-02-05 14:51:33 +01:00
committed by GitHub
parent 6978710699
commit 41a3dfeced
391 changed files with 3405 additions and 2984 deletions
@@ -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.
+3 -3
View File
@@ -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"
+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.