retrieval: fix actor tests
This commit is contained in:
parent
eedd098295
commit
6b80b98c64
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user