From 190d8c02438242dcc7cec2b91366ae57196fd24d Mon Sep 17 00:00:00 2001 From: Benjamin Smith Date: Fri, 4 Oct 2024 10:12:04 +0200 Subject: [PATCH 1/2] arbitrum is not a testnet --- src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.ts b/src/constants.ts index 05341d3..61ce161 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -49,7 +49,7 @@ export const CHAIN_INFO: Record = { currencyIcon: ETHER_ICON, icon: "https://cryptologos.cc/logos/arbitrum-arb-logo.svg?v=024", wrappedToken: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1", - testnet: true, + testnet: false, }, 84532: { currencyIcon: ETHER_ICON, From f51f63c4014be91d7d80bdafbad6e56a3c057230 Mon Sep 17 00:00:00 2001 From: Benjamin Smith Date: Fri, 4 Oct 2024 10:15:39 +0200 Subject: [PATCH 2/2] fix test --- tests/unit/utils.signature.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/utils.signature.test.ts b/tests/unit/utils.signature.test.ts index c5b296e..b21a956 100644 --- a/tests/unit/utils.signature.test.ts +++ b/tests/unit/utils.signature.test.ts @@ -53,7 +53,7 @@ describe("utility: get Signature", () => { it("signatureFromTxHash fails with parse error", async () => { await expect(signatureFromTxHash(url, "nonsense")).rejects.toThrow( - "JSON-RPC error: Parse error" + "HTTP error! status: 400" ); });