-
Notifications
You must be signed in to change notification settings - Fork 282
fix(api-backend): disable finalized tag when rollup verify is disabled #722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(api-backend): disable finalized tag when rollup verify is disabled #722
Conversation
small question:
|
For 1. Yes. And usually, it's just a mistake due to config changes. e.g., migrating to other scripts but forgetting to add |
This PR can also remind the node's owner whether |
* feat(rollup): add fallback if TransactionByHash fails in getting commitBatch calldata (#601) * feat(rollup): add fallback if TransactionByHash fails in getting commitBatch calldata * Update rollup/rollup_sync_service/rollup_sync_service.go Co-authored-by: Péter Garamvölgyi <peter@scroll.io> * change log.Warn to log.Debug --------- Co-authored-by: Péter Garamvölgyi <peter@scroll.io> * fix(rollup sync service): remove syscall.Kill (#636) * fix(rollup sync service): remove syscall.Kill * bump version * fix(api-backend): disable finalized tag when rollup verify is disabled (#722) --------- Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com> Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
Disables the "finalized tag" when the "rollup verify" feature is disabled.
Otherwise, if one node previously enabled
--rollup.verify
but then disable it, when it queries a "finalized" block, it will still get a finalized block number but an incorrect one.Related previous PR: #548