Skip to content

feat: StreamWeightActor - #17

Open
wjmelements wants to merge 19 commits into
mainfrom
swa
Open

feat: StreamWeightActor#17
wjmelements wants to merge 19 commits into
mainfrom
swa

Conversation

@wjmelements

Copy link
Copy Markdown
Collaborator

Reviewer @rvagg
Closes #3

Changes

  • creates basic non-upgradeable StreamWeightActor (SWA)

@wjmelements
wjmelements requested a review from rvagg August 4, 2026 21:14
@FilOzzy FilOzzy added this to FOC Aug 4, 2026
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FOC Aug 4, 2026
@wjmelements wjmelements added the enhancement New feature or request label Aug 4, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in Solstice Aug 4, 2026
@wjmelements wjmelements moved this from Backlog to In review in Solstice Aug 4, 2026
@rjan90 rjan90 linked an issue Aug 5, 2026 that may be closed by this pull request
Base automatically changed from f02-mocks to main August 10, 2026 05:43
@rvagg

rvagg commented Aug 10, 2026

Copy link
Copy Markdown
Member

If you rebase this to the top of my stack (#22) you should get some failures both in compile and in test now that current f02 has been more clearly implemented there.

@wjmelements

Copy link
Copy Markdown
Collaborator Author

I need to learn how this github stack feature works.

@wjmelements

Copy link
Copy Markdown
Collaborator Author

I need to review the SWA changes from filecoin-project/FIPs#1272

@wjmelements
wjmelements marked this pull request as draft August 12, 2026 21:49
@wjmelements
wjmelements marked this pull request as ready for review August 17, 2026 21:05
Assisted-by: Claude:claude-sonnet-5
Comment thread src/lib/UnanimousGovernance.sol
Comment thread src/StreamWeightActor.sol
Comment thread src/lib/GateParams.sol Outdated
Comment thread src/lib/GateParams.sol
}

function nextThreshold(GateParams memory params) internal pure returns (FixedU18 fpvThreshold) {
return params.target.base * params.target.stepRatio.exp(params.steps);

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.

needs a floor here

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

We'll just remove the floor from the spec.

Comment thread src/StreamWeightActor.sol Outdated
Comment thread src/StreamWeightActor.sol
Comment thread src/StreamWeightActor.sol Outdated
Comment thread src/lib/FixedU18.sol
@wjmelements
wjmelements requested a review from rvagg August 18, 2026 18:54
@BigLep BigLep moved this from 📌 Triage to ⌨️ In Progress in FOC Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

Stream Weight Actor

4 participants