Submitting transaction gives UtxoFailure ValueNotConserved

Oh I see… should I try rebuilding the transaction?

yes, just to make sure…

cardano-cli transaction submit --tx-file tx.signed --mainnet
Shelley command failed: transaction submit Error: Error while submitting tx: ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (ValueNotConservedUTxO (Value 10029000000 (fromList )) (Value 9529000000 (fromList )))))]

still no luck

Cammond used to calculate fees:

cardano-cli transaction calculate-min-fee --tx-body-file tx.draft --tx-in-count 1 --tx-out-count 1 --witness-count 3 --byron-witness-count 0 --mainnet --protocol-params-file params.json
        195861 Lovelace

I think lets create then a simple transaction - so send 1 ADA to somewhere just to check that is working…
https://docs.cardano.org/projects/cardano-node/en/latest/stake-pool-operations/simple_transaction.html

updated command?

cardano-cli query protocol-parameters \
  --mainnet \
  --out-file protocol.json

Shelley command failed: query protocol-parameters Error: A query from a certain era was applied to a ledger from a different era: EraMismatch {ledgerEraName = “Mary”, otherEraName = “Shelley”}

yeah - missing the --mary-era flag

cardano-cli query protocol-parameters \
  --mainnet --mary-era \
  --out-file protocol.json

Yeah the transaction went through

cardano-cli query utxo --address $(cat payment2.addr) --mainnet --mary-era
                           TxHash                                 TxIx        Amount
--------------------------------------------------------------------------------------
79776cc9781e139a4fff85387bf193                   0        1000000 lovelace
1 Like

is it possible that your node is already registered? could you just register it without pool deposit? I do not know what is happening… but really a good case to debug

How would i check to see if its registered?

Ill try without the deposit

check 8.12 how to check that the node is registered or not
https://docs.cardano.org/projects/cardano-node/en/latest/stake-pool-operations/register_stakepool.html

yeah Im getting nothing back when I run:

cardano-cli query ledger-state --mainnet --mary-era | grep publicKey | grep ee1f91a5e08196Removed5c2e170421a39002

1 Like

So should I try to register without pool.cert or deleg.cert?

no - seems only the amount is faulty…

My node is completely frozen after running cardano-cli query ledger-state --mainnet --mary-era | grep publicKey | grep ee1f91a5e08196Removed5c2e170421a39002 lol

okay so ive been wondering, the pool deposit is 500 but then what about the 340 ADA registration fee… is that to be included in this transaction?

there is no such 340 ADA registration fee… what you think probably is the pool operator fee
another hint:
" This generally happens when operators sign the wrong transaction due to copy paste. Make sure you create the transaction tx.raw before signing rather than tx.draft ."

So, are you sure that you signed the right tx.raw file?

Yeah I saw that post before making mine, unfortunately Ive been very careful not to use tx.draft but rather tx.raw so it cant be that
Im 100% sure I’ve been using the right tx.raw file

1 Like

now when i run cardano-cli transaction submit --tx-file tx.signed --mainnet

I get this output:

cardano-cli: Network.Socket.connect: <socket: 11>: does not exist (No such file or directory)

looks like my node restarted after running cardano-cli query ledger-state --mainnet --mary-era | grep publicKey | grep ee1f91a5e08196Removed5c2e170421a39002