Skip to content

Add more coverage/parametrizations to with_all_call_opcodes and with_all_precompiles #1429

Open
@marioevz

Description

@marioevz

The with_all_call_opcodes marker should also include a parametrization using a sentinel value to signal that the scenario where the tx.to is used (as opposed to a CALL, EXTCALL, etc, from another contract) should be tested.

If for some reason, the test cannot be adapted, the selector can be used to skip this parameter, but a valid reason to do so must be provided.

Also with_all_precompiles marker should be extended to allow adding new arguments:

  • precompile_data: Must contain a valid input to the precompile.
  • precompile_gas Must contain the gas that is required to successfully execute the precompile with the given data.

Metadata

Metadata

Assignees

No one assigned

    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