Skip to content

Commit ad496cc

Browse files
fix: reduce L2 log fetch batch to 9,999 blocks to stay within RPC limit
Co-Authored-By: Frankenstein <263438330+frankenstien-dev@users.noreply.github.com>
1 parent 1b72751 commit ad496cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/uni-v4-upkeeper/src/l2/update_provider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ where
308308
let mut filters = vec![];
309309

310310
loop {
311-
let this_end_block = std::cmp::min(deploy_block + 50_000, end_block);
311+
let this_end_block = std::cmp::min(deploy_block + 9_999, end_block);
312312

313313
if this_end_block == deploy_block {
314314
break;

0 commit comments

Comments
 (0)