-
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 oracle InsufficientFunds code #2037
Add oracle InsufficientFunds code #2037
Conversation
If the fund is insufficient, the contract will fail to execute, right? |
Yes, but it'll still be packaged in block. |
If the request transaction failed to execute, there is no request be stored. Then this |
The response transaction maybe be insufficientfund, like the data returned exceeds the size limit. |
That should be |
I think we need both, as the data may also exceed the current fee limit. |
Ready to merge? |
Should we add
|
Yes, it should be added. |
* add InsufficientFunds code * add ResponseTooLarge * Update OracleResponseCode.cs * Change values Co-authored-by: Tommo-L <luchuan@neo.org> Co-authored-by: Shargon <shargon@gmail.com> Co-authored-by: Erik Zhang <erik@neo.org>
* add InsufficientFunds code * add ResponseTooLarge * Update OracleResponseCode.cs * Change values Co-authored-by: Tommo-L <luchuan@neo.org> Co-authored-by: Shargon <shargon@gmail.com> Co-authored-by: Erik Zhang <erik@neo.org>
it's used by neo-project/neo-modules#326