[SOLVED] Cannot submit transaction: ...MissingVKeyWitnessesUTXOW?

I’m trying to submit a signed transaction following coincashews guide here but I’m getting the following error:

Command failed: transaction submit  Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (MissingVKeyWitnessesUTXOW (WitHashes (fromList [KeyHash "30539a022c8f4c393707bc4ebef7a58a4608eca14e5c6b5746a8f524"]))))])

This is the tx.signed file:

{
    "type": "Tx AlonzoEra",
    "description": "",
    "cborHex": "84a500838258201f355808c8127768da1e0cb327d9ea5cb781d6abb38ff60647d5ca3ee7420eba00825820a6f5a295855340f6cf922b104dace24a3ac880affdd4f90e1a97d8669116c89100825820da29783483a741f1d59da6b956ca1bbc7efbf5650dedf2319103dd22f946b64f0001818258390123266f6e91af55494936aa1a337b9a784b156427abc46900e50dcf3976c9df86cfe77495303598913d40f6533dac209db25b7bfbce2f3e151a06858fb9021a00031a21031a03f5ddfe04828a03581c30539a022c8f4c393707bc4ebef7a58a4608eca14e5c6b5746a8f5245820749bb0ceadbec4a31228b45262febd8bb1035f3b31ee89affecc0429382455551a05f5e1001a14904840d81e820114581de176c9df86cfe77495303598913d40f6533dac209db25b7bfbce2f3e1581581c76c9df86cfe77495303598913d40f6533dac209db25b7bfbce2f3e15818301191b5b781a72656c6179312e63617264616e6f6d61706c656c6561662e6361827668747470733a2f2f6269742e6c792f336f35597a536a5820603b5c78a8f5a8d0a4e7eb4189734fd9655ef0a9633d7ed1bba828cc06f7834383028200581c76c9df86cfe77495303598913d40f6533dac209db25b7bfbce2f3e15581c30539a022c8f4c393707bc4ebef7a58a4608eca14e5c6b5746a8f524a10083825820ea1a28b7c39d37ed3a5665b467a00bf3173c7d52ccc869790e36cae30646ebc958405537dc46a1b623f6a940071b2f282c52f425c156afc1a491c61047719f34534d3f407607f12e389187e8315485a4b3e0cdcc21dcd7a76374c141806afd5eb80d82582019d2162a854306a687f252522d1464b5182b1ec7f81d5271264bc167f6444353584025c45321d5f0eedda904fa07c785c074ca6e0bc40a9c5eb4c0cccebf5519b7320594e40f66d163ecc15db109e5f6c6616afd6814c6f7aff84f6f7fcc1d2d89028258209eb75a4e0993cd47f5e9650b315a44c8d8eaa3c35f01d4e2b922cdd6c7c54224584002c8d7139c30451a1986a0dad0dfbb3f1083fdc436c7e86ad1110f531674773bc864f6c9ff4251a82c89c8b3766ee0d5fb11005bf545ff09c166e1d15912b508f5f6"
}

Using cardano-cli and cardano-node version cardano-cli 1.35.0.

Anyone know how to fix this?

Thanks!

Edit: Just found a similar Why might I be getting this MissingVKeyWitnessesUTXOW error? - #2 by ADAfrog. I’ll try to follow the solution and report back here the results

Edit2: I’m still trying to understand how to fix this… the command I used to sign the transaction was the following:

cardano-cli transaction sign \
    --tx-body-file tx.raw \
    --signing-key-file payment.skey \
    --signing-key-file $HOME/cold-keys/node.skey \
    --signing-key-file stake.skey \
    --mainnet \
    --out-file tx.signed
1 Like

hi,

Usually is something wrong with the skey files.
Try to perform a simple transaction… to send 1 ADA out of the wallet… it is working?

Other topics

https://forum.cardano.org/search?q=MissingVKeyWitnessesUTXOW

Cheers,

1 Like

Thanks @Alexd1985.
I’ve never peformed a simple transaction before, do you have any quick pointer tips of the commands to do so? (currently trying to read up on it, might take a while)

1 Like

OK It submitted, but my Total ADA Balance amount still remained the same (I sent 1 ADA following that guide) so i don’t think it actually went through…?

$ cardano-cli transaction submit \
>     --tx-file tx.signed \
>     --mainnet
Transaction successfully submitted.

hmm, same, the node is 100% synced?
also can u check the destination wallet? Received 1 ADA ? If yes is from the same address u have inside payment.addr file? It is possible to have more wallets file and u somehow mixed the files?

  1. Yes, my node is synced.

  2. Uhh, here’s the destination address when queried:

cardano-cli query utxo \
>     --address ${destinationAddress} \
>     --mainnet
                           TxHash                                 TxIx        Amount
--------------------------------------------------------------------------------------
06b94f962dfe7a1f56f5f024d82947de09e9e2e1581dcd877336ebbe035bc422     1        10000000 lovelace + TxOutDatumNone
0dbab401977525ab7e1929ea81d5f056d25eb8b74e22b34b1677851550dc1372     1        1000001 lovelace + TxOutDatumNone
1115f8f3a847a15007745b8b62d8a79a42b30acc6d3125afaf846fe5726e68a8     0        30000000 lovelace + TxOutDatumNone
11e3d223d2153e1d5b0b215ad8e59e5d71c97ae048a8099825597afd134e6325     1        1000000 lovelace + TxOutDatumNone
1447cf2775bbfa6400ccf32438d105a32c78a1a5ec41eb0df639d5a6e591c032     1        3000000 lovelace + TxOutDatumNone
15b2daef480d09d4fbe6e0f5e67cd9c1f2616e296d55db41f253b5f482a3bfac     0        2000000 lovelace + TxOutDatumNone
16bb4c3482c1ae10168be086cd30fabeef9fd9c01239d292ceb9881f9c32fd37     0        5000000 lovelace + TxOutDatumNone
16cfc5f23c3439c6b9ac48410f72764057b28093dcd4390363fb6f775d423232     1        10000000 lovelace + TxOutDatumNone
1754fd21d1217a430e704b9278a1700a839bc5ec30026bb15fcd5928144776e8     1        10000000 lovelace + TxOutDatumNone
1ac04518d71e52865bbc6c3b1f121c53eed4630651d5877062cfc69b852293df     1        10000000 lovelace + TxOutDatumNone
1daf3656d3dbfa34f9a355159e7a1ed5bae2b3a8adafabfaa3f9248ab0cb7ead     0        10000000 lovelace + TxOutDatumNone
21d2f437e773a9692b99f2f5a9bc4ded417e92c8136499fbdbf583d8b488c695     0        1989968 lovelace + TxOutDatumNone
25d64e8dbefa6c92309e8ff3288824e3dbe78ff4ef5f76d3cc58704e5493b182     1        1031300 lovelace + TxOutDatumNone
315ad770b8779839f8fe16de9e727a1b85be67fa668e90c7bd1d44f0c94e729a     0        1000000 lovelace + TxOutDatumNone
3b52a13a610025245b56e85de7284f2526de0e0c6ff9b63e88749f465200aaa8     1        1000000 lovelace + TxOutDatumNone
3f634672bb3a6970b92a7d5a4924e6d78b0792c31e91664b3002fd57f978fdbf     0        90000000 lovelace + TxOutDatumNone
545817941eb9e9e1d30f9e078ba45ed91baa02cb0492b4dc9121917e40507fff     1        511624216 lovelace + TxOutDatumNone
545ac516d3ab2a3d26fa61603dbba01cd1a0227f123cc42a4a552055587488d5     1        10000000 lovelace + TxOutDatumNone
5906d95a97b41b4bee347ba43f55cc4f7cd06ed4cf92b871b07b7c02bb63111b     1        1300000 lovelace + TxOutDatumNone
5d19bac5d4e80598da485793f3e4ee9f3ce5b335da87c8ec2cfe04c55ec54611     1        1010000 lovelace + TxOutDatumNone
5d9752d2b0cbc0eec07d806a1c7c1e4ada0cbee871eb278e0177cfa348b7d0a1     0        10000000 lovelace + TxOutDatumNone
674a7c5113cbd5f257367bf621cd2dde69ec10384811236a5f49ac7a48eb4a48     0        1390000 lovelace + TxOutDatumNone
740f4f2dbd35e93cf633d14bb145d572fac09f2d9f6f8db7a5a731280396fb5b     0        10000000 lovelace + TxOutDatumNone
8463f0d33361876dcf1f3fdd61c026684f6aa1ef64cada72f0c4ef177562153a     1        1330003 lovelace + TxOutDatumNone
89439e0ca335e79abebd653317e3cd7c66b59f0d274c62ac969b9e89394eb5b4     1        1000000 lovelace + TxOutDatumNone
8959d551ebddc9aa560770cd5f83daaeba320323e6f0f71e1077ef74588fdb05    18        10000000 lovelace + TxOutDatumNone
930f6e4b1aa0b23e359604a4797462abea8e68c8b40ded68f9c1ea9cf8d3c20f     0        200000000 lovelace + TxOutDatumNone
987a3ef7cd07e2a8ffd51a7b85dd8e6a4a3a788baff0671da4ae32a30a1157f2     0        20000000 lovelace + TxOutDatumNone
9f176e4139b685cf781bd26b55bc3d9f88397f4ed2c873e6af549b327e535b81     0        50000000 lovelace + TxOutDatumNone
a0ef4e8ac9820f8eba2eb29077985fd0f0a05adcadaddcfeac4367c286d8c21e     1        1000000 lovelace + TxOutDatumNone
a3526ee40b9e0dffe6f5bcaca425b7003606c485a62f3d74a8474ed995532f1e     1        1000000 lovelace + TxOutDatumNone
a51b80e959a510998d28da8474d66a750e928a8cffcbf8c4f43de14ae6c74215     1        111000000 lovelace + TxOutDatumNone
af8392867fd77282dbdaa7c4cd035ae43986bddbc9271c84795e59bddcc20d98     0        10000000 lovelace + TxOutDatumNone
b65cbf0a28ab941b7eb1faa37c3eb6487d80a84e0582cda6df0e81cf581524cb     1        10000000 lovelace + TxOutDatumNone
b66883a64a565db8f5bc328c9b1b66851ee8f55af8d455f0c9d5882fae3e78b0     1        1000000 lovelace + TxOutDatumNone
b726242a86b11c681707c8f0ef657e50a17f6c9c17f81e98ea95d7ab70cda9b8     0        5000000 lovelace + TxOutDatumNone
b80fa6b5c6cfa85fce6e63f8e64a2a6ff4b724b0fd8152ff30e6a1ffbd99263d     0        5000000 lovelace + TxOutDatumNone
b86dca7dc38538d87508aa93ef78b3f5d8e412ddb386f13c933483eebc0b5367     0        10000000 lovelace + TxOutDatumNone
bd707cbb4f90888d2777a8cf30031e34fbb50f163d0e8737b4356ea1de90fed9     1        10000000 lovelace + TxOutDatumNone
c42f23108ecde45d60ca075f319bc0ba99d800ca8e632e409bf87243626ed5a6     1        10000000 lovelace + TxOutDatumNone
c668e611a73e71c235f86ba8a7c85d78c47f384650389127f0cc93ebdd334f39     1        1111000 lovelace + TxOutDatumNone
cd5ad45bcd475977505787ca8eed6890398ac6a22c2a27decd2d5c4bd012950e     1        10000000 lovelace + TxOutDatumNone
d134331361bc6ac6fd301a1ceaa671fbe3b26d4873dae5193e048ec0ef3a3e34     1        500000000 lovelace + TxOutDatumNone
d3badb969d4fd81a578d3d70d1a1aa5828eb1d26c52f2e06ca55848efc357f5c     0        5000000 lovelace + TxOutDatumNone
daed11a87b846eb123f4c153a725b20f45632c082bcf9552bdc78fcdfabd88d5     1        1331000 lovelace + TxOutDatumNone
dee487edb27c3081a145c49c3e90296e4d5b312984e3629778e313ba8940cf76     1        100000000 lovelace + TxOutDatumNone
dfe8269f216118269b09856957d8f3e43628a7d85c201df1794eb14c194652ed     0        5000000 lovelace + TxOutDatumNone
e58b78371bb5a09d7759097464ddbfa16136b9547b62464b1f23c2954207ba00     1        100000000 lovelace + TxOutDatumNone
e6a48131db7f84b4b3e5a07d878d57e58bc238a03dc22201c9f99ccd863aa55c     0        100000000 lovelace + TxOutDatumNone
e7631d922996ec9e7572e4ba04f05265dff09c45ae421c721f60029d15c596c4     1        1000000 lovelace + TxOutDatumNone
eb8235123bba47417b43481f8db60716bd5ba7bcbc3cf79482b3581daea15be9     1        1001000 lovelace + TxOutDatumNone
ec38ad4afcc0b8c5653df5c8fc66b1ff9e4f36de9d997af4571cb145b7bedc92     1        1001001 lovelace + TxOutDatumNone
fea91b7c50adfb82527cffa61e6537c24fb9eea5d24d809e6ae5d6c669ecb240     0        1000000 lovelace + TxOutDatumNone

My payment.addr file starts with addr1.... and the first column of the query result is TxHash so I’m not sure how to confirm if one of those transactions came from me or not

It is possible to have more wallets file and u somehow mixed the files?

I don’t think so, under my cold-keys folder I only have 1 payment.addr, payment.skey, and payment.vkey among my other cold-keys :confused:

UPDATE: @Alexd1985 So i just checked my wallet balance again, and indeed the 1 ADA did go through (it’s 1 ADA shorter now), so submitting a transaction seemd to have worked successfully.

I’m going to retry and create a registration cert one more time and see if it’s still erroring out.

UPDATE2: Yup, submitting the signed transaction still errors out.

Ok so here was the command submitting the one simple transaction (successfully transferred 1 ADA out):

cardano-cli transaction sign \
    --tx-body-file tx.raw \
    --signing-key-file payment.skey \
    --mainnet \
    --out-file tx.signed

And here is the command submitting for registering the certificate (produced the MissingVKeyWitnessesUTXOW error:

cardano-cli transaction sign \
    --tx-body-file tx.raw \
    --signing-key-file payment.skey \
    --signing-key-file $HOME/cold-keys/node.skey \
    --signing-key-file stake.skey \
    --mainnet \
    --out-file tx.signed

The suspected culprit is therefore either the node.skey or stake.skey, and I’m not sure exactly how to debug or figure out which is causing the error.

UPDATE: Ok so I found my original backup disk with the original keys and i’ve confirmed that:

  1. payment.skey is the same and unmodified
  2. stake.skey is the same and unmodified
  3. node.skey is DIFFERENT!

At this point, I’m not sure what to do but at least I found the culprit…?

But I still dont’ understand how node.skey is linked to the payment and stake keys… is it?

Is it safe to just recreate a set of new node keys, and then re-create the operational cert and pool cert from it? I don’t see how the node keys relate to the payment and stake keys

1 Like

[SOLVED]
Finally figured it out, the signed transaction for the registration cert finally went through…

The issue was my node keys were mismatched!
node.vkey - original
node.skey - new

This whole time I thought they were the pair that belonged with eachother, but after finding my original node keys and comparing, I realized that the node.skey was a different one, and probably overwritten the original one.

Solution: I replaced all my node keys with my original one (from my backup flash drive), re-ran the steps to register the stake pool, and now it finally worked!!!

2 Likes

Perfect, then it means the node.skey was somehow corrupted… always keep a bkp

Cheers,

1 Like