feat: add mock-el (Lighthouse lcli) as an EL type#1316
Open
jimmygchen wants to merge 2 commits intoethpandaops:mainfrom
Open
feat: add mock-el (Lighthouse lcli) as an EL type#1316jimmygchen wants to merge 2 commits intoethpandaops:mainfrom
jimmygchen wants to merge 2 commits intoethpandaops:mainfrom
Conversation
Collaborator
|
how is it different from dummy el? |
Collaborator
|
maybe we can swap out the dummy el with the lighthouse lcli image as a default, would that work ? @just |
Contributor
Author
|
Oh my bad, i didn't know dummy EL exists! that would probably be sufficient but I haven't tried it. Just had a quick look, looks like dummy EL always returning |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
NOTE: this is useful for CL local testing, but may not fit well with the primary "cross client testing" role of this project.
Add
mock-elas a new execution layer client type, wrapping Lighthouse'slcli mock-elcommand. This provides a mock Engine API that accepts all payloads without real block validation, enabling CL testing on live testnets like Hoodi without syncing a real EL from scratch.Important: mock-el has no block production capability.
engine_getPayloadreturns dummy payloads — validators paired with mock-el will not produce valid blocks. On kurtosis devnets with--all-payloads-valid true, all nodes accept dummy payloads so the chain can still progress.How it works
--network <name>for automatic fork time handlingshanghaiTime,cancunTime,pragueTime,osakaTime) from genesis.json viajqUsage
Public network:
Additional Info
Depends on sigp/lighthouse#8864 for
--jwt-secret-path. The defaultsigp/lcli:latestimage will work once that PR is merged; until then, a custom-built image is needed.