Skip to content

keymanager API voluntary_exit spec compliance #4635

@yorickdowne

Description

@yorickdowne

Description

When calling keymanager API /eth/v1/validator/<pubkey>/voluntary_exit, Lighthouse creates a JSON structure that does not place everything under data. By the spec, it should.

{"message":{"epoch":"196868","validator_index":"505597"},"signature":"0xhexsig"}

by spec should be

{"data":{"message":{"epoch":"196868","validator_index":"505597"},"signature":"0xhexsig"}}

To be sure, the current behavior makes it easier to just POST the result to the CL. Spec, however, wants a data structure for GET and this not to be present for POST. 😅

Version

v4.3.0

Metadata

Metadata

Assignees

Labels

backwards-incompatBackwards-incompatible API changebugSomething isn't workingv4.5.0ETA Q4 2023val-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