status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
304 stars 79 forks source link

Swap - After approving Spending Cap with a keycard the Swap transaction fails #16867

Open virginiabalducci opened 11 hours ago

virginiabalducci commented 11 hours ago

Bug Report

Description

Steps to reproduce

Have a keycard set up for your account

  1. Approve a spending cap for erc20, for example USDT <-> DAI
  2. Sign the approval for spending cap using the keycard
  3. Sign the Swap transaction

Expected behavior

Sign transaction to proceed

Actual behavior

app_20241204_104857.log

keycard - listing readers
keycard - waiting for card
keycard - card found at index 0
keycard - using reader ACS ACR39U ICC Reader
keycard - card protocol T1
ERR 2024-12-04 14:08:46.440Z error                                      topics="wallet-send-module" tid=115527569 file=module.nim:292 err="unexpected error while keycard signing transaction"

https://github.com/user-attachments/assets/f8da8f88-3ec6-4a8b-bc0f-4206b41c3ca8

Additional Information

anastasiyaig commented 11 hours ago

i see that as well

https://github.com/user-attachments/assets/759c66bd-bb6a-4211-bf74-83cdc1a9fe54