IIRC, the fee of a rejected / backtracked transactions is debited from the sender account. What happens to those tez? Are they burned? Do they go to the baker even though the transaction wasn't included in the block?
Thanks!
Tezos Stack Exchange is a question and answer site for users, experts, and developers of the Tezos blockchain project. It only takes a minute to sign up.
Sign up to join this communityAs Raphaël mentioned, the fees go to the baker that includes that non-applied (failed/backtracked/skipped) operation into the block it baked. Those operations are included in the blockchain! But they're not applied.
It's normal that you do not want to pay for operations that fail. You should run simulations before you make an operation that might fail. You should use testnets to make operations that don't cost you any tez.
Operations that fully fail to be included in any block don't cost you anything. There are two scenarii:
(I wanted to write just a comment but I'm not allowed.)
Do they go to the baker even though the transaction wasn't included in the block?
Rejected transactions can be included in blocks, and yes the fees go to the baker including them.