Skip to content
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

Bug: ProverSucceeded with public emulated value will fail #645

Closed
SherLzp opened this issue Apr 18, 2023 · 0 comments
Closed

Bug: ProverSucceeded with public emulated value will fail #645

SherLzp opened this issue Apr 18, 2023 · 0 comments

Comments

@SherLzp
Copy link
Contributor

SherLzp commented Apr 18, 2023

@gbotrel @yelhousni
I add one more line here: https://github.com/ConsenSys/gnark/blob/develop/std/algebra/emulated/fields_bls12381/e6_test.go#L193

assert.ProverSucceeded(&e6MulByNonResidue{}, &owitness, test.WithCurves(ecc.BN254), test.WithBackends(backend.GROTH16))

It will encounter the following problem:

panic: runtime error: slice bounds out of range [:1248] with capacity 1216 [recovered]
panic: runtime error: slice bounds out of range [:1248] with capacity 1216
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants