Skip to content

fix: use global Filecoin proof parameter cache - #204

Merged
beck-8 merged 6 commits into
mainfrom
issue-181
Dec 1, 2026
Merged

beck-8 merged 6 commits into
mainfrom
issue-181

Conversation

@galargh

@galargh galargh commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Resolves #181

In this PR, I replace the custom proof parameters cache path (~/.foc-devnet/docker/volumes/cache/filecoin-proof-parameters) with the global one /var/tmp/filecoin-proof-parameters.

Before use, we use Lotus to check if the cache holds the parameters we need. If it does, it is used in read-only mode. Otherwise, we use the downloader as we normally would.

@FilOzzy FilOzzy added this to FOC Sep 8, 2026
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FOC Sep 8, 2026
@FilOzzy FilOzzy moved this from 📌 Triage to ⌨️ In Progress in FOC Sep 8, 2026
@galargh
galargh marked this pull request as ready for review October 23, 2026 23:36
@galargh
galargh requested review from beck-8 and rvagg as code owners October 23, 2026 23:36

@beck-8 beck-8 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

downloading fresh parameters cannot repair corrupted files already present in the cache. This should be addressed before merging.

@BigLep
BigLep removed the request for review from rvagg November 24, 2026 00:48
@beck-8
beck-8 merged commit c22bfe2 into main Dec 1, 2026
3 checks passed
@beck-8
beck-8 deleted the issue-181 branch December 1, 2026 06:33
@github-project-automation github-project-automation Bot moved this from ⌨️ In Progress to 🎉 Done in FOC Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

Use the global Filecoin proof parameter cache

2 participants