@@ -78,6 +78,7 @@ use std::path::PathBuf;
7878/// * `ProofTooLarge` if the proof is too large.
7979/// * `InsufficientBalance` if the sender balance is insufficient or unlocked
8080/// * `ProofQueueFlushed` if there is an error in the batcher and the proof queue is flushed.
81+ /// * `ProofReplaced` if the proof has been replaced.
8182/// * `GenericError` if the error doesn't match any of the previous ones.
8283#[ allow( clippy:: too_many_arguments) ] // TODO: Refactor this function, use NoncedVerificationData
8384pub async fn submit_multiple_and_wait_verification (
@@ -245,6 +246,7 @@ async fn fetch_gas_price(
245246/// * `ProofTooLarge` if the proof is too large.
246247/// * `InsufficientBalance` if the sender balance is insufficient or unlocked.
247248/// * `ProofQueueFlushed` if there is an error in the batcher and the proof queue is flushed.
249+ /// * `ProofReplaced` if the proof has been replaced.
248250/// * `GenericError` if the error doesn't match any of the previous ones.
249251pub async fn submit_multiple (
250252 network : Network ,
@@ -364,6 +366,7 @@ async fn _submit_multiple(
364366/// * `ProofTooLarge` if the proof is too large.
365367/// * `InsufficientBalance` if the sender balance is insufficient or unlocked
366368/// * `ProofQueueFlushed` if there is an error in the batcher and the proof queue is flushed.
369+ /// * `ProofReplaced` if the proof has been replaced.
367370/// * `GenericError` if the error doesn't match any of the previous ones.
368371#[ allow( clippy:: too_many_arguments) ] // TODO: Refactor this function, use NoncedVerificationData
369372pub async fn submit_and_wait_verification (
@@ -421,6 +424,7 @@ pub async fn submit_and_wait_verification(
421424/// * `ProofTooLarge` if the proof is too large.
422425/// * `InsufficientBalance` if the sender balance is insufficient or unlocked
423426/// * `ProofQueueFlushed` if there is an error in the batcher and the proof queue is flushed.
427+ /// * `ProofReplaced` if the proof has been replaced.
424428/// * `GenericError` if the error doesn't match any of the previous ones.
425429pub async fn submit (
426430 network : Network ,
0 commit comments