Use the global Filecoin proof parameter cache
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 62/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker, rust
- 領域
- devops, infrastructure
調査の方向性
src/paths.rs の foc_devnet_proof_parameters() から始め、次に downloader、起動前提条件チェック、status コマンド、ならびに Lotus、lotus-miner、Curio のコンテナ bind mount によるその使用箇所を追跡します。完了条件は、これらすべてが標準のグローバルホストキャッシュを使用し、追加のダウンロードなしで既存のキャッシュを再利用し、サポート対象プラットフォームの権限とプライベートキャッシュからの移行に対応することです。
索引モデルが issue の本文から書いたものです。
説明
Problem
foc-devnet stores Filecoin proof parameters in its private data directory:
~/.foc-devnet/docker/volumes/cache/filecoin-proof-parameters
The path comes from foc_devnet_proof_parameters() in src/paths.rs and is used by the downloader, startup prerequisite checks, status command, and the Lotus/lotus-miner/Curio container bind mounts.
Proof parameters are not specific to a foc-devnet run or to foc-devnet itself. Keeping a private copy prevents reuse of an existing system-wide Filecoin parameter cache and can cause another large download and duplicate disk usage when other Filecoin tools are installed.
Expected behavior
Use the standard global Filecoin proof parameter cache on the host (normally /var/tmp/filecoin-proof-parameters) and bind-mount that directory into the containers at the existing /var/tmp/filecoin-proof-parameters path.
Acceptance criteria
- An existing global Filecoin proof parameter cache is reused without downloading another foc-devnet-specific copy.
- Parameter downloading, prerequisite validation, status reporting, and all relevant container bind mounts resolve to the same global host directory.
- The chosen path works on every supported host platform, with permissions and any migration from the current foc-devnet-private cache handled or documented.
- 主要言語
- Rust
- スター
- 4
- フォーク
- 6
- 平均マージ
- 8時間 17分
- マージ済み PR(30日)
- 14
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
FilOzone/foc-devnet のほかの issue
-
scenarios-run-frontier
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
FilOzone/foc-devnet#227 ·
メンテナーはふだん 1 日以内に返信
-
scenarios-run-stability-frontier-filecoin-services
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
FilOzone/foc-devnet#221 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
FilOzone/foc-devnet#139 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
FilOzone/foc-devnet#127 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
FilOzone/foc-devnet#126 ·
メンテナーはふだん 1 日以内に返信
FilOzone/foc-devnet の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
datafusion-contrib/StreamFusion#653 ·
メンテナーはふだん 1 日以内に返信
-
bug CLI exec session
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tursodatabase/turso#11734 ·
メンテナーはふだん 1 日以内に返信
-
quality testing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
compatibility
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信