chainlink-testing-framework icon indicating copy to clipboard operation
chainlink-testing-framework copied to clipboard

add interface for private ethereum network to use with new deployer

Open Tofel opened this issue 1 year ago • 1 comments


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

This change introduces a new interface and its implementation for configuring a private Ethereum network, enabling customization of the Ethereum version, execution layer, Docker network names, custom Docker images, and chain configuration. It ensures flexibility and extensibility in setting up private Ethereum networks for development or testing purposes.

What

  • config/private_ethereum_network.go
    • Added PrivateEthereumNetworkConfig interface: Defines methods for retrieving Ethereum version, execution layer, Docker network names, custom Docker images, and chain configuration.
    • Implemented PrivateEthereumNetworkConfig methods in EthereumNetworkConfig struct: Provides concrete definitions for the interface methods, allowing for the retrieval of configured values for a private Ethereum network setup.

Tofel avatar Aug 28 '24 13:08 Tofel

Quality Gate failed Quality Gate failed

Failed conditions
6.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube

no longer needed

Tofel avatar Oct 23 '24 11:10 Tofel