-
Notifications
You must be signed in to change notification settings - Fork 125
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
accept retracted XtStatus #759
Comments
example commits (no PR because based on old release): |
@brenzi I will have a look at it. |
Yes they would. Happy to submit a PR, but I first wanted to raise the discussion to see if you agree and would merge rhis |
I also gave it some more thought. In general I find the current separation into expected and unexpected status quite arbitrary. Whether they are expected or not depends on the use case and I feel that by making this separation we make a decision that actually the user should take. |
That sounds better than my hack commits |
Ok, I will try to come up with a PR. Still need to do some thinking on how to do this. This change could lead to some very subtle breaks of backward compatibility for clients. |
When we change to |
Retracted tx status means that it had been included in a block which happens to be orphaned on a non-finalized fork.
We saw this happening more frequently recently and actually its not a problem in the usual flow because finality will still happen eventually as the nodes inject retracted into tx pool again automatically.
I'd suggest to accept retracted as a non-error
It may still be worth a warning in the logs
The text was updated successfully, but these errors were encountered: