Skip to content

Commit 9a23eec

Browse files
committed
Added missing clear for hooks
1 parent 6bf0741 commit 9a23eec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/sequencer/src/protocol/production/sequencing/TransactionExecutionService.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export async function executeWithExecutionContext<MethodResult>(
116116
// Set up context
117117
const executionContext = container.resolve(RuntimeMethodExecutionContext);
118118

119+
executionContext.clear();
119120
executionContext.setup(contextInputs);
120121
executionContext.setSimulated(runSimulated);
121122

@@ -250,7 +251,7 @@ export class TransactionExecutionService {
250251
throw error;
251252
}
252253

253-
traceSTs("STs:", protocolResult.stateTransitions);
254+
traceSTs("PSTs:", protocolResult.stateTransitions);
254255

255256
// Apply protocol STs
256257
await recordingStateService.applyStateTransitions(

0 commit comments

Comments
 (0)