types: Remove NewExtendedCommit constructor

Signed-off-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
Thane Thomson
2022-05-04 17:18:41 -04:00
parent a3b3415a3a
commit b5a94bba16
11 changed files with 46 additions and 40 deletions

View File

@@ -339,7 +339,7 @@ func TestCreateProposalBlock(t *testing.T) {
sm.NopMetrics(),
)
extCommit := types.NewExtendedCommit(height-1, 0, types.BlockID{}, nil)
extCommit := &types.ExtendedCommit{Height: height - 1}
block, err := blockExec.CreateProposalBlock(
ctx,
height,
@@ -419,7 +419,7 @@ func TestMaxTxsProposalBlockSize(t *testing.T) {
sm.NopMetrics(),
)
extCommit := types.NewExtendedCommit(height-1, 0, types.BlockID{}, nil)
extCommit := &types.ExtendedCommit{Height: height - 1}
block, err := blockExec.CreateProposalBlock(
ctx,
height,