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

[x/operator] Consensus Key Redundant Storage #296

Open
MaxMustermann2 opened this issue Feb 4, 2025 · 1 comment
Open

[x/operator] Consensus Key Redundant Storage #296

MaxMustermann2 opened this issue Feb 4, 2025 · 1 comment
Assignees

Comments

@MaxMustermann2
Copy link
Contributor

  • Whenever an operator opts into the x/dogfood AVS, their consensus key is recorded in x/operator.
  • They have the right to change the consensus key and replace it with another. Such a transaction can be sent many times within one epoch; the design is structured such that the last active key and the most recent replacement key are retained in x/operator.
  • However, this design does not work if a key is replaced immediately upon opting-in. In such a case, x/operator retains (unnecessarily) the original key and the new (active) key.
@MaxMustermann2 MaxMustermann2 self-assigned this Feb 4, 2025
@MaxMustermann2
Copy link
Contributor Author

The most obvious solution is to have x/dogfood callback x/operator to indicate that a key has been activated. If a key has never been activated, it does not need to be stored. However, that is an additional field added and seems like overkill.

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