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

allow driving EL with LC #3865

Merged
merged 5 commits into from
Jul 14, 2022
Merged

allow driving EL with LC #3865

merged 5 commits into from
Jul 14, 2022

Conversation

etan-status
Copy link
Contributor

Adds the --web3-url launch argument to nimbus_light_client to enable
driving the EL with the optimistic head obtained from LC sync protocol.
This will keep issuing newPayload / forkChoiceUpdated requests for
new blocks, marking them as optimistic. ZERO_HASH is reported as the
finalized block for now.

Adds the `--web3-url` launch argument to `nimbus_light_client` to enable
driving the EL with the optimistic head obtained from LC sync protocol.
This will keep issuing `newPayload` / `forkChoiceUpdated` requests for
new blocks, marking them as optimistic. `ZERO_HASH` is reported as the
finalized block for now.
@etan-status
Copy link
Contributor Author

etan-status commented Jul 13, 2022

Example:

brew update && brew upgrade && brew cleanup && geth --ropsten --ws --ws.api "engine,eth,net" --authrpc.jwtsecret=$HOME/Downloads/nimbus/jwtsecret
ulimit -n 1024 && make -j nimbus_light_client && build/nimbus_light_client --web3-url=ws://127.0.0.1:8546 --jwt-secret=$HOME/Downloads/nimbus/jwtsecret --log-level=DEBUG --network=ropsten --trusted-block-root=0xf193849c51bc28ee5bcd6fa120d5ec99be4938cdea58b8fee5ef4ab25b06a1ce

@github-actions
Copy link

github-actions bot commented Jul 13, 2022

Unit Test Results

       6 files   -        6     440 suites   - 420   17m 7s ⏱️ - 47m 11s
1 780 tests  -    128  1 760 ✔️ ±       0  20 💤  - 128  0 ±0 
5 218 runs   - 5 131  5 172 ✔️  - 4 971  46 💤  - 160  0 ±0 

Results for commit a0b460f. ± Comparison against base commit 806536a.

♻️ This comment has been updated with latest results.

@zah
Copy link
Contributor

zah commented Jul 13, 2022

This needs rebasing now.

@etan-status etan-status enabled auto-merge (squash) July 13, 2022 21:25
#3864 introduced a regression by turning on `requireAllFields` globally
for JSON parsing. Certain endpoints such as `RestSyncInfo` have optional
fields that do not parse correctly without additional changes. This is
reverted for now to restore previous behaviour and unblock CI testing.
@etan-status etan-status merged commit a6deacd into unstable Jul 14, 2022
@etan-status etan-status deleted the dev/etan/lc-eldriver branch July 14, 2022 04:07
@arnetheduck
Copy link
Member

let's get a documentation page as well! 🎉

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.

4 participants