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 error
However, 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)
- Create invalid transaction (for example change nonce)
- Try to broadcast it via GRPC broadcastStateTransition
state transition already in chain error returns in the response
Context
Your Environment
- Version used:
- Environment name and version (e.g. Chrome 39, node.js 5.4):
- Operating System and version (desktop, server, or mobile):
- Link to your project:
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 chainerrorHowever, 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 alreadyin chain error returns in the responseContext
Your Environment