fix(L2-config): disable mempool sync on OP Stack and Arbitrum chains#1599
Merged
Conversation
op-geth and arbitrum-nitro do not implement the newPendingTransactions
subscription filter. Without disableMempoolSync: true, Blockbook logs:
initializeMempool EthSubscribe newPendingTransactions:
invalid subscription type for subscribe
and wastes resources on repeated resubscribe attempts.
This was already fixed for bsc_archive, polygon_archive, and
base_archive. Apply the same fix to the remaining L2 coin configs:
- optimism, optimism_archive
- base
- arbitrum, arbitrum_archive
- arbitrum_nova, arbitrum_nova_archive
pragmaxim
requested review from
Copilot and
cranycrane
and removed request for
Copilot
July 2, 2026 18:00
…ncurrency Trezor Suite's Blockbook websocket client caps concurrent in-flight requests at 42 (blockchain-link/src/workers/blockbook/index.ts:481). The old default of 0 disabled the server-side limit entirely, making per-connection getAccountInfo abuse bounded only by the 2500 msgs/10 min rate limiter. Change the default to 42 so the server-side descriptor-count limit activates automatically. The env var override is preserved for operators who want a different value.
cranycrane
approved these changes
Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On restart, L2 chains (OP Stack / Arbitrum) log:
op-geth and arbitrum-nitro do not implement the
newPendingTransactionssubscription filter. WithoutdisableMempoolSync: true, Blockbook logs this error on startup and repeatedly attempts to resubscribe.This was already fixed for
bsc_archive,polygon_archive, andbase_archivebut was missing on the remaining L2 coin configs.Add
"disableMempoolSync": trueto:optimism.jsonoptimism_archive.jsonbase.jsonarbitrum.jsonarbitrum_archive.jsonarbitrum_nova.jsonarbitrum_nova_archive.json