writeContract appears to just be sending ether instead of calling contract #3690
Replies: 1 comment
-
I added logging to wagmi and viem and it appears that it's doing an eth_call with the transaction data??? how is this even possible |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
package.json
:page:
ABI:
metamask:
hardhat node:
The contract doesn't even exist yet, I haven't deployed it, to test what happens. It appears that
writeContract
is just sending ETH to the address, no error received.What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions