Skip to content

Commit

Permalink
feat: Implement Boost equivalent deal market in Curio (#135)
Browse files Browse the repository at this point in the history
* 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 <magik6k@users.noreply.github.com>
  • Loading branch information
LexLuthr and magik6k authored Sep 17, 2024
1 parent 2da3d19 commit e2e0411
Show file tree
Hide file tree
Showing 71 changed files with 10,344 additions and 2,153 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ jobs:
- attach_workspace:
at: ~/
- run: go install golang.org/x/tools/cmd/goimports
- run: go install github.com/hannahhoward/cbor-gen-for
- run: make gen
- run: git --no-pager diff && git --no-pager diff --quiet

Expand Down Expand Up @@ -278,7 +279,7 @@ workflows:
name: test-all
requires:
- build
suite: test-all
target: "`go list ./... | grep -v curio/itests`"
suite: test-all
get-params: true
resource_class: 2xlarge
resource_class: 2xlarge
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ifeq ($(shell uname),Linux)

batchdep: build/.supraseal-install
batchdep: $(BUILD_DEPS)
,PHONY: batchdep
.PHONY: batchdep

batch: GOFLAGS+=-tags=supraseal
batch: CGO_LDFLAGS_ALLOW='.*'
Expand Down
1 change: 1 addition & 0 deletions api/api_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ type CurioChainRPC interface {
StateVerifiedClientStatus(context.Context, address.Address, types.TipSetKey) (*abi.StoragePower, error)
StateMinerSectorCount(context.Context, address.Address, types.TipSetKey) (api.MinerSectors, error)
StateCirculatingSupply(context.Context, types.TipSetKey) (big.Int, error)
StateCall(context.Context, *types.Message, types.TipSetKey) (*api.InvocResult, error)
}

var _ CurioChainRPC = api.FullNode(nil)
13 changes: 13 additions & 0 deletions api/proxy_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions build/openrpc/curio.json
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L311"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L314"
}
},
{
Expand Down Expand Up @@ -348,7 +348,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L322"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L325"
}
},
{
Expand Down Expand Up @@ -402,7 +402,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L333"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L336"
}
},
{
Expand All @@ -425,7 +425,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L344"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L347"
}
},
{
Expand Down Expand Up @@ -464,7 +464,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L355"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L358"
}
},
{
Expand Down Expand Up @@ -503,7 +503,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L366"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L369"
}
},
{
Expand Down Expand Up @@ -697,7 +697,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L377"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L380"
}
},
{
Expand Down Expand Up @@ -829,7 +829,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L388"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L391"
}
},
{
Expand Down Expand Up @@ -963,7 +963,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L399"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L402"
}
},
{
Expand Down Expand Up @@ -1017,7 +1017,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L410"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L413"
}
},
{
Expand Down Expand Up @@ -1051,7 +1051,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L421"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L424"
}
},
{
Expand Down Expand Up @@ -1128,7 +1128,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L432"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L435"
}
},
{
Expand Down Expand Up @@ -1166,7 +1166,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L443"
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L446"
}
}
]
Expand Down
Loading

0 comments on commit e2e0411

Please sign in to comment.