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