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

Validator monitor error in slot before first epoch transition #6784

Open
nflaig opened this issue May 15, 2024 · 1 comment
Open

Validator monitor error in slot before first epoch transition #6784

nflaig opened this issue May 15, 2024 · 1 comment
Labels
meta-bug Issues that identify a bug and require a fix.

Comments

@nflaig
Copy link
Member

nflaig commented May 15, 2024

Describe the bug

There is a validator monitor error in the slot right before first epoch transition

[cl-1-lodestar-nethermind] May-15 13:55:00.025[chain]           error: Error on validator monitor onceEveryEndOfEpoch slot=31 - Can only get block root in the past currentSlot=31 slot=31
[cl-1-lodestar-nethermind] Error: Can only get block root in the past currentSlot=31 slot=31
[cl-1-lodestar-nethermind]     at getBlockRootAtSlot (file:///usr/app/packages/state-transition/src/util/blockRoot.ts:14:11)
[cl-1-lodestar-nethermind]     at RootHexCache.getBlockRootAtSlot (file:///usr/app/packages/beacon-node/src/metrics/validatorMonitor.ts:1033:20)
[cl-1-lodestar-nethermind]     at isCanonical (file:///usr/app/packages/beacon-node/src/metrics/validatorMonitor.ts:981:20)
[cl-1-lodestar-nethermind]     at file:///usr/app/packages/beacon-node/src/metrics/validatorMonitor.ts:873:77
[cl-1-lodestar-nethermind]     at Array.find (<anonymous>)
[cl-1-lodestar-nethermind]     at renderAttestationSummary (file:///usr/app/packages/beacon-node/src/metrics/validatorMonitor.ts:873:61)
[cl-1-lodestar-nethermind]     at Object.onceEveryEndOfEpoch (file:///usr/app/packages/beacon-node/src/metrics/validatorMonitor.ts:648:27)
[cl-1-lodestar-nethermind]     at file:///usr/app/packages/beacon-node/src/chain/chain.ts:969:29

Expected behavior

No error

Steps to reproduce

Kurtosis config

participants:
  - el_type: nethermind
    el_image: 192.168.45.152:80/dh/nethermindeth/nethermind:pectra
    cl_type: lodestar
    cl_image: 192.168.45.152:80/dh/ethpandaops/lodestar:electra-fork
    count: 4
network_params:
  electra_fork_epoch: 2 # electra fork epoch does not matter
  seconds_per_slot: 12
  num_validator_keys_per_node: 64
additional_services:
  - dora
  - prometheus_grafana
snooper_enabled: true

Additional context

No response

Operating system

Linux

Lodestar version or commit hash

electra-fork branch

@nflaig nflaig added the meta-bug Issues that identify a bug and require a fix. label May 15, 2024
@ensi321
Copy link
Contributor

ensi321 commented May 15, 2024

It looks like this error happens in the first epoch transition regardless if there is a fork transition.

I ran with electra_fork_epoch: 2, this error shows up in the first epoch transition, and not the fork transition (second epoch transition).

@nflaig nflaig changed the title Validator monitor error in slot before fork transition Validator monitor error in slot before first epoch transition May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta-bug Issues that identify a bug and require a fix.
Projects
None yet
Development

No branches or pull requests

2 participants