From 93716459c028a0924ef3f7ed1baeb9ec50950bee Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 30 May 2024 11:55:31 +1000 Subject: [PATCH 1/9] Version Packages (#2330) Co-authored-by: github-actions[bot] --- .changeset/stale-dryers-sparkle.md | 5 --- .changeset/tidy-toes-scream.md | 5 --- .changeset/warm-radios-glow.md | 5 --- src/CHANGELOG.md | 10 +++++ src/package.json | 67 +++++++++++++++++++++++------- 5 files changed, 61 insertions(+), 31 deletions(-) delete mode 100644 .changeset/stale-dryers-sparkle.md delete mode 100644 .changeset/tidy-toes-scream.md delete mode 100644 .changeset/warm-radios-glow.md diff --git a/.changeset/stale-dryers-sparkle.md b/.changeset/stale-dryers-sparkle.md deleted file mode 100644 index 50f75e6b3d..0000000000 --- a/.changeset/stale-dryers-sparkle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Improved `.extend` performance with `publicActions` and other large types. diff --git a/.changeset/tidy-toes-scream.md b/.changeset/tidy-toes-scream.md deleted file mode 100644 index de14d579e9..0000000000 --- a/.changeset/tidy-toes-scream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Updated Avalanche explorer URLs. diff --git a/.changeset/warm-radios-glow.md b/.changeset/warm-radios-glow.md deleted file mode 100644 index 6b0cbc3808..0000000000 --- a/.changeset/warm-radios-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Exported `DecodeFunctionDataReturnType` type. diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index 9a8b3c2454..a3ed63a7c6 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -1,5 +1,15 @@ # viem +## 2.13.2 + +### Patch Changes + +- [#2328](https://github.com/wevm/viem/pull/2328) [`d946d55b8431b255c4cdc2d20e413f9064e7513a`](https://github.com/wevm/viem/commit/d946d55b8431b255c4cdc2d20e413f9064e7513a) Thanks [@tmm](https://github.com/tmm)! - Improved `.extend` performance with `publicActions` and other large types. + +- [#2334](https://github.com/wevm/viem/pull/2334) [`d4f34cb7bd44ca596573fc0a84fafbc60f4ea42b`](https://github.com/wevm/viem/commit/d4f34cb7bd44ca596573fc0a84fafbc60f4ea42b) Thanks [@Migl992](https://github.com/Migl992)! - Updated Avalanche explorer URLs. + +- [#2329](https://github.com/wevm/viem/pull/2329) [`db85cc6bc9b29349b1eb077ebb6ea2a248bb5794`](https://github.com/wevm/viem/commit/db85cc6bc9b29349b1eb077ebb6ea2a248bb5794) Thanks [@abs3ntdev](https://github.com/abs3ntdev)! - Exported `DecodeFunctionDataReturnType` type. + ## 2.13.1 ### Patch Changes diff --git a/src/package.json b/src/package.json index a6e342f035..9f7675741a 100644 --- a/src/package.json +++ b/src/package.json @@ -1,7 +1,7 @@ { "name": "viem", "description": "TypeScript Interface for Ethereum", - "version": "2.13.1", + "version": "2.13.2", "type": "module", "main": "./_cjs/index.js", "module": "./_esm/index.js", @@ -94,19 +94,45 @@ }, "typesVersions": { "*": { - "accounts": ["./_types/accounts/index.d.ts"], - "actions": ["./_types/actions/index.d.ts"], - "celo": ["./_types/celo/index.d.ts"], - "chains": ["./_types/chains/index.d.ts"], - "chains/utils": ["./_types/chains/utils.d.ts"], - "ens": ["./_types/ens/index.d.ts"], - "experimental": ["./_types/experimental/index.d.ts"], - "node": ["./_types/node/index.d.ts"], - "op-stack": ["./_types/op-stack/index.d.ts"], - "siwe": ["./_types/siwe/index.d.ts"], - "utils": ["./_types/utils/index.d.ts"], - "window": ["./_types/window/index.d.ts"], - "zksync": ["./_types/zksync/index.d.ts"] + "accounts": [ + "./_types/accounts/index.d.ts" + ], + "actions": [ + "./_types/actions/index.d.ts" + ], + "celo": [ + "./_types/celo/index.d.ts" + ], + "chains": [ + "./_types/chains/index.d.ts" + ], + "chains/utils": [ + "./_types/chains/utils.d.ts" + ], + "ens": [ + "./_types/ens/index.d.ts" + ], + "experimental": [ + "./_types/experimental/index.d.ts" + ], + "node": [ + "./_types/node/index.d.ts" + ], + "op-stack": [ + "./_types/op-stack/index.d.ts" + ], + "siwe": [ + "./_types/siwe/index.d.ts" + ], + "utils": [ + "./_types/utils/index.d.ts" + ], + "window": [ + "./_types/window/index.d.ts" + ], + "zksync": [ + "./_types/zksync/index.d.ts" + ] } }, "peerDependencies": { @@ -130,12 +156,21 @@ "license": "MIT", "homepage": "https://viem.sh", "repository": "wevm/viem", - "authors": ["awkweb.eth", "jxom.eth"], + "authors": [ + "awkweb.eth", + "jxom.eth" + ], "funding": [ { "type": "github", "url": "https://github.com/sponsors/wevm" } ], - "keywords": ["eth", "ethereum", "dapps", "wallet", "web3"] + "keywords": [ + "eth", + "ethereum", + "dapps", + "wallet", + "web3" + ] } From 08455ffb99c246afaa2ed3bc460b47dc9ef2e2b4 Mon Sep 17 00:00:00 2001 From: jxom Date: Thu, 30 May 2024 01:56:14 +0000 Subject: [PATCH 2/9] chore: format --- src/package.json | 65 +++++++++++------------------------------------- 1 file changed, 15 insertions(+), 50 deletions(-) diff --git a/src/package.json b/src/package.json index 9f7675741a..532e40a76c 100644 --- a/src/package.json +++ b/src/package.json @@ -94,45 +94,19 @@ }, "typesVersions": { "*": { - "accounts": [ - "./_types/accounts/index.d.ts" - ], - "actions": [ - "./_types/actions/index.d.ts" - ], - "celo": [ - "./_types/celo/index.d.ts" - ], - "chains": [ - "./_types/chains/index.d.ts" - ], - "chains/utils": [ - "./_types/chains/utils.d.ts" - ], - "ens": [ - "./_types/ens/index.d.ts" - ], - "experimental": [ - "./_types/experimental/index.d.ts" - ], - "node": [ - "./_types/node/index.d.ts" - ], - "op-stack": [ - "./_types/op-stack/index.d.ts" - ], - "siwe": [ - "./_types/siwe/index.d.ts" - ], - "utils": [ - "./_types/utils/index.d.ts" - ], - "window": [ - "./_types/window/index.d.ts" - ], - "zksync": [ - "./_types/zksync/index.d.ts" - ] + "accounts": ["./_types/accounts/index.d.ts"], + "actions": ["./_types/actions/index.d.ts"], + "celo": ["./_types/celo/index.d.ts"], + "chains": ["./_types/chains/index.d.ts"], + "chains/utils": ["./_types/chains/utils.d.ts"], + "ens": ["./_types/ens/index.d.ts"], + "experimental": ["./_types/experimental/index.d.ts"], + "node": ["./_types/node/index.d.ts"], + "op-stack": ["./_types/op-stack/index.d.ts"], + "siwe": ["./_types/siwe/index.d.ts"], + "utils": ["./_types/utils/index.d.ts"], + "window": ["./_types/window/index.d.ts"], + "zksync": ["./_types/zksync/index.d.ts"] } }, "peerDependencies": { @@ -156,21 +130,12 @@ "license": "MIT", "homepage": "https://viem.sh", "repository": "wevm/viem", - "authors": [ - "awkweb.eth", - "jxom.eth" - ], + "authors": ["awkweb.eth", "jxom.eth"], "funding": [ { "type": "github", "url": "https://github.com/sponsors/wevm" } ], - "keywords": [ - "eth", - "ethereum", - "dapps", - "wallet", - "web3" - ] + "keywords": ["eth", "ethereum", "dapps", "wallet", "web3"] } From 007405e54e6a1b81e6045ccfbac3622efbc8aa61 Mon Sep 17 00:00:00 2001 From: Tom Meagher Date: Thu, 30 May 2024 00:55:04 -0400 Subject: [PATCH 3/9] chore: cleanup --- playgrounds/browser/package.json | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 playgrounds/browser/package.json diff --git a/playgrounds/browser/package.json b/playgrounds/browser/package.json deleted file mode 100644 index 2494243889..0000000000 --- a/playgrounds/browser/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "playground-browser", - "private": true, - "type": "module", - "scripts": { - "dev": "vite", - "build": "tsc && vite build", - "preview": "vite preview" - }, - "dependencies": { - "react": "^18.2.0", - "react-dom": "^18.2.0", - "viem": "workspace:*" - }, - "devDependencies": { - "@types/react": "^18.0.27", - "@types/react-dom": "^18.0.10", - "@vitejs/plugin-react": "^3.1.0", - "typescript": "^5.0.3", - "vite": "^4.4.2" - } -} From b6fd573d72b7cc74efc8c4a4a79ff76073242240 Mon Sep 17 00:00:00 2001 From: jxom Date: Fri, 31 May 2024 06:29:31 +1000 Subject: [PATCH 4/9] fix: resolves #2340 --- .changeset/nervous-students-vanish.md | 5 +++++ src/experimental/eip5792/actions/writeContracts.ts | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .changeset/nervous-students-vanish.md diff --git a/.changeset/nervous-students-vanish.md b/.changeset/nervous-students-vanish.md new file mode 100644 index 0000000000..8f026cb4fb --- /dev/null +++ b/.changeset/nervous-students-vanish.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added `getAction` to `writeContracts`. diff --git a/src/experimental/eip5792/actions/writeContracts.ts b/src/experimental/eip5792/actions/writeContracts.ts index 2721e3e90c..d2889071d7 100644 --- a/src/experimental/eip5792/actions/writeContracts.ts +++ b/src/experimental/eip5792/actions/writeContracts.ts @@ -17,6 +17,7 @@ import { type EncodeFunctionDataErrorType, encodeFunctionData, } from '../../../utils/abi/encodeFunctionData.js' +import { getAction } from '../../../utils/getAction.js' import { type SendCallsErrorType, type SendCallsParameters, @@ -118,7 +119,11 @@ export async function writeContracts< value, } satisfies SendCallsParameters['calls'][number] }) - return sendCalls(client, { ...parameters, calls } as SendCallsParameters) + return getAction( + client, + sendCalls, + 'sendCalls', + )({ ...parameters, calls } as SendCallsParameters) } export type WriteContractFunctionParameters< From 7cb40947c1186665c65535bb348fea901dde7f6a Mon Sep 17 00:00:00 2001 From: Lycan-Chain <111994938+Lycan-Chain@users.noreply.github.com> Date: Fri, 31 May 2024 00:30:50 +0400 Subject: [PATCH 5/9] feat: add Lycan chain (#2336) * Added Lycan chain. * Lycan chain details updated. * Update lycan.ts --------- Co-authored-by: jxom --- .changeset/ten-snails-know.md | 5 +++++ src/chains/definitions/lycan.ts | 37 +++++++++++++++++++++++++++++++++ src/chains/index.ts | 1 + 3 files changed, 43 insertions(+) create mode 100644 .changeset/ten-snails-know.md create mode 100644 src/chains/definitions/lycan.ts diff --git a/.changeset/ten-snails-know.md b/.changeset/ten-snails-know.md new file mode 100644 index 0000000000..2491bb139a --- /dev/null +++ b/.changeset/ten-snails-know.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added Lycan chain. diff --git a/src/chains/definitions/lycan.ts b/src/chains/definitions/lycan.ts new file mode 100644 index 0000000000..5929a0fe77 --- /dev/null +++ b/src/chains/definitions/lycan.ts @@ -0,0 +1,37 @@ +import { defineChain } from "../../utils/chain/defineChain.js" + +export const lycan = /*#__PURE__*/ defineChain({ + id: 721, + name: "Lycan", + nativeCurrency: { + decimals: 18, + name: "Lycan", + symbol: "LYC", + }, + rpcUrls: { + default: { + http: [ + "https://rpc.lycanchain.com", + "https://us-east.lycanchain.com", + "https://us-west.lycanchain.com", + "https://eu-north.lycanchain.com", + "https://eu-west.lycanchain.com", + "https://asia-southeast.lycanchain.com", + ], + webSocket: [ + "wss://rpc.lycanchain.com", + "wss://us-east.lycanchain.com", + "wss://us-west.lycanchain.com", + "wss://eu-north.lycanchain.com", + "wss://eu-west.lycanchain.com", + "wss://asia-southeast.lycanchain.com", + ], + }, + }, + blockExplorers: { + default: { + name: "Lycan Explorer", + url: "https://explorer.lycanchain.com", + }, + }, +}) diff --git a/src/chains/index.ts b/src/chains/index.ts index d5372e8141..8f47ef09cb 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -139,6 +139,7 @@ export { liskSepolia } from './definitions/liskSepolia.js' export { localhost } from './definitions/localhost.js' export { lukso } from './definitions/lukso.js' export { luksoTestnet } from './definitions/luksoTestnet.js' +export { lycan } from './definitions/lycan.js' export { mainnet } from './definitions/mainnet.js' export { mandala } from './definitions/mandala.js' export { manta } from './definitions/manta.js' From 31c6253e557d9906c79715ce0cec5ccd150c6319 Mon Sep 17 00:00:00 2001 From: jxom Date: Thu, 30 May 2024 20:31:47 +0000 Subject: [PATCH 6/9] chore: format --- src/chains/definitions/lycan.ts | 74 ++++++++++++++++----------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/src/chains/definitions/lycan.ts b/src/chains/definitions/lycan.ts index 5929a0fe77..381f5db76f 100644 --- a/src/chains/definitions/lycan.ts +++ b/src/chains/definitions/lycan.ts @@ -1,37 +1,37 @@ -import { defineChain } from "../../utils/chain/defineChain.js" - -export const lycan = /*#__PURE__*/ defineChain({ - id: 721, - name: "Lycan", - nativeCurrency: { - decimals: 18, - name: "Lycan", - symbol: "LYC", - }, - rpcUrls: { - default: { - http: [ - "https://rpc.lycanchain.com", - "https://us-east.lycanchain.com", - "https://us-west.lycanchain.com", - "https://eu-north.lycanchain.com", - "https://eu-west.lycanchain.com", - "https://asia-southeast.lycanchain.com", - ], - webSocket: [ - "wss://rpc.lycanchain.com", - "wss://us-east.lycanchain.com", - "wss://us-west.lycanchain.com", - "wss://eu-north.lycanchain.com", - "wss://eu-west.lycanchain.com", - "wss://asia-southeast.lycanchain.com", - ], - }, - }, - blockExplorers: { - default: { - name: "Lycan Explorer", - url: "https://explorer.lycanchain.com", - }, - }, -}) +import { defineChain } from '../../utils/chain/defineChain.js' + +export const lycan = /*#__PURE__*/ defineChain({ + id: 721, + name: 'Lycan', + nativeCurrency: { + decimals: 18, + name: 'Lycan', + symbol: 'LYC', + }, + rpcUrls: { + default: { + http: [ + 'https://rpc.lycanchain.com', + 'https://us-east.lycanchain.com', + 'https://us-west.lycanchain.com', + 'https://eu-north.lycanchain.com', + 'https://eu-west.lycanchain.com', + 'https://asia-southeast.lycanchain.com', + ], + webSocket: [ + 'wss://rpc.lycanchain.com', + 'wss://us-east.lycanchain.com', + 'wss://us-west.lycanchain.com', + 'wss://eu-north.lycanchain.com', + 'wss://eu-west.lycanchain.com', + 'wss://asia-southeast.lycanchain.com', + ], + }, + }, + blockExplorers: { + default: { + name: 'Lycan Explorer', + url: 'https://explorer.lycanchain.com', + }, + }, +}) From 8c4417923c2816cfe219a210a97897905764c4b7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 31 May 2024 07:07:05 +1000 Subject: [PATCH 7/9] Version Packages (#2341) Co-authored-by: github-actions[bot] --- .changeset/nervous-students-vanish.md | 5 -- .changeset/ten-snails-know.md | 5 -- src/CHANGELOG.md | 8 ++++ src/package.json | 67 ++++++++++++++++++++------- 4 files changed, 59 insertions(+), 26 deletions(-) delete mode 100644 .changeset/nervous-students-vanish.md delete mode 100644 .changeset/ten-snails-know.md diff --git a/.changeset/nervous-students-vanish.md b/.changeset/nervous-students-vanish.md deleted file mode 100644 index 8f026cb4fb..0000000000 --- a/.changeset/nervous-students-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Added `getAction` to `writeContracts`. diff --git a/.changeset/ten-snails-know.md b/.changeset/ten-snails-know.md deleted file mode 100644 index 2491bb139a..0000000000 --- a/.changeset/ten-snails-know.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Added Lycan chain. diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index a3ed63a7c6..ff07d22a6b 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -1,5 +1,13 @@ # viem +## 2.13.3 + +### Patch Changes + +- [`b6fd573d72b7cc74efc8c4a4a79ff76073242240`](https://github.com/wevm/viem/commit/b6fd573d72b7cc74efc8c4a4a79ff76073242240) Thanks [@jxom](https://github.com/jxom)! - Added `getAction` to `writeContracts`. + +- [#2336](https://github.com/wevm/viem/pull/2336) [`7cb40947c1186665c65535bb348fea901dde7f6a`](https://github.com/wevm/viem/commit/7cb40947c1186665c65535bb348fea901dde7f6a) Thanks [@Lycan-Chain](https://github.com/Lycan-Chain)! - Added Lycan chain. + ## 2.13.2 ### Patch Changes diff --git a/src/package.json b/src/package.json index 532e40a76c..9272f4b341 100644 --- a/src/package.json +++ b/src/package.json @@ -1,7 +1,7 @@ { "name": "viem", "description": "TypeScript Interface for Ethereum", - "version": "2.13.2", + "version": "2.13.3", "type": "module", "main": "./_cjs/index.js", "module": "./_esm/index.js", @@ -94,19 +94,45 @@ }, "typesVersions": { "*": { - "accounts": ["./_types/accounts/index.d.ts"], - "actions": ["./_types/actions/index.d.ts"], - "celo": ["./_types/celo/index.d.ts"], - "chains": ["./_types/chains/index.d.ts"], - "chains/utils": ["./_types/chains/utils.d.ts"], - "ens": ["./_types/ens/index.d.ts"], - "experimental": ["./_types/experimental/index.d.ts"], - "node": ["./_types/node/index.d.ts"], - "op-stack": ["./_types/op-stack/index.d.ts"], - "siwe": ["./_types/siwe/index.d.ts"], - "utils": ["./_types/utils/index.d.ts"], - "window": ["./_types/window/index.d.ts"], - "zksync": ["./_types/zksync/index.d.ts"] + "accounts": [ + "./_types/accounts/index.d.ts" + ], + "actions": [ + "./_types/actions/index.d.ts" + ], + "celo": [ + "./_types/celo/index.d.ts" + ], + "chains": [ + "./_types/chains/index.d.ts" + ], + "chains/utils": [ + "./_types/chains/utils.d.ts" + ], + "ens": [ + "./_types/ens/index.d.ts" + ], + "experimental": [ + "./_types/experimental/index.d.ts" + ], + "node": [ + "./_types/node/index.d.ts" + ], + "op-stack": [ + "./_types/op-stack/index.d.ts" + ], + "siwe": [ + "./_types/siwe/index.d.ts" + ], + "utils": [ + "./_types/utils/index.d.ts" + ], + "window": [ + "./_types/window/index.d.ts" + ], + "zksync": [ + "./_types/zksync/index.d.ts" + ] } }, "peerDependencies": { @@ -130,12 +156,21 @@ "license": "MIT", "homepage": "https://viem.sh", "repository": "wevm/viem", - "authors": ["awkweb.eth", "jxom.eth"], + "authors": [ + "awkweb.eth", + "jxom.eth" + ], "funding": [ { "type": "github", "url": "https://github.com/sponsors/wevm" } ], - "keywords": ["eth", "ethereum", "dapps", "wallet", "web3"] + "keywords": [ + "eth", + "ethereum", + "dapps", + "wallet", + "web3" + ] } From 4e5532876a6a500ef389d74d9b32ae0eb0d65a69 Mon Sep 17 00:00:00 2001 From: jxom Date: Thu, 30 May 2024 21:07:47 +0000 Subject: [PATCH 8/9] chore: format --- src/package.json | 65 +++++++++++------------------------------------- 1 file changed, 15 insertions(+), 50 deletions(-) diff --git a/src/package.json b/src/package.json index 9272f4b341..03c7b21118 100644 --- a/src/package.json +++ b/src/package.json @@ -94,45 +94,19 @@ }, "typesVersions": { "*": { - "accounts": [ - "./_types/accounts/index.d.ts" - ], - "actions": [ - "./_types/actions/index.d.ts" - ], - "celo": [ - "./_types/celo/index.d.ts" - ], - "chains": [ - "./_types/chains/index.d.ts" - ], - "chains/utils": [ - "./_types/chains/utils.d.ts" - ], - "ens": [ - "./_types/ens/index.d.ts" - ], - "experimental": [ - "./_types/experimental/index.d.ts" - ], - "node": [ - "./_types/node/index.d.ts" - ], - "op-stack": [ - "./_types/op-stack/index.d.ts" - ], - "siwe": [ - "./_types/siwe/index.d.ts" - ], - "utils": [ - "./_types/utils/index.d.ts" - ], - "window": [ - "./_types/window/index.d.ts" - ], - "zksync": [ - "./_types/zksync/index.d.ts" - ] + "accounts": ["./_types/accounts/index.d.ts"], + "actions": ["./_types/actions/index.d.ts"], + "celo": ["./_types/celo/index.d.ts"], + "chains": ["./_types/chains/index.d.ts"], + "chains/utils": ["./_types/chains/utils.d.ts"], + "ens": ["./_types/ens/index.d.ts"], + "experimental": ["./_types/experimental/index.d.ts"], + "node": ["./_types/node/index.d.ts"], + "op-stack": ["./_types/op-stack/index.d.ts"], + "siwe": ["./_types/siwe/index.d.ts"], + "utils": ["./_types/utils/index.d.ts"], + "window": ["./_types/window/index.d.ts"], + "zksync": ["./_types/zksync/index.d.ts"] } }, "peerDependencies": { @@ -156,21 +130,12 @@ "license": "MIT", "homepage": "https://viem.sh", "repository": "wevm/viem", - "authors": [ - "awkweb.eth", - "jxom.eth" - ], + "authors": ["awkweb.eth", "jxom.eth"], "funding": [ { "type": "github", "url": "https://github.com/sponsors/wevm" } ], - "keywords": [ - "eth", - "ethereum", - "dapps", - "wallet", - "web3" - ] + "keywords": ["eth", "ethereum", "dapps", "wallet", "web3"] } From cc105f801ec69640d3d806d86b35e36002d8c912 Mon Sep 17 00:00:00 2001 From: Anton Dosta Date: Fri, 31 May 2024 00:33:30 -0700 Subject: [PATCH 9/9] fix: added `testnet: true` to rootstockTestnet.ts (#2345) Re: https://github.com/wevm/viem/pull/2257 Resolves: https://github.com/wevm/viem/issues/2344 --- src/chains/definitions/rootstockTestnet.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chains/definitions/rootstockTestnet.ts b/src/chains/definitions/rootstockTestnet.ts index c52cebfd2d..83229a8f4b 100644 --- a/src/chains/definitions/rootstockTestnet.ts +++ b/src/chains/definitions/rootstockTestnet.ts @@ -18,4 +18,5 @@ export const rootstockTestnet = /*#__PURE__*/ defineChain({ url: 'https://explorer.testnet.rootstock.io', }, }, + testnet: true, })