keep-network / tbtc-dapp

Deposit BTC and redeem TBTC
http://dapp.test.tbtc.network/
MIT License
33 stars 31 forks source link

Error Redeeming Bond: Step 2/6 - "Number can only safely store up to 53 bits" #245

Closed VVyvrn closed 4 years ago

VVyvrn commented 4 years ago

Description:

Redemption crashes on Step 2/6 while following standard behaviors, throws this message:

Error redeeming bond We’re waiting for you to confirm invoice details in your Wallet.

Number can only safely store up to 53 bits

https://dapp.test.tbtc.network/deposit/0x3cAf685693B3e029e53D9C0e5EfE35691Cb5eE47/redemption

Steps to reproduce the behavior:

1)Go to dapp.test.tbtc.network 2)Click redeem (takes you to dapp.test.tbtc.network/redeem) 3) Click ‘connect to a Wallet’ button, click metamask, login to metamask, click ‘Connect’ in metamask 4) User enters a valid TDT ID in first text box, green checkmark appears 5) User enters a valid BTC address in second text box, green checkmark appears 6) Click Redeem

Expected behavior:

dApp continues to Step 2 without error

Environment details:

OS: macOS, macOS 10.15.5 (19F101) Web Browser: Brave Version 1.10.97 Chromium: 83.0.4103.116 (Official Build) (64-bit) Wallet: Metamask (browser-integrated)

Additional context:

Add any other context about the problem here.

Screenshots

If applicable, add screenshots to help explain your problem and any console log files.

Screen Shot 2020-07-12 at 9 04 11 PM Screen Shot 2020-07-12 at 9 00 42 PM

53Bitx.txt

Shadowfiend commented 4 years ago

Found the issue here, and captured it as keep-network/tbtc.js#57. Closing this issue in favor of that one.