-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latency test can fail in a weird way High level transaction error: The transaction's signature is invalid
#1708
Comments
@okjodom We've chatted about this on Discord, so just letting you know. |
I saw this once before on a live federation when many clients were connected at the same time. So it does seem related to load ... |
We need to log the transaction somewhere if this happens so we have a chance at debugging this. I just took a stab at doing so in the client but we don't have all the pub keys there since LN inputs don't contain their pub key again. So server side it is probably (just dump the whole hex tx, should make sure it's not cut short by @dpc's recent fixes to make logs more readable 😆). |
@dpc We can close this? |
I wasn't able to reproduce and haven't seen it for a while now, so let's close. |
Do you remember the PR where you could repro it quite often @dpc? Would be good to document and get back to. We don't understand what caused it and that worries me. |
If I'm correct, then it possibly it might be worthwhile to check in fedimintd if a tx isn't trying to refund a valid tx, just to return a better error? |
Any PR before #1798 will do. Some kind of a artificial sleep delaying epochs generating contract decryption shares will make the gateway hit it reliably. The load / slower machine made the problem happen more often, as it's all about gateway racing federation. |
If you run
nix build -L .#cli-test.latency
it will sometimes fail with:The problem seems timing / load triggered. Seems like making things slower (run
cargo build --release
in the meantime or something) makes it more likely to happen.The text was updated successfully, but these errors were encountered: