Merge pull request #11121 from filecoin-project/asr/fix-test

fix: failing test: Tweak TestWindowPostV1P1NV20 test condition
This commit is contained in:
Łukasz Magiera 2023-08-01 01:59:08 -07:00 committed by GitHub
commit 8ce69d1397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -484,8 +484,9 @@ waitForProof:
slmsg.Params = v1PostParams.Bytes()
// Simulate call on inclTs's parents, so that the partition isn't already proven
_, err = client.StateCall(ctx, slmsg, inclTs.Parents())
require.ErrorContains(t, err, "expected proof of type StackedDRGWindow2KiBV1P1, got StackedDRGWindow2KiBV1")
ret, err := client.StateCall(ctx, slmsg, inclTs.Parents())
require.NoError(t, err)
require.Contains(t, ret.Error, "expected proof of type StackedDRGWindow2KiBV1P1, got StackedDRGWindow2KiBV1")
for {
//stm: @CHAIN_STATE_MINER_CALCULATE_DEADLINE_001