Skip to content

feat(fw,tests): define opcode exit statuses in fw libraries and use them consistently in tests #835

Open
@danceratopz

Description

@danceratopz

The EOF tests added these values to their spec (#834):

LEGACY_CALL_FAILURE = 0
LEGACY_CALL_SUCCESS = 1
EXTCALL_SUCCESS = 0
EXTCALL_REVERT = 1
EXTCALL_FAILURE = 2

which makes the code more readable. It'd be nice to define these somewhere more central and use them consistently across all tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope:fwScope: Framework (evm|tools|forks|pytest)scope:testsScope: Changes EL client test cases in `./tests`type:feattype: Feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions