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: add a feature of whitelist for /lbm.foundation.v1.MsgWithdrawFromTreasury #528

Merged
merged 132 commits into from
May 20, 2022
Merged
Show file tree
Hide file tree
Changes from 122 commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
08ab095
refactor: update protos
0Tech Mar 31, 2022
fb4d5b8
refactor: move expected_keepers.go
0Tech Mar 31, 2022
f7087fc
refactor: move keys.go
0Tech Mar 31, 2022
2536b65
refactor: move module.go
0Tech Mar 31, 2022
be749db
refactor: move genesis.go
0Tech Mar 31, 2022
22448b6
refactor: move codec.go
0Tech Mar 31, 2022
5f8becc
refactor: move proposal.go
0Tech Mar 31, 2022
d177bcc
refactor: remove folder `types`
0Tech Mar 31, 2022
13b4379
refactor: move proposal.go
0Tech Mar 31, 2022
dc59790
refactor: update grpc_query.go
0Tech Mar 31, 2022
43924b6
refactor: remove legacy querier.go
0Tech Mar 31, 2022
41f3d43
refactor: apply package rename on x/consortium
0Tech Mar 31, 2022
ad5db95
refactor: apply package rename on x/stakingplus
0Tech Mar 31, 2022
c8c42ca
refactor: apply package rename on app
0Tech Mar 31, 2022
ee0b39e
docs: update CHANGELOG.md
0Tech Mar 31, 2022
003ba25
fix: remove unused function
0Tech Mar 31, 2022
fb253ea
refactor: refactor handler
0Tech Mar 31, 2022
a4872a1
refactor: remove unused function
0Tech Apr 4, 2022
15f6bbc
Merge branch 'main' into consortium
0Tech Apr 4, 2022
8a28cbc
Merge branch 'main' into work
0Tech Apr 28, 2022
a12ba38
fix: change module name from consortium to foundation
0Tech Apr 8, 2022
6b50eb0
feat: add treasury to x/foundation
0Tech Apr 8, 2022
3bdae58
feat: add query and msg servers for treasury
0Tech Apr 8, 2022
c958740
feat: implement proposal
0Tech Apr 18, 2022
fd8ada3
feat: register msgs
0Tech Apr 18, 2022
5032518
feat: add cli cmd
0Tech Apr 18, 2022
ade62be
feat: add beginblock to module
0Tech Apr 18, 2022
fe7d305
feat: set default foundation tax to 0.2
0Tech Apr 18, 2022
a3025dc
fix: use decision policy interface
0Tech Apr 20, 2022
45cfaa3
feat: add pruning active proposals
0Tech Apr 20, 2022
654c526
feat: add tx cmds for the tresury
0Tech Apr 20, 2022
8c1bcd0
feat: add group related tx cli
0Tech Apr 21, 2022
a08bede
fix: do not copy address from `from`
0Tech Apr 21, 2022
d85a741
fix: fix the number of args
0Tech Apr 21, 2022
17ebd48
fix: use non-nullables in genesis
0Tech Apr 21, 2022
4eb4138
feat: add proposal related data to the genesis
0Tech Apr 21, 2022
cf58bb7
feat: add queries to proto
0Tech Apr 21, 2022
07816a4
feat: add queries to grpc
0Tech Apr 21, 2022
48ee6c8
feat: add query clis
0Tech Apr 21, 2022
3c8f8f1
feat: register ThresoldDecisionPolicy
0Tech Apr 21, 2022
60e4955
fix: rename queries
0Tech Apr 21, 2022
313e764
docs: update cli helps
0Tech Apr 21, 2022
eb6c8bd
feat: add decision policy parser
0Tech Apr 21, 2022
4a24362
feat: support PercentageDecisionPolicy
0Tech Apr 21, 2022
754c1d0
fix: fix signers
0Tech Apr 21, 2022
7f4cc16
fix: fix interfaces
0Tech Apr 21, 2022
9769cd9
fix: make proposal id start from 1
0Tech Apr 21, 2022
973851c
fix: set default min execution period to zero
0Tech Apr 21, 2022
a086c81
fix: do not use file for the input
0Tech Apr 22, 2022
b1bd26c
feat: add pruning logic
0Tech Apr 25, 2022
d3f227a
docs: update the examples of tx cli
0Tech Apr 25, 2022
cc94576
fix: let a member execute a proposal
0Tech Apr 25, 2022
b516b6b
fix: add auth check into msg server
0Tech Apr 25, 2022
bba75fe
refactor: call getmember once in updatemembers
0Tech Apr 25, 2022
b67f7ff
fix: add proposal to the queue on genesis init
0Tech Apr 25, 2022
38d8b0b
fix: use non nullable on validatorauth
0Tech Apr 25, 2022
52c7fbf
fix: make policy validate to use config only
0Tech Apr 25, 2022
7f83e6f
fix: set validators as foundation members if genesis is empty
0Tech Apr 25, 2022
980c2d6
fix: set the number of validator to 2 on the test
0Tech Apr 26, 2022
ab03d9f
fix: set default tax to zero and add validation
0Tech Apr 27, 2022
4f8fc8d
test: add keeper tests
0Tech Apr 27, 2022
dbf1183
test: add msg validations
0Tech Apr 28, 2022
f745ef3
test: add msg server tests
0Tech Apr 28, 2022
696ce7d
feat: add events
0Tech Apr 28, 2022
3de1bac
fix: fix bugs
0Tech Apr 28, 2022
5bab7db
fix: update error message
0Tech Apr 28, 2022
54b1d5c
test: add integration tests
0Tech Apr 28, 2022
06a7dd4
fix: add more information into EventVote
0Tech Apr 29, 2022
c1173bd
Merge branch 'main' into foundation2
0Tech Apr 29, 2022
dbdeb00
fix: update the account number in the tests
0Tech Apr 29, 2022
38b050a
style: lint
0Tech Apr 29, 2022
01fd2df
style: lint
0Tech Apr 29, 2022
076b9be
test: fix test of proposal
0Tech Apr 29, 2022
a821747
docs: update CHANGELOG.md
0Tech Apr 29, 2022
b200a8d
feat: validate metadata
0Tech Apr 29, 2022
09ac358
refactor: expose keeper functions
0Tech May 2, 2022
eb99ee2
test: add tests on member.go
0Tech May 2, 2022
5c486cc
test: add tests on proposal.go
0Tech May 2, 2022
e8e58c9
test: add tests on treasury.go
0Tech May 2, 2022
9863884
test: reduce actors on member_test.go
0Tech May 2, 2022
62691ef
test: reduce actors on tests
0Tech May 2, 2022
7dc8ec0
test: add tests on exec.go
0Tech May 2, 2022
43b2739
test: add tests on vote.go
0Tech May 2, 2022
f9f23ee
test: use default config in the policy test cases
0Tech May 2, 2022
de575e4
test: add tests on genesis
0Tech May 3, 2022
64ea349
feat: add grant to proto
0Tech May 3, 2022
da442b1
feat: add authorization feature
0Tech May 4, 2022
4d1c661
feat: update grant releated proto
0Tech May 4, 2022
2c93a08
feat: add grant revoke handlers to msg server
0Tech May 4, 2022
cfd5355
feat: add grant to genesis
0Tech May 4, 2022
c9d8ea0
feat: apply authorization check onto withdrawfromtreasury
0Tech May 5, 2022
f0a723e
fix: change auth name
0Tech May 5, 2022
4a55b12
feat: add grant tx cli
0Tech May 5, 2022
250e422
test: add tests on grant
0Tech May 5, 2022
fb36a1c
fix: replace validator whitelist with grant
0Tech May 5, 2022
c671584
fix: remove validator auth
0Tech May 5, 2022
b295cb0
feat: add grant query
0Tech May 5, 2022
834fba0
style: lint
0Tech May 5, 2022
849fcb6
docs: update CHANGELOG.md
0Tech May 5, 2022
f120a08
docs: update CHANGELOG.md
0Tech May 5, 2022
1e2d89d
fix: make caller to select granter
0Tech May 9, 2022
d772648
style: lint
0Tech May 9, 2022
f32c261
docs: apply renames in the docs
0Tech May 9, 2022
431b03a
style: proto lint
0Tech May 9, 2022
476067d
fix: move events
0Tech May 9, 2022
0c003ce
fix: remove deprecated SetBalance
0Tech May 10, 2022
0a1c3a8
Merge branch 'foundation2' into foundation
0Tech May 10, 2022
f389fc0
docs: fix typo
0Tech May 10, 2022
0abf726
fix: replace weight of Member into a boolean flag
0Tech May 9, 2022
fb50052
style: lint
0Tech May 11, 2022
b7aff23
docs: update weight related statements
0Tech May 11, 2022
4153583
fix: remove weight related logics
0Tech May 11, 2022
f3e0822
fix: update grant related events
0Tech May 11, 2022
4633176
chore: comment out the migration handler registration for now
0Tech May 12, 2022
e1da39e
Merge branch 'foundation2' into foundation
0Tech May 13, 2022
a4a0d4d
Merge branch 'main' into foundation
0Tech May 13, 2022
dbfb032
fix: remove unused specs
0Tech May 16, 2022
09cf1cc
refactor: define own authorization interface
0Tech May 16, 2022
284f7d5
fix: force a user to revoke the authorization before override it
0Tech May 16, 2022
14eff3f
Merge branch 'main' into foundation
0Tech May 16, 2022
4ee5050
style: lint
0Tech May 16, 2022
087ee4d
fix: shorten the error message
0Tech May 16, 2022
012e2d4
refactor: restructure x/stakingplus
0Tech May 17, 2022
103a0c5
refactor: move CreateValidatorAuthorization
0Tech May 17, 2022
beaad79
fix: fix grant query
0Tech May 17, 2022
c49a55f
refactor: use the getter once
0Tech May 17, 2022
6784700
style: lint
0Tech May 17, 2022
ad5e1a7
test: increase coverage of msgs.go
0Tech May 17, 2022
c3c7b80
test: increase coverage of genesis
0Tech May 17, 2022
256d275
chore: refine messages
0Tech May 17, 2022
f8ed731
style: lint
0Tech May 17, 2022
d75b4e8
test: increase coverage of proposal.go
0Tech May 17, 2022
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
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