diff --git a/lez/programs/loader/core/src/lib.rs b/lez/programs/loader/core/src/lib.rs index 25968a5fe..1d58aecb9 100644 --- a/lez/programs/loader/core/src/lib.rs +++ b/lez/programs/loader/core/src/lib.rs @@ -43,9 +43,6 @@ impl From<&ProgramData> for Data { /// Derives the PDA seed for a deployed program's `ProgramData` account. /// -/// Combines the program's content-derived identity (`image_id`), its position in a (currently -/// always single-segment) split (`segment_number`), and who may redeploy it (`update_auth`). -/// /// Domain-separated from other PDA-seed derivations in the codebase so that a `deploy_pda_seed` /// output can never collide with a seed meant for a different purpose, even if the input triple /// happened to coincide. diff --git a/test_programs/guest/src/bin/chained_call_forwarder.rs b/test_programs/guest/src/bin/chained_call_forwarder.rs index b04fcf1ae..10486badb 100644 --- a/test_programs/guest/src/bin/chained_call_forwarder.rs +++ b/test_programs/guest/src/bin/chained_call_forwarder.rs @@ -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); fn main() {