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

[TT-849] Move common test config surface to CTF #929

Merged
merged 22 commits into from May 6, 2024

Conversation

Tofel
Copy link
Contributor

@Tofel Tofel commented Apr 25, 2024

Tried and tested here.


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

Why

The changes introduce a new Ethereum network configuration file and a testing configuration file, enhancing the flexibility and capability of defining custom Ethereum networks and test configurations. These changes allow for more precise control over the blockchain environment for testing, including the ability to specify versions, consensus layers, execution layers, and other network-specific parameters.

What

  • config/private_ethereum_network.go: Added a new file defining the structure and validation methods for a private Ethereum network configuration, including consensus types, Ethereum versions, execution and consensus layers, and chain configurations. This enables detailed customization of Ethereum test networks.
  • config/testconfig.go: Introduced a structure to hold test configuration details, including chainlink image configurations, logging, network settings, and private Ethereum network configuration. This centralizes various test settings for easier management.
  • config/tomls/default_ethereum_env.toml: Renamed and relocated the default Ethereum environment TOML file to a more structured directory for configuration files, enhancing organization.
  • config/types.go: Added new interface definitions for named configurations and global test configurations, facilitating more flexible and type-safe configuration management across different test environments.
  • docker/test_env/*.go: Updated various files in the test environment setup to utilize the new configuration structures, ensuring that Ethereum networks and other test settings can be customized and validated according to the new definitions. This includes updates to how Ethereum versions, consensus layers, and execution layers are handled.
  • utils/slice/address.go: Introduced utility functions for validating and deduplicating Ethereum addresses within configurations, improving data integrity and reducing redundancy.

Base automatically changed from tt_922_automation_seth to main April 29, 2024 16:12
@Tofel Tofel changed the title [TT-922] automation seth common methods [TT-849] Move common test config surface to CTF Apr 30, 2024
@Tofel Tofel marked this pull request as ready for review April 30, 2024 13:05
@Tofel Tofel requested review from sebawo and a team as code owners April 30, 2024 13:05
@cl-sonarqube-production
Copy link

@Tofel Tofel merged commit 1e74610 into main May 6, 2024
17 checks passed
@Tofel Tofel deleted the tt_922_automation_seth_common_methods branch May 6, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants