Content
@
0 reply
0 recast
0 reaction
Michael Pfister
@pfista
Any tips on resolving this without having to add explicit types for getContract? "The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.ts(7056)"
2 replies
1 recast
12 reactions
Phresh rider
@phresh
Can you try using a smaller ABI, hard to tell without seeing anything, but I feel like i've ran into that before --- https://github.com/wevm/viem/discussions/538
1 reply
0 recast
1 reaction
Michael Pfister
@pfista
Yes I tried that by manually using parseABI, it helped on a few contracts but there is still one I cannot get it fixed when using the minimal functions I need from the contract. I made a stackblitz to repro here: https://github.com/wevm/viem/issues/2178
1 reply
0 recast
0 reaction