Skip to content

Missing attestations #5843

Closed
Closed
@fiiiu

Description

@fiiiu

Describe the bug

Ever since moving from geth to reth a few months ago, my validator is occasionally missing attestations, averaging around one a day. I saw this behavior with alpha.8, alpha.10, alpha.12, and alpha.13. I'm running the latest version of prysm for consensus client. I'm using time.nist.gov as NTP server.

I cannot state for sure that this is reth's fault, but I didn't see this behavior with my same setup when running geth. I'm including INFO level logs around the time when I missed an attestation, for slot 8027743, corresponding to block 18833845. Please let me know if there's any other info I can share.

Thanks!

Steps to reproduce

Run a validator with reth + prysm and wait for missed attestations.

Node logs

2023-12-21T09:27:25.242484Z  INFO reth::node::events: Canonical chain committed number=18833343 hash=0x051c252e133ae86f455829cacfbad6bdedaba5518422e0019b32300763c0ea51 elapsed=421.326179ms
2023-12-21T09:27:25.242550Z  INFO reth::node::events: Forkchoice updated head_block_hash=0x051c252e133ae86f455829cacfbad6bdedaba5518422e0019b32300763c0ea51 safe_block_hash=0x97aea22345cedc9e31cfd51b7d3e490e82da0ed8f2a137683afa739dbfb51a46 finalized_block_hash=0xb9b4d10ef06af762a237c2d467e7f6fecc67de002a551b34096f362b26ad519e status=Valid
2023-12-21T09:27:34.345443Z  INFO reth::cli: Status connected_peers=108 freelist=25452 latest_block=18833343
2023-12-21T09:27:37.325558Z  INFO reth::node::events: Block added to canonical chain number=18833344 hash=0xc3cb99cf0713fe96a5f497c80fc9472e2f2d669392a4a35e374bed066e3dd79a
2023-12-21T09:27:38.068749Z  INFO reth::node::events: Canonical chain committed number=18833344 hash=0xc3cb99cf0713fe96a5f497c80fc9472e2f2d669392a4a35e374bed066e3dd79a elapsed=516.024465ms
2023-12-21T09:27:38.068795Z  INFO reth::node::events: Forkchoice updated head_block_hash=0xc3cb99cf0713fe96a5f497c80fc9472e2f2d669392a4a35e374bed066e3dd79a safe_block_hash=0x97aea22345cedc9e31cfd51b7d3e490e82da0ed8f2a137683afa739dbfb51a46 finalized_block_hash=0xb9b4d10ef06af762a237c2d467e7f6fecc67de002a551b34096f362b26ad519e status=Valid
2023-12-21T09:27:38.101226Z  INFO reth::node::events: Pruner finished tip_block_number=18833344 elapsed=32.416934ms stats={SenderRecovery: (HasMoreData, 17500), Receipts: (Finished, 0)}
2023-12-21T09:27:48.801228Z  INFO reth::node::events: Block added to canonical chain number=18833345 hash=0xa00586e8849c4d089d4cbf11ee95790552ed02a73272036d54c10816386f8ee5
2023-12-21T09:27:49.377986Z  INFO reth::node::events: Canonical chain committed number=18833345 hash=0xa00586e8849c4d089d4cbf11ee95790552ed02a73272036d54c10816386f8ee5 elapsed=335.306759ms
2023-12-21T09:27:49.378031Z  INFO reth::node::events: Forkchoice updated head_block_hash=0xa00586e8849c4d089d4cbf11ee95790552ed02a73272036d54c10816386f8ee5 safe_block_hash=0x97aea22345cedc9e31cfd51b7d3e490e82da0ed8f2a137683afa739dbfb51a46 finalized_block_hash=0xb9b4d10ef06af762a237c2d467e7f6fecc67de002a551b34096f362b26ad519e status=Valid
2023-12-21T09:27:59.345801Z  INFO reth::cli: Status connected_peers=108 freelist=25470 latest_block=18833345
2023-12-21T09:28:01.132339Z  INFO reth::node::events: Block added to canonical chain number=18833346 hash=0x3e72d2157be6a501a2370dc16a7410b97a8e45dc1798cb0cd9d026c6f1f7aad0
2023-12-21T09:28:01.818468Z  INFO reth::node::events: Canonical chain committed number=18833346 hash=0x3e72d2157be6a501a2370dc16a7410b97a8e45dc1798cb0cd9d026c6f1f7aad0 elapsed=462.233358ms
2023-12-21T09:28:01.818517Z  INFO reth::node::events: Forkchoice updated head_block_hash=0x3e72d2157be6a501a2370dc16a7410b97a8e45dc1798cb0cd9d026c6f1f7aad0 safe_block_hash=0x97aea22345cedc9e31cfd51b7d3e490e82da0ed8f2a137683afa739dbfb51a46 finalized_block_hash=0xb9b4d10ef06af762a237c2d467e7f6fecc67de002a551b34096f362b26ad519e status=Valid
2023-12-21T09:28:12.328221Z  INFO reth::node::events: Block added to canonical chain number=18833347 hash=0x03975b86bd9ef8385b50f9b590dd4501c71d3aa05994ec52615105a6b775d419
2023-12-21T09:28:13.090463Z  INFO reth::node::events: Canonical chain committed number=18833347 hash=0x03975b86bd9ef8385b50f9b590dd4501c71d3aa05994ec52615105a6b775d419 elapsed=489.449827ms
2023-12-21T09:28:13.090511Z  INFO reth::node::events: Forkchoice updated head_block_hash=0x03975b86bd9ef8385b50f9b590dd4501c71d3aa05994ec52615105a6b775d419 safe_block_hash=0x97aea22345cedc9e31cfd51b7d3e490e82da0ed8f2a137683afa739dbfb51a46 finalized_block_hash=0xb9b4d10ef06af762a237c2d467e7f6fecc67de002a551b34096f362b26ad519e status=Valid
2023-12-21T09:28:24.345364Z  INFO reth::cli: Status connected_peers=108 freelist=25346 latest_block=18833347

Platform(s)

Linux (x86)

What version/commit are you on?

alpha.13

What database version are you on?

1

What type of node are you running?

Full via --full flag

What prune config do you use, if any?

no reth.toml file, running the out-of-the-box precompile as is.

If you've built Reth from source, provide the full command you used

No response

Code of Conduct

  • I agree to follow the Code of Conduct

Metadata

Metadata

Assignees

Labels

C-bugAn unexpected or incorrect behaviorS-needs-benchmarkThis set of changes needs performance benchmarking to double-check that they helpS-needs-investigationThis issue requires detective work to figure out what's going wrong

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions