cosmos-sdk/x/staking
likhita-809 da87ab0d36
fix: Staking delegations should return empty list instead of rpc error when no records found (#9423)
* return empty list instead of rpc error when no records found for staking delegations

* fix grpc query DelegatorDelegations tests

* remove response code tests for staking delegations

* fix failing tests

* change staking delegations response code to 200 in grpc test

* add staking delegations response code tests to TestQueryDelegatorDelegationsGRPC

* add address without delegations testcase

* add changes to grpc query tests of delegatorDelegations

* remove getRequest unused function from x/staking/client/rest/grpc_query_test.go

* minor fixes

* add testcases for request with no delegations

* address review comments

* add changelog

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-01 15:17:44 +00:00
..
client fix: Staking delegations should return empty list instead of rpc error when no records found (#9423) 2021-06-01 15:17:44 +00:00
keeper fix: Staking delegations should return empty list instead of rpc error when no records found (#9423) 2021-06-01 15:17:44 +00:00
legacy Remove migration scripts <=0.38 (#9291) 2021-05-11 14:01:13 +00:00
simulation SDK Core Audit - simapp updates (#9315) 2021-05-17 15:42:44 +00:00
spec chore: add markdownlint to lint commands (#9353) 2021-05-27 15:31:04 +00:00
teststaking merged in master 2021-03-21 16:37:06 -04:00
types Remove Redundant Staking Errors (#9231) 2021-05-19 12:20:17 +00:00
abci.go Merge PR #6761: telemetry: use UTC() in wrappers 2020-07-17 15:33:50 -04:00
app_test.go on-chain power reduction param conversion basic work 2021-01-27 20:24:00 +10:00
bench_test.go x/staking: add ValidateGenesis benchmark (#8746) 2021-03-02 01:01:05 -08:00
common_test.go on-chain power reduction param conversion basic work 2021-01-27 20:24:00 +10:00
genesis_test.go SDK Core Audit - simapp updates (#9315) 2021-05-17 15:42:44 +00:00
genesis.go x/staking: lazily get consensus key address (#9264) 2021-05-05 11:28:37 -07:00
handler_test.go SDK Core Audit - simapp updates (#9315) 2021-05-17 15:42:44 +00:00
handler.go Refactor x/staking according to ADR 031 (#7556) 2020-10-16 14:53:49 +00:00
module_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
module.go codec: Rename codec and marshaler interfaces (#9226) 2021-04-29 10:46:22 +00:00