Repository navigation
Conversation
Automated providers required enough cap and wallet balance to fund an entire remaining bond, so a request could stall even when multiple providers had enough aggregate capacity. Contribute the affordable remainder in 0.01-token increments and reserve only that contribution against the pass wallet and exposure totals. Cover pooled LIQSOL funding, rounding, existing exposure, and exhaustion across requests in the planner tests; document the shared coverage. Change-Id: I66baf61e1da21c66cdc5c65128f7be966270d477
valthon
marked this pull request as ready for review
November 11, 2026 04:51
This branch has not been 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.
Automated underwriters waited whenever one account could not cover a request's entire outstanding bond. This left a 6 LIQSOL request unfunded even with five accounts each able to contribute 2 LIQSOL.
Contribute the minimum of the uncovered remainder, remaining exposure allowance, and wallet balance, rounded down to the contract's 0.01-token increment. Count each contribution against this pass's remaining funds and later passes' outstanding exposure. Keep outpost verification, oldest-first ordering, emergency stops, and settlement rules in place.
Regression coverage includes the five-underwriter example, exposure and wallet exhaustion across requests, previously bonded funds, caps lowered below existing exposure, and nine-decimal rounding around the minimum increment. The underwriter documentation describes shared coverage.
Validation:
bcbe0e73efefa6fb22deb717e6135ad820016c05.