Scope
set_audit_log wires an opt-in cross-contract call into add_to_denylist/remove_from_denylist via maybe_record. The module doc comment explicitly promises "If set_audit_log is never called the behaviour is identical to before", but there's no test pinning that guarantee — a future change to maybe_record could silently break it without any test catching the regression.
Acceptance criteria
Scope
set_audit_logwires an opt-in cross-contract call intoadd_to_denylist/remove_from_denylistviamaybe_record. The module doc comment explicitly promises "Ifset_audit_logis never called the behaviour is identical to before", but there's no test pinning that guarantee — a future change tomaybe_recordcould silently break it without any test catching the regression.Acceptance criteria