ChainSafe / ChainSafe/ChainGuardian

Failed to obtain attester duty

Open
#454 0 comments 0 reactions 0 assignees View on GitHub
bug priority: P3 important question
Dominant language
TypeScript
Stars
44
Forks
8
PR merge metrics
No merged PRs in 30d

Description

for some reason validator request attestation duties for block over "head"
**note** _lighthouse is at GMT so logs on its gonna are 1h different_

validator
![Screenshot 2021-01-25 085337](https://user-images.githubusercontent.com/6376047/105848676-a5446200-5fdf-11eb-832d-84f036bf3473.png)

```
2021-01-25 08:50:31 [] info: on new block epoch epoch=15261, validator=0xb1fdae7e9e9029a53b59834801eb4453c47fc52a2ebf0102e3b3c09a7832974317c7f607d863a81d86a200f466f3695a

2021-01-25 08:50:31 [] info: on new block epoch epoch=15261, validator=0xb1fdae7e9e9029a53b59834801eb4453c47fc52a2ebf0102e3b3c09a7832974317c7f607d863a81d86a200f466f3695a

2021-01-25 08:50:31 [] error: Failed to obtain attester duty epoch=15262, error={"code":400,"message":"BAD_REQUEST: request epoch 15262 is more than one epoch past the current epoch 15260","stacktraces":[]}

2021-01-25 08:50:31 [] error: Failed to obtain proposer duties message={"code":400,"message":"BAD_REQUEST: request epoch 15261 is ahead of the current epoch 15260","stacktraces":[]}
Error: {"code":400,"message":"BAD_REQUEST: request epoch 15261 is ahead of the current epoch 15260","stacktraces":[]}
at s (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:130:206997)
at a.get (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:130:206717)
at async h.getProposerDuties (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:130:230140)
at async t.default.updateDuties (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:1:476281)
at async C. (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:1:475625)

2021-01-25 08:50:32 [] error: Failed to obtain proposer duties message={"code":400,"message":"BAD_REQUEST: request epoch 15261 is ahead of the current epoch 15260","stacktraces":[]}
Error: {"code":400,"message":"BAD_REQUEST: request epoch 15261 is ahead of the current epoch 15260","stacktraces":[]}
at s (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:130:206997)
at a.get (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:130:206717)
at async h.getProposerDuties (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:130:230140)
at async t.default.updateDuties (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:1:476281)
at async C. (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:1:475625)

2021-01-25 08:50:33 [] error: Failed to obtain attester duty epoch=15262, error={"code":400,"message":"BAD_REQUEST: request epoch 15262 is more than one epoch past the current epoch 15260","stacktraces":[]}

2021-01-25 08:50:41 [] info: on new block epoch epoch=15261, validator=0xb1fdae7e9e9029a53b59834801eb4453c47fc52a2ebf0102e3b3c09a7832974317c7f607d863a81d86a200f466f3695a

2021-01-25 08:50:41 [] info: on new block epoch epoch=15261, validator=0xb1fdae7e9e9029a53b59834801eb4453c47fc52a2ebf0102e3b3c09a7832974317c7f607d863a81d86a200f466f3695a

2021-01-25 08:53:55 [] info: Handling attestation duty slot=488369, committee=23, validator=0xb1fdae7e9e9029a53b59834801eb4453c47fc52a2ebf0102e3b3c09a7832974317c7f607d863a81d86a200f466f3695a

2021-01-25 08:53:59 [] info: Signed new attestation block=0x3b67d5d6355132947853ec67fe006fef114ad312a1bd6f781c293c7c15c90d7f, committeeIndex=23, slot=488369

2021-01-25 08:53:59 [] info: Published new attestation slot=488369, committee=23, attestation=0x380dc247477ee605d9518da32808c3a4c16057f4539ab65e36d21adc95718873, block=0x3b67d5d6355132947853ec67fe006fef114ad312a1bd6f781c293c7c15c90d7f, validator=0xb1fdae7e9e9029a53b59834801eb4453c47fc52a2ebf0102e3b3c09a7832974317c7f607d863a81d86a200f466f3695a

2021-01-25 08:54:03 [] info: Aggregating attestations committeeIndex=23, slot=488369

2021-01-25 08:54:03 [] error: Failed to publish aggregate and proof committeeIndex=23, slot=488369 message={"code":400,"message":"BAD_REQUEST: error processing aggregate and proofs","failures":[{"index":0,"message":"Verification: InvalidSelectionProof { aggregator_index: 116735 }"}]}
Error: {"code":400,"message":"BAD_REQUEST: error processing aggregate and proofs","failures":[{"index":0,"message":"Verification: InvalidSelectionProof { aggregator_index: 116735 }"}]}
at s (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:130:206997)
at a.post (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:130:206870)
at async h.publishAggregateAndProofs (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:130:231089)
at async t.AttestationService.aggregateAttestations (file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:1:468925)
at async file:///C:/Users/marin/AppData/Local/Programs/ChainGuardian/resources/app.asar/dist/app.js:1:471298

2021-01-25 08:56:55 [] info: on new block epoch epoch=15262, validator=0xb1fdae7e9e9029a53b59834801eb4453c47fc52a2ebf0102e3b3c09a7832974317c7f607d863a81d86a200f466f3695a
```
[0xb1fdae7e9e9029a53b59834801eb4453c47fc52a2ebf0102e3b3c09a7832974317c7f607d863a81d86a200f466f3695a.log](https://github.com/NodeFactoryIo/ChainGuardian/files/5873546/0xb1fdae7e9e9029a53b59834801eb4453c47fc52a2ebf0102e3b3c09a7832974317c7f607d863a81d86a200f466f3695a.log)

beacon node docker
![Screenshot 2021-01-25 085412](https://user-images.githubusercontent.com/6376047/105848704-ad9c9d00-5fdf-11eb-91dc-270246ab371a.png)

```
Jan 25 07:49:49.001 INFO Synced slot: 488348, block: 0x18cb…53b4, epoch: 15260, finalized_epoch: 15258, finalized_root: 0x575f…d492, peers: 25, service: slot_notifier
Jan 25 07:49:59.799 INFO Processed block block: 0xfd60…50df, service: sync
Jan 25 07:50:01.000 INFO Synced slot: 488349, block: 0xfd60…50df, epoch: 15260, finalized_epoch: 15258, finalized_root: 0x575f…d492, peers: 25, service: slot_notifier
Jan 25 07:50:11.451 INFO Processed block block: 0xec50…cc6d, service: sync
Jan 25 07:50:13.000 INFO Synced slot: 488350, block: 0xec50…cc6d, epoch: 15260, finalized_epoch: 15258, finalized_root: 0x575f…d492, peers: 25, service: slot_notifier
Jan 25 07:50:25.000 INFO Synced slot: 488351, block: … empty, epoch: 15260, finalized_epoch: 15258, finalized_root: 0x575f…d492, peers: 24, service: slot_notifier
Jan 25 07:50:26.321 INFO Processed block block: 0x4358…1177, service: sync
Jan 25 07:50:28.904 WARN Error processing HTTP API request method: GET, path: /eth/v1/validator/duties/proposer/15261, status: 400 Bad Request, elapsed: 47.9983ms
Jan 25 07:50:28.943 WARN Error processing HTTP API request method: POST, path: /eth/v1/validator/duties/attester/15262, status: 400 Bad Request, elapsed: 73.1987ms
Jan 25 07:50:29.066 WARN Error processing HTTP API request method: GET, path: /eth/v1/validator/duties/proposer/15261, status: 400 Bad Request, elapsed: 58.0617ms
Jan 25 07:50:29.074 WARN Error processing HTTP API request method: POST, path: /eth/v1/validator/duties/attester/15262, status: 400 Bad Request, elapsed: 67.836ms
Jan 25 07:50:32.848 INFO New block received hash: 0x3b67…0d7f, slot: 488352
Jan 25 07:50:37.003 INFO Synced slot: 488352, block: … empty, epoch: 15261, finalized_epoch: 15258, finalized_root: 0x575f…d492, peers: 25, service: slot_notifier
Jan 25 07:50:46.841 INFO Processed block block: 0x8014…35bb, service: sync
Jan 25 07:50:49.001 INFO Synced slot: 488353, block: 0x8014…35bb, epoch: 15261, finalized_epoch: 15259, finalized_root: 0x307c…2b37, peers: 25, service: slot_notifier
Jan 25 07:50:59.705 INFO Processed block block: 0xb816…51b4, service: sync
Jan 25 07:51:01.001 INFO Synced slot: 488354, block: 0xb816…51b4, epoch: 15261, finalized_epoch: 15259, finalized_root: 0x307c…2b37, peers: 24, service: slot_notifier
```

[localhost-beacon-node.log](https://github.com/NodeFactoryIo/ChainGuardian/files/5873549/localhost-beacon-node.log)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.