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

cl+el poc[WiP] #2804

Draft
wants to merge 33 commits into
base: master
Choose a base branch
from
Draft

cl+el poc[WiP] #2804

wants to merge 33 commits into from

Conversation

pedromiguelmiranda
Copy link
Contributor

@pedromiguelmiranda pedromiguelmiranda commented Oct 30, 2024

This is a work in progress for a cl+el single application.

Some notes:

current state:
beacon node metrics strategy ? issue with threads.
fetchgenesis mismatch error:

comments with: # NOTE, #TODO, are related to improvements or refactorings that need to be done
comments with: # adapted from nimbus-eth2, things that were required to be overridden or not used (or we think that is not used)
Probably the best course of action will be to create issues regarding it.
current state: able to synch (or it appears so) with two minor issues (check latest commit message)

image

Pedro Miranda added 16 commits October 18, 2024 19:12
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
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)"
Pedro Miranda added 12 commits November 5, 2024 18:33
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 )
All possible constraints regarding eth2 are identified and tested for possible solutions.
@pedromiguelmiranda pedromiguelmiranda changed the title cl+el proof of concept [WiP] cl+el poc[WiP] Dec 13, 2024
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