These are chat archives for Nethereum/Nethereum

8th
Aug 2016
Brendan
@brendan87
Aug 08 2016 01:27
Hey Juan - I just thought of something else for contract throws
Is there a way we can check if a function is executed with an exception?
Brendan
@brendan87
Aug 08 2016 04:56
The way chriseth does it in browser-solidity is by checking eth_estimateGas > limit (it returns 5 million gas when a throw is encountered by the look of it)
maybe I'll just use that strategy :)
slothbag
@slothbag
Aug 08 2016 13:00
@brendan87 I generally check to see if all gas that was sent has been used then it probably threw an exception