-
Notifications
You must be signed in to change notification settings - Fork 1
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
Investigate invalid tx validation panics #124
Comments
The culprit is line 91 in This is within a macro and I guess there's no other way for the code to emit a helpful error message when this fails. After expanding the macro, it is seen that these panics are in a function called Thus, I think every node operator needs to recompile their node with |
Some more proof that the explicit panic is here to stay:
|
The panic flag was changed from According to the book using |
In #123 , runtime version 103 was built with |
Description
Upon submitting an invalid transaction to the pool, the tx pool api panics upon validation with
It seems that this is a completely normal phenomenon
Nevertheless, since all nodes were compiled with
any node that receives an invalid transaction will crash.
Solution
Should check whether it's possible to solve this via a runtime upgrade. However, this seems to be so deeply ingrained (behind substrate macros) in the code that it probably cannot be changed without forking and modifying some substrate dependencies. The other option is to recompile all nodes with
panic = "unwind"
and restart the chain.The text was updated successfully, but these errors were encountered: