IntersectMBO / cardano-node

The core component that is used to participate in a Cardano decentralised blockchain.
https://cardano.org
Apache License 2.0
3.06k stars 720 forks source link

[BUG] - Withdrawing rewards #3998

Open ghost opened 2 years ago

ghost commented 2 years ago

I follow the docs relevant to withdrawing rewards, for my stake pool. Instead I get ValueNotConservedInUtxo error and the transaction validation fails when i try to submit it.

I re-checked/re-tried:

dorin100 commented 2 years ago
CarlosLopezDeLara commented 2 years ago

@mohammadsaadraza ValueNotConservedInUtxo means that inputs for the tx does not match the intended outputs + fees.

CarlosLopezDeLara commented 2 years ago

Hi @mohammadsaadraza, still have an issue withdrawing rewards?

ghost commented 2 years ago

Cli and Node versions are 1.34.1

I did manage to withdraw rewards. But it is still weird to me. I was copying/pasting my commands on CLI. Even with the commands and amounts correct, I was getting the error.

Then I tried typing all commands from scratch, no copy/paste. And it worked. The commands and amounts were the same as before.

I don't know if this problem was pertaining to the CLI tool itself or maybe something with my environment.

Maybe pasting adds in an escaped character?, but im not sure. Hope this answer helps.

CarlosLopezDeLara commented 2 years ago

Hey, glad to hear! Probably something got messed up when copy/pasting or since you received a ValueNotConservedInUtxo , perhaps just a missing digit when you edited the lovelace amounts in tx-out or --withdrawal?

Just to confirm, you were following this doc, right?