390
updateFn func(chasm.MutableContext, chasm.Component) error,
391
options chasm.TransitionOptions,
393
>
newExecutionParams, err := e.createNewExecutionWithUpdate(
394
>
ctx,
395
>
shardContext,
396
>
executionRef,
397
>
archetypeID,
398
>
startFn,
399
>
updateFn,
400
>
options,
401
>
)
402
>
if err != nil {
403
return chasm.ExecutionKey{}, nil, false, err
404
}
405
406
>
currentRunInfo := currentExecutionInfoFromMutableState(executionLease.GetMutableState())
chasm_engine.go
407
>
408
>
result, err := e.handleExecutionConflict(ctx, shardContext, newExecutionParams, currentRunInfo, options)
409
>
return result.ExecutionKey, result.ExecutionRef, result.Created, err
410
}
411