Stake pool registration error

When attempting to submit a transaction to register my stake pool on the testnet, I receive the following error:
Error: Error while submitting tx: ApplyTxError [LedgerFailure (DelegsFailure (DelplFailure (DelegFailure (StakeDelegationImpossibleDELEG (KeyHashObj (KeyHash “5685b8b78ef33b2b58da828c48ed8f9d5ef41e1ac992b7a4ee26b1bf”)))))),LedgerFailure (UtxowFailure (MissingVKeyWitnessesUTXOW (WitHashes (fromList [KeyHash “5685b8b78ef33b2b58da828c48ed8f9d5ef41e1ac992b7a4ee26b1bf”]))))]

I believe this is telling me it is missing a vkey in this transaction, but any help is greatly appreciated!

Hi!

Yes - so what is the transaction you want to sign?

The transaction I’m attempting to sign/submit is: cardano-cli transaction build-raw
–tx-in 9c856268461e54a1e7f00cbe70643ec5f65b03774c0bad6b4b0ccc9338cf2472#0
–tx-out $(cat payment.addr)+499811927
–ttl 23090113
–fee 188073
–out-file tx.raw
–certificate-file pool-registration.cert
–certificate-file delegation.cert

and how did you try to sign this transaction?

cardano-cli transaction sign
–tx-body-file tx.raw
–signing-key-file payment.skey
–signing-key-file stake.skey
–signing-key-file ~/pool-keys/cold.skey
–testnet-magic 1097911063
–out-file tx.signed

can you confirm that delegation certificate generated in this way?

cardano-cli stake-address delegation-certificate \
--stake-verification-key-file stake.vkey \
--cold-verification-key-file cold.vkey \
--out-file delegation.cert

Before generating the delegation cert I created the certificate using this:
cardano-cli stake-pool registration-certificate
–cold-verification-key-file ~/pool-keys/cold.vkey
–vrf-verification-key-file vrf.vkey
–pool-pledge 400000000
–pool-cost 340000000
–pool-margin 0.04
–pool-reward-account-verification-key-file stake.vkey
–pool-owner-stake-verification-key-file stake.vkey
–testnet-magic 1097911063
–pool-relay-ipv4 IP
–pool-relay-port 3000
–metadata-url
–metadata-hash 090a2f4a959a4a6d22b12ab1aee807e2dbef2545c4c50eeb4930acb61a0fa2c6
–out-file pool-registration.cert

better not to provide any sensitive certificate or key content

How do I register the delegation certificate? I must include it in a transaction correct?

so I think you did it in the right way… what I would suggest is to generate the certificates and build the transaction again and keep attention to the keys - use the same keys in every steps…

1 Like

I’ll do that, thank you

I was able to get my pool registered successfully after going through some previous steps as you suggested. Thank you very much for your help!

1 Like