-
Notifications
You must be signed in to change notification settings - Fork 122
DSperce integration #169
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
Merged
Merged
DSperce integration #169
Changes from 8 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
63c21cb
New dependencies
millioner b2e3ee9
First steps for DSperse integration. Doesn't work yet even close. Sti…
millioner bf36769
dslices files handling for models
millioner 150659d
Model metadata fix
millioner e5f2349
Adding dslice requests to the queue and processing them
millioner 3f5c1c1
Request generation fixes
millioner cc8d79b
Move DSperseManager to use it by miner
millioner 2110cfa
Proving slices on miner side
millioner 672920d
Verify dslice proofs in validator side
millioner bf901c6
Cleanup completed DSperse run
millioner 50f142b
Generate random input for DSLice request
millioner 14a9396
Log request type to console
millioner 1a9bafb
Removing dsperse run fix
millioner 2d23514
Option to disable metrics logging
millioner 80fbdee
Requests rescktheduling and a lot of refactoring
millioner 99f954e
Upgrade urllib3 to 2.6.2
millioner ecd5fea
Small fixes suggested by copilot
millioner c3cd0bd
Requests reskedjuling fixes :stuck_out_tongue_winking_eye:
millioner cb10e72
Check proof inputs before verifying
millioner 0e92ec3
Getting slice settings fix
millioner 59883d8
DSperse cleanup un exit
millioner f19be4f
Actual urls for slices
millioner 6897792
Compile DSlices if needed during pre-flight stage
millioner 8b6e359
Tiniest fix ever
millioner 6042d08
Remve EZKL models
millioner c1b09b2
Pull DSperse from main branch
millioner 0a0eab3
Merge branch 'testnet' into dsperse-intergration
HudsonGraeme 2f7b5e4
Some fixes suggested by AI wisdom :kneeling_man:
millioner c19b98d
More fixes suggested by AI wisdom :kneeling_man: :kneeling_person: :k…
millioner 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
Some comments aren't visible on the classic Files Changed page.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| from pydantic import Field | ||
|
|
||
| from _validator.models.base_rpc_request import QueuedRequestDataModel | ||
| from _validator.models.request_type import RequestType | ||
|
|
||
|
|
||
| class DSliceQueuedProofRequest(QueuedRequestDataModel): | ||
| """ | ||
| Request for a DSperse slice. | ||
| """ | ||
|
|
||
| request_type: RequestType = RequestType.DSLICE | ||
| slice_num: str = Field(..., description="Num of the DSperse slice") | ||
| run_uid: str = Field(..., description="UID of the DSperse run") | ||
| outputs: dict = Field(..., description="Outputs of the DSperse slice") | ||
coderabbitai[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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.
Uh oh!
There was an error while loading. Please reload this page.