-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Invalid fragment object for ApprovalCallerNotOwnerNorApproved #3111
Comments
Though in the issue template you've mentioned ethers 5.6, but from the error it seems the application is using 5.0, this might be coming from a dependency. Support for custom errors was provided in 5.1.4 (see #1493). In case it's from a dependency, you might try adding "resolutions": {
"depencency-name/ethers": "^5.6"
}, |
Weird. These are my deps below.
|
Closing this, as @zemse the error indicates that this error is coming from the v5.0 branch (probably from a dependency?), while Error fragments were not introduced until a v5.2 (@zemse is correct that the parser was extending in 5.1.4 to not throw an error, but actual support hadn't been included yet). Here is the article announcing it. You can continue debugging your issue here, I'm just trying to clean things up a bit so I can better handle what to focus on for getting the next minor and major bumps ready. |
Getting the same result; "ethers": "^5.6.9",
Did not fix it. I have updated all the packages to the latest and the issue resolved itself. |
This comment was marked as spam.
This comment was marked as spam.
1 similar comment
-- Please reply above this line --
Hello Ethers-Io/ethers.js,
We received your email request! Someone from our team will get back to
you as soon as possible. We're Australian Sloths and work 9am-5pm, Mon
to Fri (AEST) so we'll get back to you during our sloth business
hours!
Be sure to check out our support documentation here
https://jetsloth.com/support/ [1] for any help or advice.
Thank you!
Links:
------
[1] https://jetsloth.com/support/
|
Ethers Version
5.6.0
Search Terms
ApprovalCallerNotOwnerNorApproved
Describe the Problem
Failed to parse ABI for contract: [REDACTED]. (Its method data will not be collected).
NB: Some Solidity 0.6.x syntax is not supported by Ethers.js V5 AbiCoder yet.
Please report the error below to github.com/ethers-io/ethers.js
ApprovalCallerNotOwnerNorApproved is found in the ERC721A
https://github.com/chiru-labs/ERC721A
Code Snippet
No response
Contract ABI
No response
Errors
Environment
No response
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: