make gen
This commit is contained in:
parent
25d848f718
commit
6d770f6e10
@ -10,11 +10,11 @@ import (
|
||||
"github.com/google/uuid"
|
||||
blocks "github.com/ipfs/go-block-format"
|
||||
"github.com/ipfs/go-cid"
|
||||
metrics "github.com/libp2p/go-libp2p-core/metrics"
|
||||
"github.com/libp2p/go-libp2p-core/metrics"
|
||||
"github.com/libp2p/go-libp2p-core/network"
|
||||
"github.com/libp2p/go-libp2p-core/peer"
|
||||
"github.com/libp2p/go-libp2p-core/protocol"
|
||||
xerrors "golang.org/x/xerrors"
|
||||
"golang.org/x/xerrors"
|
||||
|
||||
"github.com/filecoin-project/go-address"
|
||||
"github.com/filecoin-project/go-bitfield"
|
||||
@ -42,7 +42,7 @@ import (
|
||||
"github.com/filecoin-project/lotus/storage/pipeline/sealiface"
|
||||
"github.com/filecoin-project/lotus/storage/sealer/fsutil"
|
||||
"github.com/filecoin-project/lotus/storage/sealer/sealtasks"
|
||||
storiface "github.com/filecoin-project/lotus/storage/sealer/storiface"
|
||||
"github.com/filecoin-project/lotus/storage/sealer/storiface"
|
||||
)
|
||||
|
||||
var ErrNotSupported = xerrors.New("method not supported")
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
|
||||
"github.com/filecoin-project/go-address"
|
||||
"github.com/filecoin-project/go-state-types/abi"
|
||||
big "github.com/filecoin-project/go-state-types/big"
|
||||
"github.com/filecoin-project/go-state-types/big"
|
||||
"github.com/filecoin-project/go-state-types/cbor"
|
||||
ipldcbor "github.com/ipfs/go-ipld-cbor"
|
||||
|
||||
|
@ -637,16 +637,16 @@ func TestPaychGetRestartAfterAddFundsMsg(t *testing.T) {
|
||||
require.NoError(t, mgr.Stop())
|
||||
|
||||
// Create a new manager with the same datastore
|
||||
mock := newMockManagerAPI()
|
||||
defer mock.close()
|
||||
mock2 := newMockManagerAPI()
|
||||
defer mock2.close()
|
||||
|
||||
mock.setPaychState(ch, act, paychmock.NewMockPayChState(from, to, abi.ChainEpoch(0), make(map[uint64]paych.LaneState)))
|
||||
mock2.setPaychState(ch, act, paychmock.NewMockPayChState(from, to, abi.ChainEpoch(0), make(map[uint64]paych.LaneState)))
|
||||
|
||||
mgr2, err := newManager(store, mock)
|
||||
mgr2, err := newManager(store, mock2)
|
||||
require.NoError(t, err)
|
||||
|
||||
// Send success add funds response
|
||||
mock.receiveMsgResponse(mcid2, types.MessageReceipt{
|
||||
mock2.receiveMsgResponse(mcid2, types.MessageReceipt{
|
||||
ExitCode: 0,
|
||||
Return: []byte{},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user