Skip to content

Tests for op-revm #2189

@rakita

Description

@rakita

Compared to Ethereum, op does not have statetest that we can use, and op-revm lacks testing vectors.

As op-revm rely on most of the Ethereum logic we should test just the difference, the tests should set up the tx, block and database and test for expected output be that error, gas or returned account balance.

List of things that require more tests:

  • Tx calling precompile, If precompiles are properly activated or deactivated on every Op fork
  • Deposit transaction call:
    • When successful
    • When it failed
    • When it is system tx.
    • check all cases when we have a change in logic inside op handler.
  • Multi transaction calls. If l1block and enveloped bytes get cleaned up. On both error and successful calls.
  • Does inspector works. Simple call when steps are called.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions