Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Identity (dataCopy) precompile #1628

Conversation

darth-cy
Copy link
Contributor

Description

This is a follow-up PR for PR#1396 from @roynalnaruto. After merging in 1396's changes to a fresh fork, the branch is compared with Scroll's develop head to incorporate latest patterns on precompile-related development.

Issue Link

Aggregating precompile issue 924

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Design choices

See documentation

Copy link
Collaborator

@ChihChengLiang ChihChengLiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First round of review.

bus-mapping/src/circuit_input_builder/input_state_ref.rs Outdated Show resolved Hide resolved
bus-mapping/src/circuit_input_builder/input_state_ref.rs Outdated Show resolved Hide resolved
bus-mapping/src/circuit_input_builder/input_state_ref.rs Outdated Show resolved Hide resolved
bus-mapping/src/circuit_input_builder/input_state_ref.rs Outdated Show resolved Hide resolved
bus-mapping/src/circuit_input_builder/input_state_ref.rs Outdated Show resolved Hide resolved
bus-mapping/src/circuit_input_builder/input_state_ref.rs Outdated Show resolved Hide resolved
bus-mapping/src/error.rs Outdated Show resolved Hide resolved
bus-mapping/src/evm/opcodes/callop.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@ChihChengLiang ChihChengLiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Second round of review.
This should be my final round. The PR is mergeable after all the feedback is addressed.

bus-mapping/src/evm/opcodes/callop.rs Outdated Show resolved Hide resolved
bus-mapping/src/evm/opcodes/callop.rs Outdated Show resolved Hide resolved
bus-mapping/src/precompile.rs Show resolved Hide resolved
bus-mapping/src/precompile.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@ChihChengLiang ChihChengLiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for adding the Identity precompile feature

@ChihChengLiang ChihChengLiang added this pull request to the merge queue Dec 12, 2023
@lispc
Copy link
Collaborator

lispc commented Dec 12, 2023

Great!

Merged via the queue into privacy-scaling-explorations:main with commit fe9beeb Dec 12, 2023
13 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
crate-bus-mapping Issues related to the bus-mapping workspace member crate-eth-types Issues related to the eth-types workspace member crate-zkevm-circuits Issues related to the zkevm-circuits workspace member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants