-
Notifications
You must be signed in to change notification settings - Fork 627
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: CLI account-locked-duration (#1292)
* Add panic guard, bug fix * Add AccountLockedDuration RPC service * Add AccountLockedDuration Request & Response Messages * Generated protofiles for x/lockup, added AccountLockedDuration RPC, Request, and Response * Update CLI Request & Response for account-locked-duration * Add account_locked_duration to querier types * Add comments & Update lockup keeper iterator to include AccountLockIteratorDuration method. * Add GetAccountLockedDuration to lockup store and use new iterator * Fix method comment namiing * Add missing AccountLockedDuration method to grpc_query.go/ * Add documentation for rpc AccountLockedDuration * Fixed weird rebase error. * Refactored Keeper into Querier * Readd GetCmdAccountLockedDuration to QueryTree * Fix occurred mispelling to satisfy linter * Update x/lockup/client/cli/query.go Co-authored-by: Aleksandr Bezobchuk <[email protected]> * Update x/lockup/client/cli/query.go Co-authored-by: Roman <[email protected]> * Update x/lockup/keeper/grpc_query.go Co-authored-by: Roman <[email protected]> * Update x/lockup/keeper/iterator.go Co-authored-by: Roman <[email protected]> * Update x/lockup/keeper/store.go Co-authored-by: Roman <[email protected]> * Update x/lockup/keeper/store.go Co-authored-by: Roman <[email protected]> * Remove TODOs. * Add PR to changelog Unreleased * Fix initialization order of interatorDuration. * Add example address to long description of GetCmdAccountUnlockingCoins query. * Fixed Bech32 address in long description and function call. * Swap Long for Example * Update CHANGELOG * Add example for GetCmdAccountLockedDuration * Remove example from wrong function * Fix comment for AccountLockIteratorShorterThanDuration Co-authored-by: ValarDragon <[email protected]> Co-authored-by: Aleksandr Bezobchuk <[email protected]> Co-authored-by: Roman <[email protected]> Co-authored-by: Adam Tucker <[email protected]>
- Loading branch information
1 parent
a56fe51
commit ad7d5de
Showing
10 changed files
with
765 additions
and
106 deletions.
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
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
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.