Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffs: Unable to store string to Lotus testnet using PowerGate FFS #521

Closed
ltfschoen opened this issue Jul 16, 2020 · 3 comments
Closed

ffs: Unable to store string to Lotus testnet using PowerGate FFS #521

ltfschoen opened this issue Jul 16, 2020 · 3 comments

Comments

@ltfschoen
Copy link

Please see the description in this PR ltfschoen/ethquad#7, which includes screenshots, and a list of issues I've encountered, and the list of steps you could follow to replicate the issues.

@asutula
Copy link
Member

asutula commented Jul 16, 2020

Hi @ltfschoen. You issue PR mentions "local testnet". I assume that is our localnet docker compose setup? Please see the localnet docs towards the top where it talks about BIGSECTORS and acceptable file sizes to store in Powergate cold storage.

https://docs.textile.io/powergate/localnet/

Not using --bigsectors will limit you to storing files of around 700 bytes and deals will complete in 30-60 seconds. Using --bigsectors will allow you to store files anywhere from 1Mb to 400Mb, but deals will complete in 3-4 minutes. Be sure to choose the value that makes sense for your development scenario.

So whether or not you use big sectors, a cid string is too small. There is also be minimum file size requirements in Filecoin test net and main net.

@asutula
Copy link
Member

asutula commented Jul 16, 2020

Pretty sure that is causing your problem. Feel free to open this back up if not.

@asutula asutula closed this as completed Jul 16, 2020
@ltfschoen
Copy link
Author

Thanks I'll try that out. Yes, I'm trying to get it to work on the localnet first https://github.com/textileio/powergate/blob/master/docker/docker-compose-localnet.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants