Skip to content

Write V2 contract E2E tests #2554

@lumtis

Description

@lumtis

Describe the Issue

We can reimplement same current test with v2_ prefix
We can also consider doing some renaming since we are reimplementing some test

Regarding the call test, I think we can reuse the current testdapp contract used for ZEVM message passing and adapt it for all test (deposit_and_call, withdraw_and_call, simple_call)

  • v2_gas_deposit

  • v2_gas_deposit_call

  • v2_gas_deposit_call_revert

  • v2_gas_deposit_call_abort

  • v2_gas_withdraw

  • v2_gas_withdraw_call

  • v2_gas_withdraw_call_revert

  • v2_gas_withdraw_call_abort

  • v2_erc20_deposit

  • v2_erc20_deposit_call

  • v2_erc20_deposit_call_revert

  • v2_erc20_deposit_call_abort

  • v2_erc20_withdraw

  • v2_erc20_withdraw_call

  • v2_erc20_withdraw_call_revert

  • v2_erc20_withdraw_call_abort

  • v2_zevm_to_evm_call

  • v2_zevm_to_evm_call_revert

  • v2_zevm_to_evm_call_abort

  • v2_evm_to_zevm_call

  • v2_evm_to_zevm_call_revert (not sure this one is possible given no fee to revert)

  • v2_evm_to_zevm_call_abort

Metadata

Metadata

Assignees

No one assigned

    Labels

    E2EE2E tests related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions