NethermindEth / nethermind

A robust execution client for Ethereum node operators.
https://nethermind.io/nethermind-client
GNU General Public License v3.0
1.22k stars 427 forks source link

Teku:Nethermind on gnosis: Nethermind returned twice the block for the same slot #7356

Open galaxy-mario opened 3 weeks ago

galaxy-mario commented 3 weeks ago

Description Nethermind returned a block from the same slot twice, with a 3s delay. Teku clearly knows/shows in logs the block is empty.

We are not sure if this is an issue on Teku or Nethermind, we'd like to understand what happened and whether there is anything that can be done to improve it.

Desktop (please complete the following information): Please provide the following information regarding your setup:

Additional context This is on the gnosis chain, where the time to get a block in is 1.66s max.

Logs https://gnosischa.in/slot/17052573

consensus-1  | 2024-08-21 16:03:20.413 INFO  - Calling local execution layer to start block production (block slot: 17052573)
consensus-1  | 2024-08-21 16:03:22.000 INFO  - ESC[37mSlot Event  *** Slot: 17052572, Block: 16ae7cca982b24cb7276ef61ec80084b6597f20eba9df4251be0df4638ef75a3, Justified: 1065784, Finalized: 1065783, Peers: 110ESC[0m
consensus-1  | 2024-08-21 16:03:27.001 INFO  - ESC[37mSlot Event  *** Slot: 17052573, Block:                                                        ... empty, Justified: 1065784, Finalized: 1065783, Peers: 110ESC[0m
consensus-1  | 2024-08-21 16:03:32.000 INFO  - ESC[37mSlot Event  *** Slot: 17052574, Block: fbc06d932b621859b8e63a60d20729d7882b4da8f3c0c4fe3b2c9e660aad27d8, Justified: 1065784, Finalized: 1065783, Peers: 110ESC[0m
consensus-1  | 2024-08-21 16:03:37.001 INFO  - ESC[37mSlot Event  *** Slot: 17052575, Block: 9d452f290922d5e747fb3a3f5a16bc49629f12192997d1b249821ee2f039c3ee, Justified: 1065784, Finalized: 1065783, Peers: 110ESC[0m
consensus-1  | 2024-08-21 16:03:40.001 INFO  - ESC[32mEpoch Event *** Epoch: 1065786, Justified checkpoint: 1065785, Finalized checkpoint: 1065784, Finalized root: 9a5c72a4f4c33f66206af288b3e9c281b0d8fa23b790b81aeadc6325a6a61597ESC[0m
consensus-1  | 2024-08-21 16:03:40.090 INFO  - Attestation performance: epoch 1065784, expected 15364, produced 15327, included 15326 (100%), distance 1 / 1.00 / 4, correct target 15327 (100%), correct head 15297 (100%)
consensus-1  | 2024-08-21 16:03:40.090 INFO  - Block performance: epoch 1065785, expected 1, produced 1, included 1 (100%)
consensus-1  | 2024-08-21 16:03:40.090 INFO  - Sync committee performance: epoch 1065785, expected 448, produced 352, correct 352, included 334 (95%)
execution-1  | 21 Aug 16:03:20 | Produced block 35596759 (0xd8ced6...15e666), diff: 0, tx count: 1 
execution-1  | 21 Aug 16:03:20 | Improved post-merge block 35596759 (0xd8ced6...15e666), diff: 0, tx count: 1 
execution-1  | 21 Aug 16:03:23 | Produced block 35596759 (0x823107...0f014b), diff: 0, tx count: 7 
execution-1  | 21 Aug 16:03:23 | Improved post-merge block 35596759 (0x823107...0f014b), diff: 0, tx count: 7
ScottyDavies commented 3 weeks ago

Hi @galaxy-mario can I work on this ?

onlydustapp[bot] commented 3 weeks ago

Hey @ScottyDavies! Thanks for showing interest. We've created an application for you to contribute to Nethermind. Go check it out on OnlyDust!