essential-eth icon indicating copy to clipboard operation
essential-eth copied to clipboard

Support tuple types as contract function input

Open 1geekhead opened this issue 3 years ago • 3 comments

Hi, i cant use FallthroughProvider with multicalls libraries, such as 'ethcall'. Because provider object has different fields with JsonRpcProvider from ethers.js Are there any solutions to this problem?

1geekhead avatar Oct 10 '22 03:10 1geekhead

Hi, i cant use FallthroughProvider with multicalls libraries, such as 'ethcall'. Because provider object has different fields with JsonRpcProvider from ethers.js Are there any solutions to this problem?

I tried to write my version of the multicall library. However, now when I call aggregate method on a multicall contract, I get this error. Снимок экрана 2022-10-10 в 07 12 14

1geekhead avatar Oct 10 '22 04:10 1geekhead

Hi @AlanNabiev, thank you for providing that screenshot. Can you provide example code in a pull-request you used to get that screenshotted error?

I'd love to do TDD and go fix the error you're asking about here, so if you can provide a broken jest test, that will greatly help getting this fixed in the codebase 🙌

dawsbot avatar Oct 11 '22 13:10 dawsbot

Hi @AlanNabiev, can you provide more info to reproduce?

I'd love to do TDD and go fix the error you're asking about here, so if you can provide a broken jest test, that will greatly help getting this fixed in the codebase 🙌

dawsbot avatar Mar 05 '23 16:03 dawsbot