info *grpc.UnaryServerInfo,
handler grpc.UnaryHandler,
// Capture panics for any handler method, not just CHASM-specific ones. This could have gone into a separate
// interceptor, but having it here avoids the overhead of adding another layer to the interceptor chain.
defer metrics.CapturePanic(i.logger, i.metricsHandler, &retError)
ctx = NewEngineContext(ctx, i.engine)
return handler(ctx, req)
}
func ChasmEngineInterceptorProvider(