Skip to content

Commit 91ee8e4

Browse files
hannahhowarddirkmc
andauthored
Lotus Compatibility v1.18.0 update (#884)
* chore(deps): update go-fil-markets + lotus v9 actors * feat: update lotus to v1.18.0-rc3 Co-authored-by: Dirk McCormick <[email protected]>
1 parent 015b654 commit 91ee8e4

File tree

23 files changed

+49
-39
lines changed

23 files changed

+49
-39
lines changed

api/docgen/docgen.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import (
3131
textselector "github.com/ipld/go-ipld-selector-text-lite"
3232

3333
"github.com/filecoin-project/go-state-types/abi"
34+
"github.com/filecoin-project/go-state-types/builtin/v9/verifreg"
3435
"github.com/filecoin-project/go-state-types/crypto"
3536
"github.com/filecoin-project/go-state-types/exitcode"
3637

@@ -133,7 +134,10 @@ func init() {
133134
addExample(retrievalmarket.DealStatusNew)
134135
addExample(&textSelExample)
135136
addExample(network.ReachabilityPublic)
136-
addExample(build.NewestNetworkVersion)
137+
addExample(build.TestNetworkVersion)
138+
allocationID := verifreg.AllocationId(0)
139+
addExample(allocationID)
140+
addExample(&allocationID)
137141
addExample(map[string]int{"name": 42})
138142
addExample(map[string]time.Time{"name": time.Unix(1615243938, 0).UTC()})
139143
addExample(&types.ExecutionTrace{

cmd/boost/deal_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
cborutil "github.com/filecoin-project/go-cbor-util"
1616
"github.com/filecoin-project/go-state-types/abi"
1717
"github.com/filecoin-project/go-state-types/big"
18-
"github.com/filecoin-project/go-state-types/builtin/v8/market"
18+
"github.com/filecoin-project/go-state-types/builtin/v9/market"
1919
"github.com/filecoin-project/lotus/api"
2020
chain_types "github.com/filecoin-project/lotus/chain/types"
2121
lcli "github.com/filecoin-project/lotus/cli"

cmd/boostd/dummydeal.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"github.com/filecoin-project/go-address"
2121
cborutil "github.com/filecoin-project/go-cbor-util"
2222
"github.com/filecoin-project/go-state-types/abi"
23-
"github.com/filecoin-project/go-state-types/builtin/v8/market"
23+
"github.com/filecoin-project/go-state-types/builtin/v9/market"
2424
"github.com/filecoin-project/lotus/api/v0api"
2525
"github.com/google/uuid"
2626
"github.com/ipfs/go-cid"

cmd/boostx/utils_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/filecoin-project/go-fil-markets/stores"
1616
"github.com/filecoin-project/go-state-types/abi"
1717
"github.com/filecoin-project/go-state-types/big"
18-
markettypes "github.com/filecoin-project/go-state-types/builtin/v8/market"
18+
markettypes "github.com/filecoin-project/go-state-types/builtin/v9/market"
1919
"github.com/filecoin-project/lotus/api"
2020
lapi "github.com/filecoin-project/lotus/api"
2121
"github.com/filecoin-project/lotus/chain/actors"

db/deals.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/filecoin-project/boost/db/fielddef"
1010
"github.com/filecoin-project/boost/storagemarket/types"
1111
"github.com/filecoin-project/boost/storagemarket/types/dealcheckpoints"
12-
"github.com/filecoin-project/go-state-types/builtin/v8/market"
12+
"github.com/filecoin-project/go-state-types/builtin/v9/market"
1313
"github.com/google/uuid"
1414
"github.com/graph-gophers/graphql-go"
1515
"github.com/ipfs/go-cid"

db/fielddef/fielddef.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/filecoin-project/go-address"
1010
cborutil "github.com/filecoin-project/go-cbor-util"
1111
"github.com/filecoin-project/go-state-types/big"
12-
"github.com/filecoin-project/go-state-types/builtin/v8/market"
12+
"github.com/filecoin-project/go-state-types/builtin/v9/market"
1313
"github.com/filecoin-project/go-state-types/crypto"
1414
"github.com/ipfs/go-cid"
1515
"github.com/libp2p/go-libp2p/core/peer"

db/fixtures.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/filecoin-project/boost/testutil"
1111
"github.com/filecoin-project/go-address"
1212
"github.com/filecoin-project/go-state-types/abi"
13-
"github.com/filecoin-project/go-state-types/builtin/v8/market"
13+
"github.com/filecoin-project/go-state-types/builtin/v9/market"
1414
"github.com/filecoin-project/go-state-types/crypto"
1515
"github.com/google/uuid"
1616
"github.com/libp2p/go-libp2p/core/peer"

db/migrations/20220608160748_deals_label_v8.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"unicode/utf8"
77

88
"github.com/filecoin-project/boost/db/fielddef"
9-
"github.com/filecoin-project/go-state-types/builtin/v8/market"
9+
"github.com/filecoin-project/go-state-types/builtin/v9/market"
1010
"github.com/pressly/goose/v3"
1111
)
1212

db/migrations_tests/deals_label_v8_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/filecoin-project/boost/db"
99
"github.com/filecoin-project/boost/db/migrations"
10-
"github.com/filecoin-project/go-state-types/builtin/v8/market"
10+
"github.com/filecoin-project/go-state-types/builtin/v9/market"
1111
"github.com/stretchr/testify/require"
1212
)
1313

db/proposallog_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/filecoin-project/boost/db/migrations"
88
"github.com/filecoin-project/boost/storagemarket/types"
99
"github.com/filecoin-project/go-address"
10-
"github.com/filecoin-project/go-state-types/builtin/v8/market"
10+
"github.com/filecoin-project/go-state-types/builtin/v9/market"
1111
"github.com/google/uuid"
1212
"github.com/stretchr/testify/require"
1313
)

0 commit comments

Comments
 (0)