You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gate legacy element attestations behind the operator role
Sanctions (A-01), AccreditedInvestor (A-03), and QualifiedPurchaser
(A-13) had ungated, eventless attestation setters, diverging from the
Governed/onlyOperator + event pattern used by the six CMP-001 elements
(Jurisdiction, UsTaxResident, etc). Extend Governed on all three, gate
setBlocked/setAccredited/setQp with onlyOperator, and emit an event per
change. Lockup (C-01) has no settable mutator (state is injected via
IAcquisitionSource), so it is left untouched.
Add per-element outsider-auth-revert and set+emit tests to
Elements.t.sol, written RED first against the unmodified elements.
Existing fixtures (Engine.t.sol, IntegrationBase.sol, MultiRecipe.t.sol,
SwapFlow.t.sol) call these setters from the deploying test contract
itself, i.e. as owner, which onlyOperator already admits, so no fixture
changes were needed.
0 commit comments