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

Missed attestions with - Error: ATTESTATION_ERROR_UNKNOWN_OR_PREFINALIZED_BEACON_BLOCK_ROOT #5152

Closed
Chozowarrior opened this issue Feb 14, 2023 · 6 comments · Fixed by #5157
Milestone

Comments

@Chozowarrior
Copy link

The validators assigned to the node are missing a lot of attestations. After inspecting the log it seems the error below is thrown out over and over. I am running Lodestar v1.4.3 (stable) with Nethermind v 1.16.1 (stable)

Error:
Feb-14 12:45:50.129[rest] �[34mdebug�[39m: Req req-rid 192.168.178.35 submitPoolAttestations
Feb-14 12:45:50.129[api] �[31merror�[39m: Error on submitPoolAttestations [0] slot=5795927, index=19 code=ATTESTATION_ERROR_UNKNOWN_OR_PREFINALIZED_BEACON_BLOCK_ROOT, root=0xbbcdca6fbd6358436c69cf721a3d9e52495f974f12f9110003d3baaaaff09f25
Error: ATTESTATION_ERROR_UNKNOWN_OR_PREFINALIZED_BEACON_BLOCK_ROOT
at verifyHeadBlockIsKnown (file:///home/ethereum/lodestar/packages/beacon-node/src/chain/validation/attestation.ts:229:11)
at verifyHeadBlockAndTargetRoot (file:///home/ethereum/lodestar/packages/beacon-node/src/chain/validation/attestation.ts:207:21)
at validateGossipAttestation (file:///home/ethereum/lodestar/packages/beacon-node/src/chain/validation/attestation.ts:66:24)
at file:///home/ethereum/lodestar/packages/beacon-node/src/api/impl/beacon/pool/index.ts:54:56
at Array.map ()
at Object.submitPoolAttestations (file:///home/ethereum/lodestar/packages/beacon-node/src/api/impl/beacon/pool/index.ts:52:22)
at Object.handler (file:///home/ethereum/lodestar/packages/api/src/utils/server/genericJsonServer.ts:45:41)
at preHandlerCallback (/home/ethereum/lodestar/node_modules/fastify/lib/handleRequest.js:126:28)
at preValidationCallback (/home/ethereum/lodestar/node_modules/fastify/lib/handleRequest.js:109:5)
at handler (/home/ethereum/lodestar/node_modules/fastify/lib/handleRequest.js:72:7)
Feb-14 12:45:50.130[rest] �[31merror�[39m: Req req-rid submitPoolAttestations error code=ATTESTATION_ERROR_UNKNOWN_OR_PREFINALIZED_BEACON_BLOCK_ROOT, root=0xbbcdca6fbd6358436c69cf721a3d9e52495f974f12f9110003d3baaaaff09f25

@Chozowarrior
Copy link
Author

I just deleted the beacon chain database but even after resyncing the error still pops up so perhaps it is more on the validator side.

@Chozowarrior
Copy link
Author

also deleting the validator database does not resolve the issue.

@twoeths
Copy link
Contributor

twoeths commented Feb 14, 2023

@Chozowarrior did you configure any fallback urls at your validator side? This could happen if validator produce attestation data from one beacon node and submit that attestation to another beacon node which hasn't had that block head yet, see #5098 (comment)

it happened to my node and I checked that attestations were not missed

@Chozowarrior
Copy link
Author

Yes there are fallbacks configured. At the moment the Lodestar node is configured as a fallback for a Teku node. The otherway around is also configured but this does not seem to work (as a side note Teku does not except the socket type from Lodestar somehow. Is there a way to get rid of the error message since it is still there even after a fresh sync of the beaconnode?

@twoeths
Copy link
Contributor

twoeths commented Feb 16, 2023

@Chozowarrior could you confirm that it's not a missed attestations?

Is there a way to get rid of the error message since it is still there even after a fresh sync of the beaconnode?

yes working on that

@Chozowarrior
Copy link
Author

@tuyennhv confirm is indeed not related to a missed attestation.

@philknows philknows modified the milestones: v1.5.0, v1.6.0 Mar 17, 2023
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

Successfully merging a pull request may close this issue.

3 participants