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
Crashing hydra-node #1193
Comments
Could reproduce this by doing a fanout of multiple nodes in one of our e2e test modified hydra-cluster/test/Test/EndToEndSpec.hs
@@ -225,8 +225,11 @@ spec = around (showLogsOnFailure "EndToEndSpec") $
waitFor hydraTracer (remainingTime + 3) [n1] $
output "ReadyToFanout" ["headId" .= headId]
- send n1 $ input "Fanout" []
- waitFor hydraTracer 3 [n1] $
+ -- TODO: revert or explain
+ race_
+ (send n1 $ input "Fanout" [])
+ (send n2 $ input "Fanout" [])
+ waitFor hydraTracer 3 [n1, n2] $ However, the error seems to be coming from the decoder used by the The Those are quite expected as the same inputs would be used by alternatively constructed I think this just comes from the fact that the |
Could you reproduce using an older hydra-node version that's on the same cardano-ledger-alonzo version? |
Not sure where to go from here. I do think this has been around already for a while and we should focus on using the same ledger versions as the node when targeting |
Not sure I was clear in my comment, I was wondering whether or not the issue crops up if one runs a hydra-node using same ledger as cardano-node, eg. if you've been able to confirm your hypothesis which totally makes sense and seems highly likely to be right :) |
Looking at cardano-node@8.1.2 and cardano-api@8.2.0.0 constraints I don't see any upper bound on cardano-ledger-alonzo so I guess this would be unexpected? |
Context & versions
Steps to reproduce
{ "tag": "Fanout" }
from both nodesActual behavior
Expectedly both nodes would try to submit a
fanoutTx
and only one succeeds. However, bob's node (in my case) received a submission error and crashed with:It might have been this block: https://preprod.cexplorer.io/block/15835403dc12390589a8260c391fec4ebbe147f83c947bb30389ca5d6a7fca1f
Expected behavior
The node should not crash and even ignore the false-positive (as the fanout transition worked using a different nodes' transaction)
The text was updated successfully, but these errors were encountered: