-
Notifications
You must be signed in to change notification settings - Fork 128
cl+el poc[WiP] #2804
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
base: master
Are you sure you want to change the base?
cl+el poc[WiP] #2804
Conversation
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)"
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.
bumped nim-ssz-serialization to '3397088499cefc2e7aa5e73a56ad2d5b0f091735'
- cancelled metrics collection until metrics library thread issue is solved - add clean support for unified
d5b5513
to
25e162f
Compare
- updated Makefile - Updated README - refactored data types
bump nim-libp2p to fd26f93b80cfeecd4e6f9c84eb7a15a3be26c1ee bump nim-kzg844 to 33d2e9a5d4df1bbf4aca7cf00457bf15b1d657a6
"$@" | ||
# --el=http://127.0.0.1:8551 \ | ||
# --jwt-secret="/tmp/jwtsecret" \ | ||
# --web3-url=http://127.0.0.1:8551 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this file
@@ -241,3 +241,23 @@ | |||
path = vendor/nim-minilru | |||
url = https://github.com/status-im/nim-minilru.git | |||
branch = master | |||
[submodule "vendor/mainnet"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
split out submodule bumps
discard defaultChroniclesStream.output.open(logFile, fmAppend) | ||
proc run*(nimbus: NimbusNode, conf: NimbusConf) = | ||
# ## logging | ||
# setLogLevel(conf.logLevel) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't randomly remove working EL code
# let fileName = conf.trustedSetupFile.get() | ||
# let res = loadTrustedSetup(fileName, 0) | ||
# if res.isErr: | ||
# fatal "Cannot load Kzg trusted setup from file", msg=res.error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more random code removal
# imports of that file. | ||
|
||
declareGauge versionGauge, | ||
"Nimbus version info (as metric labels)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
disables metrics elsewhere?
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 donecomments 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)