-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into chore/578/general-review-project-structure
- Loading branch information
Showing
26 changed files
with
512 additions
and
460 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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 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 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 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 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 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 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 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,22 @@ | ||
# Clear cache before run | ||
CACHE_FOLDER="/tmp/psp-cache" | ||
rm -r "$CACHE_FOLDER" | ||
mkdir "$CACHE_FOLDER" | ||
|
||
PROVIDER="//Charlie" | ||
CAR_FILE="../examples/test-data-big.car" | ||
SECTOR_CID="baga6ea4seaqbfhdvmk5qygevit25ztjwl7voyikb5k2fqcl2lsuefhaqtukuiii" | ||
PARAMS_PATH="../2KiB.porep.params" | ||
SECTOR_ID=1 | ||
SEAL_RANDOMNESS_HEIGHT=20 | ||
PRE_COMMIT_BLOCK_NUMBER=30 | ||
|
||
polka-storage-provider-client proofs porep \ | ||
--sr25519-key "$PROVIDER" \ | ||
--proof-parameters-path "$PARAMS_PATH" \ | ||
--cache-directory "$CACHE_FOLDER" \ | ||
--sector-id "$SECTOR_ID" \ | ||
--seal-randomness-height "$SEAL_RANDOMNESS_HEIGHT" \ | ||
--pre-commit-block-number "$PRE_COMMIT_BLOCK_NUMBER" \ | ||
"$CAR_FILE" \ | ||
"$SECTOR_CID" |
Oops, something went wrong.