-
Notifications
You must be signed in to change notification settings - Fork 330
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
Permissioned operator churn #118
Conversation
/// @notice the address of the entity allowed to sign off on operators getting kicked out of the AVS during registration | ||
address public churner; | ||
/// @notice the nonce of the churner used in EIP-712 signatures | ||
uint256 public churnerNonce; |
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.
for naming: the description suggests that this entity is really a churnApprover
or similar.
am also thinking that 'salts' may make more sense than nonces here, but we can debate a bit -- the intended usage is important to consider
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.
Changed to churn approver, would prefer to keep the nonce logic for now since we expect this to not have many race conditions
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.
agreed offline that salt is more flexible here / nonce is not needed
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.
added
// set the churner | ||
churner = _churner; |
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.
should presumably have an event associated to this
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.
added
Gave some quick input on this PR. @gpsanant can you provide a brief summary of test changes / updates here? |
Added churner role and tests for it
Tests summary/updates: