-
Notifications
You must be signed in to change notification settings - Fork 26
[WIP] feat: market 2.0 #508
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
Draft
LexLuthr
wants to merge
27
commits into
main
Choose a base branch
from
feat/market2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
8831db2
initial draft of market 2.0
LexLuthr acbd66b
PUT endpoint for deals
LexLuthr 7f47865
add some type validation tests
LexLuthr 7ca6276
info page and pdp router changes
LexLuthr f442ac7
client, commv2, ui
LexLuthr a72ecba
mk20 GC
LexLuthr 8b68fea
aggregate deals
LexLuthr f3e99f6
offline deal and put deals
LexLuthr c80f1bf
finish UI
LexLuthr f670210
UI, reindex, retrievals
LexLuthr 34b12f8
update pdp client service url
LexLuthr f10b1c0
basic docs, new api, UI changes
LexLuthr 0b7a76f
chunk upload
LexLuthr 6fa55eb
fix actor info page
LexLuthr 701a0bd
add some PDP metrics
LexLuthr 1a2d0aa
use piecepark for upload
LexLuthr 4b8da8e
pcid2, pdpv1, retrievalv1
LexLuthr d7ba6f3
PDP pipeline
LexLuthr b790dae
openAPI, auth, streamline types and methods
LexLuthr cb98d48
pdp prove test
LexLuthr c72541a
deleteRoot, deleteProofSet
LexLuthr f3b430d
serial upload
LexLuthr 1587e74
working PDP pipeline, indexing, ipni
LexLuthr 99941cf
rename PDP
LexLuthr e8aa78e
Merge branch 'main' into feat/market2
LexLuthr 29f099e
lotus version
LexLuthr 25d75e9
CommPV2 integration with PDP contracts
LexLuthr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -179,6 +179,8 @@ jobs: | |
target: "./itests/harmonydb_test.go" | ||
- name: test-itest-alertnow | ||
target: "./itests/alertnow_test.go" | ||
- name: test-itest-pdp-prove | ||
target: "./itests/pdp_prove_test.go" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
|
@@ -311,6 +313,10 @@ jobs: | |
run: go install github.com/hannahhoward/cbor-gen-for | ||
shell: bash | ||
|
||
- name: Install swag cli | ||
run: go install github.com/swaggo/swag/cmd/[email protected] | ||
shell: bash | ||
|
||
# - name: Install gotext | ||
# run: go install golang.org/x/text/cmd/gotext | ||
# shell: bash | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,11 @@ ENV RUSTUP_HOME=/usr/local/rustup \ | |
PATH=/usr/local/cargo/bin:$PATH \ | ||
RUST_VERSION=1.63.0 | ||
|
||
COPY ./ /opt/curio | ||
WORKDIR /opt/curio | ||
RUN git submodule update --init | ||
RUN go mod download | ||
|
||
RUN set -eux; \ | ||
dpkgArch="$(dpkg --print-architecture)"; \ | ||
case "${dpkgArch##*-}" in \ | ||
|
@@ -32,9 +37,6 @@ RUN set -eux; \ | |
cargo --version; \ | ||
rustc --version; | ||
|
||
COPY ./ /opt/curio | ||
WORKDIR /opt/curio | ||
|
||
### make configurable filecoin-ffi build | ||
ARG FFI_BUILD_FROM_SOURCE=0 | ||
ENV FFI_BUILD_FROM_SOURCE=${FFI_BUILD_FROM_SOURCE} | ||
|
@@ -59,10 +61,23 @@ RUN go install github.com/LexLuthr/piece-server@latest \ | |
RUN go install github.com/ipni/[email protected] \ | ||
&& cp $GOPATH/bin/storetheindex /usr/local/bin/ | ||
|
||
RUN go install github.com/ethereum/go-ethereum/cmd/geth@latest \ | ||
&& cp $GOPATH/bin/geth /usr/local/bin/ | ||
|
||
##################################### | ||
FROM ubuntu:22.04 AS curio-all-in-one | ||
|
||
RUN apt-get update && apt-get install -y dnsutils vim curl aria2 jq | ||
RUN apt-get update && apt-get install -y dnsutils vim curl aria2 jq git wget nodejs npm | ||
|
||
# Install Foundry | ||
RUN curl -L https://foundry.paradigm.xyz | bash \ | ||
&& bash -c ". ~/.foundry/bin/foundryup" | ||
|
||
# Make sure foundry binaries are available in PATH | ||
ENV PATH="/root/.foundry/bin:${PATH}" | ||
|
||
# Verify installation | ||
RUN forge --version && cast --version && anvil --version | ||
|
||
# Copy libraries and binaries from curio-builder | ||
COPY --from=curio-builder /etc/ssl/certs /etc/ssl/certs | ||
|
@@ -98,6 +113,7 @@ COPY --from=curio-builder /opt/curio/sptool /usr/local/bin/ | |
COPY --from=piece-server-builder /usr/local/bin/piece-server /usr/local/bin/ | ||
COPY --from=piece-server-builder /usr/local/bin/car /usr/local/bin/ | ||
COPY --from=piece-server-builder /usr/local/bin/storetheindex /usr/local/bin/ | ||
COPY --from=piece-server-builder /usr/local/bin/geth /usr/local/bin/ | ||
|
||
# Set up directories and permissions | ||
RUN mkdir /var/tmp/filecoin-proof-parameters \ | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ethVal := must.One(dependencies.EthClient.Val())