Open lorenzb opened 6 years ago
Well, according to the solidity documentation,
"Catching exceptions is not yet possible."
so maybe that influences this decision, personally I think reverting is saner, but if the EVM doesn't support catching exceptions then that leaves a developer with no real way of doing anything other than bubbling up and reverting as well, if a MPP fails
Agreed, let's revert.
We could handle exceptions with a low-level solidity "exception handler" that catches reverts and returns invalid
instead.
On receiving an invalid proof, the
ProvethVerifier
contract currently:It should be either one or the other.