-
Notifications
You must be signed in to change notification settings - Fork 5
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
chore: Test stackoverflow edge case #110
base: master
Are you sure you want to change the base?
Conversation
Only need to look at |
Note that even with vectors as return types, we are getting failures. The next commit will change: let mut blob = [0; BYTES_PER_BLOB];
blob.copy_from_slice(&blob_vec);
let cells_and_proofs = ctx.compute_cells_and_kzg_proofs(&blob); to let cells_and_proofs =
ctx.compute_cells_and_kzg_proofs(blob_vec.as_slice().try_into().unwrap()); Effectively removing the allocation inside of the map function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice debugging!
}) | ||
.collect(); | ||
|
||
std::hint::black_box(blob_cells_and_proofs_vec); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL! This is handy!
No description provided.