Skip to content
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

Inconsistent delegates on the pool page #46

Open
chadle-git opened this issue May 9, 2023 · 0 comments
Open

Inconsistent delegates on the pool page #46

chadle-git opened this issue May 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@chadle-git
Copy link

Describe the bug
When displaying the pool delegates some wallets are not shown as delegates.

To Reproduce
Steps to reproduce the behavior:

  1. Search for a pool or go directly to my pools page https://preprod.cexplorer.io/pool/pool1jgl6h9fyy8gqt593ah638kqps4ls7c78d5p00we6qlzycdmhhvq/delegators#data
  2. Scroll down and click on Delegators
  3. Notice there are only 3 delegators and there should be 4
Capto_Annotation
  1. Now i have found a known delegate from other explorers. We can search on it or go to this stake key directly by clicking here https://preprod.cexplorer.io/stake/stake_test1uq2pnumhfrnnse0t3uwj4n0lhz58ehfhkdhr64ylptjhq9cyney6d
Capto_Annotation
  1. As you can see this delegate shows relegated to my pool, but doesn't show up on my pool page.
  2. All of these delegates started in Epoch 67, so they should all show up on the list

Expected behavior
The pool page should show all delegates. You can see on cardanoscan.io that it does show all 4 delgates. https://preprod.cardanoscan.io/pool/923fab952421d005d0b1edf513d801857f0f63c76d02f7bb3a07c44c?tab=delegators
Capto_Annotation

Screenshots

Desktop (please complete the following information):
Mac OS
Brave 1.50.121

Smartphone (please complete the following information):
didn't test

Additional context
Koios also had this bug, cardano-community/koios-artifacts#190

Command for delegates
curl -X GET "https://preprod.koios.rest/api/v0/pool_delegators?_pool_bech32=pool1jgl6h9fyy8gqt593ah638kqps4ls7c78d5p00we6qlzycdmhhvq"
-H "accept: application/json"

Old - Output response with 3 delegatesm , missing one delegate
[{"stake_address":"stake_test1updy5twkregjwdh426lc9pzc0pnznmllly65gkqywmh328cp7ayq5","amount":"55284553144","active_epoch_no":69,"latest_delegation_tx_hash":"da8a657ede63d932180e1dd045e02fd3f74e5a7c9465c925f64b635e5db163da"},
{"stake_address":"stake_test1upqmawev2jm7j7xas8r364muxpw36x37fx05suadlgyujpq7u9e6z","amount":"11417817119","active_epoch_no":69,"latest_delegation_tx_hash":"3a61da9bf9553e1561747154bc2da4fc691b37797ce7842620fa4ed989fdd669"},
{"stake_address":"stake_test1uqs8ex43wlfn9fj5h8qpxh0kt5cq4m3r00kvy24czsh4e5c9zngd0","amount":"12577645766","active_epoch_no":69,"latest_delegation_tx_hash":"06fb385257c716cb617b0faeb3ce2d9da3a98429fde61b7eb90299b0410e14d3"}]%

New - Output response with the 4 correct delegates

[{"stake_address":"stake_test1updy5twkregjwdh426lc9pzc0pnznmllly65gkqywmh328cp7ayq5","amount":"55184360935","active_epoch_no":69,"latest_delegation_tx_hash":"da8a657ede63d932180e1dd045e02fd3f74e5a7c9465c925f64b635e5db163da"},
{"stake_address":"stake_test1upqmawev2jm7j7xas8r364muxpw36x37fx05suadlgyujpq7u9e6z","amount":"11417817119","active_epoch_no":69,"latest_delegation_tx_hash":"3a61da9bf9553e1561747154bc2da4fc691b37797ce7842620fa4ed989fdd669"},
{"stake_address":"stake_test1uq2pnumhfrnnse0t3uwj4n0lhz58ehfhkdhr64ylptjhq9cyney6d","amount":"1000000000000","active_epoch_no":69,"latest_delegation_tx_hash":"c4e6fc60179b03de9234c7b43cdd9a36400bf9153461114d006c6be993ada66c"},
{"stake_address":"stake_test1uqs8ex43wlfn9fj5h8qpxh0kt5cq4m3r00kvy24czsh4e5c9zngd0","amount":"12577645766","active_epoch_no":69,"latest_delegation_tx_hash":"06fb385257c716cb617b0faeb3ce2d9da3a98429fde61b7eb90299b0410e14d3"}]%

@chadle-git chadle-git added the bug Something isn't working label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant