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
If a contract has multiple methods with same name such as messenger and MESSENGER the wagmi cli will fail with an error Hook name "useL1Erc721BridgeMessenger" must be unique for contract "L1ERC721Bridge".
Expected Behavior
Should be able to handle this corner case gracefully.
Steps To Reproduce
Use the ERC721Bridge.sol contract from optimism repo via etherscan plugin or any other method.
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
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
"@wagmi/cli": "^1.3.0",
Current Behavior
If a contract has multiple methods with same name such as
messenger
andMESSENGER
the wagmi cli will fail with an errorHook name "useL1Erc721BridgeMessenger" must be unique for contract "L1ERC721Bridge".
Expected Behavior
Should be able to handle this corner case gracefully.
Steps To Reproduce
Use the ERC721Bridge.sol contract from optimism repo via etherscan plugin or any other method.
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
ethereum-optimism/optimism#6260
Anything else?
The text was updated successfully, but these errors were encountered: