-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Currently,
It seems that calling .upload just hangs for many dozens of minutes for the first few chunks.
The .upload method borderline works with gasInPct set to 300 - in so far as a 2815.36 KB file was uploaded in ~11 minutes
It's quite unclear to me, a hypothetical user, how to use the gasInPct. A few things that would be reasonable here, from my PoV, are:
- Have some parameter that controls the speed in a more intuitive way (e.g. gasPerByte or ethPerByte might be a very good abstraction here - whereby that's the maximum I'm willing to spend and the sdk handles how to spend it in order to get as fast an upload as possible)
- Some estimate of total upload time printed to the console, given the gas I'm spending (right now, unless I modify the undocumented
gasInPctit essentially looks likeuploadhangs - even though I do buy it might finish in some hypothetical future) - Estimating upload time with
estimateCost, to avoid unreasonably large updates
Metadata
Metadata
Assignees
Labels
No labels