Skip to content

Commit 341b324

Browse files
committed
feat: update viem + add plasma chain
1 parent 9f0b7a4 commit 341b324

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040
"cbor-x": "^1.6.0",
4141
"dotenv": "^16.4.7",
4242
"express": "^4.19.2",
43-
"viem": "^2.31.7"
43+
"viem": "^2.37.9"
4444
}
4545
}

src/config/chainConfigs.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
ink,
1111
mainnet,
1212
optimism,
13+
plasma,
1314
polygon,
1415
sonic,
1516
swellchain,
@@ -279,4 +280,12 @@ export const chainConfigs: Record<number, CheckConfig> = {
279280
...defaultBounds,
280281
...getAddressesForChain(tac.id),
281282
},
283+
[plasma.id]: {
284+
publicClient: getClient(plasma),
285+
metadataHashes,
286+
fallbackAssets,
287+
otherRecognizedAggregatorV3Feeds: {},
288+
...defaultBounds,
289+
...getAddressesForChain(plasma.id),
290+
},
282291
};

0 commit comments

Comments
 (0)