Bug Reports
Open
LLM precompile issue
LLM error: Failed to get vLLM client: failed to get cert hash for endpoint from registry: failed to get cert hash from registry: failed to get cert hash: execution reverted
2 Comments
Sign in to comment
Rahul8096·about 2 months ago
same issue with me
why not you take Fresh valid LLM executor
like const TEE_SERVICE_REGISTRY = "0x9644e8562cE0Fe12b4deeC4163c064A8862Bf47F";
const CAPABILITY_LLM = 1;
const services = await publicClient.readContract({
address: TEE_SERVICE_REGISTRY,
abi: [/* getServicesByCapability ABI */],
functionName: "getServicesByCapability",
args: [CAPABILITY_LLM, true], // true = only valid ones
});
const goodExecutor = services.find(s => s.isValid)?.node.teeAddress;