We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e918af commit cc7cc05Copy full SHA for cc7cc05
1 file changed
batcher/aligned-batcher/src/lib.rs
@@ -809,6 +809,10 @@ impl Batcher {
809
810
let new_proof_fee = nonced_verification_data.max_fee;
811
812
+ // We will keep the proof with the highest fee
813
+ // Note: we previously checked that if it's a new proof from the same user the fee is the same or lower
814
+ // So this will never eject a proof of the same user with a lower nonce
815
+ // which is the expected behaviour
816
if new_proof_fee > lowest_fee_in_queue {
817
818
// This cannot panic, if the batch queue is full it has at least one item
0 commit comments