Skip to content

feat: allow duplicate OO reporter requests - #74

Closed
md0x wants to merge 1 commit into
unaudited-pm-v2-oo-reporterfrom
pablo/allow-duplicate-oo-requests
Closed

feat: allow duplicate OO reporter requests#74
md0x wants to merge 1 commit into
unaudited-pm-v2-oo-reporterfrom
pablo/allow-duplicate-oo-requests

Conversation

@md0x

@md0x md0x commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Allow multiple request IDs to register the same price identifier and request rules.
  • Route Managed OO callbacks by the concrete (identifier, timestamp, rules) tuple so each request keeps an independent lifecycle and Polymarket callback.
  • Reject same-timestamp tuple collisions explicitly and make timestamp part of getRequestId.

Deployment status

This is a pre-deployment ABI and storage change. No OOReporter proxy has been deployed, so there is no legacy request state or callback mapping to migrate. Upgrade tooling remains aligned with this implementation for future deployments.

Test plan

  • cd pm-v2-oo-reporter && forge test
  • cd pm-v2-oo-reporter && forge build --sizes
  • forge test --no-match-contract ".*Fork.*"

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 78ef106ec9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pm-v2-oo-reporter/src/OOReporter.sol
Comment thread pm-v2-oo-reporter/script/UpgradeOOReporter.s.sol
@md0x md0x closed this Aug 26, 2026
@md0x
md0x deleted the pablo/allow-duplicate-oo-requests branch August 26, 2026 15:53
@md0x

md0x commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator Author

Closing in favour of #73 (comment)

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