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

Refactor elcontracts.ELChainWriter.register_as_operator #263

Open
ricomateo opened this issue Jan 31, 2025 · 0 comments
Open

Refactor elcontracts.ELChainWriter.register_as_operator #263

ricomateo opened this issue Jan 31, 2025 · 0 comments

Comments

@ricomateo
Copy link
Contributor

The register_as_operator method in the ELChainWriter claims that it registers the operator given by the operator parameter on EigenLayer.

However this method calls the function registerAsOperator from the DelegationManager under the hood, which in fact registers the caller of the function as an operator on EigenLayer.

This can lead to confusion as users might expect the function to register the address given by the operator parameter and not the caller of the transaction.

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

No branches or pull requests

1 participant