diff --git a/chain/actors/actor_storagemarket_test.go b/chain/actors/actor_storagemarket_test.go index f4e6d7d3c..f368592ea 100644 --- a/chain/actors/actor_storagemarket_test.go +++ b/chain/actors/actor_storagemarket_test.go @@ -1,6 +1,7 @@ package actors_test import ( + "github.com/filecoin-project/go-lotus/build" "testing" . "github.com/filecoin-project/go-lotus/chain/actors" @@ -32,7 +33,7 @@ func TestStorageMarketCreateMiner(t *testing.T) { CreateStorageMinerParams{ Owner: ownerAddr, Worker: workerAddr, - SectorSize: types.NewInt(SectorSize), + SectorSize: types.NewInt(build.SectorSize), PeerID: "fakepeerid", }) ApplyOK(t, ret) diff --git a/chain/actors/actors_test.go b/chain/actors/actors_test.go index 26f0e6d69..9d3419355 100644 --- a/chain/actors/actors_test.go +++ b/chain/actors/actors_test.go @@ -3,6 +3,7 @@ package actors_test import ( "context" "encoding/binary" + "github.com/filecoin-project/go-lotus/build" "testing" . "github.com/filecoin-project/go-lotus/chain/actors" @@ -111,7 +112,7 @@ func TestStorageMarketActorCreateMiner(t *testing.T) { params := &StorageMinerConstructorParams{ Worker: maddr, - SectorSize: types.NewInt(SectorSize), + SectorSize: types.NewInt(build.SectorSize), PeerID: "fakepeerid", } enc, err := cbor.DumpObject(params)