fix transaction hash and erc20 value for walletconnect#260
Conversation
WalkthroughThis update bumps the version of the Changes
Sequence Diagram(s)sequenceDiagram
participant Component as SendModalTokensTabView
participant Payload as Payload Object
participant Service as Transaction Service
Component->>Payload: Check for payload.chainId
alt payload.chainId exists
Component->>Service: Call getTransactionHash(payload.chainId)
else
Component->>Payload: Retrieve userOpChainId
alt userOpChainId exists
Component->>Service: Call getTransactionHash(userOpChainId)
else
Component->>Service: Call getTransactionHash(etherspotDefaultChainId)
end
end
sequenceDiagram
participant WCService as WalletConnect Service
participant TxData as Transaction Data
WCService->>TxData: Check if transaction.value exists
alt value is present
WCService->>WCService: Format and assign transaction.value
else
WCService->>WCService: Assign default value '0'
end
Note over WCService: Session request error subtitle updated for timeout and failure cases
Suggested reviewers
Poem
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (4)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (6)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Deploying x with
|
| Latest commit: |
18a9f8d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5cace764.x-e62.pages.dev |
| Branch Preview URL: | https://fix-wallet-connect-qa-fixes.x-e62.pages.dev |
|
|
||
| const userOpChainId = sent?.[0]?.sentBatches[0]?.chainId; | ||
|
|
||
| const chainIdForTxHash = |
There was a problem hiding this comment.
i had to double check this 😂
Description
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Summary by CodeRabbit