Skip to content

Commit e2e0411

Browse files
LexLuthrmagik6k
andauthored
feat: Implement Boost equivalent deal market in Curio (#135)
* webui: Jetbrains Mono, fix porep layout (#179) * Move storiface into Curio (#183) * temp: replace lotus to local * move storiface to Curio * fix build * don't refer to storiface2 * make gen * make remote path test happy * cleanup storiface * Batch deadline setting in SectorMetadata (#177) * basic mk12 scafolding * config comments, http header init * fix gen test * fix tests * poller redesign * remove indexing table, add defaults * fix ingest, market tasks * incomplete basic UI code * finish libp2p init, fix tests * fix test-all * enable libp2p relay * add url add command * fix circleCI * fix everything else * apply suggestion from review, cleanup todos * remove import-data * unify libp2p, atomic market scheduler, config changes * minor sql fixes * undo makefile changes * fix final review --------- Co-authored-by: Łukasz Magiera <[email protected]>
1 parent 2da3d19 commit e2e0411

Some content is hidden

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

71 files changed

+10344
-2153
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ jobs:
235235
- attach_workspace:
236236
at: ~/
237237
- run: go install golang.org/x/tools/cmd/goimports
238+
- run: go install github.com/hannahhoward/cbor-gen-for
238239
- run: make gen
239240
- run: git --no-pager diff && git --no-pager diff --quiet
240241

@@ -278,7 +279,7 @@ workflows:
278279
name: test-all
279280
requires:
280281
- build
281-
suite: test-all
282282
target: "`go list ./... | grep -v curio/itests`"
283+
suite: test-all
283284
get-params: true
284-
resource_class: 2xlarge
285+
resource_class: 2xlarge

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ ifeq ($(shell uname),Linux)
8383

8484
batchdep: build/.supraseal-install
8585
batchdep: $(BUILD_DEPS)
86-
,PHONY: batchdep
86+
.PHONY: batchdep
8787

8888
batch: GOFLAGS+=-tags=supraseal
8989
batch: CGO_LDFLAGS_ALLOW='.*'

api/api_chain.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ type CurioChainRPC interface {
9898
StateVerifiedClientStatus(context.Context, address.Address, types.TipSetKey) (*abi.StoragePower, error)
9999
StateMinerSectorCount(context.Context, address.Address, types.TipSetKey) (api.MinerSectors, error)
100100
StateCirculatingSupply(context.Context, types.TipSetKey) (big.Int, error)
101+
StateCall(context.Context, *types.Message, types.TipSetKey) (*api.InvocResult, error)
101102
}
102103

103104
var _ CurioChainRPC = api.FullNode(nil)

api/proxy_gen.go

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

build/openrpc/curio.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312
"deprecated": false,
313313
"externalDocs": {
314314
"description": "Github remote link",
315-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L311"
315+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L314"
316316
}
317317
},
318318
{
@@ -348,7 +348,7 @@
348348
"deprecated": false,
349349
"externalDocs": {
350350
"description": "Github remote link",
351-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L322"
351+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L325"
352352
}
353353
},
354354
{
@@ -402,7 +402,7 @@
402402
"deprecated": false,
403403
"externalDocs": {
404404
"description": "Github remote link",
405-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L333"
405+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L336"
406406
}
407407
},
408408
{
@@ -425,7 +425,7 @@
425425
"deprecated": false,
426426
"externalDocs": {
427427
"description": "Github remote link",
428-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L344"
428+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L347"
429429
}
430430
},
431431
{
@@ -464,7 +464,7 @@
464464
"deprecated": false,
465465
"externalDocs": {
466466
"description": "Github remote link",
467-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L355"
467+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L358"
468468
}
469469
},
470470
{
@@ -503,7 +503,7 @@
503503
"deprecated": false,
504504
"externalDocs": {
505505
"description": "Github remote link",
506-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L366"
506+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L369"
507507
}
508508
},
509509
{
@@ -697,7 +697,7 @@
697697
"deprecated": false,
698698
"externalDocs": {
699699
"description": "Github remote link",
700-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L377"
700+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L380"
701701
}
702702
},
703703
{
@@ -829,7 +829,7 @@
829829
"deprecated": false,
830830
"externalDocs": {
831831
"description": "Github remote link",
832-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L388"
832+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L391"
833833
}
834834
},
835835
{
@@ -963,7 +963,7 @@
963963
"deprecated": false,
964964
"externalDocs": {
965965
"description": "Github remote link",
966-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L399"
966+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L402"
967967
}
968968
},
969969
{
@@ -1017,7 +1017,7 @@
10171017
"deprecated": false,
10181018
"externalDocs": {
10191019
"description": "Github remote link",
1020-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L410"
1020+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L413"
10211021
}
10221022
},
10231023
{
@@ -1051,7 +1051,7 @@
10511051
"deprecated": false,
10521052
"externalDocs": {
10531053
"description": "Github remote link",
1054-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L421"
1054+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L424"
10551055
}
10561056
},
10571057
{
@@ -1128,7 +1128,7 @@
11281128
"deprecated": false,
11291129
"externalDocs": {
11301130
"description": "Github remote link",
1131-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L432"
1131+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L435"
11321132
}
11331133
},
11341134
{
@@ -1166,7 +1166,7 @@
11661166
"deprecated": false,
11671167
"externalDocs": {
11681168
"description": "Github remote link",
1169-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L443"
1169+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L446"
11701170
}
11711171
}
11721172
]

0 commit comments

Comments
 (0)