Skip to content

Commit 87d046e

Browse files
committed
update lotus v1.33.1
1 parent 0bae5bc commit 87d046e

File tree

25 files changed

+670
-376
lines changed

25 files changed

+670
-376
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ orbs:
66
executors:
77
golang:
88
docker:
9-
- image: cimg/go:1.23.7
9+
- image: cimg/go:1.23.10
1010
resource_class: 2xlarge
1111
ubuntu:
1212
docker:
@@ -87,7 +87,7 @@ jobs:
8787
lid-docker-compose:
8888
description: 'Run LID integration tests'
8989
docker:
90-
- image: cimg/go:1.23.7 # Primary container to run Go tests
90+
- image: cimg/go:1.23.10 # Primary container to run Go tests
9191
environment:
9292
YUGABYTE_HOST: yugabyte
9393
- image: yugabytedb/yugabyte:2024.1.3.0-b105 # Service container for YugabyteDB
@@ -172,7 +172,7 @@ jobs:
172172
linux: false
173173
darwin: true
174174
- golang/install:
175-
version: "1.23.7"
175+
version: "1.23.10"
176176
- run:
177177
name: Install pkg-config
178178
command: HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- main
1010

1111
env:
12-
GO_VERSION: 1.23.7
12+
GO_VERSION: 1.23.10
1313

1414
jobs:
1515
ci-lint:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $(warning Your Golang version is go$(shell expr $(GOVERSION) / 1000000).$(shell
1414
$(error Update Golang to version to at least 1.20.0)
1515
endif
1616

17-
ALLOWED_NODE_VERSIONS := 16 18 20
17+
ALLOWED_NODE_VERSIONS := 16 18 20 22 24
1818
validate-node-version:
1919
ifeq ($(filter $(shell node -v | cut -c2-3),$(ALLOWED_NODE_VERSIONS)),)
2020
@echo "Unsupported Node.js version. Please install one of the following versions: $(ALLOWED_NODE_VERSIONS)"

car/car_offset_writer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"io"
88

99
"github.com/ipfs/boxo/blockservice"
10-
blockstore "github.com/ipfs/boxo/blockstore"
11-
offline "github.com/ipfs/boxo/exchange/offline"
10+
"github.com/ipfs/boxo/blockstore"
11+
"github.com/ipfs/boxo/exchange/offline"
1212
"github.com/ipfs/boxo/ipld/merkledag"
1313
"github.com/ipfs/go-cid"
1414
format "github.com/ipfs/go-ipld-format"

car/car_offset_writer_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import (
2222
"github.com/ipld/go-car"
2323
mh "github.com/multiformats/go-multihash"
2424
"github.com/stretchr/testify/require"
25+
"google.golang.org/protobuf/proto"
2526
)
2627

2728
func TestCarOffsetWriterDagOrder(t *testing.T) {
@@ -46,7 +47,7 @@ func TestCarOffsetWriterDagOrder(t *testing.T) {
4647
{Hash: aaaaBlk.Cid().Bytes(), Name: &aaaa},
4748
},
4849
}
49-
rootByts, err := pbn.Marshal()
50+
rootByts, err := proto.Marshal(pbn)
5051
require.NoError(t, err)
5152
rootBlk := blocks.NewBlock(rootByts)
5253
require.NoError(t, bserv.AddBlock(ctx, rootBlk))

cmd/boost/deal_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func dealCmdAction(cctx *cli.Context, isOnline bool) error {
135135
return err
136136
}
137137

138-
api, closer, err := lcli.GetGatewayAPI(cctx)
138+
api, closer, err := lcli.GetGatewayAPIV1(cctx)
139139
if err != nil {
140140
return fmt.Errorf("cant setup gateway connection: %w", err)
141141
}

cmd/boost/deal_status_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ var dealStatusCmd = &cli.Command{
5050
return err
5151
}
5252

53-
api, closer, err := lcli.GetGatewayAPI(cctx)
53+
api, closer, err := lcli.GetGatewayAPIV1(cctx)
5454
if err != nil {
5555
return fmt.Errorf("cant setup gateway connection: %w", err)
5656
}

cmd/boost/direct_deal.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ var directDealAllocate = &cli.Command{
247247
return err
248248
}
249249

250-
gapi, closer, err := lcli.GetGatewayAPI(cctx)
250+
gapi, closer, err := lcli.GetGatewayAPIV1(cctx)
251251
if err != nil {
252252
return fmt.Errorf("can't setup gateway connection: %w", err)
253253
}
@@ -381,7 +381,7 @@ var directDealGetAllocations = &cli.Command{
381381
return err
382382
}
383383

384-
gapi, closer, err := lcli.GetGatewayAPI(cctx)
384+
gapi, closer, err := lcli.GetGatewayAPIV1(cctx)
385385
if err != nil {
386386
return fmt.Errorf("cant setup gateway connection: %w", err)
387387
}
@@ -591,7 +591,7 @@ If the client id different then claim can be extended up to maximum 5 years from
591591
return fmt.Errorf("specified term-max %d is larger than %d maximum allowed by verified regirty actor policy", tmax, verifreg13types.MaximumVerifiedAllocationTerm)
592592
}
593593

594-
gapi, closer, err := lcli.GetGatewayAPI(cctx)
594+
gapi, closer, err := lcli.GetGatewayAPIV1(cctx)
595595
if err != nil {
596596
return fmt.Errorf("can't setup gateway connection: %w", err)
597597
}
@@ -725,7 +725,7 @@ var listClaimsCmd = &cli.Command{
725725
return fmt.Errorf("must provide a miner ID")
726726
}
727727

728-
gapi, closer, err := lcli.GetGatewayAPI(cctx)
728+
gapi, closer, err := lcli.GetGatewayAPIV1(cctx)
729729
if err != nil {
730730
return fmt.Errorf("can't setup gateway connection: %w", err)
731731
}

cmd/boost/init_cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var initCmd = &cli.Command{
3232
return err
3333
}
3434

35-
api, closer, err := lcli.GetGatewayAPI(cctx)
35+
api, closer, err := lcli.GetGatewayAPIV1(cctx)
3636
if err != nil {
3737
return fmt.Errorf("cant setup gateway connection: %w", err)
3838
}

cmd/boost/provider_cmd.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var libp2pInfoCmd = &cli.Command{
5353
return fmt.Errorf("setting up CLI node: %w", err)
5454
}
5555

56-
api, closer, err := lcli.GetGatewayAPI(cctx)
56+
api, closer, err := lcli.GetGatewayAPIV1(cctx)
5757
if err != nil {
5858
return fmt.Errorf("setting up gateway connection: %w", err)
5959
}
@@ -144,7 +144,7 @@ var storageAskCmd = &cli.Command{
144144
return err
145145
}
146146

147-
api, closer, err := lcli.GetGatewayAPI(cctx)
147+
api, closer, err := lcli.GetGatewayAPIV1(cctx)
148148
if err != nil {
149149
return fmt.Errorf("cant setup gateway connection: %w", err)
150150
}
@@ -225,7 +225,7 @@ var retrievalTransportsCmd = &cli.Command{
225225
return err
226226
}
227227

228-
api, closer, err := lcli.GetGatewayAPI(cctx)
228+
api, closer, err := lcli.GetGatewayAPIV1(cctx)
229229
if err != nil {
230230
return fmt.Errorf("cant setup gateway connection: %w", err)
231231
}

0 commit comments

Comments
 (0)