Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrm50 committed Nov 14, 2023
1 parent 813b33e commit b204639
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/tests/booker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ func Test_WeightPropagation(t *testing.T) {
ts.AssertBlocksInCachePreAccepted(ts.Blocks("block3-basic", "block4-basic", "block5-basic", "block6-basic"), false, ts.Nodes()...)
}

// Issue validator blocks that are subjectively invalid, but accept the basic blocks. Make sure that the pre-accepted basic blocks do not apply witness weight.
// Issue validator blocks that are subjectively invalid, but accept the basic blocks.
// Make sure that the pre-accepted basic blocks do not apply approval weight - the conflicts should remain unresolved.
// If basic blocks carry approval or witness weight, then the test will fail.
{
ts.IssueValidationBlock("block8", node1, mock.WithStrongParents(ts.BlockIDs("block3-basic", "block6-basic")...))
ts.IssueValidationBlock("block9", node2, mock.WithStrongParents(ts.BlockID("block8")))
Expand Down

0 comments on commit b204639

Please sign in to comment.