diff --git a/rosetta/services/mocks/fullnode_mock.go b/rosetta/services/mocks/fullnode_mock.go index 23d25f0..5eaa3b9 100644 --- a/rosetta/services/mocks/fullnode_mock.go +++ b/rosetta/services/mocks/fullnode_mock.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.46.3. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks @@ -14,10 +14,14 @@ import ( auth "github.com/filecoin-project/go-jsonrpc/auth" + big "github.com/filecoin-project/go-state-types/big" + bitfield "github.com/filecoin-project/go-bitfield" blocks "github.com/ipfs/go-block-format" + builtinminer "github.com/filecoin-project/lotus/chain/actors/builtin/miner" + certs "github.com/filecoin-project/go-f3/certs" cid "github.com/ipfs/go-cid" @@ -44,7 +48,7 @@ import ( metrics "github.com/libp2p/go-libp2p/core/metrics" - miner "github.com/filecoin-project/lotus/chain/actors/builtin/miner" + miner "github.com/filecoin-project/go-state-types/builtin/v13/miner" mock "github.com/stretchr/testify/mock" @@ -62,7 +66,9 @@ import ( uuid "github.com/google/uuid" - verifreg "github.com/filecoin-project/lotus/chain/actors/builtin/verifreg" + v9miner "github.com/filecoin-project/go-state-types/builtin/v9/miner" + + verifreg "github.com/filecoin-project/go-state-types/builtin/v9/verifreg" ) // FullNode is an autogenerated mock type for the FullNode type @@ -853,22 +859,22 @@ func (_m *FullNode) ChainStatObj(ctx context.Context, obj cid.Cid, base cid.Cid) } // ChainTipSetWeight provides a mock function with given fields: _a0, _a1 -func (_m *FullNode) ChainTipSetWeight(_a0 context.Context, _a1 types.TipSetKey) (types.BigInt, error) { +func (_m *FullNode) ChainTipSetWeight(_a0 context.Context, _a1 types.TipSetKey) (big.Int, error) { ret := _m.Called(_a0, _a1) if len(ret) == 0 { panic("no return value specified for ChainTipSetWeight") } - var r0 types.BigInt + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (types.BigInt, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (big.Int, error)); ok { return rf(_a0, _a1) } - if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) types.BigInt); ok { + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) big.Int); ok { r0 = rf(_a0, _a1) } else { - r0 = ret.Get(0).(types.BigInt) + r0 = ret.Get(0).(big.Int) } if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { @@ -2565,22 +2571,22 @@ func (_m *FullNode) FilecoinAddressToEthAddress(ctx context.Context, p jsonrpc.R } // GasEstimateFeeCap provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *FullNode) GasEstimateFeeCap(_a0 context.Context, _a1 *types.Message, _a2 int64, _a3 types.TipSetKey) (types.BigInt, error) { +func (_m *FullNode) GasEstimateFeeCap(_a0 context.Context, _a1 *types.Message, _a2 int64, _a3 types.TipSetKey) (big.Int, error) { ret := _m.Called(_a0, _a1, _a2, _a3) if len(ret) == 0 { panic("no return value specified for GasEstimateFeeCap") } - var r0 types.BigInt + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *types.Message, int64, types.TipSetKey) (types.BigInt, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *types.Message, int64, types.TipSetKey) (big.Int, error)); ok { return rf(_a0, _a1, _a2, _a3) } - if rf, ok := ret.Get(0).(func(context.Context, *types.Message, int64, types.TipSetKey) types.BigInt); ok { + if rf, ok := ret.Get(0).(func(context.Context, *types.Message, int64, types.TipSetKey) big.Int); ok { r0 = rf(_a0, _a1, _a2, _a3) } else { - r0 = ret.Get(0).(types.BigInt) + r0 = ret.Get(0).(big.Int) } if rf, ok := ret.Get(1).(func(context.Context, *types.Message, int64, types.TipSetKey) error); ok { @@ -2621,22 +2627,22 @@ func (_m *FullNode) GasEstimateGasLimit(_a0 context.Context, _a1 *types.Message, } // GasEstimateGasPremium provides a mock function with given fields: _a0, nblocksincl, sender, gaslimit, tsk -func (_m *FullNode) GasEstimateGasPremium(_a0 context.Context, nblocksincl uint64, sender address.Address, gaslimit int64, tsk types.TipSetKey) (types.BigInt, error) { +func (_m *FullNode) GasEstimateGasPremium(_a0 context.Context, nblocksincl uint64, sender address.Address, gaslimit int64, tsk types.TipSetKey) (big.Int, error) { ret := _m.Called(_a0, nblocksincl, sender, gaslimit, tsk) if len(ret) == 0 { panic("no return value specified for GasEstimateGasPremium") } - var r0 types.BigInt + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, uint64, address.Address, int64, types.TipSetKey) (types.BigInt, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, uint64, address.Address, int64, types.TipSetKey) (big.Int, error)); ok { return rf(_a0, nblocksincl, sender, gaslimit, tsk) } - if rf, ok := ret.Get(0).(func(context.Context, uint64, address.Address, int64, types.TipSetKey) types.BigInt); ok { + if rf, ok := ret.Get(0).(func(context.Context, uint64, address.Address, int64, types.TipSetKey) big.Int); ok { r0 = rf(_a0, nblocksincl, sender, gaslimit, tsk) } else { - r0 = ret.Get(0).(types.BigInt) + r0 = ret.Get(0).(big.Int) } if rf, ok := ret.Get(1).(func(context.Context, uint64, address.Address, int64, types.TipSetKey) error); ok { @@ -2815,7 +2821,7 @@ func (_m *FullNode) LogSetLevel(_a0 context.Context, _a1 string, _a2 string) err } // MarketAddBalance provides a mock function with given fields: ctx, wallet, addr, amt -func (_m *FullNode) MarketAddBalance(ctx context.Context, wallet address.Address, addr address.Address, amt types.BigInt) (cid.Cid, error) { +func (_m *FullNode) MarketAddBalance(ctx context.Context, wallet address.Address, addr address.Address, amt big.Int) (cid.Cid, error) { ret := _m.Called(ctx, wallet, addr, amt) if len(ret) == 0 { @@ -2824,16 +2830,16 @@ func (_m *FullNode) MarketAddBalance(ctx context.Context, wallet address.Address var r0 cid.Cid var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, types.BigInt) (cid.Cid, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) (cid.Cid, error)); ok { return rf(ctx, wallet, addr, amt) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, types.BigInt) cid.Cid); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) cid.Cid); ok { r0 = rf(ctx, wallet, addr, amt) } else { r0 = ret.Get(0).(cid.Cid) } - if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, types.BigInt) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, big.Int) error); ok { r1 = rf(ctx, wallet, addr, amt) } else { r1 = ret.Error(1) @@ -2843,22 +2849,22 @@ func (_m *FullNode) MarketAddBalance(ctx context.Context, wallet address.Address } // MarketGetReserved provides a mock function with given fields: ctx, addr -func (_m *FullNode) MarketGetReserved(ctx context.Context, addr address.Address) (types.BigInt, error) { +func (_m *FullNode) MarketGetReserved(ctx context.Context, addr address.Address) (big.Int, error) { ret := _m.Called(ctx, addr) if len(ret) == 0 { panic("no return value specified for MarketGetReserved") } - var r0 types.BigInt + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address) (types.BigInt, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (big.Int, error)); ok { return rf(ctx, addr) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address) types.BigInt); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address) big.Int); ok { r0 = rf(ctx, addr) } else { - r0 = ret.Get(0).(types.BigInt) + r0 = ret.Get(0).(big.Int) } if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok { @@ -2871,7 +2877,7 @@ func (_m *FullNode) MarketGetReserved(ctx context.Context, addr address.Address) } // MarketReleaseFunds provides a mock function with given fields: ctx, addr, amt -func (_m *FullNode) MarketReleaseFunds(ctx context.Context, addr address.Address, amt types.BigInt) error { +func (_m *FullNode) MarketReleaseFunds(ctx context.Context, addr address.Address, amt big.Int) error { ret := _m.Called(ctx, addr, amt) if len(ret) == 0 { @@ -2879,7 +2885,7 @@ func (_m *FullNode) MarketReleaseFunds(ctx context.Context, addr address.Address } var r0 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.BigInt) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, big.Int) error); ok { r0 = rf(ctx, addr, amt) } else { r0 = ret.Error(0) @@ -2889,7 +2895,7 @@ func (_m *FullNode) MarketReleaseFunds(ctx context.Context, addr address.Address } // MarketReserveFunds provides a mock function with given fields: ctx, wallet, addr, amt -func (_m *FullNode) MarketReserveFunds(ctx context.Context, wallet address.Address, addr address.Address, amt types.BigInt) (cid.Cid, error) { +func (_m *FullNode) MarketReserveFunds(ctx context.Context, wallet address.Address, addr address.Address, amt big.Int) (cid.Cid, error) { ret := _m.Called(ctx, wallet, addr, amt) if len(ret) == 0 { @@ -2898,16 +2904,16 @@ func (_m *FullNode) MarketReserveFunds(ctx context.Context, wallet address.Addre var r0 cid.Cid var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, types.BigInt) (cid.Cid, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) (cid.Cid, error)); ok { return rf(ctx, wallet, addr, amt) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, types.BigInt) cid.Cid); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) cid.Cid); ok { r0 = rf(ctx, wallet, addr, amt) } else { r0 = ret.Get(0).(cid.Cid) } - if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, types.BigInt) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, big.Int) error); ok { r1 = rf(ctx, wallet, addr, amt) } else { r1 = ret.Error(1) @@ -2917,7 +2923,7 @@ func (_m *FullNode) MarketReserveFunds(ctx context.Context, wallet address.Addre } // MarketWithdraw provides a mock function with given fields: ctx, wallet, addr, amt -func (_m *FullNode) MarketWithdraw(ctx context.Context, wallet address.Address, addr address.Address, amt types.BigInt) (cid.Cid, error) { +func (_m *FullNode) MarketWithdraw(ctx context.Context, wallet address.Address, addr address.Address, amt big.Int) (cid.Cid, error) { ret := _m.Called(ctx, wallet, addr, amt) if len(ret) == 0 { @@ -2926,16 +2932,16 @@ func (_m *FullNode) MarketWithdraw(ctx context.Context, wallet address.Address, var r0 cid.Cid var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, types.BigInt) (cid.Cid, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) (cid.Cid, error)); ok { return rf(ctx, wallet, addr, amt) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, types.BigInt) cid.Cid); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) cid.Cid); ok { r0 = rf(ctx, wallet, addr, amt) } else { r0 = ret.Get(0).(cid.Cid) } - if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, types.BigInt) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, big.Int) error); ok { r1 = rf(ctx, wallet, addr, amt) } else { r1 = ret.Error(1) @@ -3575,7 +3581,7 @@ func (_m *FullNode) MsigApprove(_a0 context.Context, _a1 address.Address, _a2 ui } // MsigApproveTxnHash provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8 -func (_m *FullNode) MsigApproveTxnHash(_a0 context.Context, _a1 address.Address, _a2 uint64, _a3 address.Address, _a4 address.Address, _a5 types.BigInt, _a6 address.Address, _a7 uint64, _a8 []byte) (*api.MessagePrototype, error) { +func (_m *FullNode) MsigApproveTxnHash(_a0 context.Context, _a1 address.Address, _a2 uint64, _a3 address.Address, _a4 address.Address, _a5 big.Int, _a6 address.Address, _a7 uint64, _a8 []byte) (*api.MessagePrototype, error) { ret := _m.Called(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8) if len(ret) == 0 { @@ -3584,10 +3590,10 @@ func (_m *FullNode) MsigApproveTxnHash(_a0 context.Context, _a1 address.Address, var r0 *api.MessagePrototype var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address, address.Address, types.BigInt, address.Address, uint64, []byte) (*api.MessagePrototype, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address, address.Address, big.Int, address.Address, uint64, []byte) (*api.MessagePrototype, error)); ok { return rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address, address.Address, types.BigInt, address.Address, uint64, []byte) *api.MessagePrototype); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address, address.Address, big.Int, address.Address, uint64, []byte) *api.MessagePrototype); ok { r0 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8) } else { if ret.Get(0) != nil { @@ -3595,7 +3601,7 @@ func (_m *FullNode) MsigApproveTxnHash(_a0 context.Context, _a1 address.Address, } } - if rf, ok := ret.Get(1).(func(context.Context, address.Address, uint64, address.Address, address.Address, types.BigInt, address.Address, uint64, []byte) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, address.Address, uint64, address.Address, address.Address, big.Int, address.Address, uint64, []byte) error); ok { r1 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8) } else { r1 = ret.Error(1) @@ -3635,7 +3641,7 @@ func (_m *FullNode) MsigCancel(_a0 context.Context, _a1 address.Address, _a2 uin } // MsigCancelTxnHash provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7 -func (_m *FullNode) MsigCancelTxnHash(_a0 context.Context, _a1 address.Address, _a2 uint64, _a3 address.Address, _a4 types.BigInt, _a5 address.Address, _a6 uint64, _a7 []byte) (*api.MessagePrototype, error) { +func (_m *FullNode) MsigCancelTxnHash(_a0 context.Context, _a1 address.Address, _a2 uint64, _a3 address.Address, _a4 big.Int, _a5 address.Address, _a6 uint64, _a7 []byte) (*api.MessagePrototype, error) { ret := _m.Called(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7) if len(ret) == 0 { @@ -3644,10 +3650,10 @@ func (_m *FullNode) MsigCancelTxnHash(_a0 context.Context, _a1 address.Address, var r0 *api.MessagePrototype var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address, types.BigInt, address.Address, uint64, []byte) (*api.MessagePrototype, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address, big.Int, address.Address, uint64, []byte) (*api.MessagePrototype, error)); ok { return rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address, types.BigInt, address.Address, uint64, []byte) *api.MessagePrototype); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, uint64, address.Address, big.Int, address.Address, uint64, []byte) *api.MessagePrototype); ok { r0 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7) } else { if ret.Get(0) != nil { @@ -3655,7 +3661,7 @@ func (_m *FullNode) MsigCancelTxnHash(_a0 context.Context, _a1 address.Address, } } - if rf, ok := ret.Get(1).(func(context.Context, address.Address, uint64, address.Address, types.BigInt, address.Address, uint64, []byte) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, address.Address, uint64, address.Address, big.Int, address.Address, uint64, []byte) error); ok { r1 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7) } else { r1 = ret.Error(1) @@ -3665,7 +3671,7 @@ func (_m *FullNode) MsigCancelTxnHash(_a0 context.Context, _a1 address.Address, } // MsigCreate provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6 -func (_m *FullNode) MsigCreate(_a0 context.Context, _a1 uint64, _a2 []address.Address, _a3 abi.ChainEpoch, _a4 types.BigInt, _a5 address.Address, _a6 types.BigInt) (*api.MessagePrototype, error) { +func (_m *FullNode) MsigCreate(_a0 context.Context, _a1 uint64, _a2 []address.Address, _a3 abi.ChainEpoch, _a4 big.Int, _a5 address.Address, _a6 big.Int) (*api.MessagePrototype, error) { ret := _m.Called(_a0, _a1, _a2, _a3, _a4, _a5, _a6) if len(ret) == 0 { @@ -3674,10 +3680,10 @@ func (_m *FullNode) MsigCreate(_a0 context.Context, _a1 uint64, _a2 []address.Ad var r0 *api.MessagePrototype var r1 error - if rf, ok := ret.Get(0).(func(context.Context, uint64, []address.Address, abi.ChainEpoch, types.BigInt, address.Address, types.BigInt) (*api.MessagePrototype, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, uint64, []address.Address, abi.ChainEpoch, big.Int, address.Address, big.Int) (*api.MessagePrototype, error)); ok { return rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) } - if rf, ok := ret.Get(0).(func(context.Context, uint64, []address.Address, abi.ChainEpoch, types.BigInt, address.Address, types.BigInt) *api.MessagePrototype); ok { + if rf, ok := ret.Get(0).(func(context.Context, uint64, []address.Address, abi.ChainEpoch, big.Int, address.Address, big.Int) *api.MessagePrototype); ok { r0 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) } else { if ret.Get(0) != nil { @@ -3685,7 +3691,7 @@ func (_m *FullNode) MsigCreate(_a0 context.Context, _a1 uint64, _a2 []address.Ad } } - if rf, ok := ret.Get(1).(func(context.Context, uint64, []address.Address, abi.ChainEpoch, types.BigInt, address.Address, types.BigInt) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, uint64, []address.Address, abi.ChainEpoch, big.Int, address.Address, big.Int) error); ok { r1 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) } else { r1 = ret.Error(1) @@ -3695,22 +3701,22 @@ func (_m *FullNode) MsigCreate(_a0 context.Context, _a1 uint64, _a2 []address.Ad } // MsigGetAvailableBalance provides a mock function with given fields: _a0, _a1, _a2 -func (_m *FullNode) MsigGetAvailableBalance(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (types.BigInt, error) { +func (_m *FullNode) MsigGetAvailableBalance(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (big.Int, error) { ret := _m.Called(_a0, _a1, _a2) if len(ret) == 0 { panic("no return value specified for MsigGetAvailableBalance") } - var r0 types.BigInt + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (types.BigInt, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (big.Int, error)); ok { return rf(_a0, _a1, _a2) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) types.BigInt); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) big.Int); ok { r0 = rf(_a0, _a1, _a2) } else { - r0 = ret.Get(0).(types.BigInt) + r0 = ret.Get(0).(big.Int) } if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { @@ -3753,22 +3759,22 @@ func (_m *FullNode) MsigGetPending(_a0 context.Context, _a1 address.Address, _a2 } // MsigGetVested provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *FullNode) MsigGetVested(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey, _a3 types.TipSetKey) (types.BigInt, error) { +func (_m *FullNode) MsigGetVested(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey, _a3 types.TipSetKey) (big.Int, error) { ret := _m.Called(_a0, _a1, _a2, _a3) if len(ret) == 0 { panic("no return value specified for MsigGetVested") } - var r0 types.BigInt + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey, types.TipSetKey) (types.BigInt, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey, types.TipSetKey) (big.Int, error)); ok { return rf(_a0, _a1, _a2, _a3) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey, types.TipSetKey) types.BigInt); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey, types.TipSetKey) big.Int); ok { r0 = rf(_a0, _a1, _a2, _a3) } else { - r0 = ret.Get(0).(types.BigInt) + r0 = ret.Get(0).(big.Int) } if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey, types.TipSetKey) error); ok { @@ -3809,7 +3815,7 @@ func (_m *FullNode) MsigGetVestingSchedule(_a0 context.Context, _a1 address.Addr } // MsigPropose provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6 -func (_m *FullNode) MsigPropose(_a0 context.Context, _a1 address.Address, _a2 address.Address, _a3 types.BigInt, _a4 address.Address, _a5 uint64, _a6 []byte) (*api.MessagePrototype, error) { +func (_m *FullNode) MsigPropose(_a0 context.Context, _a1 address.Address, _a2 address.Address, _a3 big.Int, _a4 address.Address, _a5 uint64, _a6 []byte) (*api.MessagePrototype, error) { ret := _m.Called(_a0, _a1, _a2, _a3, _a4, _a5, _a6) if len(ret) == 0 { @@ -3818,10 +3824,10 @@ func (_m *FullNode) MsigPropose(_a0 context.Context, _a1 address.Address, _a2 ad var r0 *api.MessagePrototype var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, types.BigInt, address.Address, uint64, []byte) (*api.MessagePrototype, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int, address.Address, uint64, []byte) (*api.MessagePrototype, error)); ok { return rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, types.BigInt, address.Address, uint64, []byte) *api.MessagePrototype); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int, address.Address, uint64, []byte) *api.MessagePrototype); ok { r0 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) } else { if ret.Get(0) != nil { @@ -3829,7 +3835,7 @@ func (_m *FullNode) MsigPropose(_a0 context.Context, _a1 address.Address, _a2 ad } } - if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, types.BigInt, address.Address, uint64, []byte) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, big.Int, address.Address, uint64, []byte) error); ok { r1 = rf(_a0, _a1, _a2, _a3, _a4, _a5, _a6) } else { r1 = ret.Error(1) @@ -4745,7 +4751,7 @@ func (_m *FullNode) PaychCollect(_a0 context.Context, _a1 address.Address) (cid. } // PaychFund provides a mock function with given fields: ctx, from, to, amt -func (_m *FullNode) PaychFund(ctx context.Context, from address.Address, to address.Address, amt types.BigInt) (*api.ChannelInfo, error) { +func (_m *FullNode) PaychFund(ctx context.Context, from address.Address, to address.Address, amt big.Int) (*api.ChannelInfo, error) { ret := _m.Called(ctx, from, to, amt) if len(ret) == 0 { @@ -4754,10 +4760,10 @@ func (_m *FullNode) PaychFund(ctx context.Context, from address.Address, to addr var r0 *api.ChannelInfo var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, types.BigInt) (*api.ChannelInfo, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) (*api.ChannelInfo, error)); ok { return rf(ctx, from, to, amt) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, types.BigInt) *api.ChannelInfo); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int) *api.ChannelInfo); ok { r0 = rf(ctx, from, to, amt) } else { if ret.Get(0) != nil { @@ -4765,7 +4771,7 @@ func (_m *FullNode) PaychFund(ctx context.Context, from address.Address, to addr } } - if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, types.BigInt) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, big.Int) error); ok { r1 = rf(ctx, from, to, amt) } else { r1 = ret.Error(1) @@ -4775,7 +4781,7 @@ func (_m *FullNode) PaychFund(ctx context.Context, from address.Address, to addr } // PaychGet provides a mock function with given fields: ctx, from, to, amt, opts -func (_m *FullNode) PaychGet(ctx context.Context, from address.Address, to address.Address, amt types.BigInt, opts api.PaychGetOpts) (*api.ChannelInfo, error) { +func (_m *FullNode) PaychGet(ctx context.Context, from address.Address, to address.Address, amt big.Int, opts api.PaychGetOpts) (*api.ChannelInfo, error) { ret := _m.Called(ctx, from, to, amt, opts) if len(ret) == 0 { @@ -4784,10 +4790,10 @@ func (_m *FullNode) PaychGet(ctx context.Context, from address.Address, to addre var r0 *api.ChannelInfo var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, types.BigInt, api.PaychGetOpts) (*api.ChannelInfo, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int, api.PaychGetOpts) (*api.ChannelInfo, error)); ok { return rf(ctx, from, to, amt, opts) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, types.BigInt, api.PaychGetOpts) *api.ChannelInfo); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, address.Address, big.Int, api.PaychGetOpts) *api.ChannelInfo); ok { r0 = rf(ctx, from, to, amt, opts) } else { if ret.Get(0) != nil { @@ -4795,7 +4801,7 @@ func (_m *FullNode) PaychGet(ctx context.Context, from address.Address, to addre } } - if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, types.BigInt, api.PaychGetOpts) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, address.Address, address.Address, big.Int, api.PaychGetOpts) error); ok { r1 = rf(ctx, from, to, amt, opts) } else { r1 = ret.Error(1) @@ -4951,25 +4957,25 @@ func (_m *FullNode) PaychStatus(_a0 context.Context, _a1 address.Address) (*api. } // PaychVoucherAdd provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4 -func (_m *FullNode) PaychVoucherAdd(_a0 context.Context, _a1 address.Address, _a2 *paych.SignedVoucher, _a3 []byte, _a4 types.BigInt) (types.BigInt, error) { +func (_m *FullNode) PaychVoucherAdd(_a0 context.Context, _a1 address.Address, _a2 *paych.SignedVoucher, _a3 []byte, _a4 big.Int) (big.Int, error) { ret := _m.Called(_a0, _a1, _a2, _a3, _a4) if len(ret) == 0 { panic("no return value specified for PaychVoucherAdd") } - var r0 types.BigInt + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, types.BigInt) (types.BigInt, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, big.Int) (big.Int, error)); ok { return rf(_a0, _a1, _a2, _a3, _a4) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, types.BigInt) types.BigInt); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, big.Int) big.Int); ok { r0 = rf(_a0, _a1, _a2, _a3, _a4) } else { - r0 = ret.Get(0).(types.BigInt) + r0 = ret.Get(0).(big.Int) } - if rf, ok := ret.Get(1).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, types.BigInt) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, address.Address, *paych.SignedVoucher, []byte, big.Int) error); ok { r1 = rf(_a0, _a1, _a2, _a3, _a4) } else { r1 = ret.Error(1) @@ -5025,7 +5031,7 @@ func (_m *FullNode) PaychVoucherCheckValid(_a0 context.Context, _a1 address.Addr } // PaychVoucherCreate provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *FullNode) PaychVoucherCreate(_a0 context.Context, _a1 address.Address, _a2 types.BigInt, _a3 uint64) (*api.VoucherCreateResult, error) { +func (_m *FullNode) PaychVoucherCreate(_a0 context.Context, _a1 address.Address, _a2 big.Int, _a3 uint64) (*api.VoucherCreateResult, error) { ret := _m.Called(_a0, _a1, _a2, _a3) if len(ret) == 0 { @@ -5034,10 +5040,10 @@ func (_m *FullNode) PaychVoucherCreate(_a0 context.Context, _a1 address.Address, var r0 *api.VoucherCreateResult var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.BigInt, uint64) (*api.VoucherCreateResult, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, big.Int, uint64) (*api.VoucherCreateResult, error)); ok { return rf(_a0, _a1, _a2, _a3) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.BigInt, uint64) *api.VoucherCreateResult); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, big.Int, uint64) *api.VoucherCreateResult); ok { r0 = rf(_a0, _a1, _a2, _a3) } else { if ret.Get(0) != nil { @@ -5045,7 +5051,7 @@ func (_m *FullNode) PaychVoucherCreate(_a0 context.Context, _a1 address.Address, } } - if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.BigInt, uint64) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, address.Address, big.Int, uint64) error); ok { r1 = rf(_a0, _a1, _a2, _a3) } else { r1 = ret.Error(1) @@ -5335,23 +5341,23 @@ func (_m *FullNode) StateCall(_a0 context.Context, _a1 *types.Message, _a2 types } // StateChangedActors provides a mock function with given fields: _a0, _a1, _a2 -func (_m *FullNode) StateChangedActors(_a0 context.Context, _a1 cid.Cid, _a2 cid.Cid) (map[string]types.Actor, error) { +func (_m *FullNode) StateChangedActors(_a0 context.Context, _a1 cid.Cid, _a2 cid.Cid) (map[string]types.ActorV5, error) { ret := _m.Called(_a0, _a1, _a2) if len(ret) == 0 { panic("no return value specified for StateChangedActors") } - var r0 map[string]types.Actor + var r0 map[string]types.ActorV5 var r1 error - if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, cid.Cid) (map[string]types.Actor, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, cid.Cid) (map[string]types.ActorV5, error)); ok { return rf(_a0, _a1, _a2) } - if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, cid.Cid) map[string]types.Actor); ok { + if rf, ok := ret.Get(0).(func(context.Context, cid.Cid, cid.Cid) map[string]types.ActorV5); ok { r0 = rf(_a0, _a1, _a2) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(map[string]types.Actor) + r0 = ret.Get(0).(map[string]types.ActorV5) } } @@ -5365,22 +5371,22 @@ func (_m *FullNode) StateChangedActors(_a0 context.Context, _a1 cid.Cid, _a2 cid } // StateCirculatingSupply provides a mock function with given fields: _a0, _a1 -func (_m *FullNode) StateCirculatingSupply(_a0 context.Context, _a1 types.TipSetKey) (abi.TokenAmount, error) { +func (_m *FullNode) StateCirculatingSupply(_a0 context.Context, _a1 types.TipSetKey) (big.Int, error) { ret := _m.Called(_a0, _a1) if len(ret) == 0 { panic("no return value specified for StateCirculatingSupply") } - var r0 abi.TokenAmount + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (abi.TokenAmount, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (big.Int, error)); ok { return rf(_a0, _a1) } - if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) abi.TokenAmount); ok { + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) big.Int); ok { r0 = rf(_a0, _a1) } else { - r0 = ret.Get(0).(abi.TokenAmount) + r0 = ret.Get(0).(big.Int) } if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { @@ -5539,23 +5545,23 @@ func (_m *FullNode) StateEncodeParams(ctx context.Context, toActCode cid.Cid, me } // StateGetActor provides a mock function with given fields: ctx, actor, tsk -func (_m *FullNode) StateGetActor(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*types.Actor, error) { +func (_m *FullNode) StateGetActor(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*types.ActorV5, error) { ret := _m.Called(ctx, actor, tsk) if len(ret) == 0 { panic("no return value specified for StateGetActor") } - var r0 *types.Actor + var r0 *types.ActorV5 var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*types.Actor, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*types.ActorV5, error)); ok { return rf(ctx, actor, tsk) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *types.Actor); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *types.ActorV5); ok { r0 = rf(ctx, actor, tsk) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*types.Actor) + r0 = ret.Get(0).(*types.ActorV5) } } @@ -6311,22 +6317,22 @@ func (_m *FullNode) StateMinerAllocated(_a0 context.Context, _a1 address.Address } // StateMinerAvailableBalance provides a mock function with given fields: _a0, _a1, _a2 -func (_m *FullNode) StateMinerAvailableBalance(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (types.BigInt, error) { +func (_m *FullNode) StateMinerAvailableBalance(_a0 context.Context, _a1 address.Address, _a2 types.TipSetKey) (big.Int, error) { ret := _m.Called(_a0, _a1, _a2) if len(ret) == 0 { panic("no return value specified for StateMinerAvailableBalance") } - var r0 types.BigInt + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (types.BigInt, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (big.Int, error)); ok { return rf(_a0, _a1, _a2) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) types.BigInt); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) big.Int); ok { r0 = rf(_a0, _a1, _a2) } else { - r0 = ret.Get(0).(types.BigInt) + r0 = ret.Get(0).(big.Int) } if rf, ok := ret.Get(1).(func(context.Context, address.Address, types.TipSetKey) error); ok { @@ -6425,25 +6431,25 @@ func (_m *FullNode) StateMinerInfo(_a0 context.Context, _a1 address.Address, _a2 } // StateMinerInitialPledgeCollateral provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *FullNode) StateMinerInitialPledgeCollateral(_a0 context.Context, _a1 address.Address, _a2 miner.SectorPreCommitInfo, _a3 types.TipSetKey) (types.BigInt, error) { +func (_m *FullNode) StateMinerInitialPledgeCollateral(_a0 context.Context, _a1 address.Address, _a2 v9miner.SectorPreCommitInfo, _a3 types.TipSetKey) (big.Int, error) { ret := _m.Called(_a0, _a1, _a2, _a3) if len(ret) == 0 { panic("no return value specified for StateMinerInitialPledgeCollateral") } - var r0 types.BigInt + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) (types.BigInt, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, v9miner.SectorPreCommitInfo, types.TipSetKey) (big.Int, error)); ok { return rf(_a0, _a1, _a2, _a3) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) types.BigInt); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, v9miner.SectorPreCommitInfo, types.TipSetKey) big.Int); ok { r0 = rf(_a0, _a1, _a2, _a3) } else { - r0 = ret.Get(0).(types.BigInt) + r0 = ret.Get(0).(big.Int) } - if rf, ok := ret.Get(1).(func(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, address.Address, v9miner.SectorPreCommitInfo, types.TipSetKey) error); ok { r1 = rf(_a0, _a1, _a2, _a3) } else { r1 = ret.Error(1) @@ -6453,22 +6459,22 @@ func (_m *FullNode) StateMinerInitialPledgeCollateral(_a0 context.Context, _a1 a } // StateMinerInitialPledgeForSector provides a mock function with given fields: ctx, sectorDuration, sectorSize, verifiedSize, tsk -func (_m *FullNode) StateMinerInitialPledgeForSector(ctx context.Context, sectorDuration abi.ChainEpoch, sectorSize abi.SectorSize, verifiedSize uint64, tsk types.TipSetKey) (types.BigInt, error) { +func (_m *FullNode) StateMinerInitialPledgeForSector(ctx context.Context, sectorDuration abi.ChainEpoch, sectorSize abi.SectorSize, verifiedSize uint64, tsk types.TipSetKey) (big.Int, error) { ret := _m.Called(ctx, sectorDuration, sectorSize, verifiedSize, tsk) if len(ret) == 0 { panic("no return value specified for StateMinerInitialPledgeForSector") } - var r0 types.BigInt + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, abi.SectorSize, uint64, types.TipSetKey) (types.BigInt, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, abi.SectorSize, uint64, types.TipSetKey) (big.Int, error)); ok { return rf(ctx, sectorDuration, sectorSize, verifiedSize, tsk) } - if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, abi.SectorSize, uint64, types.TipSetKey) types.BigInt); ok { + if rf, ok := ret.Get(0).(func(context.Context, abi.ChainEpoch, abi.SectorSize, uint64, types.TipSetKey) big.Int); ok { r0 = rf(ctx, sectorDuration, sectorSize, verifiedSize, tsk) } else { - r0 = ret.Get(0).(types.BigInt) + r0 = ret.Get(0).(big.Int) } if rf, ok := ret.Get(1).(func(context.Context, abi.ChainEpoch, abi.SectorSize, uint64, types.TipSetKey) error); ok { @@ -6541,25 +6547,25 @@ func (_m *FullNode) StateMinerPower(_a0 context.Context, _a1 address.Address, _a } // StateMinerPreCommitDepositForPower provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *FullNode) StateMinerPreCommitDepositForPower(_a0 context.Context, _a1 address.Address, _a2 miner.SectorPreCommitInfo, _a3 types.TipSetKey) (types.BigInt, error) { +func (_m *FullNode) StateMinerPreCommitDepositForPower(_a0 context.Context, _a1 address.Address, _a2 v9miner.SectorPreCommitInfo, _a3 types.TipSetKey) (big.Int, error) { ret := _m.Called(_a0, _a1, _a2, _a3) if len(ret) == 0 { panic("no return value specified for StateMinerPreCommitDepositForPower") } - var r0 types.BigInt + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) (types.BigInt, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, v9miner.SectorPreCommitInfo, types.TipSetKey) (big.Int, error)); ok { return rf(_a0, _a1, _a2, _a3) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) types.BigInt); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, v9miner.SectorPreCommitInfo, types.TipSetKey) big.Int); ok { r0 = rf(_a0, _a1, _a2, _a3) } else { - r0 = ret.Get(0).(types.BigInt) + r0 = ret.Get(0).(big.Int) } - if rf, ok := ret.Get(1).(func(context.Context, address.Address, miner.SectorPreCommitInfo, types.TipSetKey) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, address.Address, v9miner.SectorPreCommitInfo, types.TipSetKey) error); ok { r1 = rf(_a0, _a1, _a2, _a3) } else { r1 = ret.Error(1) @@ -6741,22 +6747,22 @@ func (_m *FullNode) StateNetworkName(_a0 context.Context) (dtypes.NetworkName, e } // StateNetworkVersion provides a mock function with given fields: _a0, _a1 -func (_m *FullNode) StateNetworkVersion(_a0 context.Context, _a1 types.TipSetKey) (apitypes.NetworkVersion, error) { +func (_m *FullNode) StateNetworkVersion(_a0 context.Context, _a1 types.TipSetKey) (go_state_typesnetwork.Version, error) { ret := _m.Called(_a0, _a1) if len(ret) == 0 { panic("no return value specified for StateNetworkVersion") } - var r0 apitypes.NetworkVersion + var r0 go_state_typesnetwork.Version var r1 error - if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (apitypes.NetworkVersion, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) (go_state_typesnetwork.Version, error)); ok { return rf(_a0, _a1) } - if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) apitypes.NetworkVersion); ok { + if rf, ok := ret.Get(0).(func(context.Context, types.TipSetKey) go_state_typesnetwork.Version); ok { r0 = rf(_a0, _a1) } else { - r0 = ret.Get(0).(apitypes.NetworkVersion) + r0 = ret.Get(0).(go_state_typesnetwork.Version) } if rf, ok := ret.Get(1).(func(context.Context, types.TipSetKey) error); ok { @@ -6859,23 +6865,23 @@ func (_m *FullNode) StateSearchMsg(ctx context.Context, from types.TipSetKey, ms } // StateSectorExpiration provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *FullNode) StateSectorExpiration(_a0 context.Context, _a1 address.Address, _a2 abi.SectorNumber, _a3 types.TipSetKey) (*miner.SectorExpiration, error) { +func (_m *FullNode) StateSectorExpiration(_a0 context.Context, _a1 address.Address, _a2 abi.SectorNumber, _a3 types.TipSetKey) (*builtinminer.SectorExpiration, error) { ret := _m.Called(_a0, _a1, _a2, _a3) if len(ret) == 0 { panic("no return value specified for StateSectorExpiration") } - var r0 *miner.SectorExpiration + var r0 *builtinminer.SectorExpiration var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*miner.SectorExpiration, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*builtinminer.SectorExpiration, error)); ok { return rf(_a0, _a1, _a2, _a3) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) *miner.SectorExpiration); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) *builtinminer.SectorExpiration); ok { r0 = rf(_a0, _a1, _a2, _a3) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*miner.SectorExpiration) + r0 = ret.Get(0).(*builtinminer.SectorExpiration) } } @@ -6919,23 +6925,23 @@ func (_m *FullNode) StateSectorGetInfo(_a0 context.Context, _a1 address.Address, } // StateSectorPartition provides a mock function with given fields: ctx, maddr, sectorNumber, tok -func (_m *FullNode) StateSectorPartition(ctx context.Context, maddr address.Address, sectorNumber abi.SectorNumber, tok types.TipSetKey) (*miner.SectorLocation, error) { +func (_m *FullNode) StateSectorPartition(ctx context.Context, maddr address.Address, sectorNumber abi.SectorNumber, tok types.TipSetKey) (*builtinminer.SectorLocation, error) { ret := _m.Called(ctx, maddr, sectorNumber, tok) if len(ret) == 0 { panic("no return value specified for StateSectorPartition") } - var r0 *miner.SectorLocation + var r0 *builtinminer.SectorLocation var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*miner.SectorLocation, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*builtinminer.SectorLocation, error)); ok { return rf(ctx, maddr, sectorNumber, tok) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) *miner.SectorLocation); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) *builtinminer.SectorLocation); ok { r0 = rf(ctx, maddr, sectorNumber, tok) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*miner.SectorLocation) + r0 = ret.Get(0).(*builtinminer.SectorLocation) } } @@ -6949,23 +6955,23 @@ func (_m *FullNode) StateSectorPartition(ctx context.Context, maddr address.Addr } // StateSectorPreCommitInfo provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *FullNode) StateSectorPreCommitInfo(_a0 context.Context, _a1 address.Address, _a2 abi.SectorNumber, _a3 types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error) { +func (_m *FullNode) StateSectorPreCommitInfo(_a0 context.Context, _a1 address.Address, _a2 abi.SectorNumber, _a3 types.TipSetKey) (*v9miner.SectorPreCommitOnChainInfo, error) { ret := _m.Called(_a0, _a1, _a2, _a3) if len(ret) == 0 { panic("no return value specified for StateSectorPreCommitInfo") } - var r0 *miner.SectorPreCommitOnChainInfo + var r0 *v9miner.SectorPreCommitOnChainInfo var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*miner.SectorPreCommitOnChainInfo, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) (*v9miner.SectorPreCommitOnChainInfo, error)); ok { return rf(_a0, _a1, _a2, _a3) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) *miner.SectorPreCommitOnChainInfo); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, abi.SectorNumber, types.TipSetKey) *v9miner.SectorPreCommitOnChainInfo); ok { r0 = rf(_a0, _a1, _a2, _a3) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*miner.SectorPreCommitOnChainInfo) + r0 = ret.Get(0).(*v9miner.SectorPreCommitOnChainInfo) } } @@ -7007,23 +7013,23 @@ func (_m *FullNode) StateVMCirculatingSupplyInternal(_a0 context.Context, _a1 ty } // StateVerifiedClientStatus provides a mock function with given fields: ctx, addr, tsk -func (_m *FullNode) StateVerifiedClientStatus(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*abi.StoragePower, error) { +func (_m *FullNode) StateVerifiedClientStatus(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*big.Int, error) { ret := _m.Called(ctx, addr, tsk) if len(ret) == 0 { panic("no return value specified for StateVerifiedClientStatus") } - var r0 *abi.StoragePower + var r0 *big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*abi.StoragePower, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*big.Int, error)); ok { return rf(ctx, addr, tsk) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *abi.StoragePower); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *big.Int); ok { r0 = rf(ctx, addr, tsk) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*abi.StoragePower) + r0 = ret.Get(0).(*big.Int) } } @@ -7065,23 +7071,23 @@ func (_m *FullNode) StateVerifiedRegistryRootKey(ctx context.Context, tsk types. } // StateVerifierStatus provides a mock function with given fields: ctx, addr, tsk -func (_m *FullNode) StateVerifierStatus(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*abi.StoragePower, error) { +func (_m *FullNode) StateVerifierStatus(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*big.Int, error) { ret := _m.Called(ctx, addr, tsk) if len(ret) == 0 { panic("no return value specified for StateVerifierStatus") } - var r0 *abi.StoragePower + var r0 *big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*abi.StoragePower, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) (*big.Int, error)); ok { return rf(ctx, addr, tsk) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *abi.StoragePower); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address, types.TipSetKey) *big.Int); ok { r0 = rf(ctx, addr, tsk) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*abi.StoragePower) + r0 = ret.Get(0).(*big.Int) } } @@ -7389,22 +7395,22 @@ func (_m *FullNode) Version(_a0 context.Context) (api.APIVersion, error) { } // WalletBalance provides a mock function with given fields: _a0, _a1 -func (_m *FullNode) WalletBalance(_a0 context.Context, _a1 address.Address) (types.BigInt, error) { +func (_m *FullNode) WalletBalance(_a0 context.Context, _a1 address.Address) (big.Int, error) { ret := _m.Called(_a0, _a1) if len(ret) == 0 { panic("no return value specified for WalletBalance") } - var r0 types.BigInt + var r0 big.Int var r1 error - if rf, ok := ret.Get(0).(func(context.Context, address.Address) (types.BigInt, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address) (big.Int, error)); ok { return rf(_a0, _a1) } - if rf, ok := ret.Get(0).(func(context.Context, address.Address) types.BigInt); ok { + if rf, ok := ret.Get(0).(func(context.Context, address.Address) big.Int); ok { r0 = rf(_a0, _a1) } else { - r0 = ret.Get(0).(types.BigInt) + r0 = ret.Get(0).(big.Int) } if rf, ok := ret.Get(1).(func(context.Context, address.Address) error); ok {