Skip to content

Commit

Permalink
Advance exactly diameter + 1 blocks in spvTest
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundnoble committed Dec 20, 2024
1 parent 5ad8117 commit 6e0f829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/Chainweb/Test/Pact5/RemotePactTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ spvTest baseRdb step = runResourceT $ do
let cont = fromMaybe (error "missing continuation") (_crContinuation sendCr)

step "waiting"
replicateM_ 10 $ CutFixture.advanceAllChains_
replicateM_ (int $ diameter petersonChainGraph + 1) $ CutFixture.advanceAllChains_
let sendHeight = sendCut ^?! ixg srcChain . blockHeight
spvProof <- createTransactionOutputProof_ (fixture ^. cutFixture . CutFixture.fixtureWebBlockHeaderDb) (fixture ^. cutFixture . CutFixture.fixturePayloadDb) targetChain srcChain sendHeight 0
let contMsg = ContMsg
Expand Down

0 comments on commit 6e0f829

Please sign in to comment.