Skip to content

Commit

Permalink
tweak: higher BLOCK_STEP (#95)
Browse files Browse the repository at this point in the history
The previous value of `128` uses up a lot of RPC-calls for very little
actual benefit, in some cases actually making the tool run slower when
ran with unreliable RPC-providers.
  • Loading branch information
zeapoz authored Apr 25, 2024
1 parent a8c46eb commit e0d24df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state-reconstruct-fetcher/src/constants.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pub mod ethereum {
/// Number of Ethereum blocks to advance in one filter step.
pub const BLOCK_STEP: u64 = 128;
pub const BLOCK_STEP: u64 = 10_000;

/// Block number in Ethereum for zkSync genesis block.
pub const GENESIS_BLOCK: u64 = 16_627_460;
Expand Down

0 comments on commit e0d24df

Please sign in to comment.