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

feat(x/authz): Add MsgRevokeAll #20161

Merged
merged 22 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
9c87da2
feat: proto definition for msg revoke all
kien6034 Apr 23, 2024
c4f9369
feat/authz/msgserver: add revoke all msg
kien6034 Apr 23, 2024
13bee1e
docs: add todo for delete all grants
kien6034 Apr 23, 2024
6083cba
add IterateGranterGrants and update basic keeper test
tuantran1702 Apr 24, 2024
417956b
add check when revoke nothing
tuantran1702 Apr 24, 2024
70a2220
Merge pull request #1 from notional-labs/tuan/authz-msg-revoke-all
kien6034 Apr 24, 2024
8845c44
docs: add new feature to authz changelog
kien6034 Apr 24, 2024
6cafbdd
chore: save changelog without formatting
kien6034 Apr 24, 2024
e3dd404
style: fix typo changelog
kien6034 Apr 24, 2024
52ebbdf
Merge branch 'main' into feat/authz-msg-revoke-all
kien6034 Apr 24, 2024
1ed952d
docs: add MsgRevokeAll
hoanguyenkh Apr 24, 2024
dd08c22
Merge pull request #2 from hoanguyenkh/authz/docs
kien6034 Apr 24, 2024
226ce4c
perf: add message addin option
kien6034 Apr 25, 2024
cbfc8c9
feat: update msg added in to 0.51
kien6034 Apr 25, 2024
d5d4ec2
feat: add auto cli method
kien6034 Apr 25, 2024
e20d326
Merge branch 'main' into feat/authz-msg-revoke-all
kien6034 Apr 25, 2024
78386da
improve DeleteAllGrants
hoanguyenkh Apr 25, 2024
754bab8
refactor
hoanguyenkh Apr 25, 2024
a18bd72
Merge pull request #3 from hoanguyenkh/authz/improve
kien6034 Apr 25, 2024
04edc3c
Merge branch 'main' into feat/authz-msg-revoke-all
kien6034 Apr 25, 2024
0244888
perf: use byte array for grant's keys
kien6034 Apr 26, 2024
549b64b
Merge branch 'main' into feat/authz-msg-revoke-all
kien6034 Apr 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
602 changes: 577 additions & 25 deletions api/cosmos/authz/v1beta1/event.pulsar.go

Large diffs are not rendered by default.

1,023 changes: 952 additions & 71 deletions api/cosmos/authz/v1beta1/tx.pulsar.go

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions api/cosmos/authz/v1beta1/tx_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions x/authz/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
### Features

* [#18737](https://github.com/cosmos/cosmos-sdk/pull/18737) Added a limit of 200 grants pruned per `BeginBlock` and the `PruneExpiredGrants` message that prunes 75 expired grants on every run.
* [#20161](https://github.com/cosmos/cosmos-sdk/pull/20161) Added `RevokeAll` method to revoke all grants at once.

### API Breaking Changes

Expand Down
245 changes: 236 additions & 9 deletions x/authz/event.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading