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

Add further relay chain configuration #1970

Merged
merged 3 commits into from
Oct 8, 2024
Merged

Add further relay chain configuration #1970

merged 3 commits into from
Oct 8, 2024

Conversation

iamacook
Copy link
Member

Summary

We currently support relaying on Gnosis Chain, Arbitrum and Sepolia. This adds further configuration for: Optimism, BNB, Polygon, Polygon zkEVM, Base, Avalanche, Linea and Blast.

Changes

  • Add env. var. configuration for aforementioned chains to:
    • .env.sample
    • docker-compose.yaml
    • (Test) configuration
    • Confirguration validator
      • Test coverage

@iamacook iamacook self-assigned this Sep 27, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 11069245516

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 90.891%

Totals Coverage Status
Change from base Build 11055227805: 0.02%
Covered Lines: 8427
Relevant Lines: 8903

💛 - Coveralls

@iamacook iamacook marked this pull request as ready for review October 8, 2024 08:16
@iamacook iamacook requested a review from a team as a code owner October 8, 2024 08:16
.env.sample Outdated
Comment on lines 55 to 65
# RELAY_PROVIDER_API_KEY_OPTIMISM
# RELAY_PROVIDER_API_KEY_BSC
# RELAY_PROVIDER_API_KEY_GNOSIS_CHAIN
# RELAY_PROVIDER_API_KEY_POLYGON
# RELAY_PROVIDER_API_KEY_POLYGON_ZKEVM
# RELAY_PROVIDER_API_KEY_BASE
# RELAY_PROVIDER_API_KEY_ARBITRUM_ONE
# RELAY_PROVIDER_API_KEY_AVALANCHE
# RELAY_PROVIDER_API_KEY_LINEA
# RELAY_PROVIDER_API_KEY_BLAST
# RELAY_PROVIDER_API_KEY_SEPOLIA
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I'd include the = at the end of each key to make explicit they need a value to be set.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in 1e2cebe.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I'd suggest also including "" around strings to make it explicit which variables are numeric and which are strings.

@hectorgomezv hectorgomezv self-requested a review October 8, 2024 08:48
.env.sample Outdated
Comment on lines 55 to 65
# RELAY_PROVIDER_API_KEY_OPTIMISM
# RELAY_PROVIDER_API_KEY_BSC
# RELAY_PROVIDER_API_KEY_GNOSIS_CHAIN
# RELAY_PROVIDER_API_KEY_POLYGON
# RELAY_PROVIDER_API_KEY_POLYGON_ZKEVM
# RELAY_PROVIDER_API_KEY_BASE
# RELAY_PROVIDER_API_KEY_ARBITRUM_ONE
# RELAY_PROVIDER_API_KEY_AVALANCHE
# RELAY_PROVIDER_API_KEY_LINEA
# RELAY_PROVIDER_API_KEY_BLAST
# RELAY_PROVIDER_API_KEY_SEPOLIA
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I'd suggest also including "" around strings to make it explicit which variables are numeric and which are strings.

@iamacook iamacook merged commit a6a7324 into main Oct 8, 2024
18 checks passed
@iamacook iamacook deleted the l2-relay-config branch October 8, 2024 10:04
iamacook added a commit to safe-global/safe-infrastructure that referenced this pull request Oct 8, 2024
Adds new sample env. vars. for [the extension of 'relayable' chains](safe-global/safe-client-gateway#1970):

- Add env. vars. for: Optimism, BSC, Polygon, Polygon zkEVM, Base, Avalanche, Linea and Blast.
PooyaRaki pushed a commit that referenced this pull request Oct 15, 2024
Adds further configuration for: Optimism, BNB, Polygon, Polygon zkEVM, Base, Avalanche, Linea and Blast:

- Add env. var. configuration for aforementioned chains to:
  - `.env.sample`
  - `docker-compose.yaml`
  - (Test) configuration
  - Confirguration validator
    - Test coverage
DenSmolonski pushed a commit to Zilliqa/safe-client-gateway that referenced this pull request Oct 24, 2024
Adds further configuration for: Optimism, BNB, Polygon, Polygon zkEVM, Base, Avalanche, Linea and Blast:

- Add env. var. configuration for aforementioned chains to:
  - `.env.sample`
  - `docker-compose.yaml`
  - (Test) configuration
  - Confirguration validator
    - Test coverage
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.

4 participants