You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked there isn't already an issue for the bug I encountered.
Describe the bug
At Zora, we use the foundry plugin and love it. However, if you have multiple addresses that need to share the same ABI (e.g. different ERC20 tokens) it doesn't work.
Check existing issues
Describe the bug
At Zora, we use the foundry plugin and love it. However, if you have multiple addresses that need to share the same ABI (e.g. different ERC20 tokens) it doesn't work.
If I am reading in a deployment file and writing the addresses like in this example: https://github.com/ourzora/zora-721-contracts/blob/main/wagmi.config.ts
Example extending that:
only the
daiConfig
/daiAddress
gets created, but not the WETH config.Link to Minimal Reproducible Example
https://gist.github.com/0x6080/126272e246be09b24274acd3aae55bd5
Steps To Reproduce
If I am reading in a deployment file and writing the addresses like in this example: https://github.com/ourzora/zora-721-contracts/blob/main/wagmi.config.ts
Example extending that:
only the
daiConfig
/daiAddress
gets created:but not the WETH config.
What Wagmi package(s) are you using?
@wagmi/cli
Wagmi Package(s) Version(s)
2.12.24
Viem Version
2.21.35
TypeScript Version
20
Anything else?
Ideal behavior would be for both of them to reference the same abi, for example:
The text was updated successfully, but these errors were encountered: