View Issue Details

IDProjectCategoryView StatusLast Update
0007318Talerwallet-corepublic2022-11-04 20:52
Reportersebasjm Assigned ToFlorian Dold  
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.

Activities

Florian Dold

2022-09-05 13: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 Modified Username Field Change
2022-09-02 21:47 sebasjm New Issue
2022-09-02 21:47 sebasjm Status new => assigned
2022-09-02 21:47 sebasjm Assigned To => Florian Dold
2022-09-05 13:54 Florian Dold Status assigned => resolved
2022-09-05 13:54 Florian Dold Resolution open => fixed
2022-09-05 13:54 Florian Dold Note Added: 0019086
2022-10-20 10:47 Christian Grothoff Fixed in Version => 0.9
2022-10-20 10:48 Christian Grothoff Target Version git (master) => 0.9
2022-11-04 20:52 Christian Grothoff Status resolved => closed
2023-04-13 20:36 Florian Dold Category wallet (TS core) => wallet-core