In StorageSnapshot::add_trace(), we assume that a transaction succeeded when either a STOP or RETURN opcode has been executed.
We should find out if it is also possible that a transaction succeeds when the last opcode (which could be any that does not cause a revert) is executed.
In
StorageSnapshot::add_trace()
, we assume that a transaction succeeded when either aSTOP
orRETURN
opcode has been executed.We should find out if it is also possible that a transaction succeeds when the last opcode (which could be any that does not cause a revert) is executed.