Repository navigation
feat(fwss): refill the lifecycle reserve on FilecoinPayV2 when scheduling removals - #676
Closed
CodeWarriorr wants to merge 2 commits into
Closed
CodeWarriorr wants to merge 2 commits into
CodeWarriorr wants to merge 2 commits into
Conversation
) * fix(ci): install the pnpm version synapse-sdk declares synapse-sdk now declares pnpm@12.18.0 in packageManager and builds with turborepo. With pnpm 10.33.0 pinned here, the Update Synapse SDK run for v1.5.0 failed in turbo run lint (Exec format error) after wagmi generate had succeeded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(ci): open a new Synapse SDK PR when the tag's earlier PR is merged gh pr view <branch> also matches merged PRs, so rerunning Update Synapse SDK for v1.5.0 edited the merged synapse-sdk#1034 and left the pushed commit without an open PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* chore(josuke): record v1.6.0 deploys on Calibnet and Mainnet * chore(josuke): accept v1.6.0 on Calibnet Calibnet execute: Safe nonce 27, tx 0xd87306666a62f0b363e7b1b8c7a651c21916c5106a4e0cb274ffd5317c32cd5e (block 4256439). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(deployments): record Calibnet fwss_version 1.6.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(josuke): accept v1.6.0 on Mainnet Mainnet execute: Safe nonce 33, tx 0xfafe3f925179b3bd0d445701fd871c7f3f10769f6c848138aa5cab63bdc0ff18 (block 6560696). Record the live fwss_version 1.6.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
|
wrong head, moved to #677 |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scheduling piece removals on a FilecoinPayV2 data set still refilled the lifecycle reserve through FilecoinPayV1, which reverts because the rail id is a v2 one. Now the refill locks the shortfall on the v2 PDP rail, under the same threshold as v1.
Part of #669
What's changed
piecesScheduledRemoveon a v2 data set adds the missing reserve withlockon the PDP rail, in oneexecuteScriptcall with no permissions, sincesetRailandlockneed no grant from the payersettleRailcallback (Add settleRail #673) that balance also holds settled paymentInsufficientBalance_pdpRailNonceand_lockOnPdpRailmove toFWSSFilecoinPayV2so the other v2 callbacks can reuse them, and the threshold math is now a pureLibRails.replenishedReserveshared by v1 and v2No ABI or storage change.