-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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/authz: audit updates #9042
x/authz: audit updates #9042
Conversation
440b569
to
0c70953
Compare
0c70953
to
1b1c316
Compare
1b1c316
to
3876db2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a first quick scan, nice work 👍 , I love the changes:
- method/message names are shorter in proto files
- merge the 2 grpc queries in one
- better keeper methods
I think there will be some conflicts with #9139
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, pre-approving pending conflicts
I prefer to fix conflicts once after having second approval. Let's wrap it and close it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still a couple things to clean up but pre-approving
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also add some changelog to the authz ADR and update it according to these changes?
Co-authored-by: Aaron Craelius <[email protected]>
Authz is new in 0.43, so we shouldn't put changes for not released things in a Changelog. |
Yes, doing it in a separate PR: #9270 |
I meant the changelog at the beginning of the ADR (not the general changelog file) |
There are failing simulations and tests. Can you check this @robert-zaremba ? |
This should be easy I guess:
|
i noticed this comment wasn't updated to reflect one of the changes in this PR when merging into my working branch - just a heads up |
Thanks @technicallyty - I will update the comment int #9270 |
* x/authz: audit updates * audit with Aaron * authz: Update Authorization.Accept method * authz: add event proto definitions * update query service * authz: use typed events * refactore and rename query authorizations * remve Authorization infix from proto services * renames wip * refactoring * update tests * fix compilation * fixing gRPC query tests * fix simulation tests * few renames * more refactore * add missing file * moving export genesis to keeper * Update docs * update tests * rename event Msg attribute to MsgTypeURL * Upate Authorization interface * rollback Makefile changes * fix tests * Apply suggestions from code review Co-authored-by: Aaron Craelius <[email protected]> * renames * refactore authz/exported * lint fix * authz/types refactore * comment update * conflict updates * Apply suggestions from code review Co-authored-by: Amaury <[email protected]> * authz: move storage keys to keeper * review updates * docs update * Update x/authz/client/cli/query.go Co-authored-by: Aaron Craelius <[email protected]> * move codec to the root package * authz CMD info update * comment update * update imports and build flags * fix functional tests * update proto comment * fix tests * fix test Co-authored-by: Aaron Craelius <[email protected]> Co-authored-by: Amaury <[email protected]>
Description
Suggestions and updates related to x/authz internal audit.
ref: #9114
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes