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

feat: Add polygon amoy network #1767

Merged
merged 10 commits into from
Apr 19, 2024
Merged

feat: Add polygon amoy network #1767

merged 10 commits into from
Apr 19, 2024

Conversation

cyaiox
Copy link
Contributor

@cyaiox cyaiox commented Apr 14, 2024

Description

This PR adds support to polygon amoy network.

depends on:

Fixes # (issue)

Closes # (issue)

Changes

  • Replaced env var DEFAULT_COLLECTIONS_SUBGRAPH_MATIC_MUMBAI for DEFAULT_COLLECTIONS_SUBGRAPH_MATIC_AMOY in content/src/Environment.ts
    • Replaced env var DEFAULT_COLLECTIONS_SUBGRAPH_MATIC_MUMBAI for DEFAULT_COLLECTIONS_SUBGRAPH_MATIC_AMOY in lambdas/src/Environment.ts
  • Replaced env var DEFAULT_BLOCKS_SUBGRAPH_MATIC_MUMBAI for DEFAULT_BLOCKS_SUBGRAPH_MATIC_AMOY in content/src/Environment.ts
  • Updated l2Network testnet value from mumbai to amoy in content/src/components.ts
  • Updated l2Network testnet value from mumbai to amoy in content/src/service/validations/validator.ts
  • Replaced mumbai to amoy as an accepted network in content/src/logic/checker.ts
  • Added amoy as returned protocol in lambdas/src/apis/collections/controllers/collections.ts
  • Added amoy in L2_NETWORKS in lambdas/src/ports/the-graph-client.ts

Types of changes

What types of changes does your code introduce? Remove the lines that don't that apply:

  • Breaking change (fix or feature that would cause existing functionality to change). If there's an API change, link the pull request in the API spec repository and the accepted DAO governance poll
  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@cyaiox cyaiox changed the title [WIP] feat: Add polygon amoy network feat: Add polygon amoy network Apr 16, 2024
@cyaiox cyaiox marked this pull request as ready for review April 16, 2024 20:21
@cyaiox cyaiox requested a review from aleortega April 17, 2024 13:51
@cyaiox cyaiox merged commit 0e45022 into main Apr 19, 2024
8 of 9 checks passed
@cyaiox cyaiox deleted the feat/add-polygon-amoy-support branch April 19, 2024 18:34
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