[go: up one dir, main page]

EVM/Execution: refactor ExecutionOutcome.{reason, new_address, result}

What

Related to #6664 (closed)

Why

We want to replace ExecutionOutcome.{is_success, reason, new_address, result} by an enum as stated in #6664 (closed).

How

We introduce a new enum: ExecutionResult. This enum replaces ExecutionOutcome.{reason, new_address, result}.

Manually testing the MR

In /etherlink/kernel_evm:

make test

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR

Merge request reports

Loading