dawsbot / essential-eth

🪶 An alternative to ethers & web3 that's 10x smaller
https://eeth.dev
MIT License
306 stars 34 forks source link

Support tuple types as contract function input #166

Open AlanNabiev opened 2 years ago

AlanNabiev commented 2 years ago

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?

AlanNabiev commented 2 years ago

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
dawsbot commented 2 years ago

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 commented 1 year ago

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 🙌