Skip to content

Configurable debouncedelay, increasing for polygon and arbitrum#1475

Merged
pragmaxim merged 2 commits intomasterfrom
chore/configurable-resyncindexdebounce
Apr 21, 2026
Merged

Configurable debouncedelay, increasing for polygon and arbitrum#1475
pragmaxim merged 2 commits intomasterfrom
chore/configurable-resyncindexdebounce

Conversation

@pragmaxim
Copy link
Copy Markdown
Contributor

@pragmaxim pragmaxim commented Apr 20, 2026

On fast chains like POL or ARB :

  • there are frequent short reorgs that can make the block hash non-canonical before the trace completes (the -32603 error)
  • traces can take longer than rpc_timeout allows, especially for large blocks
  1. Increasing the delay before newHeads event coming and getting the actual traces and logs can make syncing smoother, waiting 500 extra Milis for each block is probably better than hanging or retries because of frequent Reorgs.
  2. Passing explicit and increased trace_timeout to heavy debug_traceBlockByHash calls

@pragmaxim pragmaxim force-pushed the chore/configurable-resyncindexdebounce branch 2 times, most recently from 19e4de0 to 0ac0b4c Compare April 20, 2026 19:30
@pragmaxim pragmaxim force-pushed the chore/configurable-resyncindexdebounce branch from 0ac0b4c to cd24889 Compare April 21, 2026 04:52
@pragmaxim pragmaxim merged commit 61d0289 into master Apr 21, 2026
9 checks passed
@pragmaxim pragmaxim deleted the chore/configurable-resyncindexdebounce branch April 21, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants