-
Notifications
You must be signed in to change notification settings - Fork 799
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 for blank line in graffiti file #6635
Conversation
Fix as described in sigp#5880
Hi @shayanb, do you think you could try to add a test too? You can extend or copy the existing test in that file |
@michaelsproul here you go, added tests for different new line scenarios. Let me know if anything else is needed here. |
I'd like to add printing the graffiti in the logs for validator initialization, would it fit in this PR or I can create a new PR for that. Basically this line in
|
@shayanb Thanks for the test, looks good! I think we could add the graffiti logging in a separate PR. There's some subtlety there because the graffiti can change at runtime, so whatever we log on startup won't necessarily stay. It could still be nice to log it though |
Cargo fmt is failing, but you can fix it with |
@michaelsproul thanks for the tip, pushed the fmt commit. I'll submit graffiti logging PR soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mergify queue |
🛑 The pull request has been removed from the queue
|
@mergify requeue |
✅ This pull request will be re-embarked automaticallyThe followup |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 943716b |
Issue Addressed
Which issue # does this PR address?
#5880
Proposed Changes
Please list or describe the changes introduced by this PR.
Skip empty line as described in the issue 5880
Additional Info
Please provide any additional information. For example, future considerations
or information useful for reviewers.