Upload proof params to CF + re-key by CID
- Dominant language
- Rust
- Stars
- 697
- Forks
- 200
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 65
Description
# Summary
Note - this must be agreed with Infra folks; the proof files are rather large.
Right now in `filecoin-proof-parameters.chainsafe.dev` we only host the verification set, i.e., the SRS and verifying keys. Those are pretty small.
```
| kind | count | HTTP | bytes |
|---|---|---|---|
| `.vk` | 22 | 200 | 4.8 MiB total |
| `.srs` | 1 | 200 | 301990192 |
```
The files also need to be re-keyed - this way, e.g., Lotus is able to just point it to our URL via `export IPFS_GATEWAY=https://filecoin-proof-parameters.chainsafe.dev/ipfs/`.
The actual full proving keys needed for, e.g., sealing are hundreds of gigabytes in size (total).
```
| family | 2 KiB | 8 MiB | 512 MiB | 32 GiB | 64 GiB |
|---|---|---|---|---|---|
| PoRep (SDR, `stacked-proof-of-replication`) | 1.0 GiB | 1.3 GiB | 1.9 GiB | 44.1 GiB | 44.4 GiB |
| WindowPoSt (`proof-of-spacetime-fallback`) | 11.0 MiB | 29.4 MiB | 43.2 MiB | 56.6 GiB | 58.3 GiB |
| WinningPoSt (`proof-of-spacetime-fallback`) | 45.1 MiB | 108.1 MiB | 157.6 MiB | 183.2 MiB | 190.7 MiB |
| SnapDeals (`empty-sector-update`) | 625.4 MiB | 4.0 GiB | 20.2 GiB | 32.1 GiB | 33.1 GiB |
| **per-size total (`.params`)** | 1.7 GiB | 5.4 GiB | 22.3 GiB | 133.0 GiB | 135.9 GiB |
```
There also might be some dead entries lying around.
# Completion Criteria
- [ ] existing `.vk` and `.srs` files are re-keyed by CID
- [ ] mainnet and testnet mining proofs are uploaded (keyed by CID)
- [ ] verify against Lotus & inform FilOz
# Additional Links & Resources
Claude investigation, might hallucinate things but seems largely correct.
[proof_params_cloudflare_mirror.md](https://github.com/user-attachments/files/31798919/proof_params_cloudflare_mirror.md)
Contributor guide
Assessment
This issue has not been assessed yet.