You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of the handle_message function in the batcher performs nonce verification using the check_nonce_and_increment method, which increments the nonce before pre-verifying the proof. This order of operations may introduce vulnerabilities, specifically to replay attacks and potential DoS.
Description
handle_messagefunction in the batcher performs nonce verification using thecheck_nonce_and_incrementmethod, which increments the nonce before pre-verifying the proof. This order of operations may introduce vulnerabilities, specifically to replay attacks and potential DoS.