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

Trying to join pool returns 500 while delegation next = not_delegating #1823

Closed
piotr-iohk opened this issue Jun 29, 2020 · 1 comment
Closed

Comments

@piotr-iohk
Copy link
Contributor

Context

While delegation next = not_delegating one doesn't seem to be able to join pool.

Information -
Version 2020.6.5 (git revision: bcc0ff009b4695589c107fdf21272a470b2362c0)
Platform Linux, all?
Installation From source

Steps to Reproduce

https://hydra.iohk.io/job/Cardano/iohk-nix/cardano-deployment/latest/download/1/index.html

cardano-node run \
        --config /root/node/$type/*-config.json \
        --database-path /root/node/$type/db \
        --socket-path /root/node/$type/node.socket \
        --topology /root/node/$type/*-topology.json \
        --host-addr 127.0.0.1 \
        --port 3001}
cardano-wallet-shelley serve --port 8090 \
                --node-socket /root/node/$type/node.socket \
                --testnet /root/node/$type/*-genesis.json \
                --database /root/wallet/$type/db

  1. Have a wallet with funds.
  2. Delegate to a pool.
  3. delegation next = pool
  4. In the same epoch, you just delegated - quit pool.
  5. delegation next = not_delegating
  6. Now try to delegate again to some pool

Expected behavior

I should be able to join.

Actual behavior

PUT http://localhost:8090/v2/stake-pools/055b27232c00f2de578084a187fc3e09e940d8efa5abe04cb8ed7d5a/wallets/51bf08657462be2da50d079ec0e831c744eb0463
Body: {"passphrase":"Secure Passphrase"}

The response was:
Code = 500,
Message = {"code":"created_invalid_transaction","message":"That's embarrassing. It looks like I've created an invalid transaction that could not be parsed by the node. Here's an error message that may help with debugging: ApplyTxError [LedgerFailure (DelegsFailure (DelplFailure (DelegFailure (StakeDelegationImpossibleDELEG (KeyHashObj (KeyHash e16472c178b892c809ce3d1d5b5cc3d810ace0d3194d97622eb8b698))))))]"}

Resolution


QA

@piotr-iohk piotr-iohk added BUG? and removed BUG? labels Jun 29, 2020
@piotr-iohk
Copy link
Contributor Author

This is no longer observed. Probably fixed opportunistically.

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

1 participant