-
Notifications
You must be signed in to change notification settings - Fork 39
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
DAPI returns "state transition already in chain" on invalid transactions #2261
Comments
Here is a combination of two problems:
@lklimek @QuantumExplorer I see two solutions for the second problem:
I prefer the second solution. |
@lklimek, do you propose to call Here is the PR for the first problem #2261 |
@lklimek have you deleted your comment? :))) |
Yep, I didn't think you have already seen it. Sorry. I realized check tx is not solution. |
@pshenmic we are working on defining a solution for this problem. I will let you know when we have something. |
The problem is fixed #2270. We still need to switch to new unconfirmed txs filter when dashpay/tenderdash#963 is done |
Expected Behavior
DAPI should return a specific and human readable reason why the transaction was rejected
Current Behavior
When you are broadcast invalid state transition through broadcastStateTransition GRPC query, I always see
state transition already in chain
errorHowever, if you check the transaction with check_tx query of the Tenderdash RPC, we can see that transaction invalid, and the reason why it is failing
Possible Solution
Steps to Reproduce (for bugs)
state transition already
in chain error returns in the responseContext
Your Environment
The text was updated successfully, but these errors were encountered: