mirror of
https://github.com/hanzoai/commerce.git
synced 2026-10-30 15:08:42 +00:00
A credit() that read a row while it was still locked at Circle could finish after the reconciler settled it: the room it reserved was never released, since a settled, landed row is never swept again, and the payer's cap shrank for good. The mark-owed step now releases when the row it gets back is already onchain. A base-unit amount longer than 2^256 has digits is refused before it is parsed. Adds Red's round-three tests: the hold leak, and the clawback that keeps failing and is retried with backoff until the ledger answers. Claude-Session: https://claude.ai/code/session_015XYKLoQYzUebNbaqKWPw2C