fix: initState for evalInteraction

This commit is contained in:
ppe
2023-02-03 11:27:55 +01:00
committed by just_ppe
parent 488156eafb
commit 7d7b12f669

View File

@@ -756,6 +756,9 @@ export class HandlerBasedContract<State> implements Contract<State> {
) {
const interactionCall: InteractionCall = this.getCallStack().addInteractionData(interactionData);
const benchmark = Benchmark.measure();
await executionContext.handler.initState(evalStateResult.state);
const result = await executionContext.handler.handle<Input, View>(
executionContext,
evalStateResult,