PrepareProposal-VoteExtension integration (#6915)

This commit is contained in:
mconcat
2021-11-16 13:23:48 +01:00
committed by GitHub
parent f408849112
commit 53565cb815
9 changed files with 284 additions and 188 deletions

View File

@@ -289,6 +289,7 @@ func TestCreateProposalBlock(t *testing.T) {
height,
state, commit,
proposerAddr,
nil,
)
// check that the part set does not exceed the maximum block size
@@ -358,6 +359,7 @@ func TestMaxTxsProposalBlockSize(t *testing.T) {
height,
state, commit,
proposerAddr,
nil,
)
pb, err := block.ToProto()
@@ -465,6 +467,7 @@ func TestMaxProposalBlockSize(t *testing.T) {
math.MaxInt64,
state, commit,
proposerAddr,
nil,
)
// this ensures that the header is at max size