-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
109 additions
and
42 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -323,7 +323,7 @@ func UploadBlobs( | |
5000000, | ||
"", | ||
"", | ||
"30000000000", | ||
"300000000", | ||
chainID, | ||
calldata, | ||
) | ||
|
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,27 @@ | ||
#!/bin/sh | ||
|
||
# usage: | ||
# env ES_NODE_SIGNER_PRIVATE_KEY=<private_key> ./run_tests.sh | ||
|
||
if [ -z "$ES_NODE_SIGNER_PRIVATE_KEY" ]; then | ||
echo "Please provide 'ES_NODE_SIGNER_PRIVATE_KEY' as an environment variable" | ||
exit 1 | ||
fi | ||
|
||
if [ ${#ES_NODE_SIGNER_PRIVATE_KEY} -ne 64 ]; then | ||
echo "Error: ES_NODE_SIGNER_PRIVATE_KEY should have a length of 64" | ||
exit 1 | ||
fi | ||
|
||
# download blob_poseidon.zkey if not yet | ||
zkey_file="./ethstorage/prover/snarkjs/blob_poseidon.zkey" | ||
if [ ! -e ${zkey_file} ]; then | ||
echo "${zkey_file} not found, start downloading..." | ||
file_id="1ZLfhYeCXMnbk6wUiBADRAn1mZ8MI_zg-" | ||
html=`curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${file_id}"` | ||
curl -Lb ./cookie "https://drive.google.com/uc?export=download&`echo ${html}|grep -Eo 'confirm=[a-zA-Z0-9\-_]+'`&id=${file_id}" -o ${zkey_file} | ||
fi | ||
|
||
# go test -timeout 0 github.com/ethstorage/go-ethstorage/integration_tests | ||
|
||
go test -timeout 0 -run ^TestKZGProver_GenerateKZGProof$ github.com/ethstorage/go-ethstorage/integration_tests |
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