i'm testing my smart contract on remix with local ganache cli, when i try to test case that doesn't satisfy a require on the SC i correctly receive message "transact to Contract.function errored: VM Exception while processing transaction: revert {errorMessage}" and the transaction is not executed.
But when i try to do the same test by running a geth node localy i don't have the same behavior, the transaction is submitted and mined, with status 0x0.
This is tricky because the transaction is made, i spend gas and i can't catch immediately the error, as the require method should be able to do.
Thanks in advance
geth
. If there's no code at the address you're sending to, the transaction will succeed.