21 Commits

Author SHA1 Message Date
Pedro Miranda
2c5581c6c9 trusted sync fixes 2025-01-10 11:30:08 +00:00
Pedro Miranda
b9e58ae343 nph format 2025-01-10 11:30:08 +00:00
Pedro Miranda
d19a07550a added startup command with trusted synch 2025-01-10 11:30:08 +00:00
Pedro Miranda
a6f80228b5 fixed create databasedir and fil limits bug 2025-01-10 11:30:08 +00:00
Pedro Miranda
4b5834c21e added software version 2025-01-10 11:30:08 +00:00
Pedro Miranda
54007f7dec Fixed metrics library warnings by deactivating metrics collection.
This is acting as hot fix for now, given that some metrics are requirements. However we need to collect the ones we need / want and
find a way to extract them from nimbus-eth2 (or make them reusable by both )
2025-01-10 11:30:08 +00:00
Pedro Miranda
58340c6809 synch achieved:
There are currently 2 issues:

- fetch genesis state on empty data folder:
error msg "The downloaded genesis state cannot be verified (checksum mismatch)\"

The error arises from here:
   fetchGenesisState->network_metadata_downloads.fetchGenesisBytes.L58
something to do with the readssz or withState, investigations point to the data downloaded or some config missing
WA: comment lines 58-62, compile and run until the fetch genesis state is completed, then you can uncomment, it works from here

- spam of error messages: \"metrics error:New label values must be added from same thread as the metric was created from\":
This happens due to the fact that libp2p declares some gauges, and given that they are created inside a thread, metrics library
starts to complain. (no WA/correction so far)"
2025-01-10 11:30:08 +00:00
Pedro Miranda
8d9652b93c Improved synchronization mechanism 2025-01-10 11:30:08 +00:00
Pedro Miranda
6b91c3a507 changes:
Makefile: Disabled libbacktrace: for some reason was given a strange error DW_FORM_addrx. Requires further investigation, given that it can be a macos issue, or related to the fact tathatth nimbus-eth2 is a submodule.
moved getPid to thread worker it self. might required further investigation regarding thread pattern.
small typos
2025-01-10 11:30:08 +00:00
Pedro Miranda
f461760aa6 inital exec run script 2025-01-10 11:30:08 +00:00
Pedro Miranda
79aa0fb46e small repairs and additions 2025-01-10 11:30:08 +00:00
Pedro Miranda
7b15c09b45 fixed gcsafe error on createPidFile 2025-01-10 11:30:08 +00:00
Pedro Miranda
2b9aadb4b9 refactored types 2025-01-10 11:30:08 +00:00
Pedro Miranda
5e07b082a9 copy&paste beacon node from eth2 2025-01-10 11:30:08 +00:00
Pedro Miranda
79976861f9 added monitoring skeleton 2025-01-10 11:30:08 +00:00
Pedro Miranda
14d5488062 added wrappers for execution an consensus layers 2025-01-10 11:30:08 +00:00
Pedro Miranda
1804471dc9 moved configs to dedicated directory 2025-01-10 11:30:08 +00:00
Pedro Miranda
1855efb2e9 added chronicles support 2025-01-10 11:30:08 +00:00
Pedro Miranda
82e72ef355 types and initial Monitor-Worker threading pattern 2025-01-10 11:30:08 +00:00
Pedro Miranda
9478abafcd setting control-c handler 2025-01-10 11:30:08 +00:00
Pedro Miranda
ecc8c51bd4 initial commit: simple project structure with makefile, readme and build configs 2025-01-10 11:30:03 +00:00