Skip to content

Yield bootstrap when the posting row already has an exact clip - #201

Merged
hoffmang9 merged 1 commit into
mainfrom
fix/bootstrap-clip-ready-does-not-block-post
Aug 13, 2026
Merged

Yield bootstrap when the posting row already has an exact clip#201
hoffmang9 merged 1 commit into
mainfrom
fix/bootstrap-clip-ready-does-not-block-post

Conversation

@hoffmang9

Copy link
Copy Markdown
Owner

Summary

  • Bootstrap preflight now yields when receive inventory already has an exact clip for the offer being posted, so a spare larger rung (CannotFund / NeedsShape) cannot veto that post.
  • Posting-row size is converted with the same bootstrap_size_mojos_for_side helper as the ladder; sizes not on the ladder or that convert to ≤0 mojos are ignored.
  • Full-ladder shape for other rows stays coin-ops. Posting a size with no exact clip still underfunds as before.

Test plan

  • cargo test --lib in greenfloor-engine (preflight clip-ready, action-clip conversion, eco181 combine-only)
  • After rebuild on john-deere, BYC <> wUSDC.b should post 4×10 + 1×25 on both sides when exact clips exist, even if a spare 25 cannot be minted from leftovers

Spare-rung CannotFund/NeedsShape (for example a size-25 buffer) must not
block posting a size that receive inventory can already fund.
@hoffmang9
hoffmang9 merged commit 4b55aa2 into main Aug 13, 2026
3 checks passed
@hoffmang9
hoffmang9 deleted the fix/bootstrap-clip-ready-does-not-block-post branch August 13, 2026 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant