|
|
@ -8,7 +8,7 @@ import ( |
|
|
|
|
|
|
|
"github.com/stretchr/testify/require" |
|
|
|
abcicli "github.com/tendermint/abci/client" |
|
|
|
"github.com/tendermint/abci/server" |
|
|
|
abciserver "github.com/tendermint/abci/server" |
|
|
|
"github.com/tendermint/abci/types" |
|
|
|
"github.com/tendermint/iavl" |
|
|
|
cmn "github.com/tendermint/tmlibs/common" |
|
|
@ -210,7 +210,7 @@ func makeSocketClientServer(app types.Application, name string) (abcicli.Client, |
|
|
|
socket := cmn.Fmt("unix://%s.sock", name) |
|
|
|
logger := log.TestingLogger() |
|
|
|
|
|
|
|
server := server.NewSocketServer(socket, app) |
|
|
|
server := abciserver.NewSocketServer(socket, app) |
|
|
|
server.SetLogger(logger.With("module", "abci-server")) |
|
|
|
if _, err := server.Start(); err != nil { |
|
|
|
return nil, nil, err |
|
|
@ -233,7 +233,7 @@ func makeGRPCClientServer(app types.Application, name string) (abcicli.Client, c |
|
|
|
logger := log.TestingLogger() |
|
|
|
|
|
|
|
gapp := types.NewGRPCApplication(app) |
|
|
|
server := server.NewGRPCServer(socket, gapp) |
|
|
|
server := abciserver.NewGRPCServer(socket, gapp) |
|
|
|
server.SetLogger(logger.With("module", "abci-server")) |
|
|
|
if _, err := server.Start(); err != nil { |
|
|
|
return nil, nil, err |
|
|
|