From 5b19b4a9e69e20f3f8a71aa93ddaabdc520ee54d Mon Sep 17 00:00:00 2001 From: Tng Zi Xiang <54768054+zixiang2018@users.noreply.github.com> Date: Tue, 16 Apr 2024 15:24:50 +0800 Subject: [PATCH] feat: support polygon amoy (#57) * feat: support polygon amoy * chore: set config conventional to v17 to avoid header-trim new rule * chore: remove good pr name linter * chore: remove polygon mumbai --- .github/workflows/linters.yml | 1 - src/records/dnsTxt.ts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 04c2e8a..bee83f4 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -25,4 +25,3 @@ jobs: - uses: actions/checkout@v3 - name: Install Commit Lint Dependencies run: npm install @commitlint/config-conventional - - uses: JulienKode/pull-request-name-linter-action@v0.5.0 diff --git a/src/records/dnsTxt.ts b/src/records/dnsTxt.ts index e4d5bc0..5c833c3 100644 --- a/src/records/dnsTxt.ts +++ b/src/records/dnsTxt.ts @@ -15,7 +15,7 @@ export enum EthereumNetworks { goerli = "5", sepolia = "11155111", polygon = "137", - polygonMumbai = "80001", + polygonAmoy = "80002", local = "1337", } @@ -26,7 +26,7 @@ export const EthereumNetworkIdT = Union( Literal(EthereumNetworks.goerli), Literal(EthereumNetworks.sepolia), Literal(EthereumNetworks.polygon), - Literal(EthereumNetworks.polygonMumbai), + Literal(EthereumNetworks.polygonAmoy), Literal(EthereumNetworks.local) );