New error output
cardano-cli transaction submit --tx-file tx.signed --mainnet
Shelley command failed: transaction submit Error: Error while submitting tx: ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (BadInputsUTxO (fromList [TxInCompact (TxId {_unTxId = "0a853e1421d02776d9e7463c342bcaa6618fb6f96fd6d2d2980441333d6a4e1c"}) 0])))),LedgerFailure (UtxowFailure (UtxoFailure (ValueNotConservedUTxO (Value 0 (fromList [])) (Value 9527823587 (fromList [])))))]
yeah should call export CARDANO_NODE_SOCKET_PATH=/path/to/node/storage//folder/node.socket
I think the node was just starting up
yead definitely wait for be synced againā¦
Same error
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 10027823587 (fromList [])) (Value 9527823587 (fromList [])))))]
If i set the fee to 0:
cardano-cli transaction submit --tx-file tx.signed --mainnet
Shelley command failed: transaction submit Error: Error while submitting tx: ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (FeeTooSmallUTxO (Coin 186973) (Coin 0)))),LedgerFailure (UtxowFailure (UtxoFailure (ValueNotConservedUTxO (Value 10027823587 (fromList [])) (Value 9527823587 (fromList [])))))]
yeah at least it is responding correctly if there is no fee
but good to play a little bit with the values - so lets focusing on this formula:
Value not Conserved: (Input UTXO ā Fee + Amount sent + Change)
so can you just add 1.000.000 lovelance more to --tx-out and see how the error text changingā¦
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 10027823587 (fromList [])) (Value 9528823587 (fromList [])))))]
added 1 000 000 lovelace to txout = 9528823587
10027823587 - 500000000 - 195861 = 9527627726
so still its not subtracting the fee⦠there must be something I am doing wrong.
ok - so lets add 500.000.000 more lovelance then⦠that means 10027823587 and what will be the error
laplasz:
10027823587
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 10027823587 (fromList [])) (Value 10028019448 (fromList [])))))]
10027823587 + 195861 = 10028019448
Oh wow you are a genius⦠its adding the fee
cardano-cli transaction build-raw --tx-in 79776cc9781e139a4fff85387bf1934e8d55bb75a707c46d96ca0be97c2117b6#1 --tx-out $(cat payment.addr)+9528627726 --invalid-hereafter 25564094 --fee 195861 --out-file tx.raw --certificate-file pool.cert --certificate-file deleg.cert
should the fee be fee -195861?
so now only the fee is missingā¦
so 500.000.000 - 195861 you have to add more to tx_out
Chris.AXN:
10027823587
so take 10027823587 and subtract the fee?
Then use that as txout?
Wow it worked⦠well the transaction went through. I am very confused
How long does it take for the pool to be registered?
cardano-cli query ledger-state --mainnet | grep publicKey | grep Removed
still isnāt returning anything
Okay so when I use my stake pool Id I can see it on pooltool.io
Does that mean the pool is registered?
poolid: ee1f91a5e08196567a88de2f1180b4a9f673961e5c2e170421a39002
So the problem was the 500 ADA was not needed during registration - which is weird if this pool was not registered before⦠the error clearly shows that 500 ADA more should be in the tx_out - 10546245241 instead of 10046245241:
Good - you are ready to go - from ledger:
"cost": 345000000,
"margin": 0.1,
"publicKey": "ee1f91a5e08196567a88de2f1180b4a9f673961e5c2e170421a39002",
2 Likes