Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

zsl.createShielding throws error #1

Closed
realcodywburns opened this issue Oct 18, 2017 · 4 comments
Closed

zsl.createShielding throws error #1

realcodywburns opened this issue Oct 18, 2017 · 4 comments

Comments

@realcodywburns
Copy link

zsl_geth1.6 build

After result = zsl.createShielding(rho, pk, value)

Error: EOF
    at web3.js:3104:20
    at web3.js:6191:15
    at web3.js:5004:36
    at <anonymous>:1:10

from 1.log

geth: ./libsnark/src/algebra/fields/fp.tcc:485: libsnark::Fp_model<n, modulus>& libsnark::Fp_model<n, modulus>::operator-=(const libsnark::Fp_model<n, modulus>&) [with long int n = 4l; const libsnark::bigint<n>& modulus = ((const libsnark::bigint<4l>&)(& libsnark::alt_bn

128_modulus_q))]: Assertion `borrow == 0' failed.
SIGABRT: abort
PC=0x7f9b25d06428 m=7
signal arrived during cgo execution
@realcodywburns
Copy link
Author

rebuilt with zsl_geth1.5

Error: Invalid JSON RPC response: {"error":{"EOF":"EOF","code":-32603},"id":19,"version":"2.0"}
    at web3.js:3122:20
    at web3.js:6026:15
    at web3.js:4998:36
    at <anonymous>:1:10

same error in log

@bitcartel
Copy link

Do you have the zsl-q-params parameter files installed in the current directory?

@realcodywburns
Copy link
Author

yes they are in the 7nodes dir

@realcodywburns
Copy link
Author

So, I the .vk and .pk that were in the 7node folders were truncated. I downloaded from zsl-q-params inside of the vm and verified that the checksums did not match. once I rm'ed the old files I was able to get test_zslprecompile.js to pass all tests

marking resolved......

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants