docs(lee): trim deploy_pda_seed doc comment, fix misattached module doc

deploy_pda_seed's first paragraph just restated its parameter names;
kept only the domain-separation rationale. chained_call_forwarder.rs's
doc comment was floating over an unrelated type alias instead of being
a module-level //! doc.
This commit is contained in:
Marvin Jones
2026-08-22 17:39:23 -04:00
parent 96f2bc1be0
commit 03411f8cae
2 changed files with 7 additions and 9 deletions
@@ -1,13 +1,14 @@
//! Forwards a single chained call to `target_program_id` with `instruction_data`, passing
//! through whatever `pre_states` this program itself was invoked with unchanged.
//!
//! Exists purely as test infrastructure: lets a test exercise "program X invokes program Y via
//! a chained call" for an arbitrary Y and instruction, without needing a purpose-built guest for
//! every target program under test.
use lee_core::program::{
AccountPostState, ChainedCall, ProgramId, ProgramInput, ProgramOutput, read_lee_inputs,
};
/// Forwards a single chained call to `target_program_id` with `instruction_data`, passing
/// through whatever `pre_states` this program itself was invoked with unchanged.
///
/// Exists purely as test infrastructure: lets a test exercise "program X invokes program Y via
/// a chained call" for an arbitrary Y and instruction, without needing a purpose-built guest for
/// every target program under test.
type Instruction = (ProgramId, Vec<u32>);
fn main() {