The doc comment on DripGovernor::transfer_authority (contracts/governor/src/lib.rs) says: "Deprecated: Use propose_authority + accept_authority instead for the safer 2-step transfer pattern (Ownable2Step)." This is prose only — the function has no #[deprecated(note = "...")] attribute, so nothing in the toolchain (compiler warnings, IDE hints, clippy) actually surfaces this to a caller still using the single-step transfer_authority. Since the whole point of flagging it as deprecated is to steer integrators toward the safer 2-step flow, the warning should be enforced by the compiler, not just left in a comment that only shows up if someone reads the source.
The doc comment on
DripGovernor::transfer_authority(contracts/governor/src/lib.rs) says: "Deprecated: Usepropose_authority+accept_authorityinstead for the safer 2-step transfer pattern (Ownable2Step)." This is prose only — the function has no#[deprecated(note = "...")]attribute, so nothing in the toolchain (compiler warnings, IDE hints, clippy) actually surfaces this to a caller still using the single-steptransfer_authority. Since the whole point of flagging it as deprecated is to steer integrators toward the safer 2-step flow, the warning should be enforced by the compiler, not just left in a comment that only shows up if someone reads the source.