-
Notifications
You must be signed in to change notification settings - Fork 31
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: mint large amount of coins(gov mint) #709
Merged
dudong2
merged 16 commits into
Finschia:main
from
dudong2:dudong2/feat/one-time-LN-mint
Oct 17, 2022
Merged
Changes from 4 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
43a493b
feat: implement one time mint
dudong2 d5a502f
Merge remote-tracking branch 'lbm-sdk-upstream/main' into dudong2/fea…
dudong2 478c8bd
docs: add changelog
dudong2 b62c5a5
chore: fix lint error
dudong2 b551d2b
chore: reflect pr review
dudong2 4762b94
test: fix failed test case
dudong2 ecb56eb
refactor: change oneTimeMaxCount to oneTimeLeftCount
dudong2 b627602
test: fix msg oneTimeMint server test
dudong2 194dac6
refactor: change oneTimeMint to govMint
dudong2 fa874d8
docs: update statik
dudong2 b847bdc
feat: add govmint query
dudong2 33b1606
feat: restore GovMint in tx.proto in foundation module
dudong2 2d26bc2
chore: remove leftcount init from genesis.go
dudong2 c1c4463
apply pr review
dudong2 47b1285
feat: add gov mint tx for cli
dudong2 1aeab8b
test: set gov mint left count to 1 for cli test
dudong2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ | |
* (x/wasm) [\#649](https://github.com/line/lbm-sdk/pull/649) fix: wasm module's FIXME in the snapshotter.go file | ||
* (x/ibc) [\#651](https://github.com/line/lbm-sdk/pull/651) feat: update x/ibc to support github.com/cosmos/[email protected] | ||
* (config) [\#665](https://github.com/line/lbm-sdk/pull/665) remove bech32-cache-size | ||
* (x/foundation) [\#709](https://github.com/line/lbm-sdk/pull/709) add `one time mint` for x/foundation proposal | ||
|
||
### Improvements | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Please add cli and cli unittest.
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.
In the case of one-time mint, it is not appropriate to expose it to the cli because it should be performed only through proposals.
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.
The other proposal tx also has cli and cli test. For example,
WithdrawFromTreasury
andGrant
. Check it please.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.
I added cli and cli test. Thank you.