aligned_layer icon indicating copy to clipboard operation
aligned_layer copied to clipboard

Improve `submit_multiple_and_wait_verification` return value

Open avilagaston9 opened this issue 1 year ago • 0 comments

In #1325, the output of submit_multiple_and_wait_verification was changed to a Vec<Result<_>> with:

  • Ok() meaning that the proof was included in a batch.
  • Err() meaning that the proof was not included due to an error.

But we are missing information about the verification result. If a timeout occurs while awaiting verification, an additional Err() is appended to the end of the returned array, which is somewhat unusual and does not provide information about the proof that triggers the error.

Also, the docs in 1.2_SDK_api_reference.md must be updated with the new solution

avilagaston9 avatar Nov 08 '24 13:11 avilagaston9