From 36da346561767c5aecccf09b36d3f7a9f99e6844 Mon Sep 17 00:00:00 2001 From: Jian Guo Date: Sat, 25 May 2024 08:20:32 +0800 Subject: [PATCH] fix: remove trailing slash from polygonAmoy explorer URL (#2305) * Update polygonAmoy.ts * Create thin-mirrors-ring.md --------- Co-authored-by: jxom --- .changeset/thin-mirrors-ring.md | 5 +++++ src/chains/definitions/polygonAmoy.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/thin-mirrors-ring.md diff --git a/.changeset/thin-mirrors-ring.md b/.changeset/thin-mirrors-ring.md new file mode 100644 index 0000000000..260177299f --- /dev/null +++ b/.changeset/thin-mirrors-ring.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Removed trailing slash from polygonAmoy explorer URL. diff --git a/src/chains/definitions/polygonAmoy.ts b/src/chains/definitions/polygonAmoy.ts index afb214ec4a..ae587582e5 100644 --- a/src/chains/definitions/polygonAmoy.ts +++ b/src/chains/definitions/polygonAmoy.ts @@ -12,7 +12,7 @@ export const polygonAmoy = /*#__PURE__*/ defineChain({ blockExplorers: { default: { name: 'PolygonScan', - url: 'https://amoy.polygonscan.com/', + url: 'https://amoy.polygonscan.com', apiUrl: 'https://api-amoy.polygonscan.com/api', }, },