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.ChainWriter.RegisterAsOperator #499

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

refactor: elcontracts.ChainWriter.RegisterAsOperator #499

ricomateo opened this issue Jan 31, 2025 · 0 comments

Comments

@ricomateo
Copy link
Contributor

The RegisterAsOperator method in the elcontracts.ChainWriter receives an operator parameter which suggests that this is the operator being registered.

However this method calls the function registerAsOperator from the DelegationManager, which registers the caller of the function (not the operator parameter) 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