Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 14, 2025

This PR adds the optionalDependencies field to the dappnode_package.json file to specify compatible Gnosis consensus client packages that can work alongside the reth-gnosis execution client.

The following consensus client packages are now listed as optional dependencies:

  • lighthouse-gnosis.dnp.dappnode.eth (version >=0.1.15)
  • teku-gnosis.dnp.dappnode.eth (version >=0.1.15)
  • lodestar-gnosis.dnp.dappnode.eth (version >=0.1.32)

These optional dependencies allow users to easily discover and install compatible consensus layer clients when setting up their Gnosis Chain validator stack. The reth-gnosis package can function independently as an execution client, but benefits from being paired with one of these consensus clients for a complete validator setup.

The change maintains backward compatibility and doesn't affect the core functionality of the package. The JSON structure has been validated and the build process continues to work as expected.

Original prompt

Add the following to the dappnode_package.json file under the root of the repository:

  "optionalDependencies": {
    "lighthouse-gnosis.dnp.dappnode.eth": ">=0.1.15",
    "teku-gnosis.dnp.dappnode.eth": ">=0.1.15",
    "lodestar-gnosis.dnp.dappnode.eth": ">=0.1.32"
  }

If the file does not exist, create it and ensure the content is properly formatted as JSON. If the file exists and already contains other fields, merge or add the optionalDependencies field so that the file remains valid JSON.

This pull request was created as a result of the following prompt from Copilot chat.

Add the following to the dappnode_package.json file under the root of the repository:

  "optionalDependencies": {
    "lighthouse-gnosis.dnp.dappnode.eth": ">=0.1.15",
    "teku-gnosis.dnp.dappnode.eth": ">=0.1.15",
    "lodestar-gnosis.dnp.dappnode.eth": ">=0.1.32"
  }

If the file does not exist, create it and ensure the content is properly formatted as JSON. If the file exists and already contains other fields, merge or add the optionalDependencies field so that the file remains valid JSON.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI changed the title [WIP] Add optionalDependencies to dappnode_package.json Add optional dependencies for Gnosis consensus clients Oct 14, 2025
Copilot AI requested a review from Marketen October 14, 2025 11:12
@Marketen Marketen marked this pull request as ready for review October 14, 2025 13:38
@Marketen Marketen merged commit 9459e91 into main Oct 14, 2025
4 checks passed
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.

2 participants