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

Phase 1 e2e script doesn't work with chunk size 12 using upload mode direct #75

Open
mstraka100 opened this issue Jun 29, 2021 · 0 comments
Labels

Comments

@mstraka100
Copy link
Contributor

mstraka100 commented Jun 29, 2021

When running e2e/e2ephase1.sh with --chunk-size 12 and --upload-mode direct passed as parameters to the new_ceremony binary, the first call to control fails with:

thread 'main' panicked at 'The size of response file should be 1573888, but it's 3147776, so something isn't right.', <repo parent directory>/.cargo/git/checkouts/snark-setup-f15b587f8d8f06dd/5b5143a/phase1-cli/src/combine.rs:44:17

This shows the response file is 2x its expected size. When all compression is disabled in the import of snark-setup, the response file becomes 4x its expected size. This bug has not been replicated with any other choice of chunk size, and only occurs using --upload-mode direct. With the same settings, --chunk-size 13 fails to upload chunks due to their being too large, suggesting --chunk-size 12 may simply be too large for --upload-mode direct without different server settings.

@mstraka100 mstraka100 changed the title Phase 1 doesn't work with chunk size 12 and number powers 18 Phase 1 e2e script doesn't work with chunk size 12 using upload mode direct Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant