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 #1085

Open
wants to merge 1 commit into
base: slashing-magnitudes-fixes
Choose a base branch
from

Conversation

8sunyuan
Copy link
Collaborator

Motivation:

Currently there is no way for an AVS implementing these callback functions of the IAVSRegistrar.sol to verify that the operatorSetIds belong to their operatorSets. This is because AVSRegistrar configuration does not have uniqueness and implementing uniqueness in the AllocationManager is not feasible due to frontrunning DOS vectors for existing AVSs.

Modifications:

IAVSRegistrar.sol interface

Result:

  • Allowing AVSs to verify the correct operatorSet is being passed into their register/deregister callback functions and whether or not to proceed with the Operator action.
  • Downstream breaking interface changes for AVSs

@8sunyuan 8sunyuan changed the base branch from dev to slashing-magnitudes-fixes February 11, 2025 23:01
@ypatil12
Copy link
Collaborator

ypatil12 commented Feb 12, 2025

LGTM - needs to pass CI + tests though. Is there a MW PR too?

@ypatil12 ypatil12 changed the title Fix/avs registrar interface fix: avs registrar interface Feb 12, 2025
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.

2 participants