fedimint / fedimint

Federated E-Cash Mint
https://fedimint.org/
MIT License
530 stars 209 forks source link

Test if hodl invoices work #5072

Open elsirion opened 1 week ago

elsirion commented 1 week ago

It was mentioned that the problem was likely HODL-invoice related. There might have been a regression since apparently we implemented support in #3615, needs further investigation.

Originally posted by @elsirion in https://github.com/fedimint/fedimint/issues/4943#issuecomment-2066274894

TonyGiorgio commented 1 week ago

We had a couple mutiny wallets freeze up on startup, related to a HODL invoice that didn't complete. For all the users that reported making one of these payments, after a few days, their wallet was usable again.

Unfortunately the freeze up doesn't allow them to pull logs from it and my reproduction efforts have failed. So I still need to dig into how this is happening.

m1sterc001guy commented 1 week ago

We have some testing for this currently in devimint: https://github.com/fedimint/fedimint/blob/4cdf7df22035da7fbccd5c5f55cac1d34f59878c/devimint/src/tests.rs#L864

I haven't seen issues with the recently so we'll need to dig a little closer.