Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 14, 2025

This PR adds optionalDependencies to the Gnosis network variant configuration to specify compatible consensus layer clients.

Changes Made

Added the following optional dependencies to /package_variants/gnosis/dappnode_package.json:

"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"
}

Purpose

These optional dependencies ensure that users running the Erigon execution client on the Gnosis network are aware of compatible consensus layer clients that can be used together. The specified versions represent the minimum compatible versions of each consensus client:

  • Lighthouse Gnosis: Minimum version 0.1.15
  • Teku Gnosis: Minimum version 0.1.15
  • Lodestar Gnosis: Minimum version 0.1.32

Technical Details

  • The change maintains backward compatibility as these are optional dependencies
  • The JSON structure remains valid and properly formatted
  • No existing functionality is affected
  • The dependencies follow DAppNode's package naming conventions

This enhancement improves the user experience by providing clear guidance on which consensus layer clients are compatible with this Erigon execution client variant for the Gnosis network.

Original prompt

Add the following to the /package_variants/gnosis/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 /package_variants/gnosis/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.

Co-authored-by: Marketen <36164126+Marketen@users.noreply.github.com>
Copilot AI changed the title [WIP] Add optional dependencies to dappnode_package.json Add optional consensus layer dependencies for Gnosis network variant 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 574251b 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