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

Implement exposure via EngineAPI #4

Closed
wants to merge 3 commits into from
Closed

Conversation

devin-ai-integration[bot]
Copy link

This PR addresses issue hyperledger#6471 by exposing the via the EngineAPI, allowing Consensus Clients to access the execution client's name and version. Unit tests have been added to ensure correct functionality. Link to Devin run: https://preview.devin.ai/devin/0962ff35ebcc4fbb916acb31843b2c49

This commit introduces the following changes to address issue hyperledger#6471:
- A new method `engine_getClientVersionV1` has been added to `AbstractEngineGetPayload.java` to expose the `web3_clientVersion` via the EngineAPI.
- The `build.gradle` file has been modified to set the `besu.version` system property during the build process, enabling the Java code to retrieve the project version at runtime.
- The `ethereum:core` module has been added as a dependency in `build.gradle` to resolve import errors in the `ethereum/api` module.

These changes allow Consensus Clients to access the execution client's name and version over the EngineAPI to include it in the proposed block graffiti.
@macfarla
Copy link
Owner

this is totally on the wrong track

@macfarla macfarla closed this Aug 20, 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.

1 participant