Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Wagmi CLI unable to handle multiple methods with different casing but same name #2724

Closed
1 task done
roninjin10 opened this issue Jul 11, 2023 · 2 comments
Closed
1 task done

Comments

@roninjin10
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

"@wagmi/cli": "^1.3.0",

Current Behavior

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.)

ethereum-optimism/optimism#6260

Anything else?

image
@tmm
Copy link
Member

tmm commented Aug 31, 2023

duplicate #2297

Copy link
Contributor

github-actions bot commented Jan 7, 2024

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.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants