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
When I try to use the Foundry plugin to generate my hooks, it gives an error about needing contracts to be unique. It complains about the OpenZeppelin contracts e.g ERC20, IERC20.
I'm unable to exclude these contracts from registering with this config file
exportdefaultdefineConfig({out: "generated.ts",plugins: [foundry({exclude: [// the following patterns are excluded by default'Common.sol/**','Components.sol/**','Script.sol/**','StdAssertions.sol/**','StdError.sol/**','StdCheats.sol/**','StdMath.sol/**','StdJson.sol/**','StdStorage.sol/**','StdUtils.sol/**','Vm.sol/**','console.sol/**','console2.sol/**','test.sol/**','**.s.sol/*.json','**.t.sol/*.json','interfaces/**','**/IWETH.sol','node_modules/**','@openzeppelin/**','openzeppelin/**','@openzeppelin-contracts/**','openzeppelin-contracts/**','out/**','forge-std/**','solmate/**','ERC20Upgradeable.sol','**/I**.sol','openzeppelin-contracts-upgradeable/**','@openzeppelin-contracts-upgradeable/**',"IERC20.sol","ERC20/**","IERC20/**"],project: '../foundry',}),react(),],});
Expected Behavior
No response
Steps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
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.
Is there an existing issue for this?
Package Version
0.1.5
Current Behavior
When I try to use the Foundry plugin to generate my hooks, it gives an error about needing contracts to be unique. It complains about the OpenZeppelin contracts e.g ERC20, IERC20.
I'm unable to exclude these contracts from registering with this config file
Expected Behavior
No response
Steps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: