Skip to content

Refactor Fork Auction Truth Flow into Dedicated Modules#370

Merged
KillariDev merged 2 commits into
mainfrom
t3code/b5eb53eb
Jun 23, 2026
Merged

Refactor Fork Auction Truth Flow into Dedicated Modules#370
KillariDev merged 2 commits into
mainfrom
t3code/b5eb53eb

Conversation

@KillariDev

Copy link
Copy Markdown
Collaborator

Summary

  • Split fork truth-auction flow into dedicated modules by introducing new UI components, hooks, and lib abstractions for bids, settlement state, book data, and pagination.
  • Replaced legacy reporting/truth-auction reporting plumbing with a new transaction/action model and updated operation hooks, tray actions, and marketplace views.
  • Simplified and de-duplicated contract interaction surface by moving auction/fork-specific wiring in ui/ts/contracts and adjusting related deployment/integration hooks.
  • Removed outdated operator/reference docs and simplified auction documentation in docs/auction-design.md and docs/whitepaper_placeholder.html.
  • Updated tests to cover the new truth-auction modules and removed obsolete test coverage tied to deleted modules.

Testing

  • Not run (not requested): bun run tsc
  • Not run (not requested): bun run test
  • Not run (not requested): bun run format
  • Not run (not requested): bun run check
  • Not run (not requested): bun run knip

- Move truth auction book loading, bid modeling, and settlement logic out of the monolithic section component into new hooks and lib helpers
- Add new truth auction UI components for bids, market view, summary, and imported settlement rendering
- Wire updated workflow selection and truth-auction settlement availability into ForkAuctionSection and refresh related tests
@KillariDev

Copy link
Copy Markdown
Collaborator Author

Manual review: no blocking findings found.

I focused on the UI truth-auction refactor:

  • The extracted bid disposition, book, tick/price, and settlement helpers match the prior component logic in the paths I compared.
  • The settlement reducer preserves mixed claim/refund settlement, ignores stale transaction results, and covers the new refund-only route through refundLosingBids with tests.
  • The split bid, market, summary, and imported-settlement components preserve the old loading, empty, and action-control states I checked.
  • git diff --check origin/main...origin/pr/370 is clean.

Caveat: GitHub Required CI was still pending at review time, so wait for that gate before merging. I did not run the full local QA suite during this manual review.

@KillariDev KillariDev merged commit 5346e6e into main Jun 23, 2026
1 check passed
@KillariDev KillariDev deleted the t3code/b5eb53eb branch June 23, 2026 09:03
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