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

deposits for govActions never returned #3826

Closed
disassembler opened this issue Oct 30, 2023 · 0 comments · Fixed by #3864
Closed

deposits for govActions never returned #3826

disassembler opened this issue Oct 30, 2023 · 0 comments · Fixed by #3864
Assignees
Labels
bug Something isn't working conway

Comments

@disassembler
Copy link
Contributor

After the action is no longer in proposals, the deposit never transfers to the rewards. Here's a dump from ledger-state. The one with about 4000 ada is the one I've submitted 4 gov actions from.

cardano-cli query ledger-state --testnet-magic 42|jq '.stateBefore.esLState.delegationState.dstate.unified.credentials'
{
  "keyHash-2168cfbbd02dfbacf7a5a83f9f5d1a6656d628123ebe0ab1b6ba9782": {
    "reward": 0,
    "deposit": 2000000,
    "ptr": [
      {
        "slot": 280,
        "txIndex": 0,
        "certIndex": 7
      }
    ],
    "spool": "29e34d4dac1b58ee367824305fb5c56d0139f85910b16c86a0455933",
    "drep": null
  },
  "keyHash-84d6f5b830e12cc909b3f8b561b108281412105076bb4da5c7d05c6b": {
    "reward": 93377341513,
    "deposit": 2000000,
    "ptr": [
      {
        "slot": 280,
        "txIndex": 0,
        "certIndex": 0
      }
    ],
    "spool": null,
    "drep": null
  },
  "keyHash-925e5c2e44cbafb3777ac9b2c97dc0183e473634e77255b364ff9c21": {
    "reward": 0,
    "deposit": 2000000,
    "ptr": [
      {
        "slot": 280,
        "txIndex": 0,
        "certIndex": 4
      }
    ],
    "spool": "772adbf68fba3e45c0598ccd6f50c8fcbc2158b28fc76a05d26f346d",
    "drep": null
  },
  "keyHash-adf96ba22f98a51b359beb424d44106fa31a6d7630913b7f0fc3fbd2": {
    "reward": 0,
    "deposit": 4002000000,
    "ptr": [
      {
        "slot": 280,
        "txIndex": 0,
        "certIndex": 1
      }
    ],
    "spool": "49fa4157d3676569056d974766e4b5c60f04f80ffc69dc3729ba9bf4",
    "drep": null
  },
  "keyHash-c8b61bc6caadde9fa33a000e327ef9ffed4d93d411df53e3b705f70e": {
    "reward": 0,
    "deposit": 2000000,
    "ptr": [],
    "spool": null,
    "drep": "drep-keyHash-08e78a742a3b8986462697622904f7e542d0dfb1087ce36fef0b0748"
  },
  "keyHash-d9686921b25c9f2723a09378f678ab95fa00b9b57a92dfa0a6786c26": {
    "reward": 0,
    "deposit": 2000000,
    "ptr": [],
    "spool": null,
    "drep": "drep-keyHash-9f266c1d597ddd0f3725829a6b905438529c1dc31fd485ba8fd5d525"
  }
}

Gov state proposals:

cardano-cli conway query gov-state --testnet-magic 42|jq .proposals
{
  "psGovActionStates": {},
  "psProposalOrder": []
}

Note that 2/4 were enacted and the other 2 were not and eventually expired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working conway
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants