Skip to content

EigenDA M1 - contracts #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 10 commits into from
Closed

Conversation

gianbelinche
Copy link

@gianbelinche gianbelinche commented Mar 28, 2025

What ❔

This PR adds contracts for eigenda M1

Related to: lambdaclass/zksync-era#411

Why ❔

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

return (true, hashes[inclusion_data]);
}

function verify(bytes calldata inclusion_data, bytes32 eigenDAHash) external {

Choose a reason for hiding this comment

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

Shouldn't we restrict this function so only the owner of it can modify the hashes map?

Copy link
Author

Choose a reason for hiding this comment

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

This is a dummy implementation, so the idea is to leave it as simple as possible.
The real Registry should implement that though

Copy link

Choose a reason for hiding this comment

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

I think we should add it anyway.

Copy link

@juanbono juanbono left a comment

Choose a reason for hiding this comment

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

I think we should improve a bit the registry contract to include best practices.

@juanbono juanbono changed the title EigenDA M1 EigenDA M1 - contracts Apr 2, 2025
@gianbelinche
Copy link
Author

Closed in favor of matter-labs#1405

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

Successfully merging this pull request may close these issues.

3 participants