-
Notifications
You must be signed in to change notification settings - Fork 50
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
WETH contract (0x42...) not responding to ETH deposit for larger deposits, but responding for smaller ones #424
Comments
This deposit as of this morning processed correctly, other ones in the ticket are still stuck / need remediation |
I am a user directly impacted by this. It's now been 5 days since I merely made an ETH deposit (txid-here). After which I see ETH was deposited to wETH contract... but strangely no wETH appears to have been transferred back from the contract. Op-Etherscan displays no balance on the address. @sbvegan are you not able to have a look at this or engage some OP team member who perhaps can figure out what happened here and how to retrieve the coins/fix it? It has been very difficult do grasp what happened here and the lack of feedback is just making it harder to cope with the situation. |
Let me flag this internally |
Hey @jbarry786, it looks like it worked successfully, but the etherscan indexer might not be working as expected. You can see this blockscout transaction showing the weth being distributed. If you use the following foundry query, you see the expected result:
I can flag this to etherscan to investigate. cc @newcodave |
our software using Infura doesn't see it either |
Looking into the tx hash, it looks like its a simple eth send from a binance controlled account to Is the source code available for the code at the account? I am guessing that the source code attempts to wrap the ether on receive? Nothing about the WETH predeploy has changed on OP Mainnet. Was this flow working previously? I see that you are saying it only works with small amounts. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Bug Description
Juniper (https://app.juniperfi.com/) is a ERC-4337 smart wallet built on OP using ZeroDev's Kernel smart wallet SDK. Its ETH deposit flow is:
Lately (earliest user report 22 May 2024), the WETH contract at 0x42... will sometimes not send back any WETH in response, and this correlates with larger deposits as seen in this smart wallet where a E0.003 send to 0x42... receives WETH, whereas a E0.34 wrap operation never receives WETH:
https://optimistic.etherscan.io/address/0x3048FC9d14188a3B7d7f720252f46008b0BbA3a8#internaltx
The earliest example of the behavior/eventually/ responded with WETH, but only after 14 hours:
https://optimistic.etherscan.io/address/0x4cdce7541b42dc1537b75114a9160aa5e0b9f445#internaltx
Steps to Reproduce
Expected behavior
An equal amount of WETH for ETH after a send to 0x42...
Note that we haven't reduced the case yet via EOA usage of 0x42..., these are customer cases.
Environment Information:
Configurations:
Logs:
Smart contract wallets exhibiting the WETH behavior follow.
https://optimistic.etherscan.io/address/0x3048FC9d14188a3B7d7f720252f46008b0BbA3a8#internaltx
https://optimistic.etherscan.io/address/0x65aa028301f9F9eD96e56971F0452aef108D8866#internaltx
The first wallet exhibits the small amount vs larger amount behavior
Additional context
Also discussed in #devsupport on Discord
Please ensure all required sections are filled out accurately to expedite the debugging process and improve issue resolution efficiency.
The text was updated successfully, but these errors were encountered: