Skip to content

Commit e65fae2

Browse files
committed
chore: fix imports
1 parent d929d71 commit e65fae2

File tree

661 files changed

+2121
-2430
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

661 files changed

+2121
-2430
lines changed

api/api_common.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import (
44
"context"
55
"fmt"
66

7-
apitypes "github.com/filecoin-project/lotus/api/types"
8-
"github.com/filecoin-project/lotus/journal/alerting"
9-
107
"github.com/google/uuid"
118

129
"github.com/filecoin-project/go-jsonrpc/auth"
10+
11+
apitypes "github.com/filecoin-project/lotus/api/types"
12+
"github.com/filecoin-project/lotus/journal/alerting"
1313
)
1414

1515
// MODIFYING THE API INTERFACE

api/api_full.go

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,16 @@ import (
1313
"github.com/filecoin-project/go-address"
1414
"github.com/filecoin-project/go-bitfield"
1515
datatransfer "github.com/filecoin-project/go-data-transfer"
16-
"github.com/filecoin-project/go-state-types/abi"
17-
"github.com/filecoin-project/go-state-types/big"
18-
"github.com/filecoin-project/go-state-types/crypto"
19-
"github.com/filecoin-project/go-state-types/dline"
20-
2116
"github.com/filecoin-project/go-fil-markets/retrievalmarket"
2217
"github.com/filecoin-project/go-fil-markets/storagemarket"
23-
18+
"github.com/filecoin-project/go-state-types/abi"
19+
"github.com/filecoin-project/go-state-types/big"
2420
"github.com/filecoin-project/go-state-types/builtin/v8/market"
2521
"github.com/filecoin-project/go-state-types/builtin/v8/miner"
2622
"github.com/filecoin-project/go-state-types/builtin/v8/paych"
23+
"github.com/filecoin-project/go-state-types/crypto"
24+
"github.com/filecoin-project/go-state-types/dline"
25+
2726
apitypes "github.com/filecoin-project/lotus/api/types"
2827
"github.com/filecoin-project/lotus/chain/actors/builtin"
2928
lminer "github.com/filecoin-project/lotus/chain/actors/builtin/miner"

api/api_gateway.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88

99
"github.com/filecoin-project/go-address"
1010
"github.com/filecoin-project/go-state-types/abi"
11+
"github.com/filecoin-project/go-state-types/builtin/v8/miner"
1112
"github.com/filecoin-project/go-state-types/dline"
1213

13-
"github.com/filecoin-project/go-state-types/builtin/v8/miner"
1414
apitypes "github.com/filecoin-project/lotus/api/types"
1515
"github.com/filecoin-project/lotus/chain/types"
1616
)

api/api_storage.go

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,22 @@ import (
55
"context"
66
"time"
77

8-
"github.com/filecoin-project/go-state-types/builtin/v8/miner"
9-
"github.com/filecoin-project/lotus/chain/actors/builtin"
10-
118
"github.com/google/uuid"
129
"github.com/ipfs/go-cid"
1310
"github.com/libp2p/go-libp2p-core/peer"
1411

1512
"github.com/filecoin-project/go-address"
1613
datatransfer "github.com/filecoin-project/go-data-transfer"
14+
"github.com/filecoin-project/go-fil-markets/piecestore"
15+
"github.com/filecoin-project/go-fil-markets/retrievalmarket"
16+
"github.com/filecoin-project/go-fil-markets/storagemarket"
1717
"github.com/filecoin-project/go-state-types/abi"
1818
"github.com/filecoin-project/go-state-types/builtin/v8/market"
19+
"github.com/filecoin-project/go-state-types/builtin/v8/miner"
1920
abinetwork "github.com/filecoin-project/go-state-types/network"
2021
"github.com/filecoin-project/specs-storage/storage"
2122

22-
"github.com/filecoin-project/go-fil-markets/piecestore"
23-
"github.com/filecoin-project/go-fil-markets/retrievalmarket"
24-
"github.com/filecoin-project/go-fil-markets/storagemarket"
25-
23+
"github.com/filecoin-project/lotus/chain/actors/builtin"
2624
"github.com/filecoin-project/lotus/chain/types"
2725
"github.com/filecoin-project/lotus/extern/sector-storage/fsutil"
2826
"github.com/filecoin-project/lotus/extern/sector-storage/storiface"

api/api_worker.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ package api
33
import (
44
"context"
55

6-
"github.com/filecoin-project/go-state-types/proof"
7-
86
"github.com/google/uuid"
97
"github.com/ipfs/go-cid"
108

119
"github.com/filecoin-project/go-state-types/abi"
10+
"github.com/filecoin-project/go-state-types/proof"
11+
"github.com/filecoin-project/specs-storage/storage"
12+
1213
"github.com/filecoin-project/lotus/extern/sector-storage/sealtasks"
1314
"github.com/filecoin-project/lotus/extern/sector-storage/storiface"
14-
"github.com/filecoin-project/specs-storage/storage"
1515
)
1616

1717
// MODIFYING THE API INTERFACE

api/cbor_gen.go

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/docgen-openrpc/cmd/docgen_openrpc.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"os"
99

1010
"github.com/filecoin-project/lotus/api/docgen"
11-
1211
docgen_openrpc "github.com/filecoin-project/lotus/api/docgen-openrpc"
1312
)
1413

api/docgen-openrpc/openrpc.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ import (
88

99
"github.com/alecthomas/jsonschema"
1010
go_openrpc_reflect "github.com/etclabscore/go-openrpc-reflect"
11-
"github.com/filecoin-project/lotus/api/docgen"
12-
"github.com/filecoin-project/lotus/build"
1311
"github.com/ipfs/go-cid"
1412
meta_schema "github.com/open-rpc/meta-schema"
13+
14+
"github.com/filecoin-project/lotus/api/docgen"
15+
"github.com/filecoin-project/lotus/build"
1516
)
1617

1718
// schemaDictEntry represents a type association passed to the jsonschema reflector.

api/docgen/docgen.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,24 @@ import (
1212
"time"
1313
"unicode"
1414

15-
"github.com/filecoin-project/go-address"
16-
"github.com/filecoin-project/go-bitfield"
1715
"github.com/google/uuid"
16+
blocks "github.com/ipfs/go-block-format"
1817
"github.com/ipfs/go-cid"
1918
"github.com/ipfs/go-graphsync"
19+
textselector "github.com/ipld/go-ipld-selector-text-lite"
2020
"github.com/libp2p/go-libp2p-core/metrics"
2121
"github.com/libp2p/go-libp2p-core/network"
2222
"github.com/libp2p/go-libp2p-core/peer"
2323
"github.com/libp2p/go-libp2p-core/protocol"
2424
pubsub "github.com/libp2p/go-libp2p-pubsub"
2525
"github.com/multiformats/go-multiaddr"
2626

27+
"github.com/filecoin-project/go-address"
28+
"github.com/filecoin-project/go-bitfield"
2729
datatransfer "github.com/filecoin-project/go-data-transfer"
2830
filestore "github.com/filecoin-project/go-fil-markets/filestore"
2931
"github.com/filecoin-project/go-fil-markets/retrievalmarket"
3032
"github.com/filecoin-project/go-jsonrpc/auth"
31-
blocks "github.com/ipfs/go-block-format"
32-
textselector "github.com/ipld/go-ipld-selector-text-lite"
33-
3433
"github.com/filecoin-project/go-state-types/abi"
3534
"github.com/filecoin-project/go-state-types/crypto"
3635
"github.com/filecoin-project/go-state-types/exitcode"

api/mocks/mock_full.go

Lines changed: 10 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)