Skip to content

Commit 1598b38

Browse files
authored
hotfix(batcher): rm MIN_FEE_PER_PROOF check in batcher (#1308)
1 parent 5f71bac commit 1598b38

File tree

1 file changed

+0
-10
lines changed
  • batcher/aligned-batcher/src

1 file changed

+0
-10
lines changed

batcher/aligned-batcher/src/lib.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -467,16 +467,6 @@ impl Batcher {
467467
return Ok(());
468468
}
469469

470-
// Nonce and max fee verification
471-
let max_fee = nonced_verification_data.max_fee;
472-
if max_fee < U256::from(MIN_FEE_PER_PROOF) {
473-
error!("The max fee signed in the message is less than the accepted minimum fee to be included in the batch.");
474-
send_message(ws_conn_sink.clone(), ValidityResponseMessage::InvalidMaxFee).await;
475-
return Ok(());
476-
}
477-
478-
// Check that we had a user state entry for this user and insert it if not.
479-
480470
// We aquire the lock first only to query if the user is already present and the lock is dropped.
481471
// If it was not present, then the user nonce is queried to the Aligned contract.
482472
// Lastly, we get a lock of the batch state again and insert the user state if it was still missing.

0 commit comments

Comments
 (0)