-
Type inference is noticeably slow, sometimes taking an upwards of 1-2s to compute on a M2 Max. Best display of it here: Screen.Recording.2024-05-26.at.11.47.48.PM.movTS version: 5.4.1 import { createTestClient, http, publicActions, walletActions } from "viem";
import { foundry } from "viem/chains";
const client = createTestClient({
chain: foundry,
mode: "anvil",
transport: http(),
})
.extend(publicActions) |
Beta Was this translation helpful? Give feedback.
Answered by
tmm
Jun 19, 2024
Replies: 2 comments
-
I'm getting over 10s of type inference in this stackblitz reproduction: https://stackblitz.com/edit/stackblitz-starters-bdo9jm?file=index.ts |
Beta Was this translation helpful? Give feedback.
0 replies
-
Linking this up wevm/viem#2328 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tmm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Linking this up wevm/viem#2328