Skip to content

Fix truth auction start gating on parent fork migration window#377

Merged
KillariDev merged 4 commits into
mainfrom
t3code/efdfa7e7
Jun 23, 2026
Merged

Fix truth auction start gating on parent fork migration window#377
KillariDev merged 4 commits into
mainfrom
t3code/efdfa7e7

Conversation

@KillariDev

Copy link
Copy Markdown
Collaborator

Summary

  • Updated mainnet deployment docs and addresses for deploymentStatusOracle, securityPoolForker, and securityPoolFactory to the latest expected values.
  • Changed SecurityPoolForker.startTruthAuction to enforce the truth-auction delay against the parent universe fork time and guard against missing parent fork time (parentForkTime > 0).
  • Added a regression test in solidity/ts/tests/peripherals/truthAuction.test.ts to verify auctions wait until the parent migration window closes.
  • Refined simulation bootstrap timing constant in ui/ts/simulation/bootstrap.ts by introducing FORK_MIGRATION_TIME_SECONDS and using it for the migration timeout path.

Testing

  • Not run (no commands executed in this request).
  • Suggested follow-up:
    • bun run tsc
    • bun run test
    • bun run check
    • bun run format

- Sync mainnet deployment docs and JSON addresses for oracle, forker, and factory
- Fix truth auction startup to check parent fork migration window before child auction can start
- Add regression test for the new migration-timing guard
- Use shared FORK_MIGRATION_TIME_SECONDS constant in simulation bootstrap
@KillariDev

Copy link
Copy Markdown
Collaborator Author

/review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI Agent Review

No security issues found.

@KillariDev KillariDev merged commit d909462 into main Jun 23, 2026
2 checks passed
@KillariDev KillariDev deleted the t3code/efdfa7e7 branch June 23, 2026 14:16
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