mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-08-25 03:11:21 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user