Skip to content

FIx outstanding know header==nil errors + reduce bor heimdall logging #8878

Merged
mh0lt merged 9 commits intodevelfrom
reduce_bor_heimdall_logging
Dec 1, 2023
Merged

FIx outstanding know header==nil errors + reduce bor heimdall logging #8878
mh0lt merged 9 commits intodevelfrom
reduce_bor_heimdall_logging

Conversation

@mh0lt
Copy link
Contributor

@mh0lt mh0lt commented Dec 1, 2023

This PR has fixes for a number of instances in the bor heimdall stage where nil headers are either ignored or inadvertently processed.

It also has a demotion of milestone related logging messages to debug for missing blocks because the process is not at the head of the chain + a general reduction in periodic logging to 30 secs rather than 20 to reduce the log output on long runs.

In addition there is a refactor of persistValidatorSets to perform validator set initiation in a seperate function. This is intended to clarify the operation of persistValidatorSets - which is till performing 2 actions, persisting the snapshot and then using it to check the header against synthesized validator set in the snapshot.

@mh0lt mh0lt merged commit 85ade6b into devel Dec 1, 2023
@mh0lt mh0lt deleted the reduce_bor_heimdall_logging branch December 1, 2023 17:52
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