Skip to content

execution/execmodule: use last known finalised hash for fcu finalisedBlockNum#21007

Merged
taratorio merged 1 commit into
mainfrom
fix_last_known_finalised
May 6, 2026
Merged

execution/execmodule: use last known finalised hash for fcu finalisedBlockNum#21007
taratorio merged 1 commit into
mainfrom
fix_last_known_finalised

Conversation

@taratorio

Copy link
Copy Markdown
Member

follow up to #20825
best to use the last known finalised hash from the db and not from the request, otherwise the logic can be circumvented by a bad request
also if there is no known finalised hash the finalisedBlockNum should be 0

@taratorio taratorio requested review from mh0lt and yperbasis as code owners May 6, 2026 07:05
@taratorio taratorio enabled auto-merge May 6, 2026 07:05
@taratorio taratorio requested a review from AskAlexSharov May 6, 2026 07:06

@mh0lt mh0lt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you check this with the dev chain, which now runs caplin in dev mode. It looks like a start-up fix for that. Don't knwo if its necessary.

@mh0lt mh0lt self-requested a review May 6, 2026 08:41
@taratorio taratorio added this pull request to the merge queue May 6, 2026
Merged via the queue into main with commit 85c5905 May 6, 2026
38 of 39 checks passed
@taratorio taratorio deleted the fix_last_known_finalised branch May 6, 2026 09:16
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.

2 participants