Skip to content

Scroll supports additional Ethereum precompiles not marked as supported in RollupCodes docs #173

Description

@Mart1i1n

Hi,

I was reviewing the precompile support matrix in RollupCodes and noticed that Scroll appears to be marked as not supporting several EVM precompiles that are actually implemented in its current execution layer.

Specifically, according to Scroll’s execution implementation in scroll-revm, the following precompiles are included in the runtime precompile set:

  • ECRECOVER
  • SHA256
  • RIPEMD160
  • IDENTITY
  • MODEXP
  • BN254_ADD
  • BN254_MUL
  • BN254_PAIRING
  • BLAKE2F
  • P256VERIFY

You can verify this in Scroll’s modified revm implementation:

https://github.com/scroll-tech/scroll-revm/blob/main/src/precompile/mod.rs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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