Paying gas for non-deals

I’m paying gas for deals that never happen. For example:

./go-filecoin wallet balance
537.8438727795443882
./go-filecoin client list-asks
...
t2i25wumjfavhy47xtl6hdfzmy2yvq5tc5hgyee2i 000 0.0000000000000001 28978
...
./go-filecoin client propose-storage-deal t2i25wumjfavhy47xtl6hdfzmy2yvq5tc5hgyee2i QmYpajXBhW3SFj1CjxM9hMHeFwhvGBLM6odPPRnFUQx396 0 14400
Error: error sending proposal: could not establish connection with peer. Peer does not support protocol
./go-filecoin wallet balance 
537.8438388592312681

If you look very carefully, my balance went down:

scheme@(guile-user)> (- 537.8438727795443882 537.8438388592312681)
$1 = 3.3920313171620364e-5

So I’m like paying 30 millionths of a coin for some bogus peer who cannot even be bothered to be on line. Scandalous! I’m being gypped! Robbed raw! Mugged in the alleyway! Call the police!

And it keeps happening:

time ./go-filecoin client propose-storage-deal t2athxtxiy5ij5pb5h7bv4tu5aw4c2kbg2barisaq QmYpajXBhW3SFj1CjxM9hMHeFwhvGBLM6odPPRnFUQx396 0 14400
Error: couldn't establish connection to miner: context deadline exceeded, timed out after 15s

real	0m16.482s
user	0m0.075s
sys	0m0.017s
./go-filecoin wallet balance
537.8438385200281368

So I paid

scheme@(guile-user)> (- 537.8438388592312681 537.8438385200281368)
$2 = 3.3920309761015233e-7

to find out that the miner went off-line. I could just use ping, couldn’t I? Why is this costing gas?

I’m even paying for gas on expired deals. I didn’t pay attention, so there’s this ask, but its expired:

t25mxgxvb3smvrt5k4kwxa3nh4qhxt44axfoh5a3i 000 0.000000000000000001 3954

and the current block height is 4199 so clearly, this deal won’t be honored. But I wasn’t paying attention, and I got this:

time ./go-filecoin client propose-storage-deal t25mxgxvb3smvrt5k4kwxa3nh4qhxt44axfoh5a3i  QmYpajXBhW3SFj1CjxM9hMHeFwhvGBLM6odPPRnFUQx396 0 14400
Error: response check failed: deal rejected: Timeout waiting for payment channel: context deadline exceeded

real	3m47.222s
user	0m0.086s
sys	0m0.012s

so a whole lotta time went by, and my balance went down

./go-filecoin wallet balance t14dh5wp2ab5xdm4kwe7qe4log5ah3etmnkodskoi
537.8438381808250055

so again, I loose:

scheme@(guile-user)> (- 537.8438385200281368 537.8438381808250055)
$5 = 3.3920309761015233e-7

same amount I lost last time.

HIGHWAY ROBBERY! MURDER!

/go-filecoin wallet balance t14dh5wp2ab5xdm4kwe7qe4log5ah3etmnkodskoi
537.8438378416218742
./go-filecoin client list-asks
...
t2cgqrzn5hhqgi6eyf3sqcozovn6yf25airmiorgi 002 0.000000001 3208
...
time ./go-filecoin client propose-storage-deal t2cgqrzn5hhqgi6eyf3sqcozovn6yf25airmiorgi QmYpajXBhW3SFj1CjxM9hMHeFwhvGBLM6odPPRnFUQx396 2 14400
Error: error sending proposal: failed to establish connection with the peer: failed to dial : all dials failed
  * [/ip4/35.175.213.218/tcp/1074/ipfs/QmZGDLdQLUTi7uYTNavKwCd7SBc5KMfxzWxAyvqRQvwuiV/p2p-circuit] stream reset
  * [/ip4/18.209.35.119/tcp/9000/ipfs/QmXq6XEYeEmUzBFuuKbVEGgxEpVD4xbSkG2Rhek6zkFMp4/p2p-circuit] error opening relay circuit: STOP_RELAY_REFUSED (390)
  * [/dns4/user.kittyhawk.wtf/tcp/9001/ipfs/QmXq6XEYeEmUzBFuuKbVEGgxEpVD4xbSkG2Rhek6zkFMp4/p2p-circuit] error opening relay circuit: STOP_RELAY_REFUSED (390)
  * [/ip4/3.88.143.245/tcp/9001/ipfs/QmXq6XEYeEmUzBFuuKbVEGgxEpVD4xbSkG2Rhek6zkFMp4/p2p-circuit] error opening relay circuit: STOP_RELAY_REFUSED (390)
  * [/ip4/3.88.143.245/tcp/9004/ipfs/QmZRnwmCjyNHgeNDiyT8mXRtGhP6uSzgHtrozc42crmVbg/p2p-circuit] error opening relay circuit: STOP_RELAY_REFUSED (390)
  * [/ip4/35.175.213.218/tcp/9000/ipfs/QmZRnwmCjyNHgeNDiyT8mXRtGhP6uSzgHtrozc42crmVbg/p2p-circuit] error opening relay circuit: STOP_RELAY_REFUSED (390)
  * [/ip4/35.175.213.218/tcp/9004/ipfs/QmZRnwmCjyNHgeNDiyT8mXRtGhP6uSzgHtrozc42crmVbg/p2p-circuit] error opening relay circuit: STOP_RELAY_REFUSED (390)
  * [/dns4/user.kittyhawk.wtf/tcp/9000/ipfs/Qmd6xrWYHsxivfakYRy6MszTpuAiEoFbgE1LWw4EvwBpp4/p2p-circuit] error opening relay circuit: STOP_RELAY_REFUSED (390)
  * [/ip4/3.88.143.245/tcp/9000/ipfs/QmXq6XEYeEmUzBFuuKbVEGgxEpVD4xbSkG2Rhek6zkFMp4/p2p-circuit] error opening relay circuit: STOP_RELAY_REFUSED (390)
  * [/ip4/54.162.110.143/tcp/9000/ipfs/QmXq6XEYeEmUzBFuuKbVEGgxEpVD4xbSkG2Rhek6zkFMp4/p2p-circuit] stream reset
  * [/ip4/54.236.10.217/tcp/9001/ipfs/QmXq6XEYeEmUzBFuuKbVEGgxEpVD4xbSkG2Rhek6zkFMp4/p2p-circuit] stream reset
  * [/ip4/3.88.143.245/tcp/1037/ipfs/QmXq6XEYeEmUzBFuuKbVEGgxEpVD4xbSkG2Rhek6zkFMp4/p2p-circuit] stream reset
  * [/ip4/3.88.143.245/tcp/9000/ipfs/Qmd6xrWYHsxivfakYRy6MszTpuAiEoFbgE1LWw4EvwBpp4/p2p-circuit] stream reset
  * [/ip4/35.175.213.218/tcp/9003/ipfs/QmZGDLdQLUTi7uYTNavKwCd7SBc5KMfxzWxAyvqRQvwuiV/p2p-circuit] stream reset
  * [/ip4/3.88.143.245/tcp/9000/ipfs/QmXhxqTKzBKHA5FcMuiKZv8YaMPwpbKGXHRVZcFB2DX9XY/p2p-circuit] error opening relay circuit: STOP_RELAY_REFUSED (390)
  * [/ip4/3.88.143.245/tcp/1031/ipfs/QmZRnwmCjyNHgeNDiyT8mXRtGhP6uSzgHtrozc42crmVbg/p2p-circuit] error opening relay circuit: STOP_RELAY_REFUSED (390)
    ... skipping 19 errors ...

real	4m4.605s
user	0m0.089s
sys	0m0.009s

./go-filecoin wallet balance t14dh5wp2ab5xdm4kwe7qe4log5ah3etmnkodskoi
198.6407066416218741

I LOST 340 COINS ON THIS CRIME:

scheme@(guile-user)> (- 537.8438378416218742 198.6407066416218741)
$6 = 339.2031312

CLASS ACTION LAWSUIT … that faucet had better still be working, or else.

Well, at lest I cannot be scammed twice on the same (expired) deal

time ./go-filecoin client propose-storage-deal t2cgqrzn5hhqgi6eyf3sqcozovn6yf25airmiorgi QmYpajXBhW3SFj1CjxM9hMHeFwhvGBLM6odPPRnFUQx396 2 14400
Error: error creating payment: invalid message: balance insufficient to cover transfer+gas

real	0m14.652s

This error message, for once, did not cost me anything…