-
I have a problem with my contract abi and attempting to use it with ethers using either src="https://cdn.ethers.io/scripts/ethers-v4.min.js" using version 4 I get the error: using version 5.1.2 if I remove the section
the code moves past where it would throw the error. I'm compiling the contract with
I tried a clean and compile, compiling the contract(s) in remix and taking the abi from there, but get the same result. The abi consistently comes out this way. I'm thinking it's a bug/omission in the ethers.js not being able to handle this bit of abi, but I guess it could be duff abi? Whole abi attached thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Can you update to a later version of ethers? 5.7 is the latest version. |
Beta Was this translation helpful? Give feedback.
Can you update to a later version of ethers? 5.7 is the latest version.