Open lorenzogentile404 opened 3 days ago
The main point being: we want tests with failing transactions, we don't expect our tests to produce successful transactions. Thus using the DEFAULT_VALIDATOR
seems out of place given that it asserts the transaction is successful.
In order to deal with the issue https://github.com/Consensys/linea-tracer/issues/1460, we had to change the following in
ToyExecutionEnvironmentV2
:The reason is that DEFAULT_VALIDATOR asserts that the transaction is successful, indeed:
However, in some tests we intentionally create failing transactions. @gauravahuja does it make sense to you too?