SaReN
5656e8647b
x/staking: gRPC query Service ( #6490 )
...
* Add types for staking grpc
* Update module.go
* Update staking query types
* Add grpc query methods
* Add delegation response to proto
* Add queriers for delegations
* Add queriers for unbonding
* Add queriers for redelegations
* Add cases for redelegations
* Add test for grpc validators
* Update staking types to proto
* Update staking query proto
* Add tests for grpc
* Add tests for grpc pool, parameters
* Fix lint issues
* Add grpc redelegation tests
* Add more tests
* Add docs for query proto
* Add docs for query types
* Modify redel querier
* Add debugging statements
* Revert debugging
* Fix proto lint errors
* Add wrapper for keeper
* Embed keeper in querier
* Add more tests
* Add tests for validator unbondings
* Add redel tests
* fix queryRedelegationsFromSrcValidator
* Fix Redelegation tests
* update godoc
* Update args
* Update tests with suite
* Fix lint
* Remove redundant types
* Refactor tests
* fix test
* refactor query proto
* Fix tests
* address review comments
* lint staking proto
* add godoc
* Update tests to table driven tests
* add debugging
* Fix grpc tests
* address comments
* address whitespace suggestions
* Add more tests
* add tests for invalid redels
* update error messages
* address review suggestions
* add tests
* move suite to keeper_test
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-14 17:41:30 +00:00
Jonathan Gimeno
626f9b62c5
add pagination ( #6163 )
...
* add pagination
* make test pass with validators
* add pagination option
* unbonding delegations test added
* test unbondedvalidators pagination
* clean test
* remove comment
* remove comment
* add page and limit to unbonding delegations
* add flag limit and page for delegations-to command
* refactor hardcoded string values
* udpate page and limit for validator
* update changelog
* add pagination option
* add defaults
* Update CHANGELOG.md
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-06-06 17:32:15 +00:00
Marko
218ec99508
various linter fixes ( #6106 )
...
x/staking: Fix all linter warnings.
Fixed warnings across base packages.
New linters:
- unparam
- nolintlint
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-05-02 21:26:59 +02:00
Alexander Bezobchuk
6890feb3d2
Merge PR #5572 : ADR 004 Implementation
2020-01-30 16:31:16 -05:00
Alexander Bezobchuk
9a183ffbcc
Merge PR #5421 : Refactor Error Handling
2019-12-27 12:57:54 -05:00
Aditya
fca4cbef88
Merge PR #5380 : ADR 17 Implementation: Historical Module
2019-12-18 08:20:02 -05:00
Riccardo Montagnin
5af6bd77aa
Merge PR #5248 : Ensure all the empty arrays return an empty slice
2019-10-28 10:09:04 -04:00
Marko
6684cdf3e5
Merge PR #5048 : Fix linters and add golint
2019-09-16 13:11:17 -04:00
Marko
3a4f1fc4d4
Merge PR #4881 : Linting Galore
2019-08-19 12:06:27 -04:00
Riccardo Montagnin
f218de8141
Merge PR #4806 : Converted balance from sdk.Int to sdk.Coin inside DelegationResponse
2019-08-02 12:37:35 -04:00
Alexander Bezobchuk
aba1f649ad
Merge PR #4658 : Generalize Querier REST Pagination
2019-07-02 09:00:46 -04:00
Federico Kunze
352678438c
Merge PR #4255 : Supply Module
2019-06-28 16:11:27 -04:00
frog power 4000
5f9c3fdf88
Merge PR #4451 : Client and Module Modularization
2019-06-05 19:26:16 -04:00