viem/op-stack Prove/Finalize transaction is failing due to conflict between wallet extensions #2403
Replies: 4 comments 1 reply
-
Looks like you are encountering a |
Beta Was this translation helpful? Give feedback.
-
@jxom Thank you for such a quick response. Yes, the error only occurs when metamask is connect and OKX is enabled as an extension. If I disabled OKX wallet, the tx goes through. This is where the error occurs: https://github.com/bob-collective/bob-ui/blob/main/apps/evm/src/pages/Bridge/components/BridgeStatus/WithdrawStatus.tsx#L54 I do check for chain correctness outside of this code, so I do confirm that this error still occurs even on the correct chain (L1). |
Beta Was this translation helpful? Give feedback.
-
I can share a recording of the app through discord if you need. |
Beta Was this translation helpful? Give feedback.
-
I don't really think this is an issue in Viem, but rather upstream in wallet orchestration logic. I cannot seem to view your repo as it is private. Are you using I would strongly recommend either:
|
Beta Was this translation helpful? Give feedback.
-
Check existing issues
Viem Version
2.10.2
Current Behavior
I have metamask and okx wallet extension. If I connect metamask and I try to prove or finalize a withdraw, I get the following error:
Prove: TransactionExecutionError
at ut (getTransactionError.js:11:12)
at lt (sendTransaction.js:126:15)
at async Object.mutationFn (WithdrawStatus.tsx:55:20)Caused by: ChainMismatchError
at ct (assertCurrentChain.js:6:15)
at lt (sendTransaction.js:69:13)
at async Object.mutationFn (WithdrawStatus.tsx:55:20)
There is no signing prompt being shown.
Expected Behavior
I expect transaction to be proven or finalized without having to disable OKX wallet.
Steps To Reproduce
Link to Minimal Reproducible Example
It is a bit hard to create an environment for this, but simply by using the code in the viem/op-stack, you should be able to reach this error.
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions