Closed johanninos closed 3 years ago
for example
{ target: '0xa88aB555AE98Ed87E766c916159451523eDe7618', call: ['getReserves()(unit256,unit256)'] }
will get result 0x the whole request will be error cause of one of the call gets Error from ethers abi-coder
0x
just exclude the 0x
try catch to handle the abi-coder error is Another solution
ehters issue https://github.com/ethers-io/ethers.js/issues/559
Hack a decode issue of ethers abi-coder
for example
will get result
0x
the whole request will be error cause of one of the call gets Error from ethers abi-coderjust exclude the 0x
try catch to handle the abi-coder error is Another solution