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

Partial Set Security: Opting in with provider key fails #1813

Open
p-offtermatt opened this issue Apr 23, 2024 · 0 comments
Open

Partial Set Security: Opting in with provider key fails #1813

p-offtermatt opened this issue Apr 23, 2024 · 0 comments
Labels
scope: cli Issues directly related to CLI code, rather than the main protocol logic. scope: provider Issues related to the provider chain source: devnet To indicate an issue surfaced in a devnet. type: bug Issues that need priority attention -- something isn't working

Comments

@p-offtermatt
Copy link
Contributor

Problem

Surfaced by a validator on the devnet:

When i tried to join with my provider's key, i got following error in the tx once it got included on chain:

failed to execute message; message index: 0: a validator cannot assign the
  default key assignment unless its key on that consumer has already been assigned:
  cannot re-assign default key assignment

Opting in with a different key works. Also you can assign a provider's key after validator has already opted in.

This happens because we are reusing the key assignment logic.
We should change this to allow simply providing the provider key explicitly, and also taking it as the default if no key is given;
or we should at least make sure we have good documentation on this.

Closing Criteria

We have addressed the issue by fixing the behaviour in question; or we have decided that it is not a problem.

@p-offtermatt p-offtermatt added type: bug Issues that need priority attention -- something isn't working scope: provider Issues related to the provider chain source: devnet To indicate an issue surfaced in a devnet. scope: cli Issues directly related to CLI code, rather than the main protocol logic. labels Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: cli Issues directly related to CLI code, rather than the main protocol logic. scope: provider Issues related to the provider chain source: devnet To indicate an issue surfaced in a devnet. type: bug Issues that need priority attention -- something isn't working
Projects
Status: 📥 F2: Todo
Development

No branches or pull requests

1 participant