I tried again with a --max-gas-fee. Despite paying (again for the same chunks) it looks like I didn’t succeed in getting a single chunk uploaded.
You’re right - retrying costs. I ended up paying for 1034 chunks again. Unfortunately, all chunks failed to upload. I think it takes about a minute or so for each “A network error occurred.” line.
At the end, ant reported “Upload of 1 files completed in 390080.351990605s”. A bit misleading since the upload didn’t really work, but the duration seems right - this represents just over 4.5 days of the program running, until it eventually exited.
Here is some of the output (I omited a lot from the middle, since the output is over 4,100 lines):
$ ant file upload --public --max-fee-per-gas=20000000 ~/Downloads/kali-linux-2024.3-installer-amd64.iso
Logging to directory: "/home/sbosshardt/.local/share/autonomi/client/logs/log_2025-05-19_15-12-10"
🔗 Connected to the Network Uploading data to network...
Encrypting file: "/home/sbosshardt/Downloads/kali-linux-2024.3-installer-amd64.iso"..
Successfully encrypted file: "/home/sbosshardt/Downloads/kali-linux-2024.3-installer-amd64.iso"
Quoting for 1034 chunks..
Paying for 1034 chunks..
Chunk payments of 1034 chunks completed. 0 chunks were free / already paid for
Uploading file: /home/sbosshardt/Downloads/kali-linux-2024.3-installer-amd64.iso (1034 chunks)..
(1/1034) Chunk failed to be stored at: a74bd3fb833e9ee36c309889079b7f189026eae5386dc7a325c6e2362cbaaaa6 (A network error occurred.)
(2/1034) Chunk failed to be stored at: 096f2341670ebc036424adb40b18376cf358ab7ceb72598e80b914d8299ba0e7 (A network error occurred.)
(3/1034) Chunk failed to be stored at: 9616eab078ab376293d6a063bba39e1f7a4405c9abf3b017a26eb96e3a434c34 (A network error occurred.)
(4/1034) Chunk failed to be stored at: 8f03f001cd794f72fa65ae625e1b7ce9d947cf2ec57fe2ce92e4f074e89d5998 (A network error occurred.)
(5/1034) Chunk failed to be stored at: cfd94d816268451c58052991baa97b510d9893f375071273b02702fdb6a34e34 (A network error occurred.)
(6/1034) Chunk failed to be stored at: 3ffac67ecb9009d1a62967016336546e98bdbbd3e707198fc3c9876a8acea7d8 (A network error occurred.)
[...]
(Loops around a few times)
[...]
(1033/1034) Chunk failed to be stored at: 6aa2bed6e0eead31449d7bce1eb395f53a1b948e43bfcad00d0ec99f6434e7f9 (A network error occurred.)
(1034/1034) Chunk failed to be stored at: 661922aa2941f6fc1a900ac030556c06c91530ae7002aa934c179589e995fc6e (A network error occurred.)
Upload of 1 files completed in 390080.351990605s
Error uploading file /home/sbosshardt/Downloads/kali-linux-2024.3-installer-amd64.iso: PutError(Network(FailedToVerifyChunkProof(NetworkAddress::RecordKey("661922aa2941f6fc1a900ac030556c06c91530ae7002aa934c179589e995fc6e") - (738c3ca37b72cf5757be21025ffa03f75cef61f99419b4dae996b60ea5a5265a))))
0: Failed to upload file
1: Failed to upload file
2: A network error occurred.
3: Failed to verify the ChunkProof with the provided quorum
Location:
ant-cli/src/commands/file.rs:86
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
sbosshardt@sam-desktop ~/Programming/autonomi $ ## The below "date" command runs immediately after "ant file upload" exits.
sbosshardt@sam-desktop ~/Programming/autonomi $ date
Sat May 24 03:33:36 AM PDT 2025
I see that Autonomi devs have looked at this post and made some changes based on the feedback - I appreciate it.
Now that ant exited (after 4.5 days), I’ve uploaded the “logs” folder it made during its run. It’s 242 MB on my computer, and that’s with two thirds of the log files (automatically) .gz compresed! In the folder I’ve also included a notes file I made that has the full output of the command (“2025-05-19 uploading 4 gb linux iso.txt”). A zip file is available here in case anyone wants it:
https://www.sbosshardt.com/test/autonomi/log_2025-05-19_15-12-10.zip
I did try using ant to upload those logs, but the Arbitrum gas fees went up significantly and caused the upload to fail after nearly an hour. At this stage of ant upload
, I think there is quoting & payment to upload the datamap - after all the underlying chunks of the files are been saved. I’m guessing that if the datamap were to be paid up front, it might improve the odds of success (less time for gas fees to skyrocket).
It might be good if there were an argument to indicate to ant upload
that you want it to not throw an exception when gas fees are too high - just wait a while and keep trying until the fees come down low enough to continue. Or similarly, have an argument to make it timeout after so long (and have the default behavior to patiently wait for as long as it takes and retry).
I uploaded (to a website) a zip file of the logs so I don’t have to keep checking Arbitrum’s gas price to come down.
In hindsight, if I had zipped the folder first, it might have succeeded (42MB instead of 242 MB). Here are logs of my failed attempt uploading the (above) logs - also including a notes file that has the command’s output:
https://www.sbosshardt.com/test/autonomi/log_2025-05-25_00-03-31.zip