Skip to content

head API event incorrect data #4119

Closed
Closed
@mcdee

Description

@mcdee

Describe the bug

Comparing the output of the head event across beacon nodes it appears that nimbus has swapped the values for current_duty_dependent_root and previous_duty_dependent_root.

Data was obtained using curl -N -H "Accept:text/event-stream" 'http://localhost:5051/eth/v1/events?topics=head'

Sample from lighthouse:

{
  "block": "0x300be7603b25f14f7cfcc9dc4f7deecd91736946d5b5ddd9f78e165e21e67797",
  "current_duty_dependent_root": "0x33fd1a2595bf102f48c3af7a211752cbccf9b62344e5b0de437638ba202f82e5",
  "epoch_transition": false,
  "execution_optimistic": false,
  "previous_duty_dependent_root": "0xb2359130d65053c3e8646997f175a5937798bd4740535800fade712f1ab4bf84",
  "slot": "4693183",
  "state": "0x2e23b0774429f389ab51f6cc887c37123319ed8a44478859ad10799318c8135a"
}

Sample from nimbus:

{
  "block": "0x300be7603b25f14f7cfcc9dc4f7deecd91736946d5b5ddd9f78e165e21e67797",
  "current_duty_dependent_root": "0xb2359130d65053c3e8646997f175a5937798bd4740535800fade712f1ab4bf84",
  "epoch_transition": false,
  "execution_optimistic": false,
  "previous_duty_dependent_root": "0x33fd1a2595bf102f48c3af7a211752cbccf9b62344e5b0de437638ba202f82e5",
  "slot": "4693183",
  "state": "0x2e23b0774429f389ab51f6cc887c37123319ed8a44478859ad10799318c8135a"
}

Sample from prysm:

{
  "block": "0x300be7603b25f14f7cfcc9dc4f7deecd91736946d5b5ddd9f78e165e21e67797",
  "current_duty_dependent_root": "0x33fd1a2595bf102f48c3af7a211752cbccf9b62344e5b0de437638ba202f82e5",
  "epoch_transition": false,
  "execution_optimistic": false,
  "previous_duty_dependent_root": "0xb2359130d65053c3e8646997f175a5937798bd4740535800fade712f1ab4bf84",
  "slot": "4693183",
  "state": "0x2e23b0774429f389ab51f6cc887c37123319ed8a44478859ad10799318c8135a"
}

Sample from teku:

{
  "block": "0x300be7603b25f14f7cfcc9dc4f7deecd91736946d5b5ddd9f78e165e21e67797",
  "current_duty_dependent_root": "0x33fd1a2595bf102f48c3af7a211752cbccf9b62344e5b0de437638ba202f82e5",
  "epoch_transition": false,
  "execution_optimistic": false,
  "previous_duty_dependent_root": "0xb2359130d65053c3e8646997f175a5937798bd4740535800fade712f1ab4bf84",
  "slot": "4693183",
  "state": "0x2e23b0774429f389ab51f6cc887c37123319ed8a44478859ad10799318c8135a"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions