chore(catalyst): increase maxTrackedPayloads (#424)

This commit is contained in:
David 2025-05-02 11:36:43 +08:00 committed by GitHub
parent f4cb12a203
commit c091dd6c8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ import (
// maxTrackedPayloads is the maximum number of prepared payloads the execution
// engine tracks before evicting old ones. Ideally we should only ever track the
// latest one; but have a slight wiggle room for non-ideal conditions.
const maxTrackedPayloads = 768 // CHANGE(taiko): change to use `maxBlocksPerBatch`
const maxTrackedPayloads = 3 * 768 // CHANGE(taiko): change to use 3 * `maxBlocksPerBatch`
// maxTrackedHeaders is the maximum number of executed payloads the execution
// engine tracks before evicting old ones. These are tracked outside the chain