-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
return (true, hashes[inclusion_data]); | ||
} | ||
|
||
function verify(bytes calldata inclusion_data, bytes32 eigenDAHash) external { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this 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 add it anyway.
There was a problem hiding this 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.
Closed in favor of matter-labs#1405 |
What ❔
This PR adds contracts for eigenda M1
Related to: lambdaclass/zksync-era#411
Why ❔
Checklist