Skip to content
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

fix: avs registrar interface #398

Open
wants to merge 2 commits into
base: test/slashing-release
Choose a base branch
from

Conversation

8sunyuan
Copy link
Collaborator

Updated eigenlayer-contracts submodule commit based on breaking interface change here Layr-Labs/eigenlayer-contracts#1085.

Added avs require checks in registerOperator, deregisterOperator and fixed other affected interfaces.

@0xClandestine 0xClandestine self-requested a review February 12, 2025 15:30
Copy link
Member

@0xClandestine 0xClandestine left a comment

Choose a reason for hiding this comment

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

lgtm

uint32[] memory operatorSetIds,
bytes calldata data
) external override onlyAllocationManager onlyWhenNotPaused(PAUSED_REGISTER_OPERATOR) {
require(avs == accountIdentifier, InvalidAVS());
Copy link
Member

Choose a reason for hiding this comment

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

accountIdentifier name could be improved..

Copy link
Collaborator

Choose a reason for hiding this comment

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

avsIdentifier?

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

Successfully merging this pull request may close these issues.

3 participants