Skip to content

feat(fip0100): updates to FIP including Teep->Tock#12952

Merged
rvagg merged 2 commits intorvagg/fip-0100from
rvagg/fip-0100-updates
Mar 17, 2025
Merged

feat(fip0100): updates to FIP including Teep->Tock#12952
rvagg merged 2 commits intorvagg/fip-0100from
rvagg/fip-0100-updates

Conversation

@rvagg
Copy link
Copy Markdown
Member

@rvagg rvagg commented Mar 14, 2025

WIP

I'm in the middle of figuring out how to test sector expirations and testing crossing the Tock boundary to activate fees on legacy sector expirations.

@github-project-automation github-project-automation Bot moved this to 📌 Triage in FilOz Mar 14, 2025
@BigLep BigLep moved this from 🐱 Todo to ⌨️ In Progress in nv25 Track Board Mar 14, 2025
@rvagg rvagg force-pushed the rvagg/fip-0100-updates branch from 6e7214f to b4f213b Compare March 17, 2025 05:37
@rvagg
Copy link
Copy Markdown
Member Author

rvagg commented Mar 17, 2025

Now includes expirations testing and the full nv24->nv25->nv26 flow, no fees for legacy sector expirations during nv25.

@rvagg rvagg force-pushed the rvagg/fip-0100-updates branch from b4f213b to d83d0f9 Compare March 17, 2025 05:46
@rvagg
Copy link
Copy Markdown
Member Author

rvagg commented Mar 17, 2025

Here's a summary of what the integration test is checking:

  • Sectors onboarded before network upgrade to v25 ("Teep") have no daily fees attached
  • After upgrade to v25, newly onboarded sectors correctly calculate daily fees based on:
    • Circulating supply at sector activation time
    • Sector's quality-adjusted power (10x multiplier for FIL+ verified sectors)
  • Snapping (updating) pre-v25 sectors causes them to start incurring fees
  • The v25→v26 ("Tock") upgrade implements a grace period for sector extensions:
    • Extensions during grace period don't incur fees
    • Extensions after grace period correctly calculate and apply fees
  • Fees are correctly stored in sector data structures and deadline records
  • Daily fees are properly burned at the end of each proving deadline (inferred as a summary at the end)
  • Daily fee amounts are proportional to sector quality-adjusted power
  • Internal state is properly maintained with new fields for sector and deadline objects (using manual checks and calling the go-state-types invariants)

@rvagg rvagg force-pushed the rvagg/fip-0100-updates branch from d83d0f9 to 5303933 Compare March 17, 2025 06:06
@rvagg rvagg added the skip/changelog This change does not require CHANGELOG.md update label Mar 17, 2025
@rvagg rvagg marked this pull request as ready for review March 17, 2025 06:09
@rvagg
Copy link
Copy Markdown
Member Author

rvagg commented Mar 17, 2025

Run a whole lotta times locally and no flake. I'm surprised at how well this works tbh.

Merging into #12932

@rvagg rvagg merged commit f52ed3d into rvagg/fip-0100 Mar 17, 2025
86 checks passed
@rvagg rvagg deleted the rvagg/fip-0100-updates branch March 17, 2025 06:33
@github-project-automation github-project-automation Bot moved this from 📌 Triage to 🎉 Done in FilOz Mar 17, 2025
@github-project-automation github-project-automation Bot moved this from ⌨️ In Progress to 🎉 Done in nv25 Track Board Mar 17, 2025
@rjan90 rjan90 moved this from 🎉 Done to ☑️ Done (Archive) in FilOz Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip/changelog This change does not require CHANGELOG.md update

Projects

Status: ☑️ Done (Archive)
Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

3 participants