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

Buggy validator state #4605

Open
sophoah opened this issue Jan 11, 2024 · 0 comments
Open

Buggy validator state #4605

sophoah opened this issue Jan 11, 2024 · 0 comments
Assignees

Comments

@sophoah
Copy link
Contributor

sophoah commented Jan 11, 2024

Describe the bug

A mainnet validator https://staking.harmony.one/validators/mainnet/one1dgn6cnhueyg0vqvq6g84hljwvl0nruwlt4huhy is currently elected and have BINGO in their logs. However there are inconsistencies in its validator information

curl -s -d '{"jsonrpc":"2.0", "method":"hmyv2_getValidatorInformation", "params":["one1dgn6cnhueyg0vqvq6g84hljwvl0nruwlt4huhy"], "id":1}' -H 'Content-Type:application/json' -X POST 'https://api.s0.t.hmny.io' | jq .result
{
  "active-status": "active",
  "booted-status": "lost epos auction",
  "current-epoch-performance": null,
  "currently-in-committee": false,
  "epos-status": "eligible to be elected next epoch",
  "epos-winning-stake": null,
  "last-epoch-in-committee": 1732,

last-epoch-in-committee should be the current epoch here 1765

To Reproduce
Steps to reproduce the behavior:

  1. Check out code with "sha1" commit
  2. Build
  3. run local test using "...." commands

Expected behavior
A clear and concise description of what you expected to happen.

A normal output for an active validator should look as follow :

  "active-status": "active",
  "booted-status": null,
  "current-epoch-performance": {
    "block": 52193081,
    "current-epoch-signing-percent": {
      "current-epoch-signed": 263700,
      "current-epoch-signing-percentage": "0.998258631132646881",
      "current-epoch-to-sign": 264160
    },
    "epoch": 1765
  },
  "currently-in-committee": true,
  "epos-status": "currently elected",

Screenshots
If applicable, add screenshots to help explain your problem.

doc_2024-01-11_17-12-15

Environment (please complete the following information):

  • OS: [Linux, MacOS]
  • Go environment [ go env ]

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants