Skip to content

Commit 2a9e1c9

Browse files
committed
Use v14 miner structs
1 parent c5dc4a5 commit 2a9e1c9

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

terminate/onpledge.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/filecoin-project/go-state-types/abi"
88
filbig "github.com/filecoin-project/go-state-types/big"
99
"github.com/filecoin-project/go-state-types/builtin"
10-
"github.com/filecoin-project/go-state-types/builtin/v13/miner"
10+
"github.com/filecoin-project/go-state-types/builtin/v14/miner"
1111
lotusapi "github.com/filecoin-project/lotus/api"
1212
"github.com/filecoin-project/lotus/chain/types"
1313
miner8 "github.com/filecoin-project/specs-actors/v8/actors/builtin/miner"

util/termination.go

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package util
22

33
import (
44
"context"
5+
"fmt"
56

6-
"github.com/filecoin-project/go-state-types/builtin/v13/miner"
7-
smoothing13 "github.com/filecoin-project/go-state-types/builtin/v13/util/smoothing"
7+
"github.com/filecoin-project/go-state-types/builtin/v14/miner"
8+
smoothing14 "github.com/filecoin-project/go-state-types/builtin/v14/util/smoothing"
89
lotusapi "github.com/filecoin-project/lotus/api"
910
"github.com/filecoin-project/lotus/blockstore"
1011
"github.com/filecoin-project/lotus/chain/actors/adt"
@@ -35,8 +36,8 @@ func ConvertSectorType(sector *miner.SectorOnChainInfo) *miner8.SectorOnChainInf
3536
}
3637
}
3738

38-
func ConvertSmoothing(fe smoothing.FilterEstimate) smoothing13.FilterEstimate {
39-
return smoothing13.FilterEstimate{
39+
func ConvertSmoothing(fe smoothing.FilterEstimate) smoothing14.FilterEstimate {
40+
return smoothing14.FilterEstimate{
4041
PositionEstimate: fe.PositionEstimate,
4142
VelocityEstimate: fe.VelocityEstimate,
4243
}

0 commit comments

Comments
 (0)