-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
WIP: Queriers for staking to increase Gaia-lite performance #2139
Closed
Closed
Changes from 30 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
2ca7e61
Cherry picked commits from prev branch
5e285e1
Added new keepers for querier functionalities
ec13fbe
Renaming
3eacdfa
Fixed gov errors and messages
682008f
Added Querier to stake and app
ceae374
Update delegation keepers
9ba98ab
REST Queriers not working
8bf6b2c
Fix marshalling error
cd0ca86
Querier tests working
01304c9
Pool and params working
7889374
sdk.NewCoin for test handler
d3b6c3e
Refactor and renaming
5fb1547
Update LCD queries and added more tests for queriers
8cfc507
use sdk.NewCoin
044b851
Delegator summary query and tests
685f05a
Added more tests for keeper
6d9c8b7
Update PENDING.md
3f5ad5f
Merge branch 'develop' into fedekunze/2009-queriers-staking
fedekunze f6aed4e
Update stake rest query
b9b04a0
Format and replaced panics for sdk.Error
2852b4a
Refactor and addressed comments from Sunny and Aleks
128deb5
Merge branch 'develop' into fedekunze/2009-queriers-staking
fedekunze e93a937
Fixed some of the errors produced by addr type change
80cd207
Fixed remaining errors
c83172d
Updated and fixed lite tests
7f3a42c
JSON Header and consistency on errors
87c1a0f
Increased cov for genesis
5ecedad
Added comment for maxRetrieve param in keepers
af757dd
Comment on DelegationWithoutDec
80db853
Bech32Validator Keepers
99acd57
Changed Bech validator
8abb44e
Updated remaining tests and bech32 validator
55ff4b7
Merge branch 'develop' into fedekunze/2009-queriers-staking
fedekunze 450539b
Addressed most of Rigel's comments
61efdf6
Updated tests and types
0bd0417
Make codec to be unexported from keeper
8a2d144
Moved logic to query_utils and updated tests
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
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.
unnecessary/ undesirable
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.
https://github.com/cosmos/cosmos-sdk/pull/2103/files if we do introduce new bech32's, it would be
cosmosval
andcosmosvalpub
, notcosmoscons*
just fyi.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 think maybe there's something wrong with the sdk impl right now... i don't think the validator operator address should be anything different than a normal address.
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.
@jaekwon @rigelrozanski @ValarDragon @alexanderbez Currently
BechValidator
is not usingbech32
prefix forsdk.ValAddress
, just hex. Also itsPubKey
value usescosmosconspub
prefix. Is that ok ? Because I thought it was supposed to be usingcosmosvalpub
instead