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
@ -2382,11 +2382,6 @@ fn call<'a, 'b: 'a>(
|
||||
*invoke_context,
|
||||
)?;
|
||||
|
||||
// Record the instruction
|
||||
if let Some(instruction_recorder) = &invoke_context.instruction_recorder {
|
||||
instruction_recorder.record_instruction(instruction.clone());
|
||||
}
|
||||
|
||||
// Process instruction
|
||||
invoke_context
|
||||
.process_instruction(
|
||||
|
Reference in New Issue
Block a user