Skip to content

Commit

Permalink
fix TestWDPostDoPost
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Oct 28, 2020
1 parent ed2f81d commit 844a308
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions storage/wdpost_run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package storage
import (
"bytes"
"context"
"github.com/filecoin-project/go-state-types/network"
"github.com/filecoin-project/lotus/build"
"testing"

"github.com/stretchr/testify/require"
Expand Down Expand Up @@ -91,6 +93,10 @@ func (m *mockStorageMinerAPI) StateWaitMsg(ctx context.Context, cid cid.Cid, con
}, nil
}

func (m *mockStorageMinerAPI) StateNetworkVersion(context.Context, types.TipSetKey) (network.Version, error) {
return build.NewestNetworkVersion, nil
}

type mockProver struct {
}

Expand Down

0 comments on commit 844a308

Please sign in to comment.