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

Initial commit for eip-7732 on fulu #6768

Draft
wants to merge 4 commits into
base: fulu
Choose a base branch
from

Conversation

Tomi-3-0
Copy link
Contributor

  • Execution payloads are removed from the beacon block structure.
  • Slot intervals are increased to 4 to align with EIP-7732 timing changes.
  • Refactored validators and consensus object pools for compatibility.

This commit introduces changes to support EIP-7732 in the Fulu fork:
- Execution payloads are removed from the beacon block structure.
- Slot intervals are increased to 4 to align with EIP-7732 timing changes.
- Refactored validators and consensus object pools for compatibility.
Copy link

github-actions bot commented Dec 18, 2024

Unit Test Results

0 files   -        12  0 suites   - 1 814   0s ⏱️ - 55m 31s
0 tests  -   5 237  0 ✔️  -   4 889  0 💤  - 348  0 ±0 
0 runs   - 29 097  0 ✔️  - 28 645  0 💤  - 452  0 ±0 

Results for commit ac49cfe. ± Comparison against base commit 44531ad.

♻️ This comment has been updated with latest results.

operations across blob quarantine, gossip validation, sync, and validator flows
@tersec
Copy link
Contributor

tersec commented Jan 3, 2025

2025-01-02T20:22:00.2388838Z Error: unhandled exception: errno: 32 `Broken pipe` [IOError]
2025-01-02T20:22:00.8163041Z Hint: used config file '/github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nimbus-build-system/vendor/Nim/config/nim.cfg' [Conf]
2025-01-02T20:22:00.8166084Z Hint: used config file '/github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nimbus-build-system/vendor/Nim/config/config.nims' [Conf]
2025-01-02T20:22:00.8168701Z Hint: used config file '/github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/config.nims' [Conf]
2025-01-02T20:22:00.8171480Z Hint: used config file '/github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/ncli/nim.cfg' [Conf]
2025-01-02T20:22:08.7828898Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/el/el_manager.nim(197, 24) Warning: PayloadID is deprecated [Deprecated]
2025-01-02T20:22:08.9866442Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/el/el_manager.nim(488, 53) Warning: data; bytes is deprecated [Deprecated]
2025-01-02T20:22:10.1028115Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2881, 20) template/generic instantiation of `withConsensusFork` from here
2025-01-02T20:22:10.1030201Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2885, 19) template/generic instantiation of `decode` from here
2025-01-02T20:22:10.1032236Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(51, 15) template/generic instantiation of `readValue` from here
2025-01-02T20:22:10.1034210Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:10.1037168Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:10.1039562Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:10.1041977Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:10.1044242Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(206, 13) template/generic instantiation of `readValue` from here
2025-01-02T20:22:10.1046251Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:10.1058161Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:10.1060465Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:10.1062733Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:10.1065936Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(239, 17) Error: undeclared field: 'payload_attestations' for type readRecordValue.T`gensym28268 [type declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(255, 8)]
2025-01-02T20:22:10.2425985Z make: *** [Makefile:441: ncli] Error 1
2025-01-02T20:22:10.2426802Z make: *** Waiting for unfinished jobs....
2025-01-02T20:22:12.4570450Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2881, 20) template/generic instantiation of `withConsensusFork` from here
2025-01-02T20:22:12.4572553Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2885, 19) template/generic instantiation of `decode` from here
2025-01-02T20:22:12.4574580Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(51, 15) template/generic instantiation of `readValue` from here
2025-01-02T20:22:12.4576483Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:12.4578570Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:12.4580819Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:12.4583173Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:12.4585750Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(206, 13) template/generic instantiation of `readValue` from here
2025-01-02T20:22:12.4587699Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:12.4589738Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:12.4591948Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:12.4594308Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:12.4597556Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(239, 17) Error: undeclared field: 'payload_attestations' for type readRecordValue.T`gensym28238 [type declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(255, 8)]
2025-01-02T20:22:12.5056857Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2881, 20) template/generic instantiation of `withConsensusFork` from here
2025-01-02T20:22:12.5059440Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2885, 19) template/generic instantiation of `decode` from here
2025-01-02T20:22:12.5061706Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(51, 15) template/generic instantiation of `readValue` from here
2025-01-02T20:22:12.5153077Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:12.5155235Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:12.5157547Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:12.5159865Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:12.5161815Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(206, 13) template/generic instantiation of `readValue` from here
2025-01-02T20:22:12.5163612Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:12.5165588Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:12.5167794Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:12.5171024Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:12.5174500Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(239, 17) Error: undeclared field: 'payload_attestations' for type readRecordValue.T`gensym28360 [type declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(255, 8)]
2025-01-02T20:22:12.6067729Z make: *** [Makefile:441: ncli_split_keystore] Error 1
2025-01-02T20:22:12.6572066Z make: *** [Makefile:441: nimbus_signing_node] Error 1
2025-01-02T20:22:13.3302316Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2881, 20) template/generic instantiation of `withConsensusFork` from here
2025-01-02T20:22:13.3304292Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2885, 19) template/generic instantiation of `decode` from here
2025-01-02T20:22:13.3306040Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(51, 15) template/generic instantiation of `readValue` from here
2025-01-02T20:22:13.3307761Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:13.3309930Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:13.3312355Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:13.3314843Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:13.3317686Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(206, 13) template/generic instantiation of `readValue` from here
2025-01-02T20:22:13.3319688Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:13.3321818Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:13.3324138Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:13.3326413Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:13.3329487Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(239, 17) Error: undeclared field: 'payload_attestations' for type readRecordValue.T`gensym28254 [type declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(255, 8)]
2025-01-02T20:22:13.4664755Z make: *** [Makefile:441: mev_mock] Error 1
2025-01-02T20:22:14.7887151Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2881, 20) template/generic instantiation of `withConsensusFork` from here
2025-01-02T20:22:14.7889254Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2885, 19) template/generic instantiation of `decode` from here
2025-01-02T20:22:14.7891402Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(51, 15) template/generic instantiation of `readValue` from here
2025-01-02T20:22:14.7893248Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:14.7895336Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:14.7897649Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:14.7899927Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:14.7902095Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(206, 13) template/generic instantiation of `readValue` from here
2025-01-02T20:22:14.7904023Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:14.7905826Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:14.7908398Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:14.7910723Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:14.7914018Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(239, 17) Error: undeclared field: 'payload_attestations' for type readRecordValue.T`gensym28345 [type declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(255, 8)]
2025-01-02T20:22:14.8984516Z make: *** [Makefile:441: nimbus_validator_client] Error 1
2025-01-02T20:22:15.7296849Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2881, 20) template/generic instantiation of `withConsensusFork` from here
2025-01-02T20:22:15.7298825Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2885, 19) template/generic instantiation of `decode` from here
2025-01-02T20:22:15.7300660Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(51, 15) template/generic instantiation of `readValue` from here
2025-01-02T20:22:15.7303989Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:15.7305965Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:15.7308189Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:15.7310500Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:15.7312868Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(206, 13) template/generic instantiation of `readValue` from here
2025-01-02T20:22:15.7314787Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:15.7316869Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:15.7319073Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:15.7321477Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:15.7324833Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(239, 17) Error: undeclared field: 'payload_attestations' for type readRecordValue.T`gensym28167 [type declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(255, 8)]
2025-01-02T20:22:15.8484898Z make: *** [Makefile:441: deposit_contract] Error 1
2025-01-02T20:22:16.2808555Z �[92mBuild completed successfully:�[39m build/fakeee
2025-01-02T20:22:18.5335819Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2881, 20) template/generic instantiation of `withConsensusFork` from here
2025-01-02T20:22:18.5338488Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2885, 19) template/generic instantiation of `decode` from here
2025-01-02T20:22:18.5341021Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(51, 15) template/generic instantiation of `readValue` from here
2025-01-02T20:22:18.5343466Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:18.5346142Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:18.5349097Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:18.5352693Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:18.5355637Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(206, 13) template/generic instantiation of `readValue` from here
2025-01-02T20:22:18.5358254Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:18.5360903Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:18.5363839Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:18.5366881Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:18.5371329Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(239, 17) Error: undeclared field: 'payload_attestations' for type readRecordValue.T`gensym28178 [type declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(255, 8)]
2025-01-02T20:22:18.6486684Z make: *** [Makefile:441: wss_sim] Error 1
2025-01-02T20:22:20.9023669Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/ncli/validator_db_aggregator.nim(16, 3) Hint: 'AggregatorConf' is declared but not used [XDeclaredButNotUsed]
2025-01-02T20:22:22.4727228Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/helpers.nim(327, 43) Hint: 'None' should be: 'NONE' [enumField declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-chronicles/chronicles/options.nim(40, 5)] [Name]
2025-01-02T20:22:24.1441850Z Hint: mm: refc; threads: on; opt: none (DEBUG BUILD, `-d:release` generates faster code)
2025-01-02T20:22:24.1443296Z 225471 lines; 70.580s; 2.993GiB peakmem; proj: /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/ncli/ncli_db.nim; out: /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/nimcache/release/ncli_db/ncli_db.json [SuccessX]
2025-01-02T20:22:26.7405078Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eip7732_helpers.nim(50, 39) Hint: 'payload_status' should be: 'payload_Status' [field declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/datatypes/fulu.nim(142, 5)] [Name]
2025-01-02T20:22:26.7723646Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eip7732_helpers.nim(149, 7) Hint: 'attesting_indices' is declared but not used [XDeclaredButNotUsed]
2025-01-02T20:22:26.7795260Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eip7732_helpers.nim(102, 6) Hint: 'get_attesting_indices' is declared but not used [XDeclaredButNotUsed]
2025-01-02T20:22:26.7798689Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eip7732_helpers.nim(152, 10) Hint: 'sort_and_unique' is declared but not used [XDeclaredButNotUsed]
2025-01-02T20:22:26.7801966Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eip7732_helpers.nim(171, 6) Hint: 'get_ptc_assignment' is declared but not used [XDeclaredButNotUsed]
2025-01-02T20:22:26.7805453Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eip7732_helpers.nim(38, 6) Hint: 'concat_generalized_indices' is declared but not used [XDeclaredButNotUsed]
2025-01-02T20:22:26.8263207Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/state_transition_block.nim(1176, 18) Hint: 'beacon_block_root' should be: 'beaconBlockRoot' [field declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/datatypes/fulu.nim(140, 5)] [Name]
2025-01-02T20:22:26.8315599Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/state_transition_block.nim(1200, 28) Hint: 'payload_status' should be: 'payload_Status' [field declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/datatypes/fulu.nim(142, 5)] [Name]
2025-01-02T20:22:28.9198252Z Hint: mm: refc; threads: on; opt: none (DEBUG BUILD, `-d:release` generates faster code)
2025-01-02T20:22:28.9200505Z 222737 lines; 63.541s; 2.995GiB peakmem; proj: /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/ncli/validator_db_aggregator.nim; out: /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/nimcache/release/validator_db_aggregator/validator_db_aggregator.json [SuccessX]
2025-01-02T20:22:31.9828703Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/consensus_object_pools/data_column_quarantine.nim(15, 9) Warning: imported and not used: 'sequtils' [UnusedImport]
2025-01-02T20:22:31.9833486Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/consensus_object_pools/data_column_quarantine.nim(16, 9) Warning: imported and not used: 'strutils' [UnusedImport]
2025-01-02T20:22:33.5640817Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/gossip_processing/gossip_validation.nim(174, 6) Hint: 'check_aggregation_count' is declared but not used [XDeclaredButNotUsed]
2025-01-02T20:22:41.0777157Z �[92mBuild completed successfully:�[39m build/validator_db_aggregator
2025-01-02T20:22:42.9551929Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2881, 20) template/generic instantiation of `withConsensusFork` from here
2025-01-02T20:22:42.9554943Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2885, 19) template/generic instantiation of `decode` from here
2025-01-02T20:22:42.9557685Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(51, 15) template/generic instantiation of `readValue` from here
2025-01-02T20:22:42.9560500Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:42.9563123Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:42.9566104Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:42.9569276Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:42.9572354Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(206, 13) template/generic instantiation of `readValue` from here
2025-01-02T20:22:42.9574948Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:42.9577581Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:42.9580603Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:42.9583653Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:42.9587901Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(239, 17) Error: undeclared field: 'payload_attestations' for type readRecordValue.T`gensym28281 [type declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(255, 8)]
2025-01-02T20:22:43.0939823Z make: *** [Makefile:441: nimbus_light_client] Error 1
2025-01-02T20:22:44.4568773Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/el/el_manager.nim(197, 24) Warning: PayloadID is deprecated [Deprecated]
2025-01-02T20:22:44.5343235Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/el/el_manager.nim(488, 53) Warning: data; bytes is deprecated [Deprecated]
2025-01-02T20:22:54.7846155Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2881, 20) template/generic instantiation of `withConsensusFork` from here
2025-01-02T20:22:54.7848851Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim(2885, 19) template/generic instantiation of `decode` from here
2025-01-02T20:22:54.7851696Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(51, 15) template/generic instantiation of `readValue` from here
2025-01-02T20:22:54.7854133Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:54.7856756Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:54.7860088Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:54.7863090Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:54.7865977Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(206, 13) template/generic instantiation of `readValue` from here
2025-01-02T20:22:54.7868657Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization.nim(31, 9) template/generic instantiation of `readValue` from here
2025-01-02T20:22:54.7871282Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-json-serialization/json_serialization/reader_impl.nim(193, 22) template/generic instantiation of `fieldReadersTable` from here
2025-01-02T20:22:54.7874172Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(221, 26) template/generic instantiation of `enumAllSerializedFields` from here
2025-01-02T20:22:54.7877172Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(155, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
2025-01-02T20:22:54.7881477Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(239, 17) Error: undeclared field: 'payload_attestations' for type readRecordValue.T`gensym28167 [type declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/vendor/nim-serialization/serialization/object_serialization.nim(255, 8)]
2025-01-02T20:22:54.9284828Z make: *** [Makefile:441: ncli_testnet] Error 1
2025-01-02T20:22:55.6187674Z �[92mBuild completed successfully:�[39m build/ncli_db
2025-01-02T20:22:55.6221673Z ##[error]Process completed with exit code 2.

@Tomi-3-0
Copy link
Contributor Author

Tomi-3-0 commented Jan 3, 2025

Initially omitted adding * to payload_attestations to make it accessible.
I failed to realise this change was not included in this commit.

Thanks.

@tersec
Copy link
Contributor

tersec commented Jan 5, 2025

Run excluded_files="config.yaml"
The following files do not have an up-to-date copyright year:
- beacon_chain/nimbus_light_client.nim
- research/mev_mock.nim
- research/wss_sim.nim
- tests/all_tests.nim
- tests/consensus_spec/all_tests
- tests/test_message_signatures.nim
Error: Process completed with exit code 2.

@tersec
Copy link
Contributor

tersec commented Jan 5, 2025

2025-01-05T14:27:49.7609770Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork_choice.nim(334, 15) template/generic instantiation of `withBlck` from here
2025-01-05T14:27:49.7612344Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork_choice.nim(335, 33) template/generic instantiation of `stepOnBlock` from here
2025-01-05T14:27:49.7615237Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork_choice.nim(186, 46) Error: undeclared field: 'blob_kzg_commitments' for type fulu.BeaconBlockBody [type declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/datatypes/fulu.nim(462, 3)]
2025-01-05T14:27:49.8939773Z make: *** [Makefile:314: consensus_spec_tests_minimal] Error 1
2025-01-05T14:27:49.8940322Z make: *** Waiting for unfinished jobs....
2025-01-05T14:27:54.2376186Z Hint: mm: refc; threads: on; opt: speed; options: -d:release
2025-01-05T14:27:54.2378984Z 265743 lines; 61.492s; 3.569GiB peakmem; proj: /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/research/block_sim.nim; out: /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/nimcache/release/block_sim/block_sim.json [SuccessX]
2025-01-05T14:28:06.8208934Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork_choice.nim(334, 15) template/generic instantiation of `withBlck` from here
2025-01-05T14:28:06.8211077Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork_choice.nim(335, 33) template/generic instantiation of `stepOnBlock` from here
2025-01-05T14:28:06.8214312Z /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork_choice.nim(186, 46) Error: undeclared field: 'blob_kzg_commitments' for type fulu.BeaconBlockBody [type declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/datatypes/fulu.nim(462, 3)]
2025-01-05T14:28:06.9982479Z make: *** [Makefile:306: consensus_spec_tests_mainnet] Error 1

@Tomi-3-0
Copy link
Contributor Author

Tomi-3-0 commented Jan 5, 2025

 Error: undeclared field: 'blob_kzg_commitments' for type fulu.BeaconBlockBody

Why does make all_tests fail to catch this?

@tersec
Copy link
Contributor

tersec commented Jan 5, 2025

 Error: undeclared field: 'blob_kzg_commitments' for type fulu.BeaconBlockBody

Why does make all_tests fail to catch this?

nimbus-eth2/tests/consensus_spec/test_fixture_fork_choice.nim(186, 46) Error: undeclared field: 'blob_kzg_commitments' for type fulu.BeaconBlockBody [type declared in /github-runner/github-runner-node-01/workspace/nimbus-eth2/nimbus-eth2/beacon_chain/spec/datatypes/fulu.nim(462, 3)]

That test_fixture_fork_choice is only built by consensus_spec_tests_minimal and consensus_spec_tests_mainnet, not all_tests. all_tests is a bit of a misleading name. It's not, well, all the tests. It's all the tests not from https://github.com/ethereum/consensus-spec-tests instead.

To run all the tests, make test works. Also, one can run make consensus_spec_tests_minimal and/or consensus_spec_tests_mainnet.

@Tomi-3-0 Tomi-3-0 force-pushed the feat/eip-7732 branch 2 times, most recently from e47ceb1 to 0e9e2c8 Compare January 7, 2025 10:02
@tersec
Copy link
Contributor

tersec commented Jan 7, 2025

Causing Electra fork test failures on macos and Windows:

2025-01-07T13:02:44.4613420Z EF - Electra - Fork  [Preset: minimal] ..FFFF...F.F.FFF (0.43s)
2025-01-07T13:02:44.4614390Z ==================================================================
2025-01-07T13:02:44.4643240Z   /Users/runner/work/nimbus-eth2/nimbus-eth2/build/consensus_spec_tests_minimal 'EF - Electra - Fork  [Preset: minimal]::EF - Electra - Fork - fork_next_epoch_with_block [Preset: minimal]'
2025-01-07T13:02:44.4644860Z ------------------------------------------------------------------
2025-01-07T13:02:44.4646380Z     /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork.nim(42, 44): Check failed: upgradedState[].hash_tree_root() == postState[].hash_tree_root()
2025-01-07T13:02:44.4648270Z     upgradedState[].hash_tree_root() was 345d5178649e7e603fd2eb36e41743a98d75c897b75874d084063a8a9ea65831
2025-01-07T13:02:44.4649590Z     postState[].hash_tree_root() was ec37c2ef6f2377a3fb4d5e5bbfcf315189e8e70837e22225f34c443887850737
2025-01-07T13:02:44.4650490Z vendor/nim-metrics/metrics.nim(651) main
2025-01-07T13:02:44.4651570Z vendor/nim-metrics/metrics.nim(636) NimMain
2025-01-07T13:02:44.4652590Z vendor/nim-metrics/metrics.nim(490) PreMain
2025-01-07T13:02:44.4653340Z vendor/nim-metrics/metrics.nim(332) PreMainInner
2025-01-07T13:02:44.4654170Z tests/consensus_spec/test_fixture_fork.nim(87) atmtest_fixture_forkdotnim_Init000
2025-01-07T13:02:44.4657880Z vendor/nim-unittest2/unittest2.nim(1152) _ZN17test_fixture_fork7runTestE8typeDescIN5deneb11BeaconStateEE8typeDescIN7electra11BeaconStateEE6staticI6stringE6staticI6stringE4procI3refIN7electra11BeaconStateEEN7presets13RuntimeConfigEN5deneb11BeaconStateE3varIN4base10StateCacheEEE6string6string
2025-01-07T13:02:44.4661820Z _ZN10assertions16failedAssertImplE6string(1079) _ZN10assertions11raiseAssertE6string
2025-01-07T13:02:44.4662970Z tests/helpers/debug_state.nim _ZN7runTest21runTestX60gensym1318_E6string6string
2025-01-07T13:02:44.4664360Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(41) vendor/nim-unittest2/unittest2.nim
2025-01-07T13:02:44.4665880Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(36) _ZN9unittest29runDirectEN9unittest24TestE
2025-01-07T13:02:44.4667800Z vendor/nimbus-build-system/vendor/Nim/lib/system/fatal.nim(53) _ZN10assertions8sysFatalE8typeDescIN10exceptions15AssertionDefectEE6string
2025-01-07T13:02:44.4670250Z vendor/nimbus-build-system/vendor/Nim/lib/system/stacktraces.nim(62) _ZN11stacktraces30auxWriteStackTraceWithOverrideE3varI3seqIN6system15StackTraceEntryEEE
2025-01-07T13:02:44.4671760Z 
2025-01-07T13:02:44.4672930Z     Unhandled defect: /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/helpers/debug_state.nim(36, 13) ``==`(upgradedState.earliest_exit_epoch, postState.earliest_exit_epoch)` 
2025-01-07T13:02:44.4674500Z Diff: upgradedState.earliest_exit_epoch = 7
2025-01-07T13:02:44.4675070Z and   postState.earliest_exit_epoch = 2
2025-01-07T13:02:44.4675550Z  [AssertionDefect]
2025-01-07T13:02:44.4675780Z 
2025-01-07T13:02:44.4676510Z   [FAILED ] (  0.40s) EF - Electra - Fork - fork_next_epoch_with_block [Preset: minimal]�[0m
2025-01-07T13:02:44.4677130Z 
2025-01-07T13:02:44.4677280Z ==================================================================================
2025-01-07T13:02:44.4679020Z   /Users/runner/work/nimbus-eth2/nimbus-eth2/build/consensus_spec_tests_minimal 'EF - Electra - Fork  [Preset: minimal]::EF - Electra - Fork - fork_has_compounding_withdrawal_credential [Preset: minimal]'
2025-01-07T13:02:44.4680800Z ----------------------------------------------------------------------------------
2025-01-07T13:02:44.4682420Z     /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork.nim(42, 44): Check failed: upgradedState[].hash_tree_root() == postState[].hash_tree_root()
2025-01-07T13:02:44.4684360Z     upgradedState[].hash_tree_root() was 9131bc9c12f4d421c92c3a64839f56bba9077b103d287c912689f76ca502f1a6
2025-01-07T13:02:44.4685780Z     postState[].hash_tree_root() was ea821507adb08ce218b839b20e564be6995ccc327f98dc2b501342257a34455c
2025-01-07T13:02:44.4686890Z vendor/nim-metrics/metrics.nim(651) main
2025-01-07T13:02:44.4687450Z vendor/nim-metrics/metrics.nim(636) NimMain
2025-01-07T13:02:44.4688010Z vendor/nim-metrics/metrics.nim(490) PreMain
2025-01-07T13:02:44.4688590Z vendor/nim-metrics/metrics.nim(332) PreMainInner
2025-01-07T13:02:44.4689450Z tests/consensus_spec/test_fixture_fork.nim(87) atmtest_fixture_forkdotnim_Init000
2025-01-07T13:02:44.4694530Z vendor/nim-unittest2/unittest2.nim(1152) _ZN17test_fixture_fork7runTestE8typeDescIN5deneb11BeaconStateEE8typeDescIN7electra11BeaconStateEE6staticI6stringE6staticI6stringE4procI3refIN7electra11BeaconStateEEN7presets13RuntimeConfigEN5deneb11BeaconStateE3varIN4base10StateCacheEEE6string6string
2025-01-07T13:02:44.4698720Z vendor/nim-unittest2/unittest2.nim(1079) _ZN9unittest29runDirectEN9unittest24TestE
2025-01-07T13:02:44.4699840Z tests/helpers/debug_state.nim _ZN7runTest21runTestX60gensym1318_E6string6string
2025-01-07T13:02:44.4701790Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(41) _ZN10assertions16failedAssertImplE6string
2025-01-07T13:02:44.4703530Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(36) _ZN10assertions11raiseAssertE6string
2025-01-07T13:02:44.4705730Z vendor/nimbus-build-system/vendor/Nim/lib/system/fatal.nim(53) _ZN10assertions8sysFatalE8typeDescIN10exceptions15AssertionDefectEE6string
2025-01-07T13:02:44.4708290Z vendor/nimbus-build-system/vendor/Nim/lib/system/stacktraces.nim(62) _ZN11stacktraces30auxWriteStackTraceWithOverrideE3varI3seqIN6system15StackTraceEntryEEE
2025-01-07T13:02:44.4709700Z 
2025-01-07T13:02:44.4711260Z     Unhandled defect: /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/helpers/debug_state.nim(36, 13) ``==`(upgradedState.earliest_exit_epoch, postState.earliest_exit_epoch)` 
2025-01-07T13:02:44.4713410Z Diff: upgradedState.earliest_exit_epoch = 6
2025-01-07T13:02:44.4714080Z and   postState.earliest_exit_epoch = 1
2025-01-07T13:02:44.4714640Z  [AssertionDefect]
2025-01-07T13:02:44.4714860Z 
2025-01-07T13:02:44.4715850Z   [FAILED ] (  0.00s) EF - Electra - Fork - fork_has_compounding_withdrawal_credential [Preset: minimal]�[0m
2025-01-07T13:02:44.4716820Z 
2025-01-07T13:02:44.4717030Z =======================================================
2025-01-07T13:02:44.4719010Z   /Users/runner/work/nimbus-eth2/nimbus-eth2/build/consensus_spec_tests_minimal 'EF - Electra - Fork  [Preset: minimal]::EF - Electra - Fork - fork_next_epoch [Preset: minimal]'
2025-01-07T13:02:44.4720550Z -------------------------------------------------------
2025-01-07T13:02:44.4722050Z     /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork.nim(42, 44): Check failed: upgradedState[].hash_tree_root() == postState[].hash_tree_root()
2025-01-07T13:02:44.4723980Z     upgradedState[].hash_tree_root() was d253fb0999d949ce100f38d319a14824ce03a8ca717dc285ea3a181b1eef0bb4
2025-01-07T13:02:44.4725570Z     postState[].hash_tree_root() was 55882402bb03f7c24ff5617baea6e070142525e5ab962b4915ff79cd1b4c88e0
2025-01-07T13:02:44.4726540Z vendor/nim-metrics/metrics.nim(651) main
2025-01-07T13:02:44.4727120Z vendor/nim-metrics/metrics.nim(636) NimMain
2025-01-07T13:02:44.4727710Z vendor/nim-metrics/metrics.nim(490) PreMain
2025-01-07T13:02:44.4728330Z vendor/nim-metrics/metrics.nim(332) PreMainInner
2025-01-07T13:02:44.4729240Z tests/consensus_spec/test_fixture_fork.nim(87) atmtest_fixture_forkdotnim_Init000
2025-01-07T13:02:44.4733910Z vendor/nim-unittest2/unittest2.nim(1152) _ZN17test_fixture_fork7runTestE8typeDescIN5deneb11BeaconStateEE8typeDescIN7electra11BeaconStateEE6staticI6stringE6staticI6stringE4procI3refIN7electra11BeaconStateEEN7presets13RuntimeConfigEN5deneb11BeaconStateE3varIN4base10StateCacheEEE6string6string
2025-01-07T13:02:44.4738020Z vendor/nim-unittest2/unittest2.nim(1079) _ZN9unittest29runDirectEN9unittest24TestE
2025-01-07T13:02:44.4739170Z tests/helpers/debug_state.nim _ZN7runTest21runTestX60gensym1318_E6string6string
2025-01-07T13:02:44.4740820Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(41) _ZN10assertions16failedAssertImplE6string
2025-01-07T13:02:44.4742450Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(36) _ZN10assertions11raiseAssertE6string
2025-01-07T13:02:44.4744450Z vendor/nimbus-build-system/vendor/Nim/lib/system/fatal.nim(53) _ZN10assertions8sysFatalE8typeDescIN10exceptions15AssertionDefectEE6string
2025-01-07T13:02:44.4746960Z vendor/nimbus-build-system/vendor/Nim/lib/system/stacktraces.nim(62) _ZN11stacktraces30auxWriteStackTraceWithOverrideE3varI3seqIN6system15StackTraceEntryEEE
2025-01-07T13:02:44.4748450Z 
2025-01-07T13:02:44.4749630Z     Unhandled defect: /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/helpers/debug_state.nim(36, 13) ``==`(upgradedState.earliest_exit_epoch, postState.earliest_exit_epoch)` 
2025-01-07T13:02:44.4751230Z Diff: upgradedState.earliest_exit_epoch = 7
2025-01-07T13:02:44.4751820Z and   postState.earliest_exit_epoch = 2
2025-01-07T13:02:44.4752320Z  [AssertionDefect]
2025-01-07T13:02:44.4752540Z 
2025-01-07T13:02:44.4754070Z   [FAILED ] (  0.00s) EF - Electra - Fork - fork_next_epoch [Preset: minimal]�[0m
2025-01-07T13:02:44.4754660Z 
2025-01-07T13:02:44.4754810Z ============================================================
2025-01-07T13:02:44.4756840Z   /Users/runner/work/nimbus-eth2/nimbus-eth2/build/consensus_spec_tests_minimal 'EF - Electra - Fork  [Preset: minimal]::EF - Electra - Fork - fork_many_next_epoch [Preset: minimal]'
2025-01-07T13:02:44.4758420Z ------------------------------------------------------------
2025-01-07T13:02:44.4759940Z     /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork.nim(42, 44): Check failed: upgradedState[].hash_tree_root() == postState[].hash_tree_root()
2025-01-07T13:02:44.4762360Z     upgradedState[].hash_tree_root() was 5f50b08b0d6943a46a31fcbfd83a80d190d9523d1a61df24f0c5aa5e5cfd2633
2025-01-07T13:02:44.4764440Z     postState[].hash_tree_root() was 4e57f53a74a724c682e883d8f7ac42e5be2b2da1c35e864ca57e279c0c298871
2025-01-07T13:02:44.4765410Z vendor/nim-metrics/metrics.nim(651) main
2025-01-07T13:02:44.4765950Z vendor/nim-metrics/metrics.nim(636) NimMain
2025-01-07T13:02:44.4766520Z vendor/nim-metrics/metrics.nim(490) PreMain
2025-01-07T13:02:44.4767120Z vendor/nim-metrics/metrics.nim(332) PreMainInner
2025-01-07T13:02:44.4768000Z tests/consensus_spec/test_fixture_fork.nim(87) atmtest_fixture_forkdotnim_Init000
2025-01-07T13:02:44.4771820Z vendor/nim-unittest2/unittest2.nim(1152) _ZN17test_fixture_fork7runTestE8typeDescIN5deneb11BeaconStateEE8typeDescIN7electra11BeaconStateEE6staticI6stringE6staticI6stringE4procI3refIN7electra11BeaconStateEEN7presets13RuntimeConfigEN5deneb11BeaconStateE3varIN4base10StateCacheEEE6string6string
2025-01-07T13:02:44.4775740Z vendor/nim-unittest2/unittest2.nim(1079) _ZN9unittest29runDirectEN9unittest24TestE
2025-01-07T13:02:44.4777230Z tests/helpers/debug_state.nim _ZN7runTest21runTestX60gensym1318_E6string6string
2025-01-07T13:02:44.4779290Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(41) _ZN10assertions16failedAssertImplE6string
2025-01-07T13:02:44.4781470Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(36) _ZN10assertions11raiseAssertE6string
2025-01-07T13:02:44.4783630Z vendor/nimbus-build-system/vendor/Nim/lib/system/fatal.nim(53) _ZN10assertions8sysFatalE8typeDescIN10exceptions15AssertionDefectEE6string
2025-01-07T13:02:44.4786160Z vendor/nimbus-build-system/vendor/Nim/lib/system/stacktraces.nim(62) _ZN11stacktraces30auxWriteStackTraceWithOverrideE3varI3seqIN6system15StackTraceEntryEEE
2025-01-07T13:02:44.4787630Z 
2025-01-07T13:02:44.4788810Z     Unhandled defect: /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/helpers/debug_state.nim(36, 13) ``==`(upgradedState.earliest_exit_epoch, postState.earliest_exit_epoch)` 
2025-01-07T13:02:44.4790900Z Diff: upgradedState.earliest_exit_epoch = 9
2025-01-07T13:02:44.4791730Z and   postState.earliest_exit_epoch = 4
2025-01-07T13:02:44.4792420Z  [AssertionDefect]
2025-01-07T13:02:44.4792800Z 
2025-01-07T13:02:44.4793920Z   [FAILED ] (  0.00s) EF - Electra - Fork - fork_many_next_epoch [Preset: minimal]�[0m
2025-01-07T13:02:44.4794910Z 
2025-01-07T13:02:44.4795130Z ===========================================================
2025-01-07T13:02:44.4797400Z   /Users/runner/work/nimbus-eth2/nimbus-eth2/build/consensus_spec_tests_minimal 'EF - Electra - Fork  [Preset: minimal]::EF - Electra - Fork - fork_pre_activation [Preset: minimal]'
2025-01-07T13:02:44.4799470Z -----------------------------------------------------------
2025-01-07T13:02:44.4801470Z     /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork.nim(42, 44): Check failed: upgradedState[].hash_tree_root() == postState[].hash_tree_root()
2025-01-07T13:02:44.4804200Z     upgradedState[].hash_tree_root() was 27ae553be7d79677045f932ab1df71acead825007e3f006e9ee992b742f33ec1
2025-01-07T13:02:44.4806040Z     postState[].hash_tree_root() was 33dca93df8195c55979d89485a8a21482fcfde40ef364c7d6864e103a360ac10
2025-01-07T13:02:44.4807660Z vendor/nim-metrics/metrics.nim(651) main
2025-01-07T13:02:44.4808480Z vendor/nim-metrics/metrics.nim(636) NimMain
2025-01-07T13:02:44.4810160Z vendor/nim-metrics/metrics.nim(490) PreMain
2025-01-07T13:02:44.4811470Z vendor/nim-metrics/metrics.nim(332) PreMainInner
2025-01-07T13:02:44.4813110Z tests/consensus_spec/test_fixture_fork.nim(87) atmtest_fixture_forkdotnim_Init000
2025-01-07T13:02:44.4817640Z vendor/nim-unittest2/unittest2.nim(1152) _ZN17test_fixture_fork7runTestE8typeDescIN5deneb11BeaconStateEE8typeDescIN7electra11BeaconStateEE6staticI6stringE6staticI6stringE4procI3refIN7electra11BeaconStateEEN7presets13RuntimeConfigEN5deneb11BeaconStateE3varIN4base10StateCacheEEE6string6string
2025-01-07T13:02:44.4822570Z vendor/nim-unittest2/unittest2.nim(1079) _ZN9unittest29runDirectEN9unittest24TestE
2025-01-07T13:02:44.4823900Z tests/helpers/debug_state.nim _ZN7runTest21runTestX60gensym1318_E6string6string
2025-01-07T13:02:44.4825520Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(41) _ZN10assertions16failedAssertImplE6string
2025-01-07T13:02:44.4827410Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(36) _ZN10assertions11raiseAssertE6string
2025-01-07T13:02:44.4829620Z vendor/nimbus-build-system/vendor/Nim/lib/system/fatal.nim(53) _ZN10assertions8sysFatalE8typeDescIN10exceptions15AssertionDefectEE6string
2025-01-07T13:02:44.4832500Z vendor/nimbus-build-system/vendor/Nim/lib/system/stacktraces.nim(62) _ZN11stacktraces30auxWriteStackTraceWithOverrideE3varI3seqIN6system15StackTraceEntryEEE
2025-01-07T13:02:44.4834330Z 
2025-01-07T13:02:44.4835630Z     Unhandled defect: /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/helpers/debug_state.nim(36, 13) ``==`(upgradedState.earliest_exit_epoch, postState.earliest_exit_epoch)` 
2025-01-07T13:02:44.4837460Z Diff: upgradedState.earliest_exit_epoch = 6
2025-01-07T13:02:44.4838110Z and   postState.earliest_exit_epoch = 1
2025-01-07T13:02:44.4838680Z  [AssertionDefect]
2025-01-07T13:02:44.4839110Z 
2025-01-07T13:02:44.4840060Z   [FAILED ] (  0.00s) EF - Electra - Fork - fork_pre_activation [Preset: minimal]�[0m
2025-01-07T13:02:44.4840810Z 
2025-01-07T13:02:44.4841030Z =======================================================
2025-01-07T13:02:44.4842790Z   /Users/runner/work/nimbus-eth2/nimbus-eth2/build/consensus_spec_tests_minimal 'EF - Electra - Fork  [Preset: minimal]::EF - Electra - Fork - fork_base_state [Preset: minimal]'
2025-01-07T13:02:44.4844510Z -------------------------------------------------------
2025-01-07T13:02:44.4846240Z     /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork.nim(42, 44): Check failed: upgradedState[].hash_tree_root() == postState[].hash_tree_root()
2025-01-07T13:02:44.4848440Z     upgradedState[].hash_tree_root() was 040b4668c6d4ef54804b4b7473a835d97500c2ff2e3c468e2360ffa546670011
2025-01-07T13:02:44.4849980Z     postState[].hash_tree_root() was cc3eaeee546186927814275bb191a6f275f3569cb57f68bcf6ba3830ba8ee5ea
2025-01-07T13:02:44.4851060Z vendor/nim-metrics/metrics.nim(651) main
2025-01-07T13:02:44.4851950Z vendor/nim-metrics/metrics.nim(636) NimMain
2025-01-07T13:02:44.4852610Z vendor/nim-metrics/metrics.nim(490) PreMain
2025-01-07T13:02:44.4853280Z vendor/nim-metrics/metrics.nim(332) PreMainInner
2025-01-07T13:02:44.4854310Z tests/consensus_spec/test_fixture_fork.nim(87) atmtest_fixture_forkdotnim_Init000
2025-01-07T13:02:44.4858590Z vendor/nim-unittest2/unittest2.nim(1152) _ZN17test_fixture_fork7runTestE8typeDescIN5deneb11BeaconStateEE8typeDescIN7electra11BeaconStateEE6staticI6stringE6staticI6stringE4procI3refIN7electra11BeaconStateEEN7presets13RuntimeConfigEN5deneb11BeaconStateE3varIN4base10StateCacheEEE6string6string
2025-01-07T13:02:44.4862860Z vendor/nim-unittest2/unittest2.nim(1079) _ZN9unittest29runDirectEN9unittest24TestE
2025-01-07T13:02:44.4864230Z tests/helpers/debug_state.nim _ZN7runTest21runTestX60gensym1318_E6string6string
2025-01-07T13:02:44.4865820Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(41) _ZN10assertions16failedAssertImplE6string
2025-01-07T13:02:44.4867600Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(36) _ZN10assertions11raiseAssertE6string
2025-01-07T13:02:44.4870470Z vendor/nimbus-build-system/vendor/Nim/lib/system/fatal.nim(53) _ZN10assertions8sysFatalE8typeDescIN10exceptions15AssertionDefectEE6string
2025-01-07T13:02:44.4873410Z vendor/nimbus-build-system/vendor/Nim/lib/system/stacktraces.nim(62) _ZN11stacktraces30auxWriteStackTraceWithOverrideE3varI3seqIN6system15StackTraceEntryEEE
2025-01-07T13:02:44.4875070Z 
2025-01-07T13:02:44.4876420Z     Unhandled defect: /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/helpers/debug_state.nim(36, 13) ``==`(upgradedState.earliest_exit_epoch, postState.earliest_exit_epoch)` 
2025-01-07T13:02:44.4878360Z Diff: upgradedState.earliest_exit_epoch = 6
2025-01-07T13:02:44.4879010Z and   postState.earliest_exit_epoch = 1
2025-01-07T13:02:44.4879590Z  [AssertionDefect]
2025-01-07T13:02:44.4879820Z 
2025-01-07T13:02:44.4880550Z   [FAILED ] (  0.00s) EF - Electra - Fork - fork_base_state [Preset: minimal]�[0m
2025-01-07T13:02:44.4881200Z 
2025-01-07T13:02:44.4881360Z =======================================================================
2025-01-07T13:02:44.4883250Z   /Users/runner/work/nimbus-eth2/nimbus-eth2/build/consensus_spec_tests_minimal 'EF - Electra - Fork  [Preset: minimal]::EF - Electra - Fork - fork_random_large_validator_set [Preset: minimal]'
2025-01-07T13:02:44.4885270Z -----------------------------------------------------------------------
2025-01-07T13:02:44.4887130Z     /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork.nim(42, 44): Check failed: upgradedState[].hash_tree_root() == postState[].hash_tree_root()
2025-01-07T13:02:44.4889360Z     upgradedState[].hash_tree_root() was b7ed9e2dc8c99d9fc895cea8b66fe5b47a6ff11e92dcadb028ae9967cca1fd23
2025-01-07T13:02:44.4890970Z     postState[].hash_tree_root() was cb3d09a7d7ee6c16fe7a0e1ce1c48bce1e6a96fbd08e1f5db18c09da9bc0be70
2025-01-07T13:02:44.4892090Z vendor/nim-metrics/metrics.nim(651) main
2025-01-07T13:02:44.4892720Z vendor/nim-metrics/metrics.nim(636) NimMain
2025-01-07T13:02:44.4893420Z vendor/nim-metrics/metrics.nim(490) PreMain
2025-01-07T13:02:44.4894120Z vendor/nim-metrics/metrics.nim(332) PreMainInner
2025-01-07T13:02:44.4895140Z tests/consensus_spec/test_fixture_fork.nim(87) atmtest_fixture_forkdotnim_Init000
2025-01-07T13:02:44.4899400Z vendor/nim-unittest2/unittest2.nim(1152) _ZN17test_fixture_fork7runTestE8typeDescIN5deneb11BeaconStateEE8typeDescIN7electra11BeaconStateEE6staticI6stringE6staticI6stringE4procI3refIN7electra11BeaconStateEEN7presets13RuntimeConfigEN5deneb11BeaconStateE3varIN4base10StateCacheEEE6string6string
2025-01-07T13:02:44.4903740Z vendor/nim-unittest2/unittest2.nim(1079) _ZN9unittest29runDirectEN9unittest24TestE
2025-01-07T13:02:44.4905070Z tests/helpers/debug_state.nim _ZN7runTest21runTestX60gensym1318_E6string6string
2025-01-07T13:02:44.4906650Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(41) _ZN10assertions16failedAssertImplE6string
2025-01-07T13:02:44.4908490Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(36) _ZN10assertions11raiseAssertE6string
2025-01-07T13:02:44.4910610Z vendor/nimbus-build-system/vendor/Nim/lib/system/fatal.nim(53) _ZN10assertions8sysFatalE8typeDescIN10exceptions15AssertionDefectEE6string
2025-01-07T13:02:44.4913420Z vendor/nimbus-build-system/vendor/Nim/lib/system/stacktraces.nim(62) _ZN11stacktraces30auxWriteStackTraceWithOverrideE3varI3seqIN6system15StackTraceEntryEEE
2025-01-07T13:02:44.4915070Z 
2025-01-07T13:02:44.4916420Z     Unhandled defect: /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/helpers/debug_state.nim(36, 13) ``==`(upgradedState.earliest_exit_epoch, postState.earliest_exit_epoch)` 
2025-01-07T13:02:44.4918220Z Diff: upgradedState.earliest_exit_epoch = 6
2025-01-07T13:02:44.4918860Z and   postState.earliest_exit_epoch = 1
2025-01-07T13:02:44.4919460Z  [AssertionDefect]
2025-01-07T13:02:44.4919760Z 
2025-01-07T13:02:44.4920490Z   [FAILED ] (  0.00s) EF - Electra - Fork - fork_random_large_validator_set [Preset: minimal]�[0m
2025-01-07T13:02:44.4921300Z 
2025-01-07T13:02:44.4921890Z =================================================================
2025-01-07T13:02:44.4923990Z   /Users/runner/work/nimbus-eth2/nimbus-eth2/build/consensus_spec_tests_minimal 'EF - Electra - Fork  [Preset: minimal]::EF - Electra - Fork - fork_random_misc_balances [Preset: minimal]'
2025-01-07T13:02:44.4926000Z -----------------------------------------------------------------
2025-01-07T13:02:44.4927770Z     /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork.nim(42, 44): Check failed: upgradedState[].hash_tree_root() == postState[].hash_tree_root()
2025-01-07T13:02:44.4930120Z     upgradedState[].hash_tree_root() was 3ace81c358833a148062dec2465ea109b3a080ad0dd8fd617894954cec6965c8
2025-01-07T13:02:44.4932050Z     postState[].hash_tree_root() was 76016f948889d018a8087ea777137187a406cb55705395f0f4fcc3de831db27d
2025-01-07T13:02:44.4933330Z vendor/nim-metrics/metrics.nim(651) main
2025-01-07T13:02:44.4934100Z vendor/nim-metrics/metrics.nim(636) NimMain
2025-01-07T13:02:44.4934920Z vendor/nim-metrics/metrics.nim(490) PreMain
2025-01-07T13:02:44.4950460Z vendor/nim-metrics/metrics.nim(332) PreMainInner
2025-01-07T13:02:44.4951470Z tests/consensus_spec/test_fixture_fork.nim(87) atmtest_fixture_forkdotnim_Init000
2025-01-07T13:02:44.4955810Z vendor/nim-unittest2/unittest2.nim(1152) _ZN17test_fixture_fork7runTestE8typeDescIN5deneb11BeaconStateEE8typeDescIN7electra11BeaconStateEE6staticI6stringE6staticI6stringE4procI3refIN7electra11BeaconStateEEN7presets13RuntimeConfigEN5deneb11BeaconStateE3varIN4base10StateCacheEEE6string6string
2025-01-07T13:02:44.4960080Z vendor/nim-unittest2/unittest2.nim(1079) _ZN9unittest29runDirectEN9unittest24TestE
2025-01-07T13:02:44.4961560Z tests/helpers/debug_state.nim _ZN7runTest21runTestX60gensym1318_E6string6string
2025-01-07T13:02:44.4963330Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(41) _ZN10assertions16failedAssertImplE6string
2025-01-07T13:02:44.4965410Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(36) _ZN10assertions11raiseAssertE6string
2025-01-07T13:02:44.4967740Z vendor/nimbus-build-system/vendor/Nim/lib/system/fatal.nim(53) _ZN10assertions8sysFatalE8typeDescIN10exceptions15AssertionDefectEE6string
2025-01-07T13:02:44.4970640Z vendor/nimbus-build-system/vendor/Nim/lib/system/stacktraces.nim(62) _ZN11stacktraces30auxWriteStackTraceWithOverrideE3varI3seqIN6system15StackTraceEntryEEE
2025-01-07T13:02:44.4972260Z 
2025-01-07T13:02:44.4973630Z     Unhandled defect: /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/helpers/debug_state.nim(36, 13) ``==`(upgradedState.earliest_exit_epoch, postState.earliest_exit_epoch)` 
2025-01-07T13:02:44.4975490Z Diff: upgradedState.earliest_exit_epoch = 6
2025-01-07T13:02:44.4976200Z and   postState.earliest_exit_epoch = 1
2025-01-07T13:02:44.4976780Z  [AssertionDefect]
2025-01-07T13:02:44.4977080Z 
2025-01-07T13:02:44.4978090Z   [FAILED ] (  0.00s) EF - Electra - Fork - fork_random_misc_balances [Preset: minimal]�[0m
2025-01-07T13:02:44.4978850Z 
2025-01-07T13:02:44.4979010Z ================================================================
2025-01-07T13:02:44.4980950Z   /Users/runner/work/nimbus-eth2/nimbus-eth2/build/consensus_spec_tests_minimal 'EF - Electra - Fork  [Preset: minimal]::EF - Electra - Fork - fork_random_low_balances [Preset: minimal]'
2025-01-07T13:02:44.4982930Z ----------------------------------------------------------------
2025-01-07T13:02:44.4984750Z     /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/consensus_spec/test_fixture_fork.nim(42, 44): Check failed: upgradedState[].hash_tree_root() == postState[].hash_tree_root()
2025-01-07T13:02:44.4986920Z     upgradedState[].hash_tree_root() was 9e81bbb47b6a4192a319ef81e84cc3d411a8ff40782cda9a55f77b640b4ed949
2025-01-07T13:02:44.4988600Z     postState[].hash_tree_root() was 56855352562a783a356820caa1f9b8db18b546d529d22c7c2cf03a1ba6a159c7
2025-01-07T13:02:44.4989710Z vendor/nim-metrics/metrics.nim(651) main
2025-01-07T13:02:44.4990330Z vendor/nim-metrics/metrics.nim(636) NimMain
2025-01-07T13:02:44.4991030Z vendor/nim-metrics/metrics.nim(490) PreMain
2025-01-07T13:02:44.4992360Z vendor/nim-metrics/metrics.nim(332) PreMainInner
2025-01-07T13:02:44.4993650Z tests/consensus_spec/test_fixture_fork.nim(87) atmtest_fixture_forkdotnim_Init000
2025-01-07T13:02:44.4998210Z vendor/nim-unittest2/unittest2.nim(1152) _ZN17test_fixture_fork7runTestE8typeDescIN5deneb11BeaconStateEE8typeDescIN7electra11BeaconStateEE6staticI6stringE6staticI6stringE4procI3refIN7electra11BeaconStateEEN7presets13RuntimeConfigEN5deneb11BeaconStateE3varIN4base10StateCacheEEE6string6string
2025-01-07T13:02:44.5002320Z vendor/nim-unittest2/unittest2.nim(1079) _ZN9unittest29runDirectEN9unittest24TestE
2025-01-07T13:02:44.5003800Z tests/helpers/debug_state.nim _ZN7runTest21runTestX60gensym1318_E6string6string
2025-01-07T13:02:44.5005330Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(41) _ZN10assertions16failedAssertImplE6string
2025-01-07T13:02:44.5007020Z vendor/nimbus-build-system/vendor/Nim/lib/std/assertions.nim(36) _ZN10assertions11raiseAssertE6string
2025-01-07T13:02:44.5009080Z vendor/nimbus-build-system/vendor/Nim/lib/system/fatal.nim(53) _ZN10assertions8sysFatalE8typeDescIN10exceptions15AssertionDefectEE6string
2025-01-07T13:02:44.5011790Z vendor/nimbus-build-system/vendor/Nim/lib/system/stacktraces.nim(62) _ZN11stacktraces30auxWriteStackTraceWithOverrideE3varI3seqIN6system15StackTraceEntryEEE
2025-01-07T13:02:44.5013410Z 
2025-01-07T13:02:44.5014690Z     Unhandled defect: /Users/runner/work/nimbus-eth2/nimbus-eth2/tests/helpers/debug_state.nim(36, 13) ``==`(upgradedState.earliest_exit_epoch, postState.earliest_exit_epoch)` 
2025-01-07T13:02:44.5016370Z Diff: upgradedState.earliest_exit_epoch = 6
2025-01-07T13:02:44.5017010Z and   postState.earliest_exit_epoch = 1
2025-01-07T13:02:44.5017580Z  [AssertionDefect]
2025-01-07T13:02:44.5017810Z 
2025-01-07T13:02:44.5018520Z   [FAILED ] (  0.00s) EF - Electra - Fork - fork_random_low_balances [Preset: minimal]�[0m
2025-01-07T13:02:44.5019200Z 
2025-01-07T13:02:44.5019470Z (0.43s)   EF - Electra - Fork  [Preset: minimal]

@Tomi-3-0
Copy link
Contributor Author

Tomi-3-0 commented Jan 8, 2025

Thanks

What's the best way to reproduce this error locally?

@tersec
Copy link
Contributor

tersec commented Jan 8, 2025

Thanks

What's the best way to reproduce this error locally?

I was able to do so by cloning your repro/branch (git clone https://github.com/Tomi-3-0/nimbus-eth2 --branch feat/eip-7732 --recursive) and then running make update && make test. The former is only necessary once.

The most targeted way to reproduce this locally is either

./env.sh nim c -r tests/consensus_spec/test_fixture_fork.nim

for the mainnet version or

./env.sh nim c -r -d:const_preset=minimal tests/consensus_spec/test_fixture_fork.nim

for the minimal version.

@Tomi-3-0
Copy link
Contributor Author

Tomi-3-0 commented Jan 8, 2025

Thanks
I had to manually download the test vectors because neither make tests nor ./env.sh nim c -r tests/consensus_spec/test_fixture_fork.nim automatically downloads them even though it's specified in the setup_scenarios.sh. Probably a issue with caching on my end.

I had to download the test vectors manually using the provided script:

cd vendor/nim-eth2-scenarios &&  ./download_test_vectors.sh

Thanks
What's the best way to reproduce this error locally?

I was able to do so by cloning your repro/branch (git clone https://github.com/Tomi-3-0/nimbus-eth2 --branch feat/eip-7732 --recursive) and then running make update && make test. The former is only necessary once.

The most targeted way to reproduce this locally is either

./env.sh nim c -r tests/consensus_spec/test_fixture_fork.nim

for the mainnet version or

./env.sh nim c -r -d:const_preset=minimal tests/consensus_spec/test_fixture_fork.nim

for the minimal version.

Thanks
I had to manually download the test vectors because neither make tests nor ./env.sh nim c -r tests/consensus_spec/test_fixture_fork.nim automatically downloaded them even though I see it's specified in the setup_scenarios.sh. Probably a issue with caching on my end.

I had to download the test vectors manually:

cd vendor/nim-eth2-scenarios &&  ./download_test_vectors.sh

@tersec
Copy link
Contributor

tersec commented Jan 8, 2025

Ok, that works, but make test (not make tests) should download the test vectors automatically. If it's not, something's going wrong. You need curl installed.

@shyam-patel-kira
Copy link

Hey @Tomi-3-0, can you send me an invite to your repo?

payload signature tests, update toSignedBlindedBeaconBlock
@Tomi-3-0
Copy link
Contributor Author

Hey @Tomi-3-0, can you send me an invite to your repo?

Hi @shyam-patel-kira , not entirely convinced that is a good idea. Created significant problems in workflow the last time I tried it.

@tersec
Copy link
Contributor

tersec commented Jan 10, 2025

2025-01-10T06:00:15.3471919Z   [FAILED ] (  0.31s) ForkChoice - mainnet/bellatrix/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3517753Z   [FAILED ] (  0.27s) ForkChoice - mainnet/bellatrix/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:00:15.3549791Z   [FAILED ] (  0.26s) ForkChoice - mainnet/capella/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3573395Z   [FAILED ] (  0.26s) ForkChoice - mainnet/capella/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:00:15.3596698Z   [FAILED ] (  0.27s) ForkChoice - mainnet/altair/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3620372Z   [FAILED ] (  0.26s) ForkChoice - mainnet/altair/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:00:15.3643440Z   [FAILED ] (  0.26s) ForkChoice - mainnet/deneb/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3667140Z   [FAILED ] (  0.26s) ForkChoice - mainnet/deneb/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:02:16.8316840Z [Summary] 3098 tests run (171.8s): 3070 OK, 8 FAILED, 20 SKIPPED

to reproduce,

./env.sh nim c -r tests/consensus_spec/test_fixture_fork_choice.nim 

should suffice.

@Tomi-3-0
Copy link
Contributor Author

2025-01-10T06:00:15.3471919Z   [FAILED ] (  0.31s) ForkChoice - mainnet/bellatrix/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3517753Z   [FAILED ] (  0.27s) ForkChoice - mainnet/bellatrix/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:00:15.3549791Z   [FAILED ] (  0.26s) ForkChoice - mainnet/capella/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3573395Z   [FAILED ] (  0.26s) ForkChoice - mainnet/capella/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:00:15.3596698Z   [FAILED ] (  0.27s) ForkChoice - mainnet/altair/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3620372Z   [FAILED ] (  0.26s) ForkChoice - mainnet/altair/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:00:15.3643440Z   [FAILED ] (  0.26s) ForkChoice - mainnet/deneb/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3667140Z   [FAILED ] (  0.26s) ForkChoice - mainnet/deneb/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:02:16.8316840Z [Summary] 3098 tests run (171.8s): 3070 OK, 8 FAILED, 20 SKIPPED

to reproduce,

./env.sh nim c -r tests/consensus_spec/test_fixture_fork_choice.nim 

should suffice.

Since make all_tests and make test aren't picking up the failing tests, I think it might be better to run the CI locally instead of relying on it to catch the errors after a push. I'll give act a try, as suggested in this stackoverflow thread, and let you know how it goes.

@tersec
Copy link
Contributor

tersec commented Jan 10, 2025

2025-01-10T06:00:15.3471919Z   [FAILED ] (  0.31s) ForkChoice - mainnet/bellatrix/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3517753Z   [FAILED ] (  0.27s) ForkChoice - mainnet/bellatrix/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:00:15.3549791Z   [FAILED ] (  0.26s) ForkChoice - mainnet/capella/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3573395Z   [FAILED ] (  0.26s) ForkChoice - mainnet/capella/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:00:15.3596698Z   [FAILED ] (  0.27s) ForkChoice - mainnet/altair/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3620372Z   [FAILED ] (  0.26s) ForkChoice - mainnet/altair/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:00:15.3643440Z   [FAILED ] (  0.26s) ForkChoice - mainnet/deneb/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3667140Z   [FAILED ] (  0.26s) ForkChoice - mainnet/deneb/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:02:16.8316840Z [Summary] 3098 tests run (171.8s): 3070 OK, 8 FAILED, 20 SKIPPED

to reproduce,

./env.sh nim c -r tests/consensus_spec/test_fixture_fork_choice.nim 

should suffice.

Since make all_tests and make test aren't picking up the failing tests, I think it might be better to run the CI locally instead of relying on it to catch the errors after a push. I'll give act a try, as suggested in this stackoverflow thread, and let you know how it goes.

Well, for me, they do pick up the issue.

I did:

  • git clone https://github.com/Tomi-3-0/nimbus-eth2 --branch feat/eip-7732 --recursive (fresh clone, commit ac49cfeaf1364570328020b1021cf11740174d7b)
  • make update (to build Nim)
  • make test (to fetch the spec tests, and also to see if it catches this)
  • ./env.sh nim c -r tests/consensus_spec/test_fixture_fork_choice.nim (i.e. the most targeted version of this, where the failure is actually occurring)

Both make test and ./env.sh nim c -r tests/consensus_spec/test_fixture_fork_choice.nim failed in precisely the same way as in the CI, for me, following those steps.

@Tomi-3-0
Copy link
Contributor Author

2025-01-10T06:00:15.3471919Z   [FAILED ] (  0.31s) ForkChoice - mainnet/bellatrix/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3517753Z   [FAILED ] (  0.27s) ForkChoice - mainnet/bellatrix/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:00:15.3549791Z   [FAILED ] (  0.26s) ForkChoice - mainnet/capella/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3573395Z   [FAILED ] (  0.26s) ForkChoice - mainnet/capella/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:00:15.3596698Z   [FAILED ] (  0.27s) ForkChoice - mainnet/altair/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3620372Z   [FAILED ] (  0.26s) ForkChoice - mainnet/altair/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:00:15.3643440Z   [FAILED ] (  0.26s) ForkChoice - mainnet/deneb/fork_choice/on_block/pyspec_tests/proposer_boost
2025-01-10T06:00:15.3667140Z   [FAILED ] (  0.26s) ForkChoice - mainnet/deneb/fork_choice/on_block/pyspec_tests/proposer_boost_is_first_block
2025-01-10T06:02:16.8316840Z [Summary] 3098 tests run (171.8s): 3070 OK, 8 FAILED, 20 SKIPPED

to reproduce,

./env.sh nim c -r tests/consensus_spec/test_fixture_fork_choice.nim 

should suffice.

Since make all_tests and make test aren't picking up the failing tests, I think it might be better to run the CI locally instead of relying on it to catch the errors after a push. I'll give act a try, as suggested in this stackoverflow thread, and let you know how it goes.

Well, for me, they do pick up the issue.

I did:

  • git clone https://github.com/Tomi-3-0/nimbus-eth2 --branch feat/eip-7732 --recursive (fresh clone, commit ac49cfeaf1364570328020b1021cf11740174d7b)
  • make update (to build Nim)
  • make test (to fetch the spec tests, and also to see if it catches this)
  • ./env.sh nim c -r tests/consensus_spec/test_fixture_fork_choice.nim (i.e. the most targeted version of this, where the failure is actually occurring)

Both make test and ./env.sh nim c -r tests/consensus_spec/test_fixture_fork_choice.nim failed in precisely the same way as in the CI, for me, following those steps.

Thank you.
./env.sh nim c -r tests/consensus_spec/test_fixture_fork_choice.nim does catch it but make test doesn't.

I will go through this again

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 this pull request may close these issues.

3 participants