Skip to content

Commit

Permalink
feat: add a feature of whitelist for /lbm.foundation.v1.MsgWithdrawFr…
Browse files Browse the repository at this point in the history
…omTreasury (#528)

* feat: add grant to proto

* feat: add authorization feature

* feat: update grant releated proto

* feat: add grant revoke handlers to msg server

* feat: add grant to genesis

* feat: apply authorization check onto withdrawfromtreasury

* fix: change auth name

* feat: add grant tx cli

* test: add tests on grant

* fix: replace validator whitelist with grant

* fix: remove validator auth

* feat: add grant query

* style: lint

* docs: update CHANGELOG.md

* docs: update CHANGELOG.md

* fix: make caller to select granter

* style: lint

* docs: apply renames in the docs

* style: proto lint

* fix: move events

* fix: remove deprecated SetBalance

* docs: fix typo

* fix: replace weight of Member into a boolean flag

* style: lint

* docs: update weight related statements

* fix: remove weight related logics

* fix: update grant related events

* chore: comment out the migration handler registration for now

* fix: remove unused specs

* refactor: define own authorization interface

* fix: force a user to revoke the authorization before override it

* style: lint

* fix: shorten the error message

* refactor: restructure x/stakingplus

* refactor: move CreateValidatorAuthorization

* fix: fix grant query

* refactor: use the getter once

* style: lint

* test: increase coverage of msgs.go

* test: increase coverage of genesis

* chore: refine messages

* style: lint

* test: increase coverage of proposal.go
  • Loading branch information
0Tech authored May 20, 2022
1 parent a94c0c9 commit 7c3db3b
Show file tree
Hide file tree
Showing 60 changed files with 6,993 additions and 3,933 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (x/wasm) [\#470](https://github.com/line/lbm-sdk/pull/470) remove contract activation control by actor
* (x/wasm) [\#513](https://github.com/line/lbm-sdk/pull/513) fix message representation for signing
* (x/foundation) [\#518](https://github.com/line/lbm-sdk/pull/518) add foundation treasury feature to x/foundation
* (x/foundation) [\#528](https://github.com/line/lbm-sdk/pull/528) add a feature of whitelist for /lbm.foundation.v1.MsgWithdrawFromTreasury

### Improvements

Expand Down
3 changes: 2 additions & 1 deletion client/docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@
"Proposals": "FoundationProposals",
"Vote": "FoundationVote",
"Votes": "FoundationVotes",
"TallyResult": "FoundationTallyResult"
"TallyResult": "FoundationTallyResult",
"Grants": "FoundationGrants"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

2,741 changes: 1,414 additions & 1,327 deletions client/docs/swagger-ui/swagger.yaml

Large diffs are not rendered by default.

Loading

0 comments on commit 7c3db3b

Please sign in to comment.