You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
Hello, after generating keypair, I am trying to store pk and vk into file and users can prove or verify by using pk_file or vk_file.
Everything works with vk but fails when doing proving_key. I tried to use function: stub_prove_from_pb in stubs.cpp but there is an error:
Assertion failed: (limbs_written <= n), function operator>>, file bigint.tcc, line 218.
Abort trap: 6
I then go into deeper and find the error happens when calling loadFromFile in utils.hpp. The system cannot convert the stringstream into ethsnarks::ProvingKeyT type. I fetched lines related to writing proving_key to file and load proving_key from file here. Last line is where cause the error. To be more specific, error happens in loadFromFile:
T obj;
ss >> obj;
The program fail to convert the input stringstream into a ProvingKeyT.
Is there anyway to resolve it?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, after generating keypair, I am trying to store pk and vk into file and users can prove or verify by using pk_file or vk_file.
Everything works with vk but fails when doing proving_key. I tried to use function: stub_prove_from_pb in stubs.cpp but there is an error:
Assertion failed: (limbs_written <= n), function operator>>, file bigint.tcc, line 218.
Abort trap: 6
I then go into deeper and find the error happens when calling loadFromFile in utils.hpp. The system cannot convert the stringstream into ethsnarks::ProvingKeyT type. I fetched lines related to writing proving_key to file and load proving_key from file here. Last line is where cause the error. To be more specific, error happens in loadFromFile:
T obj;
ss >> obj;
The program fail to convert the input stringstream into a ProvingKeyT.
Is there anyway to resolve it?
The text was updated successfully, but these errors were encountered: