Closed cfaur09 closed 4 months ago
Attention: Patch coverage is 47.82609%
with 24 lines
in your changes are missing coverage. Please review.
Project coverage is 46.19%. Comparing base (
0816c43
) to head (22be554
).:exclamation: Current head 22be554 differs from pull request most recent head 3fe44e0. Consider uploading reports for the commit 3fe44e0 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Proposed Changes
elastic search service
to be able to return for a given provider address all delegators (address
,stake
) / delegators countgetProviderDelegators
inProviderService
to be able to retrieve all informations from elasticproviders/:contractAddress/accounts
that contains alsoquery pagination
filtergetProviderDelegators
methodHow to test
providers/erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqc0llllsayxegu/accounts
-> return a list of 25 delegatorsproviders/erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqc0llllsayxegu/accounts?size=1
-> return a list of 1 delegatorproviders/erd1eztdqz4cvs23w65a50d2h2g7xer5kyjy9w33pmkrrwy0usn46u6qcryt7g/accounts
-> should return [ ]providers/erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqc0llllsayxegu/accounts/count
-> return total delegators count