-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add more detail on error Log #714
Comments
Hi @steven1227, there is an limit in which we can provide information, because we try to make the Verification process as quick as possible. I believe that we could improve the Policy Filter logs, providing more details about why it was denied (in terms of fees and size). |
@vncoelho |
@steven1227, I believe that the best way would be to manually insert more notifications. But @igormcoelho and @shargon might give us more ideas. |
For the future, I believe that the Ecosystem will have other types of specialized nodes, which is, in our vision, the core of Multi-Agent Systems. In this sense, different entities that use the NEO blockchain might provide such services. |
@vncoelho Yes. Maybe a plugin can be a good solution. Then smart contract developer can get the info by using this plugin with his own nodes. |
I think that this is very important, a lot of time was wasted in known why a transaction fail, is the gas? is the signature? is the format? we need to know the reason in some errors, is not enough with the something like: public bool IsValid(out string error) {} |
Totally agree, detailed error message is so important for dApp or any NEO related development. Currently, projects are constantly asking why their tx is failed. |
@neo-project/core can I move this to the plugins repository? What do you guys think? |
I think that should be here, we need more verbosity in too many sites, like TX verification |
@steven1227 and @neo-project/core I will close this in favor of this plugin. |
* pr neo-project#712 sync * 2.7.4 sendmany fix
Currently, the error log throw by the RPC node is not that detail. It only contains little information such as
block invalidation
. For the smart contract invocation error, this problem becomes more serious as smart contract/Dapp may need to know what is the exact error.Is it possible to add a more detailed log into the system when calling the RPC method and in the response body when invoking smart contract?
The text was updated successfully, but these errors were encountered: