-
-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: include EL client info in graffiti (#6753)
* Define ClientCode and engine_getClientVersionV1 * Default graffiti in beacon node * Update packages/beacon-node/src/api/impl/validator/index.ts Co-authored-by: Nico Flaig <[email protected]> * Fix rebase * Make graffiti optional in validator store * Fix merge * Fix lint * Update packages/beacon-node/src/execution/engine/types.ts Co-authored-by: Cayman <[email protected]> * Add fallback graffiti * Address comment * Address comment * Cache client version in ExecutionEngine * Hide graffiti if private flag is set * Improve readability * Partially address comment * Partially address comment * Partially address comment * Refactor * Update packages/beacon-node/src/execution/engine/http.ts Co-authored-by: Nico Flaig <[email protected]> * Partial address comment * Add unit test * Fix unit test * Review PR, mostly cosmetic * Fix graffiti tests * Add workaround to test code instead of src * Set client version to null if not supported by EL * Log failed client version updates as debug * Throw error if EL client returns empty client versions array * Update engine mock * Set client version to null initially to avoid fetching multiple times * Reorder statements --------- Co-authored-by: Nico Flaig <[email protected]> Co-authored-by: Cayman <[email protected]>
- Loading branch information
1 parent
0cd43cc
commit 2f9275e
Showing
28 changed files
with
249 additions
and
62 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
2f9275e
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.
Possible performance regression was detected for some benchmarks.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold.
Full benchmark results