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