From 4aaa4755901b329e7ead6c9067c01949f3ab07ef Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt <3esmit@gmail.com> Date: Mon, 29 Jun 2026 12:35:08 -0300 Subject: [PATCH] docs(stablecoin): align generate debt panic docs --- programs/stablecoin/src/generate_debt.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/programs/stablecoin/src/generate_debt.rs b/programs/stablecoin/src/generate_debt.rs index 7ecb163..f798984 100644 --- a/programs/stablecoin/src/generate_debt.rs +++ b/programs/stablecoin/src/generate_debt.rs @@ -16,8 +16,9 @@ use crate::shared::{ /// Mints stablecoin debt against an existing position. /// /// # Panics -/// Panics if the owner is not authorized, the oracle is stale, or the post-mint position would -/// be undercollateralized. +/// Panics if the owner is not authorized, protocol accounts are invalid, the protocol is frozen, +/// the oracle is stale or malformed, the position is invalid, or the post-mint position would be +/// undercollateralized. #[expect( clippy::too_many_arguments, reason = "instruction surface passes explicit position, token, oracle, and protocol accounts"