Are state changes reversed if the contract "crashes" during execution?
I know that state changes are reversed, if the contract runs out of gas during execution.
However, are state changes also reversed if the contract crashes by execution an invalid instruction?
If the contract chrashes, how much gas is consumed? The gasLimit or gas consumed up until that point?