View Issue Details

IDProjectCategoryView StatusLast Update
0007318Talerwallet-corepublic2022-11-04 19:52
Reportersebasjm Assigned ToFlorian Dold 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
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0007318: problems creating a transfer after N times using it
Descriptionintegration test in the wallet has been updated to reproduce the step, but seems to be related to the internal state of the wallet db and the configuration of the exchange.

Using the wallet locally, after creating some transfer the wallet start to fail sometime depending of the amount chosen to create the transfer. My guess is that a high amount transfer take more coins and there are some coins that should not be used.

The error I'm getting:

2022-09-02T19:44:32.805Z operations/peer-to-peer.ts INFO resp: {
  "hint": "The respective coin did not have sufficient residual value for the operation. The \"history\" in this response provides the \"residual_value\" of the coin, which may be less than its \"original_value\".",
  "code": 1012,
  "coin_pub": "54EE3XEK69Z3HTS7FBY4J0PNAMWDR6X7E4993EZD2FSW9QCNJYHG",
  "h_denom_pub": "KDZ1E5NM5M8M0NTYVFYQTEA7NGV4WQFZAWG6KWTKPNA75XAA3C1TKMBZGZR8HGHZPGTB3XV42JM2PF2BNG2BFATR0PAJXEJFVWM1W68",
  "history": [
    {
      "type": "PURSE-DEPOSIT",
      "amount": "TESTKUDOS:5.2",
      "exchange_base_url": "http://localhost:8081/",
      "purse_pub": "3NNS0WYV4WZPDPJK2ABP5D8WS0329GN99VZB5ERX052Y35BVY6M0",
      "refunded": false,
      "coin_sig": "ZS4J2D991MQ9J5P4Z7WXBQ25PDT6EYAPJJVKDVMZD6MN5C19KFYMZRPHBVKBRX74YM5S2MFG9PQR4RXY70K6HCW70VTTY54QTE4TR2R"
    }
  ]
}
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2022-09-05 11:54

manager   ~0019086

The wallet didn't properly mark coins as spent in p2p payments. Should be fixed now.

The extra push payment initiation in the integration test (added by Sebastian) should test for this as well.

Issue History

Date ModifiedUsernameFieldChange
2022-09-02 19:47sebasjmNew Issue
2022-09-02 19:47sebasjmStatusnew => assigned
2022-09-02 19:47sebasjmAssigned To => Florian Dold
2022-09-05 11:54Florian DoldStatusassigned => informing
2022-09-05 11:54Florian DoldResolutionopen => fixed
2022-09-05 11:54Florian DoldNote Added: 0019086
2022-10-20 08:47Christian GrothoffFixed in Version => 0.9
2022-10-20 08:48Christian GrothoffTarget Versiongit (master) => 0.9
2022-11-04 19:52Christian GrothoffStatusinforming => closed
2023-04-13 18:36Florian DoldCategorywallet (TS core) => wallet-core