This makes the pcall and xpcall rollback the contract state (state variables, nonce, balance, sql db) when the called function fails
The PR is built on top of #199 and it is made to be merged into it first, if approved
It is made into a separate PR in order to discuss if this is a bug-fix, what is the expected behavior of these functions, and if backwards compatibility is required
This makes the
pcall
andxpcall
rollback the contract state (state variables, nonce, balance, sql db) when the called function failsThe PR is built on top of #199 and it is made to be merged into it first, if approved
It is made into a separate PR in order to discuss if this is a bug-fix, what is the expected behavior of these functions, and if backwards compatibility is required