Size swaps on free collateral and report refused pool draws on /status - #725
Merged
Conversation
LandynDev
force-pushed
the
free-purse-reject-status
branch
from
September 5, 2026 18:18
b333818 to
b9e6f49
Compare
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.
Summary
Size swaps on the miner's free collateral, and tell the offering at once when the contract refuses a pool draw.
Motivation
Prod 2026-09-05 12:23 ET: a 1.98 TAO -> ARBUSDC swap passed the routed reserve pre-check, then
finalize_reservationrefused it withInsufficientCollateral. The off-chain purse is gross; the program gate ispurse - reserved_collateral[hub]. The validator dropped the queue silently, so the offering sawnoneand waited out its 15 minute backstop.Changes
free_purse:backing_pursenet ofreserved_collateral[hub](hub_reserved_collateral, same slot rule ashub_busy_until). Candidate building, the reserve pre-check and CLI quote/view size on it. Activation keeps the gross read, asvote_activatedoes./statusanswersrejectedwithdetail.reasonanddetail.userswhile no live reservation exists; the next request on that pool clears it; the status memo keys on a verdict epoch so no poll straddles a change. Memory only: after a restart the offering falls back to its backstop./statusprecedence.Pairs with e35VenturaLabs/allways-access#188 (fail the seat at once on
rejected). Either side deploys first.