You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to test my dapp with Anvil but when I try to read allowance using useReadContract it fails with the following error: ContractFunctionExecutionError: Cannot decode zero data ("0x") with ABI parameters.
I am trying to force it to use the Anvil chainId but it doesn't seem to be working.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to test my dapp with Anvil but when I try to read allowance using
useReadContract
it fails with the following error:ContractFunctionExecutionError: Cannot decode zero data ("0x") with ABI parameters.
I am trying to force it to use the Anvil chainId but it doesn't seem to be working.
Beta Was this translation helpful? Give feedback.
All reactions