Skip to content
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

head API event incorrect data #4119

Closed
mcdee opened this issue Sep 14, 2022 · 1 comment
Closed

head API event incorrect data #4119

mcdee opened this issue Sep 14, 2022 · 1 comment

Comments

@mcdee
Copy link

mcdee commented Sep 14, 2022

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"
}
@tersec
Copy link
Contributor

tersec commented Sep 21, 2022

#4141 was shipped in v22.9.1

@tersec tersec closed this as completed Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants