Refactor: CPI Instruction Recording (#22111)
* Unifies all InstructionRecorders of a transaction into one. * Stops explicitly compiling CPI instructions for recording, uses the indices gathered from instruction_accounts instead.
This commit is contained in:
committed by
GitHub
parent
60ddd93d09
commit
cc947cad03
@ -273,9 +273,6 @@ impl solana_sdk::program_stubs::SyscallStubs for SyscallStubs {
|
||||
}
|
||||
}
|
||||
|
||||
if let Some(instruction_recorder) = &invoke_context.instruction_recorder {
|
||||
instruction_recorder.record_instruction(instruction.clone());
|
||||
}
|
||||
invoke_context
|
||||
.process_instruction(
|
||||
&instruction.data,
|
||||
|
Reference in New Issue
Block a user