Skip to content

Commit

Permalink
feat: support polygon amoy (#57)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
zixiang2018 authored Apr 16, 2024
1 parent d604d25 commit 5b19b4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ jobs:
- uses: actions/checkout@v3
- name: Install Commit Lint Dependencies
run: npm install @commitlint/config-conventional
- uses: JulienKode/[email protected]
4 changes: 2 additions & 2 deletions src/records/dnsTxt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export enum EthereumNetworks {
goerli = "5",
sepolia = "11155111",
polygon = "137",
polygonMumbai = "80001",
polygonAmoy = "80002",
local = "1337",
}

Expand All @@ -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)
);

Expand Down

0 comments on commit 5b19b4a

Please sign in to comment.