View Issue Details

IDProjectCategoryView StatusLast Update
0009861Talerexchangepublic2025-05-10 02:10
ReporterFlorian Dold Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version1.0Fixed in Version1.0 
Summary0009861: exchange does not report (balance) limits in /kyc-check response
DescriptionI noticed this because subsequent balance thresholds don't work properly with the wallet, as the wallet takes those from the limits.

Upon further investigation, it seems like /kyc-check doesn't return any limits, even when they're clearly exposed.
Steps To Reproducetaler-harness run-integrationtests kyc-decisions

This test doesn't use balance thresholds, but it makes a /kyc-check request, and it seems despite a KYC decision (with exposed rules!), the limits in the response are empty.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2025-05-04 23:42

manager   ~0024769

Eh, the only POST to /decision I see sets a *DEPOSIT* and *WITHDRAW* limit, not a BALANCE limit. Note that for *wallets* we never report DEPOST/WITHDRAW limits, as they only apply for *accounts*. Sure, we might (in the future) 400 on such (bad) decisions (with rules that simply don't apply to the account type), but that's another story. Note that by POSTing the decision, you ALSO override any default BALANCE limits that might have applied. Oh, and the test *passes*.

Florian Dold

2025-05-05 10:24

manager   ~0024771

The following commit also adds a BALANCE limit in the same decision. The exchange still returns an empty limits list.

commit 2d1d55b4fab14a3f4590794eb04bfedc1b3ac32a (HEAD -> master, origin/master, origin/HEAD)
Author: Florian Dold <florian@dold.me>
Date: Mon May 5 12:23:56 2025 +0200

    harness: also add BALANCE rule in kyc-decisions test

Christian Grothoff

2025-05-05 19:01

manager   ~0024786

Fix committed to master branch.

Christian Grothoff

2025-05-05 19:02

manager   ~0024787

Fixed in 7456ab2b9..4e8373945

Issue History

Date ModifiedUsernameFieldChange
2025-05-03 23:14Florian DoldNew Issue
2025-05-04 23:34Christian GrothoffStatusnew => implementing
2025-05-04 23:34Christian GrothoffProduct Version => git (master)
2025-05-04 23:42Christian GrothoffNote Added: 0024769
2025-05-04 23:42Christian GrothoffAssigned To => Florian Dold
2025-05-04 23:42Christian GrothoffStatusimplementing => feedback
2025-05-05 10:24Florian DoldNote Added: 0024771
2025-05-05 10:24Florian DoldAssigned ToFlorian Dold => Christian Grothoff
2025-05-05 10:24Florian DoldStatusfeedback => assigned
2025-05-05 19:01Christian Grothoff
2025-05-05 19:01Christian GrothoffNote Added: 0024786
2025-05-05 19:01Christian GrothoffStatusassigned => informing
2025-05-05 19:01Christian GrothoffResolutionopen => fixed
2025-05-05 19:02Christian GrothoffNote Added: 0024787
2025-05-05 19:02Christian GrothoffFixed in Version => 1.0
2025-05-05 19:02Christian GrothoffTarget Version1.0 stretch goals => 1.0
2025-05-10 02:10Christian GrothoffStatusinforming => closed