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

Remove warn log when receiving pre-prepare msg for future block #1280

Merged
merged 3 commits into from
Jan 12, 2022

Conversation

lucassaldanha
Copy link
Member

It is perfectly normal for a node to eventually receive an istanbul pre-prepare for a future block. The code already handles this case and prints an INFO log msg to let the operator know that this msg will be dealt with later.

However, the code also ends up logging a WARN msg for this scenario. This can be misleading. We recently spent some time trying to understand what was going on only to realise it was an expected scenario.

This change prevents the WARN msg when we are dealing with a ErrFutureBlock type error.

@CLAassistant
Copy link

CLAassistant commented Nov 30, 2021

CLA assistant check
All committers have signed the CLA.

@antonydenyer antonydenyer merged commit f6a2b20 into Consensys:master Jan 12, 2022
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.

4 participants