Skip to content

fix (batcher): nonce verification order in handle_message function #861

Description

@NicolasRampoldi

Description

  • 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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions