mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-06 16:17:11 +00:00
abci/client: remove client-level callback (#7845)
* abci/client: remove client-level callback * ditch multi conn con * fix lint * fix teset
This commit is contained in:
@@ -74,9 +74,8 @@ func TestByzantinePrevoteEquivocation(t *testing.T) {
|
||||
blockStore := store.NewBlockStore(blockDB)
|
||||
|
||||
// one for mempool, one for consensus
|
||||
mtx := new(sync.Mutex)
|
||||
proxyAppConnMem := abciclient.NewLocalClient(logger, mtx, app)
|
||||
proxyAppConnCon := abciclient.NewLocalClient(logger, mtx, app)
|
||||
proxyAppConnMem := abciclient.NewLocalClient(logger, app)
|
||||
proxyAppConnCon := abciclient.NewLocalClient(logger, app)
|
||||
|
||||
// Make Mempool
|
||||
mempool := mempool.NewTxMempool(
|
||||
|
||||
@@ -454,9 +454,8 @@ func newStateWithConfigAndBlockStore(
|
||||
t.Helper()
|
||||
|
||||
// one for mempool, one for consensus
|
||||
mtx := new(sync.Mutex)
|
||||
proxyAppConnMem := abciclient.NewLocalClient(logger, mtx, app)
|
||||
proxyAppConnCon := abciclient.NewLocalClient(logger, mtx, app)
|
||||
proxyAppConnMem := abciclient.NewLocalClient(logger, app)
|
||||
proxyAppConnCon := abciclient.NewLocalClient(logger, app)
|
||||
|
||||
// Make Mempool
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ package mocks
|
||||
|
||||
import (
|
||||
mock "github.com/stretchr/testify/mock"
|
||||
|
||||
state "github.com/tendermint/tendermint/internal/state"
|
||||
)
|
||||
|
||||
|
||||
@@ -406,9 +406,8 @@ func TestReactorWithEvidence(t *testing.T) {
|
||||
blockStore := store.NewBlockStore(blockDB)
|
||||
|
||||
// one for mempool, one for consensus
|
||||
mtx := new(sync.Mutex)
|
||||
proxyAppConnMem := abciclient.NewLocalClient(logger, mtx, app)
|
||||
proxyAppConnCon := abciclient.NewLocalClient(logger, mtx, app)
|
||||
proxyAppConnMem := abciclient.NewLocalClient(logger, app)
|
||||
proxyAppConnCon := abciclient.NewLocalClient(logger, app)
|
||||
|
||||
mempool := mempool.NewTxMempool(
|
||||
log.TestingLogger().With("module", "mempool"),
|
||||
|
||||
Reference in New Issue
Block a user