-
Notifications
You must be signed in to change notification settings - Fork 167
Closed
Labels
scope:fwScope: Framework (evm|tools|forks|pytest)Scope: Framework (evm|tools|forks|pytest)scope:testsScope: Changes EL client test cases in `./tests`Scope: Changes EL client test cases in `./tests`type:bugSomething isn't workingSomething isn't working
Description
Test test_invalid_tx_max_fee_per_blob_gas is passing even when there is an issue in the verification logic as in this commit here: ethereum/go-ethereum@5f39342
The reason is that the state root included in the test is not the same as the one calculated by geth with the faulty verification logic, because the transaction is executed, and t8n, when there is an invalid transaction in the list of transactions, simply skips the execution and outputs an state root as if the transaction was never executed, but this will almost never be the case if there is a faulty verification, and therefore the block will be still rejected, and the test will pass and won't detect the issue.
There are multiple things that we can do to improve this:
- Better check the error that the client returns when the blockchain test is executed, and verify that the client detected the invalid transaction
- Include the test type
TransactionTest
inexecution-spec-tests
for this kind of tests, and alsoStateTest
Metadata
Metadata
Assignees
Labels
scope:fwScope: Framework (evm|tools|forks|pytest)Scope: Framework (evm|tools|forks|pytest)scope:testsScope: Changes EL client test cases in `./tests`Scope: Changes EL client test cases in `./tests`type:bugSomething isn't workingSomething isn't working