diff --git a/go.sum b/go.sum index d5d31f1f5..c256baa36 100644 --- a/go.sum +++ b/go.sum @@ -345,7 +345,6 @@ github.com/filecoin-project/go-state-types v0.0.0-20201102161440-c8033295a1fc/go github.com/filecoin-project/go-state-types v0.1.0/go.mod h1:ezYnPf0bNkTsDibL/psSz5dy4B5awOJ/E7P2Saeep8g= github.com/filecoin-project/go-state-types v0.1.6/go.mod h1:UwGVoMsULoCK+bWjEdd/xLCvLAQFBC7EDT477SKml+Q= github.com/filecoin-project/go-state-types v0.1.10/go.mod h1:UwGVoMsULoCK+bWjEdd/xLCvLAQFBC7EDT477SKml+Q= -github.com/filecoin-project/go-state-types v0.11.0-rc1/go.mod h1:SyNPwTsU7I22gL2r0OAPcImvLoTVfgRwdK/Y5rR1zz8= github.com/filecoin-project/go-state-types v0.11.1 h1:GDtCN9V18bYVwXDZe+vJXc6Ck+qY9OUaQqpoVlp1FAk= github.com/filecoin-project/go-state-types v0.11.1/go.mod h1:SyNPwTsU7I22gL2r0OAPcImvLoTVfgRwdK/Y5rR1zz8= github.com/filecoin-project/go-statemachine v0.0.0-20200925024713-05bd7c71fbfe/go.mod h1:FGwQgZAt2Gh5mjlwJUlVB62JeYdo+if0xWxSEfBD9ig= diff --git a/itests/wdpost_test.go b/itests/wdpost_test.go index c94906b2f..34cc376eb 100644 --- a/itests/wdpost_test.go +++ b/itests/wdpost_test.go @@ -390,6 +390,9 @@ waitForProof: inclTs, err := client.ChainGetTipSet(ctx, pmr.TipSet) require.NoError(t, err) + inclTsParents, err := client.ChainGetTipSet(ctx, inclTs.Parents()) + require.NoError(t, err) + nv, err := client.StateNetworkVersion(ctx, pmr.TipSet) require.NoError(t, err) require.Equal(t, network.Version19, nv) @@ -410,8 +413,8 @@ waitForProof: slmsg.Params = v1PostParams.Bytes() - // Simulate call on inclTs's parents, so that the partition isn't already proven - call, err := client.StateCall(ctx, slmsg, inclTs.Parents()) + // Simulate call on inclTsParents's parents, so that the partition isn't already proven + call, err := client.StateCall(ctx, slmsg, inclTsParents.Parents()) require.NoError(t, err) require.True(t, call.MsgRct.ExitCode.IsSuccess()) }