Deligation registration tx failure

Hi All:

I am getting the following error while submitting the transaction to pay the 500 ADA deposit and generate delegation certificate:

Shelley command failed: transaction submit Error: Error while submitting tx: ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (OutsideValidityIntervalUTxO (ValidityInterval {invalidBefore = SNothing, invalidHereafter = SJust (SlotNo 21324900)}) (SlotNo 24340647)))),LedgerFailure (UtxowFailure (UtxoFailure (BadInputsUTxO (fromList [TxInCompact (TxId {_unTxId = “45953d0be6a1e63dd38799707712522fb61e36267b2b965538cb9761e3b2f739”}) 0,TxInCompact (TxId {_unTxId = “f63e3e459ed50e91cb6b776111a92ef556b5b9771c659cda0170a6c651ffa770”}) 0])))),LedgerFailure (UtxowFailure (UtxoFailure (WrongNetwork Mainnet (fromList [Addr Testnet (KeyHashObj (KeyHash “0743d16cfe3c4fcc0c11c2403bbc10dbc7ecdd4477e053481a368e7a”)) (StakeRefBase (KeyHashObj (KeyHash “06e2ae44dff6770dc0f4ada3cf4cf2605008e27aecdb332ad349fda7”)))])))),LedgerFailure (UtxowFailure (UtxoFailure (ValueNotConservedUTxO (Value 0 (fromList )) (Value 999653994 (fromList )))))]

I get the error at the stage of submitting it – I have enough ADA in payment address, I have calculated my change correctly, I have determined my tx fee correctly and my TTL is ahead of current slot – what am I doing wrong? :slight_smile:

Is this a result of creating the keys and addresses before node is completely synched?

There seems to be a confusion between testnet/mainnet

you will want to be sync’d all the way so you get the right TIP

also if it is the testnet confusion from above make sure you use this when submitting the transaction

cardano-cli transaction submit \
    --tx-file tx.signed \
    --mainnet

still something wrong with the calculation: https://iohk.zendesk.com/hc/en-us/articles/900001220843-Transaction-errors-ValueNotConservedUTxO

1 Like

Thank you @laplasz!

1 Like