Content
@
https://ethereum.org
0 reply
0 recast
0 reaction
Xaqan π©
@xaqan
transaction failed during contract execution but transaction fee which is about 60 dollars never comes back. is it stealing money or something else i dont understand?!
2 replies
0 recast
0 reaction
freeatnet πΏπ©
@freeatnet.eth
The experience sucks, but basically: the network charges you for the computation you requested and it doesn't care if that computation was useful, so you have to pay for the transaction even if it ends up erroring out.
2 replies
0 recast
0 reaction
freeatnet πΏπ©
@freeatnet.eth
Ideally, your wallet should be able to check that the computation you request doesn't result in an error, but some cases might be out of its hands (e.g., the price of the tokens you wanted to swap changes after you submitted the transaction)
1 reply
0 recast
0 reaction
Xaqan π©
@xaqan
so what is the solution? we should pay for them for doing nothing?
1 reply
0 recast
0 reaction