implement vote extensions

This commit is contained in:
Callum Waters
2022-10-13 10:15:55 +02:00
parent 1e9f0afbe6
commit f809a0f1a2
46 changed files with 3400 additions and 1063 deletions

View File

@@ -307,10 +307,11 @@ func TestCreateProposalBlock(t *testing.T) {
evidencePool,
)
commit := types.NewCommit(height-1, 0, types.BlockID{}, nil)
extCommit := &types.ExtendedCommit{Height: height - 1}
block, err := blockExec.CreateProposalBlock(
height,
state, commit,
state,
extCommit,
proposerAddr,
nil,
)
@@ -390,10 +391,11 @@ func TestMaxProposalBlockSize(t *testing.T) {
sm.EmptyEvidencePool{},
)
commit := types.NewCommit(height-1, 0, types.BlockID{}, nil)
extCommit := &types.ExtendedCommit{Height: height - 1}
block, err := blockExec.CreateProposalBlock(
height,
state, commit,
state,
extCommit,
proposerAddr,
nil,
)