Skip to content

Blank line at the end of graffiti-file causes error #5880

@davidcann

Description

@davidcann

Description

A blank line at the end of the graffiti-file causes an error and the entire file to be ignored. There is no mention of blank lines being a problem in the documentation here: https://lighthouse-book.sigmaprime.io/graffiti.html

Version

stable (production release)

Present Behaviour

The entire graffiti-file is ignored when there's a blank line at the end of the text file.

error: InvalidLine("Missing delimiter: "), service: block

Expected Behaviour

Blank lines should be ignored. All valid lines should be read.

Steps to resolve

Add a blank line to the end of the file set via --graffiti-file, then wait for a block proposal or restart the validator client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingval-clientRelates to the validator client binary

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions