Skip to content
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

Review logs on commitment deadline #377

Merged
merged 2 commits into from
Nov 12, 2024
Merged

Conversation

thedevbirb
Copy link
Contributor

The commitment deadline is triggered at every slot regardless of whether we're proposing or not, which was trigger a WARN log because the block template could not be found. This not unexpected behaviour, because block templates are created only when accepting commitments, and we do so only when we're the proposer for a block.

This PR reviews the logs in this section of the sidecar.

@thedevbirb thedevbirb added C: bolt-sidecar Component: bolt-sidecar T: bug Type: Bug labels Nov 12, 2024
@@ -432,7 +432,6 @@ impl<C: StateFetcher> ExecutionState<C> {

/// Commits the transaction to the target block. Initializes a new block template
/// if one does not exist for said block number.
/// TODO: remove `pub` modifier once `try_commit` is fully implemented.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This function try_commit does not exist, so I think this comment is stale.

Copy link
Collaborator

@merklefruit merklefruit left a comment

Choose a reason for hiding this comment

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

LGTM

@thedevbirb thedevbirb merged commit c2b6301 into unstable Nov 12, 2024
3 checks passed
@thedevbirb thedevbirb deleted the lore/fix/block-template-log branch November 12, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: bolt-sidecar Component: bolt-sidecar T: bug Type: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants