mirror of
https://github.com/tendermint/tendermint.git
synced 2026-06-04 13:22:35 +00:00
state: avoid premature genericism (#8224)
This commit is contained in:
@@ -289,7 +289,7 @@ func makeNode(
|
||||
evPool,
|
||||
blockStore,
|
||||
eventBus,
|
||||
sm.BlockExecutorWithMetrics(nodeMetrics.state),
|
||||
nodeMetrics.state,
|
||||
)
|
||||
|
||||
// Determine whether we should do block sync. This must happen after the handshake, since the
|
||||
|
||||
@@ -333,6 +333,7 @@ func TestCreateProposalBlock(t *testing.T) {
|
||||
evidencePool,
|
||||
blockStore,
|
||||
eventBus,
|
||||
sm.NopMetrics(),
|
||||
)
|
||||
|
||||
commit := types.NewCommit(height-1, 0, types.BlockID{}, nil)
|
||||
@@ -412,6 +413,7 @@ func TestMaxTxsProposalBlockSize(t *testing.T) {
|
||||
sm.EmptyEvidencePool{},
|
||||
blockStore,
|
||||
eventBus,
|
||||
sm.NopMetrics(),
|
||||
)
|
||||
|
||||
commit := types.NewCommit(height-1, 0, types.BlockID{}, nil)
|
||||
@@ -487,6 +489,7 @@ func TestMaxProposalBlockSize(t *testing.T) {
|
||||
sm.EmptyEvidencePool{},
|
||||
blockStore,
|
||||
eventBus,
|
||||
sm.NopMetrics(),
|
||||
)
|
||||
|
||||
blockID := types.BlockID{
|
||||
|
||||
Reference in New Issue
Block a user