Skip to content

test: demonstrate access-managed request manager - #68

Draft
md0x wants to merge 4 commits into
unaudited-pm-v2-oo-reporterfrom
pablo/access-manager-request-role
Draft

test: demonstrate access-managed request manager#68
md0x wants to merge 4 commits into
unaudited-pm-v2-oo-reporterfrom
pablo/access-manager-request-role

Conversation

@md0x

@md0x md0x commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • demonstrate using OpenZeppelin AccessManager as the stable holder of REQUEST_MANAGER_ROLE
  • scope an operator role to the four request-manager functions
  • verify unauthorized selectors are rejected
  • verify operator rotation and batched request updates

Why

This provides a minimal proof of concept for separating the stable privileged identity from rotatable operational keys without changing the Managed OO implementation.

Test plan

  • forge test --match-contract ManagedOptimisticOracleV2Test --match-test 'testAccessManager' -vv
  • forge test --no-match-path 'test/ManagedOptimisticOracleV2.Fork*.t.sol' -vv

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