Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Skip allowance check when is eth #251

Merged
merged 1 commit into from
Jun 22, 2023
Merged

fix: Skip allowance check when is eth #251

merged 1 commit into from
Jun 22, 2023

Conversation

karelianpie
Copy link
Member

Skip the allowance check when is eth

ContractFunctionExecutionError: The contract function "allowance" returned no data ("0x").

This could be due to any of the following:
  - The contract does not have the function "allowance",
  - The parameters passed to the contract function may be invalid, or
  - The address is not a contract.
 
Contract Call:
  address:   0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
  function:  allowance(address owner, address spender)
  args:               (0x8CCc50Abf345f4CF5477F2E244DC33F7F0C5579E, 0xF2F02200aEd0028fbB9F183420D3fE6dFd2d3EcD)

Docs: https://viem.sh/docs/contract/readContract.html
Screenshot_2023-06-21_at_22_07_58

@karelianpie karelianpie requested a review from Majorfi June 21, 2023 19:10
@karelianpie karelianpie self-assigned this Jun 21, 2023
@vercel
Copy link

vercel bot commented Jun 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
yearnfi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 7:11pm

@Majorfi Majorfi added this pull request to the merge queue Jun 22, 2023
Merged via the queue into main with commit de39818 Jun 22, 2023
@Majorfi Majorfi deleted the fix/wido-eth-deposit branch June 22, 2023 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🟢 Done
Development

Successfully merging this pull request may close these issues.

2 participants