Skip to content

Reuse resolved state in frozen redemption quotes - #1901

Merged
KillariDev merged 4 commits into
mainfrom
production/frozen-redemption-quote
Dec 4, 2026
Merged

KillariDev merged 4 commits into
mainfrom
production/frozen-redemption-quote

Conversation

@KillariDev

Copy link
Copy Markdown
Collaborator

Frozen through-clock redemption quotes already resolve the book, scaled question and frozen book ID. Pass those values to the private pricing helper so the frozen path resolves them once. Stored-clock quotes also reuse the book lookup. The contract ABI and storage layout are identical.

The changed creation bytecode updates the settlement book deployer, pool factory and deployment status oracle addresses. Refresh the four deterministic deployment manifests and the audited Solidity source fingerprint.

Validation

The before/after Anvil comparison matched the exact return or revert bytes in all 14 cases, including zero, partial, full and excessive burns, inherited frozen claims, empty questions and sealed books. Frozen through-clock quotes saved 3,643 gas, including the inherited case. Stored-clock quotes saved 279 gas. Live and empty through-clock quotes cost 6 gas more and the sealed-live early return cost 1 gas more. Runtime size fell from 21,098 to 21,063 bytes. The benchmark candidate matched the final checkout build byte for byte.

Local validation passed full TypeScript, targeted settlement, fork, accounting, scanner, bot and deployment tests, formatting, repository checks, Knip, generated freshness and whitespace checks.

@KillariDev
KillariDev enabled auto-merge December 4, 2026 09:11
@KillariDev
KillariDev added this pull request to the merge queue Dec 4, 2026
Merged via the queue into main with commit 06fd6ab Dec 4, 2026
44 checks passed
@KillariDev
KillariDev deleted the production/frozen-redemption-quote branch December 4, 2026 09:21
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