This commit is contained in:
Sergio Chouhy 2025-11-27 09:56:52 -03:00
parent 577fad6d5f
commit 103332f6cd
2 changed files with 3 additions and 3 deletions

View File

@ -50,12 +50,12 @@ pub fn write_nssa_outputs(pre_states: Vec<AccountWithMetadata>, post_states: Vec
pub fn write_nssa_outputs_with_chained_call(
pre_states: Vec<AccountWithMetadata>,
post_states: Vec<Account>,
chained_call: Vec<ChainedCall>,
chained_calls: Vec<ChainedCall>,
) {
let output = ProgramOutput {
pre_states,
post_states,
chained_calls: chained_call,
chained_calls,
};
env::commit(&output);
}

View File

@ -55,6 +55,6 @@ pub enum NssaError {
#[error("Program already exists")]
ProgramAlreadyExists,
#[error("Chain of calls too long")]
#[error("Chain of calls is too long")]
MaxChainedCallsDepthExceeded,
}