-
Notifications
You must be signed in to change notification settings - Fork 275
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 Metadata._get_role_and_keys() #2272
Comments
FYI, I also changed this method in #2246 to get keys and threshold from an explicitly passed I needed this for a common abstraction of |
That leads to the conclusion that metadata is the wrong location to begin with? I think I might agree with that: Targets and Root objects could both implement a method with the same signature (in effect implementing a hypothetical Delegator Protocol) |
I just tried this and it looks a lot simpler: will fix this in the no-key branch/PR |
closing: this is reviewed as part of #2165 |
EDIT: This relates to code in #2165 -- should likely be fixed in that PR
Looking at
Metadata._get_role_and_keys()
after a while... I did not do a good job of it.Potential improvement:
Something like this
The text was updated successfully, but these errors were encountered: