Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement Boost equivalent deal market in Curio #135

Merged
merged 23 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
3 changes: 2 additions & 1 deletion api/api_curio.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ import (
"github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-state-types/abi"

storiface "github.com/filecoin-project/curio/lib/storiface"

"github.com/filecoin-project/lotus/api"
lpiece "github.com/filecoin-project/lotus/storage/pipeline/piece"
"github.com/filecoin-project/lotus/storage/sealer/fsutil"
"github.com/filecoin-project/lotus/storage/sealer/storiface"
)

type Curio interface {
Expand Down
16 changes: 15 additions & 1 deletion 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