Skip to content

Unable to parse validator voting keystore from ethdo #1361

@MysticRyuujin

Description

@MysticRyuujin

Description

ethdo adds the name key to the keystore when it creates an account. Lighthouse throws an error trying to read this file:

Failed to init validator client: unable to decrypt all validator directories: ValidatorDirError(UnableToReadKeystore(ReadError("unknown field `name`, expected one of `crypto`, `uuid`, `path`, `pubkey`, `version` at line 1 column 469")))

Version

670672265e59

Present Behaviour

When trying to use a validator keystore generated from ethdo the lighthouse validator throws an error, complaining about the name key in the keystore.

Expected Behaviour

Lighthouse validator should simply ignore extra keys...

Steps to resolve

I deleted the name key from the JSON and everything worked. So the obvious solution is to ignore extra keys in the keystore JSON.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions