wagmi icon indicating copy to clipboard operation
wagmi copied to clipboard

fix: waitForTransactionReceipt proper eth_call usage

Open AndriyAntonenko opened this issue 4 months ago • 4 comments

This PR addresses a bug in the @wagmi/core library, specifically in the waitForTransactionReceipt function. The bug occurs when arguments are provided to skip simulation and gas estimation. The data field was not being passed to the eth_call function, which resulted in unexpected errors.

I've made a simple repository that has a script that reproduces this issue: https://github.com/AndriyAntonenko/wagmi-waitfortransaction-bug-poc

AndriyAntonenko avatar Oct 14 '24 22:10 AndriyAntonenko