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 think this is happening because there is a IERC721TokenReceiver in the forge-std package, which gets imported into every contract library using foundry. So it effectively gets imported and compiled multiple times. Apparently that confuses wagmi?
Contract name "IERC721TokenReceiver" must be unique.
Link to Minimal Reproducible Example
No response
Steps To Reproduce
No response
Wagmi Version
2.5.11
Viem Version
2.8.14
TypeScript Version
5.3.3
Check existing issues
I checked there isn't already an issue for the bug I encountered.
Anything else?
No response
The text was updated successfully, but these errors were encountered:
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest wagmi version. If you have any other comments you can create a new discussion.
Describe the bug
I think this is happening because there is a
IERC721TokenReceiver
in the forge-std package, which gets imported into every contract library using foundry. So it effectively gets imported and compiled multiple times. Apparently that confuses wagmi?Contract name "IERC721TokenReceiver" must be unique.
Link to Minimal Reproducible Example
No response
Steps To Reproduce
No response
Wagmi Version
2.5.11
Viem Version
2.8.14
TypeScript Version
5.3.3
Check existing issues
Anything else?
No response
The text was updated successfully, but these errors were encountered: