You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2022. It is now read-only.
Trying to bridge DAI from Ethereum mainnet to EVMOS after bridging USDT and USDC successfully. After the approval tx, the actual bridging send call errored due to not having enough DAI balance.
Of course, I did have enough DAI balance — I used the "max" button on the bridge form. Unfortunately, my DAI balance had a full 18 decimals, and the amount in the tx request the dApp build had rounded those up.
I'd suggest the value of the input in the bridge dApp never be kept as a number, instead keeping it as a string, then either a BigNumber or bigint, depending on what the dApp uses internally/
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to bridge DAI from Ethereum mainnet to EVMOS after bridging USDT and USDC successfully. After the approval tx, the actual bridging
send
call errored due to not having enough DAI balance.Of course, I did have enough DAI balance — I used the "max" button on the bridge form. Unfortunately, my DAI balance had a full 18 decimals, and the amount in the tx request the dApp build had rounded those up.
I'd suggest the value of the input in the bridge dApp never be kept as a number, instead keeping it as a string, then either a
BigNumber
orbigint
, depending on what the dApp uses internally/The text was updated successfully, but these errors were encountered: