Concordium / concordium-misc-tools

A collection of small tools with a well-defined purpose
Apache License 2.0
4 stars 6 forks source link

Wallet-test-bench- frontend goes blank after signature was declined by CryptoX-iOS wallet #135

Open mh-concordium opened 6 months ago

mh-concordium commented 6 months ago

Bug Description After message was prompted in the wallet. User declines and that crashes the frontend. I have tried with other wallets but couldn't reproduce while with CryptoX-iOS is consistent.

Steps to Reproduce

  1. Use CyptoX-iOS wallet.
  2. Connect with wallet connect.
  3. Testing simple input parameters - Set u8 value
  4. User is asked to sign the transaction
  5. User selects decline.

Expected Result Frontend should not crash.

Actual Result

Page goes blank.

react-dom.production.min.js:189 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bmessage%2C%20code%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at cD (react-dom.production.min.js:152:60)
    at o (react-dom.production.min.js:156:186)
    at c (react-dom.production.min.js:158:331)
    at M (react-dom.production.min.js:162:334)
    at GC (react-dom.production.min.js:192:308)
    at JJ (react-dom.production.min.js:294:9)
    at pJ (react-dom.production.min.js:280:389)
    at Wv (react-dom.production.min.js:280:320)
    at $D (react-dom.production.min.js:280:180)
    at N0 (react-dom.production.min.js:271:88)
e0 @ react-dom.production.min.js:189
C.callback @ react-dom.production.min.js:189
aF @ react-dom.production.min.js:144
FF @ react-dom.production.min.js:262
lJ @ react-dom.production.min.js:260
Ov @ react-dom.production.min.js:259
Zv @ react-dom.production.min.js:283
Ai @ react-dom.production.min.js:281
yJ @ react-dom.production.min.js:269
QN @ scheduler.production.min.js:13
AN @ scheduler.production.min.js:14
react-dom.production.min.js:152 Uncaught Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bmessage%2C%20code%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at cD (react-dom.production.min.js:152:60)
    at o (react-dom.production.min.js:156:186)
    at c (react-dom.production.min.js:158:331)
    at M (react-dom.production.min.js:162:334)
    at GC (react-dom.production.min.js:192:308)
    at JJ (react-dom.production.min.js:294:9)
    at pJ (react-dom.production.min.js:280:389)
    at Wv (react-dom.production.min.js:280:320)
    at $D (react-dom.production.min.js:280:180)
    at N0 (react-dom.production.min.js:271:88)

Versions