Skip to content

EVM/Exec: split precompile contracts

Rodi-Can Bozman requested to merge rodi@functori@evm-split-precompiles into master

Context

Part. of #6886 (closed).

I've tried to follow the same dir./file scheme as other big repo. such as revm or sputnik.

$ ls etherlink/kernel_evm/evm_execution/src
abi.rs  access_record.rs  account_storage.rs  handler.rs  lib.rs  precompiles  storage.rs  tick_model_opcodes.rs  transaction.rs  utilities.rs

$ ls etherlink/kernel_evm/evm_execution/src/precompiles
blake2.rs  ecdsa.rs  hash.rs  identity.rs  modexp.rs  mod.rs  withdrawal.rs  zero_knowledge.rs

No implementation was changed. This is purely refactorisation in the sense of moving code/files around and nothing more.

Manually testing the MR

CI

The evm compatibility job will attest that no semantic was altered.

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
Edited by Rodi-Can Bozman

Merge request reports