Closed otsalex closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
sommelier-web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 28, 2024 4:23pm |
This change updates the useBridgeEthToSommTx
function by importing the bytesToHex
function from "viem" to convert byte data to hexadecimal format. It also modifies the status checking logic to compare directly against the string "success". These adjustments streamline the data format used in transactions and enhance the clarity of status verifications.
File Path | Change Summary |
---|---|
src/hooks/web3/useBridgeEthToSommTx.tsx |
Import bytesToHex , convert byte data to hex before sending to sendToCosmos , check status against "success" |
In bytes and hex, we find the way,
To bridge the tokens, bright and gay.
Success we seek, a status clear,
With changes done, no need to fear.
Sommelier now flows with ease,
Across the blockchain, as we please. 🚀✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Fixes #
Description
Describe big picture changes here. This will give viewers context for the changes.
Changes
List any technical changes.
Screenshots (if appropriate):
Testing Steps
As a reviewer, what steps should I take to verify this is working correctly?
Links
Add links to Figma files, documentation, etc.
Summary by CodeRabbit