From 9bc84c4efe2b6cf63de687b822b99c0386172921 Mon Sep 17 00:00:00 2001 From: OWK50GA Date: Mon, 13 Apr 2026 06:25:23 +0100 Subject: [PATCH 1/5] test: added test script for sdk --- .env.example | 2 +- packages/contracts/README.md | 2 +- packages/contracts/hardhat.config.ts | 2 +- packages/contracts/package.json | 3 +- packages/orchestrator/.env.example | 2 +- packages/orchestrator/logs/combined.log | 134 ++++++++++++++++++ packages/orchestrator/logs/error.log | 20 +++ packages/orchestrator/src/app.ts | 8 +- packages/orchestrator/src/config/index.ts | 2 +- .../orchestrator/src/services/ChainService.ts | 49 +++++-- .../src/services/IntentService.ts | 8 +- packages/orchestrator/src/utils/utils.ts | 7 +- packages/sdk/src/client.test.ts | 7 + packages/sdk/src/client.ts | 6 +- scripts/test-sdk.ts | 125 ++++++++++++++++ 15 files changed, 350 insertions(+), 27 deletions(-) create mode 100644 scripts/test-sdk.ts diff --git a/.env.example b/.env.example index 000a2df..d8bea1b 100644 --- a/.env.example +++ b/.env.example @@ -2,7 +2,7 @@ THIRDWEB_CLIENT_ID= THIRDWEB_SECRET_KEY= # Hashkey Chain (Inventory Settler) -HASHKEY_RPC_URL=https://hashkeychain-testnet.alt.technology +HASHKEY_RPC_URL=https://testnet.hsk.xyz GRIFFIN_VAULT_ADDRESS= GRIFFIN_OPERATOR_PRIVATE_KEY= GRIFFIN_DEX_ADDRESS= \ No newline at end of file diff --git a/packages/contracts/README.md b/packages/contracts/README.md index e507e44..bc113a6 100644 --- a/packages/contracts/README.md +++ b/packages/contracts/README.md @@ -55,7 +55,7 @@ Create `.env` file: ```bash PRIVATE_KEY=your_private_key_here -HASHKEY_RPC_URL=https://hashkeychain-testnet.alt.technology +HASHKEY_RPC_URL=https://testnet.hsk.xyz ``` ## Compile diff --git a/packages/contracts/hardhat.config.ts b/packages/contracts/hardhat.config.ts index 162c23e..f631cb9 100644 --- a/packages/contracts/hardhat.config.ts +++ b/packages/contracts/hardhat.config.ts @@ -1,6 +1,6 @@ import { HardhatUserConfig } from "hardhat/config"; import "@nomicfoundation/hardhat-toolbox"; -import * as dotenv from "dotenv"; +import dotenv from "dotenv"; dotenv.config(); diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 6be7aa2..fdf166b 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -7,7 +7,8 @@ "test": "hardhat test", "deploy": "hardhat run scripts/deploy.ts", "deploy:hashkey": "hardhat run scripts/deploy.ts --network hashkey", - "check-balance": "hardhat run scripts/check-balance.ts --network hashkey" + "check-balance": "hardhat run scripts/check-balance.ts --network hashkey", + "deploy:tokens": "hardhat run scripts/deployTokens.ts --network hashkey" }, "devDependencies": { "@nomicfoundation/hardhat-chai-matchers": "^2.0.0", diff --git a/packages/orchestrator/.env.example b/packages/orchestrator/.env.example index 48c2bce..f4d26e0 100644 --- a/packages/orchestrator/.env.example +++ b/packages/orchestrator/.env.example @@ -24,7 +24,7 @@ GRIFFIN_STARKENT_ACCOUNT_ADDRESS= GRIFFIN_STARKNET_PRIV_KEY= # Hashkey Chain (Inventory Settler) -HASHKEY_RPC_URL=https://hashkeychain-testnet.alt.technology +HASHKEY_RPC_URL=https://testnet.hsk.xyz GRIFFIN_VAULT_ADDRESS= # Griffin's wallet address holding token reserves GRIFFIN_OPERATOR_PRIVATE_KEY= # Private key that signs transfer transactions — keep secret GRIFFIN_DEX_ADDRESS= # Deployed GriffinDEX contract address diff --git a/packages/orchestrator/logs/combined.log b/packages/orchestrator/logs/combined.log index 25dfb20..3bb40e4 100644 --- a/packages/orchestrator/logs/combined.log +++ b/packages/orchestrator/logs/combined.log @@ -875,3 +875,137 @@ {"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:45037"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-11T17:17:20.612Z"} {"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:40207"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-11T17:17:20.625Z"} {"error":{"code":"NO_TOKENS_FOUND","message":"No tokens found for chain","stack":"AppError: No tokens found for chain\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:53:15)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:23:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40359"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-11T17:17:20.728Z"} +{"chainId":"eip155:133","level":"info","message":"EvmClient initialised","rpcUrl":"https://testnet.hsk.xyz","service":"griffin-orchestrator","timestamp":"2026-04-13T04:17:28.597Z"} +{"chainId":"eip155:133","dexAddress":"0x16279052BFEde721ed2662F41A754966a3E48124","level":"info","message":"DexClient initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T04:17:28.622Z"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T04:17:28.623Z","vaultAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T04:17:28.624Z"} +{"level":"info","message":"SettlementEngine initialised","service":"griffin-orchestrator","settlers":["inventory","swap"],"timestamp":"2026-04-13T04:17:28.625Z"} +{"level":"info","message":"Griffin Orchestrator server running on port 3000","service":"griffin-orchestrator","timestamp":"2026-04-13T04:17:28.658Z"} +{"level":"info","message":"Environment: development","service":"griffin-orchestrator","timestamp":"2026-04-13T04:17:28.659Z"} +{"ip":"::1","level":"info","message":"Incoming request","method":"GET","requestId":"0a19bbd6-430c-4052-9d17-ad390b6297c7","service":"griffin-orchestrator","timestamp":"2026-04-13T04:17:39.207Z","url":"/api/v1/health","userAgent":"curl/8.15.0"} +{"chainId":"eip155:133","level":"info","message":"EvmClient initialised","rpcUrl":"https://testnet.hsk.xyz","service":"griffin-orchestrator","timestamp":"2026-04-13T04:20:37.282Z"} +{"chainId":"eip155:133","dexAddress":"0x16279052BFEde721ed2662F41A754966a3E48124","level":"info","message":"DexClient initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T04:20:37.308Z"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T04:20:37.309Z","vaultAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T04:20:37.310Z"} +{"level":"info","message":"SettlementEngine initialised","service":"griffin-orchestrator","settlers":["inventory","swap"],"timestamp":"2026-04-13T04:20:37.311Z"} +{"level":"info","message":"Griffin Orchestrator server running on port 3000","service":"griffin-orchestrator","timestamp":"2026-04-13T04:20:37.340Z"} +{"level":"info","message":"Environment: development","service":"griffin-orchestrator","timestamp":"2026-04-13T04:20:37.340Z"} +{"ip":"::1","level":"info","message":"Incoming request","method":"GET","requestId":"59386361-d529-458f-be3e-8d7cfbb3913d","service":"griffin-orchestrator","timestamp":"2026-04-13T04:20:50.840Z","url":"/api/v1/health","userAgent":"curl/8.15.0"} +{"chainId":"eip155:133","level":"info","message":"EvmClient initialised","rpcUrl":"https://testnet.hsk.xyz","service":"griffin-orchestrator","timestamp":"2026-04-13T04:23:01.094Z"} +{"chainId":"eip155:133","dexAddress":"0x16279052BFEde721ed2662F41A754966a3E48124","level":"info","message":"DexClient initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T04:23:01.131Z"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T04:23:01.134Z","vaultAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T04:23:01.135Z"} +{"level":"info","message":"SettlementEngine initialised","service":"griffin-orchestrator","settlers":["inventory","swap"],"timestamp":"2026-04-13T04:23:01.136Z"} +{"level":"info","message":"Griffin Orchestrator server running on port 3000","service":"griffin-orchestrator","timestamp":"2026-04-13T04:23:01.178Z"} +{"level":"info","message":"Environment: development","service":"griffin-orchestrator","timestamp":"2026-04-13T04:23:01.179Z"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"362d863e-1d42-4fe8-b082-c40facb988b9","service":"griffin-orchestrator","timestamp":"2026-04-13T04:24:57.418Z","url":"/api/v1/health","userAgent":"node"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"bdcf502d-a0d2-41f4-bdb4-35bf312b92be","service":"griffin-orchestrator","timestamp":"2026-04-13T04:26:51.318Z","url":"/api/v1/chains","userAgent":"node"} +{"duration":"4ms","level":"info","message":"Request completed","method":"GET","requestId":"bdcf502d-a0d2-41f4-bdb4-35bf312b92be","service":"griffin-orchestrator","statusCode":200,"timestamp":"2026-04-13T04:26:51.321Z","url":"/"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"37fa4bf7-2aa6-4111-96d1-a00f0082a2c4","service":"griffin-orchestrator","timestamp":"2026-04-13T04:26:51.437Z","url":"/api/v1/quotes","userAgent":"node"} +{"level":"info","message":"Finding routes","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:26:51.463Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:26:51.464Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"37fa4bf7-2aa6-4111-96d1-a00f0082a2c4"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:26:51.468Z"} +{"duration":"33ms","level":"info","message":"Request completed","method":"POST","requestId":"37fa4bf7-2aa6-4111-96d1-a00f0082a2c4","service":"griffin-orchestrator","statusCode":404,"timestamp":"2026-04-13T04:26:51.470Z","url":"/api/v1/quotes"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"e1bf2c3f-eedc-42fc-8d3d-f32896ed4f93","service":"griffin-orchestrator","timestamp":"2026-04-13T04:26:51.480Z","url":"/api/v1/intents","userAgent":"node"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:26:51.485Z"} +{"error":{"code":"INVALID_ADDRESS","message":"Sender address not valid on chain","stack":"AppError: Sender address not valid on chain\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:132:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at async (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"364","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"e1bf2c3f-eedc-42fc-8d3d-f32896ed4f93"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:26:51.490Z"} +{"duration":"12ms","level":"info","message":"Request completed","method":"POST","requestId":"e1bf2c3f-eedc-42fc-8d3d-f32896ed4f93","service":"griffin-orchestrator","statusCode":400,"timestamp":"2026-04-13T04:26:51.492Z","url":"/api/v1/intents"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"78c5e139-3e5a-4ba3-9559-cf41b2d63bb3","service":"griffin-orchestrator","timestamp":"2026-04-13T04:28:57.193Z","url":"/api/v1/chains","userAgent":"node"} +{"duration":"1ms","level":"info","message":"Request completed","method":"GET","requestId":"78c5e139-3e5a-4ba3-9559-cf41b2d63bb3","service":"griffin-orchestrator","statusCode":200,"timestamp":"2026-04-13T04:28:57.194Z","url":"/"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"6c79d895-c418-4dbc-afee-f1a846c691df","service":"griffin-orchestrator","timestamp":"2026-04-13T04:28:57.207Z","url":"/api/v1/quotes","userAgent":"node"} +{"level":"info","message":"Finding routes","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:28:57.210Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:28:57.210Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"6c79d895-c418-4dbc-afee-f1a846c691df"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:28:57.212Z"} +{"duration":"6ms","level":"info","message":"Request completed","method":"POST","requestId":"6c79d895-c418-4dbc-afee-f1a846c691df","service":"griffin-orchestrator","statusCode":404,"timestamp":"2026-04-13T04:28:57.213Z","url":"/api/v1/quotes"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"792e45c0-8702-42e9-aab4-e1ab3726386a","service":"griffin-orchestrator","timestamp":"2026-04-13T04:28:57.226Z","url":"/api/v1/intents","userAgent":"node"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:28:57.230Z"} +{"error":{"code":"INVALID_ADDRESS","message":"Sender address not valid on chain","stack":"AppError: Sender address not valid on chain\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:132:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at async (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"364","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"792e45c0-8702-42e9-aab4-e1ab3726386a"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:28:57.231Z"} +{"duration":"6ms","level":"info","message":"Request completed","method":"POST","requestId":"792e45c0-8702-42e9-aab4-e1ab3726386a","service":"griffin-orchestrator","statusCode":400,"timestamp":"2026-04-13T04:28:57.232Z","url":"/api/v1/intents"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"da47e7eb-a24c-4015-8e80-0207686d3317","service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:07.111Z","url":"/api/v1/chains","userAgent":"node"} +{"duration":"2ms","level":"info","message":"Request completed","method":"GET","requestId":"da47e7eb-a24c-4015-8e80-0207686d3317","service":"griffin-orchestrator","statusCode":200,"timestamp":"2026-04-13T04:37:07.113Z","url":"/"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"e1fe22c5-e30c-4de3-9718-74d9d5b05ea7","service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:07.128Z","url":"/api/v1/quotes","userAgent":"node"} +{"level":"info","message":"Finding routes","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:07.131Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:07.131Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"e1fe22c5-e30c-4de3-9718-74d9d5b05ea7"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:07.133Z"} +{"duration":"6ms","level":"info","message":"Request completed","method":"POST","requestId":"e1fe22c5-e30c-4de3-9718-74d9d5b05ea7","service":"griffin-orchestrator","statusCode":404,"timestamp":"2026-04-13T04:37:07.134Z","url":"/api/v1/quotes"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"96af8284-e1a6-468f-b8b9-9e70a84b4d98","service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:07.148Z","url":"/api/v1/intents","userAgent":"node"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:07.151Z"} +{"error":{"code":"INVALID_ADDRESS","message":"Sender address not valid on chain","stack":"AppError: Sender address not valid on chain\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:132:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at async (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"364","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"96af8284-e1a6-468f-b8b9-9e70a84b4d98"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:07.153Z"} +{"duration":"5ms","level":"info","message":"Request completed","method":"POST","requestId":"96af8284-e1a6-468f-b8b9-9e70a84b4d98","service":"griffin-orchestrator","statusCode":400,"timestamp":"2026-04-13T04:37:07.154Z","url":"/api/v1/intents"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"bea0b67f-06fd-4b25-8ab2-f46ae20c9646","service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:53.600Z","url":"/api/v1/chains","userAgent":"node"} +{"duration":"1ms","level":"info","message":"Request completed","method":"GET","requestId":"bea0b67f-06fd-4b25-8ab2-f46ae20c9646","service":"griffin-orchestrator","statusCode":200,"timestamp":"2026-04-13T04:37:53.601Z","url":"/"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"1cc9dfc5-b0eb-4b1b-9676-103f7279f40a","service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:53.611Z","url":"/api/v1/quotes","userAgent":"node"} +{"level":"info","message":"Finding routes","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:53.613Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:53.613Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"1cc9dfc5-b0eb-4b1b-9676-103f7279f40a"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:53.614Z"} +{"duration":"4ms","level":"info","message":"Request completed","method":"POST","requestId":"1cc9dfc5-b0eb-4b1b-9676-103f7279f40a","service":"griffin-orchestrator","statusCode":404,"timestamp":"2026-04-13T04:37:53.615Z","url":"/api/v1/quotes"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"19437eca-06d5-4265-ab72-8644c9fd173d","service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:53.624Z","url":"/api/v1/intents","userAgent":"node"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:53.627Z"} +{"error":{"code":"INVALID_ADDRESS","message":"Sender address not valid on chain","stack":"AppError: Sender address not valid on chain\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:132:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at async (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"364","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"19437eca-06d5-4265-ab72-8644c9fd173d"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:53.628Z"} +{"duration":"5ms","level":"info","message":"Request completed","method":"POST","requestId":"19437eca-06d5-4265-ab72-8644c9fd173d","service":"griffin-orchestrator","statusCode":400,"timestamp":"2026-04-13T04:37:53.629Z","url":"/api/v1/intents"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"c3f77bbe-b7f9-4a05-bbfa-7bf21c6629db","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:30.094Z","url":"/api/v1/chains","userAgent":"node"} +{"duration":"1ms","level":"info","message":"Request completed","method":"GET","requestId":"c3f77bbe-b7f9-4a05-bbfa-7bf21c6629db","service":"griffin-orchestrator","statusCode":200,"timestamp":"2026-04-13T04:38:30.095Z","url":"/"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"a4e47ef6-f7d1-4805-8aba-27fa82399f9a","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:30.108Z","url":"/api/v1/quotes","userAgent":"node"} +{"level":"info","message":"Finding routes","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:30.109Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:30.110Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"a4e47ef6-f7d1-4805-8aba-27fa82399f9a"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:30.111Z"} +{"duration":"4ms","level":"info","message":"Request completed","method":"POST","requestId":"a4e47ef6-f7d1-4805-8aba-27fa82399f9a","service":"griffin-orchestrator","statusCode":404,"timestamp":"2026-04-13T04:38:30.112Z","url":"/api/v1/quotes"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"6ef2f8be-e532-4bd6-ad8b-a192b519bc87","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:30.127Z","url":"/api/v1/intents","userAgent":"node"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:30.130Z"} +{"error":{"code":"INVALID_ADDRESS","message":"Sender address not valid on chain","stack":"AppError: Sender address not valid on chain\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:132:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at async (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"364","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"6ef2f8be-e532-4bd6-ad8b-a192b519bc87"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:30.131Z"} +{"duration":"6ms","level":"info","message":"Request completed","method":"POST","requestId":"6ef2f8be-e532-4bd6-ad8b-a192b519bc87","service":"griffin-orchestrator","statusCode":400,"timestamp":"2026-04-13T04:38:30.132Z","url":"/api/v1/intents"} +{"chainId":"eip155:133","level":"info","message":"EvmClient initialised","rpcUrl":"https://testnet.hsk.xyz","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:48.324Z"} +{"chainId":"eip155:133","dexAddress":"0x16279052BFEde721ed2662F41A754966a3E48124","level":"info","message":"DexClient initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:48.358Z"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:48.360Z","vaultAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:48.361Z"} +{"level":"info","message":"SettlementEngine initialised","service":"griffin-orchestrator","settlers":["inventory","swap"],"timestamp":"2026-04-13T04:38:48.363Z"} +{"level":"info","message":"Griffin Orchestrator server running on port 3000","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:48.411Z"} +{"level":"info","message":"Environment: development","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:48.412Z"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"b69fa2ce-811b-4fdc-9ea5-c108f070aeb7","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:54.048Z","url":"/api/v1/chains","userAgent":"node"} +{"duration":"3ms","level":"info","message":"Request completed","method":"GET","requestId":"b69fa2ce-811b-4fdc-9ea5-c108f070aeb7","service":"griffin-orchestrator","statusCode":200,"timestamp":"2026-04-13T04:38:54.051Z","url":"/"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"55a9328b-1456-45c3-ad45-7b9e061f0fb8","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:54.115Z","url":"/api/v1/quotes","userAgent":"node"} +{"level":"info","message":"Finding routes","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:54.133Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:54.135Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"55a9328b-1456-45c3-ad45-7b9e061f0fb8"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:54.141Z"} +{"duration":"29ms","level":"info","message":"Request completed","method":"POST","requestId":"55a9328b-1456-45c3-ad45-7b9e061f0fb8","service":"griffin-orchestrator","statusCode":404,"timestamp":"2026-04-13T04:38:54.144Z","url":"/api/v1/quotes"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"a15979ae-ba32-46af-8c63-29cd049d4f20","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:54.155Z","url":"/api/v1/intents","userAgent":"node"} +{"fromChain":"eip155:133","intentId":"0eeab4c0-2cb0-45b4-ac57-578d83d9ab5a","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:54.167Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"duration":"15ms","level":"info","message":"Request completed","method":"POST","requestId":"a15979ae-ba32-46af-8c63-29cd049d4f20","service":"griffin-orchestrator","statusCode":201,"timestamp":"2026-04-13T04:38:54.170Z","url":"/"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"6a20fd86-53fc-4dac-bf97-1328d7b265ee","service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:54.180Z","url":"/api/v1/intents/0eeab4c0-2cb0-45b4-ac57-578d83d9ab5a/execute","userAgent":"node"} +{"duration":"3ms","level":"info","message":"Request completed","method":"POST","requestId":"6a20fd86-53fc-4dac-bf97-1328d7b265ee","service":"griffin-orchestrator","statusCode":404,"timestamp":"2026-04-13T04:38:54.183Z","url":"/"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"7596eaa4-a8f5-4128-b89b-21378433a332","service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:14.921Z","url":"/api/v1/chains","userAgent":"node"} +{"duration":"0ms","level":"info","message":"Request completed","method":"GET","requestId":"7596eaa4-a8f5-4128-b89b-21378433a332","service":"griffin-orchestrator","statusCode":200,"timestamp":"2026-04-13T04:44:14.921Z","url":"/"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"1b5a8ef6-1e72-4c04-9fe1-d36891f481ea","service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:14.930Z","url":"/api/v1/quotes","userAgent":"node"} +{"level":"info","message":"Finding routes","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:14.932Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:14.932Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"1b5a8ef6-1e72-4c04-9fe1-d36891f481ea"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:14.933Z"} +{"duration":"4ms","level":"info","message":"Request completed","method":"POST","requestId":"1b5a8ef6-1e72-4c04-9fe1-d36891f481ea","service":"griffin-orchestrator","statusCode":404,"timestamp":"2026-04-13T04:44:14.934Z","url":"/api/v1/quotes"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"dc712ccd-fb7e-49f1-93dc-f46d8724d1f0","service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:14.940Z","url":"/api/v1/intents","userAgent":"node"} +{"fromChain":"eip155:133","intentId":"c1b9dfb3-7840-40f3-be9a-8fdac710c5d1","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:14.943Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"duration":"5ms","level":"info","message":"Request completed","method":"POST","requestId":"dc712ccd-fb7e-49f1-93dc-f46d8724d1f0","service":"griffin-orchestrator","statusCode":201,"timestamp":"2026-04-13T04:44:14.944Z","url":"/"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"PUT","requestId":"28c7d9a6-ef44-4e56-881c-b4ddfac8532d","service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:14.948Z","url":"/api/v1/intents/c1b9dfb3-7840-40f3-be9a-8fdac710c5d1/execute","userAgent":"node"} +{"intentId":"c1b9dfb3-7840-40f3-be9a-8fdac710c5d1","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:14.949Z"} +{"intentId":"c1b9dfb3-7840-40f3-be9a-8fdac710c5d1","level":"info","message":"Settler selected","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T04:44:18.092Z"} +{"amountIn":"1000000000000000000","expectedOut":"996900","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","intentId":"c1b9dfb3-7840-40f3-be9a-8fdac710c5d1","level":"info","message":"SwapSettler executing swap","minAmountOut":"991915","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:18.854Z","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"} +{"err":{"action":"estimateGas","code":"CALL_EXCEPTION","data":"0xfb8f41b200000000000000000000000016279052bfede721ed2662f41a754966a3e4812400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000","info":{"error":{"code":3,"data":"0xfb8f41b200000000000000000000000016279052bfede721ed2662f41a754966a3e4812400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000","message":"execution reverted"},"payload":{"id":11,"jsonrpc":"2.0","method":"eth_estimateGas","params":[{"data":"0x0312a843000000000000000000000000b8f355f10569fd2a765296161d082cc37c5843c2000000000000000000000000c4c2841367016c9e2652fecc49bba9229787ba820000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000f22ab000000000000000000000000345b10a79e9fc89f33aef7a92e621a25cd100876","from":"0xb1655bed2370b9ad33dd4ab905a7923d29ab6778","nonce":"0x6","to":"0x16279052bfede721ed2662f41a754966a3e48124"}]}},"invocation":null,"reason":null,"revert":null,"shortMessage":"execution reverted (unknown custom error)","transaction":{"data":"0x0312a843000000000000000000000000b8f355f10569fd2a765296161d082cc37c5843c2000000000000000000000000c4c2841367016c9e2652fecc49bba9229787ba820000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000f22ab000000000000000000000000345b10a79e9fc89f33aef7a92e621a25cd100876","from":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","to":"0x16279052BFEde721ed2662F41A754966a3E48124"}},"intentId":"c1b9dfb3-7840-40f3-be9a-8fdac710c5d1","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:19.613Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"execution reverted (unknown custom error) (action=\"estimateGas\", data=\"0xfb8f41b200000000000000000000000016279052bfede721ed2662f41a754966a3e4812400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000\", reason=null, transaction={ \"data\": \"0x0312a843000000000000000000000000b8f355f10569fd2a765296161d082cc37c5843c2000000000000000000000000c4c2841367016c9e2652fecc49bba9229787ba820000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000f22ab000000000000000000000000345b10a79e9fc89f33aef7a92e621a25cd100876\", \"from\": \"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778\", \"to\": \"0x16279052BFEde721ed2662F41A754966a3E48124\" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.16.0)","stack":"Error: execution reverted (unknown custom error) (action=\"estimateGas\", data=\"0xfb8f41b200000000000000000000000016279052bfede721ed2662f41a754966a3e4812400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000\", reason=null, transaction={ \"data\": \"0x0312a843000000000000000000000000b8f355f10569fd2a765296161d082cc37c5843c2000000000000000000000000c4c2841367016c9e2652fecc49bba9229787ba820000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000f22ab000000000000000000000000345b10a79e9fc89f33aef7a92e621a25cd100876\", \"from\": \"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778\", \"to\": \"0x16279052BFEde721ed2662F41A754966a3E48124\" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.16.0)\n at makeError (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/utils/errors.ts:698:21)\n at getBuiltinCallException (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/abi/abi-coder.ts:118:21)\n at AbiCoder.getBuiltinCallException (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/abi/abi-coder.ts:235:16)\n at JsonRpcProvider.getRpcError (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1016:32)\n at (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:571:45)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"0","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"28c7d9a6-ef44-4e56-881c-b4ddfac8532d"},"method":"PUT","url":"/api/v1/intents/c1b9dfb3-7840-40f3-be9a-8fdac710c5d1/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:19.627Z"} +{"duration":"4680ms","level":"info","message":"Request completed","method":"PUT","requestId":"28c7d9a6-ef44-4e56-881c-b4ddfac8532d","service":"griffin-orchestrator","statusCode":500,"timestamp":"2026-04-13T04:44:19.628Z","url":"/api/v1/intents/c1b9dfb3-7840-40f3-be9a-8fdac710c5d1/execute"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"20186514-0d9b-4c3b-b665-3e7717c5ad3c","service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:26.883Z","url":"/api/v1/chains","userAgent":"node"} +{"duration":"0ms","level":"info","message":"Request completed","method":"GET","requestId":"20186514-0d9b-4c3b-b665-3e7717c5ad3c","service":"griffin-orchestrator","statusCode":200,"timestamp":"2026-04-13T04:48:26.883Z","url":"/"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"67d53257-3b87-4eb1-ace6-74d3ba90a895","service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:26.890Z","url":"/api/v1/quotes","userAgent":"node"} +{"level":"info","message":"Finding routes","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:26.891Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:26.891Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"67d53257-3b87-4eb1-ace6-74d3ba90a895"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:26.892Z"} +{"duration":"2ms","level":"info","message":"Request completed","method":"POST","requestId":"67d53257-3b87-4eb1-ace6-74d3ba90a895","service":"griffin-orchestrator","statusCode":404,"timestamp":"2026-04-13T04:48:26.892Z","url":"/api/v1/quotes"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"POST","requestId":"7f2cfb27-cd50-464c-97c5-bdc94f1e77e4","service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:26.897Z","url":"/api/v1/intents","userAgent":"node"} +{"fromChain":"eip155:133","intentId":"e16487b1-2b9b-4376-b4e0-41dbefbe66bd","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:26.900Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"duration":"4ms","level":"info","message":"Request completed","method":"POST","requestId":"7f2cfb27-cd50-464c-97c5-bdc94f1e77e4","service":"griffin-orchestrator","statusCode":201,"timestamp":"2026-04-13T04:48:26.901Z","url":"/"} +{"ip":"::ffff:127.0.0.1","level":"info","message":"Incoming request","method":"PUT","requestId":"071fc5f9-c7bd-44b4-98f1-ce3f8ce1c603","service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:26.906Z","url":"/api/v1/intents/e16487b1-2b9b-4376-b4e0-41dbefbe66bd/execute","userAgent":"node"} +{"intentId":"e16487b1-2b9b-4376-b4e0-41dbefbe66bd","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:26.907Z"} +{"intentId":"e16487b1-2b9b-4376-b4e0-41dbefbe66bd","level":"info","message":"Settler selected","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T04:48:28.478Z"} +{"amountIn":"1000000000000000000","expectedOut":"996900","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","intentId":"e16487b1-2b9b-4376-b4e0-41dbefbe66bd","level":"info","message":"SwapSettler executing swap","minAmountOut":"991915","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:29.234Z","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"} +{"amountIn":"1000000000000000000","chainId":"eip155:133","level":"info","message":"DEX swap submitted","minAmountOut":"991915","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:31.542Z","tokenIn":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","tokenOut":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","txHash":"0x3e6f1ed3774583a85923183e1fb5a9d4c4110fc4f8d5ae7826904632c7ed6735"} +{"chainId":"eip155:133","level":"info","message":"DEX swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:36.957Z","txHash":"0x3e6f1ed3774583a85923183e1fb5a9d4c4110fc4f8d5ae7826904632c7ed6735"} +{"durationMs":8478,"intentId":"e16487b1-2b9b-4376-b4e0-41dbefbe66bd","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:36.958Z","txHash":"0x3e6f1ed3774583a85923183e1fb5a9d4c4110fc4f8d5ae7826904632c7ed6735"} +{"intentId":"e16487b1-2b9b-4376-b4e0-41dbefbe66bd","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T04:48:36.958Z"} +{"duration":"10053ms","level":"info","message":"Request completed","method":"PUT","requestId":"071fc5f9-c7bd-44b4-98f1-ce3f8ce1c603","service":"griffin-orchestrator","statusCode":200,"timestamp":"2026-04-13T04:48:36.959Z","url":"/e16487b1-2b9b-4376-b4e0-41dbefbe66bd/execute"} diff --git a/packages/orchestrator/logs/error.log b/packages/orchestrator/logs/error.log index 1d9921f..4a4968a 100644 --- a/packages/orchestrator/logs/error.log +++ b/packages/orchestrator/logs/error.log @@ -192,3 +192,23 @@ {"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:45037"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-11T17:17:20.612Z"} {"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:40207"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-11T17:17:20.625Z"} {"error":{"code":"NO_TOKENS_FOUND","message":"No tokens found for chain","stack":"AppError: No tokens found for chain\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:53:15)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:23:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40359"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-11T17:17:20.728Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"37fa4bf7-2aa6-4111-96d1-a00f0082a2c4"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:26:51.468Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:26:51.485Z"} +{"error":{"code":"INVALID_ADDRESS","message":"Sender address not valid on chain","stack":"AppError: Sender address not valid on chain\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:132:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at async (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"364","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"e1bf2c3f-eedc-42fc-8d3d-f32896ed4f93"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:26:51.490Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"6c79d895-c418-4dbc-afee-f1a846c691df"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:28:57.212Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:28:57.230Z"} +{"error":{"code":"INVALID_ADDRESS","message":"Sender address not valid on chain","stack":"AppError: Sender address not valid on chain\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:132:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at async (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"364","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"792e45c0-8702-42e9-aab4-e1ab3726386a"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:28:57.231Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"e1fe22c5-e30c-4de3-9718-74d9d5b05ea7"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:07.133Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:07.151Z"} +{"error":{"code":"INVALID_ADDRESS","message":"Sender address not valid on chain","stack":"AppError: Sender address not valid on chain\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:132:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at async (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"364","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"96af8284-e1a6-468f-b8b9-9e70a84b4d98"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:07.153Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"1cc9dfc5-b0eb-4b1b-9676-103f7279f40a"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:53.614Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:53.627Z"} +{"error":{"code":"INVALID_ADDRESS","message":"Sender address not valid on chain","stack":"AppError: Sender address not valid on chain\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:132:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at async (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"364","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"19437eca-06d5-4265-ab72-8644c9fd173d"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:37:53.628Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"a4e47ef6-f7d1-4805-8aba-27fa82399f9a"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:30.111Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:30.130Z"} +{"error":{"code":"INVALID_ADDRESS","message":"Sender address not valid on chain","stack":"AppError: Sender address not valid on chain\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:132:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at async (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0x345b10A79E9fC89F33AEf7a92E621a25cd100876","requestMessage":"test payment from sdk script","requestSignature":"0x00","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"364","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"6ef2f8be-e532-4bd6-ad8b-a192b519bc87"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:30.131Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"55a9328b-1456-45c3-ad45-7b9e061f0fb8"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:38:54.141Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"1b5a8ef6-1e72-4c04-9fe1-d36891f481ea"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:14.933Z"} +{"err":{"action":"estimateGas","code":"CALL_EXCEPTION","data":"0xfb8f41b200000000000000000000000016279052bfede721ed2662f41a754966a3e4812400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000","info":{"error":{"code":3,"data":"0xfb8f41b200000000000000000000000016279052bfede721ed2662f41a754966a3e4812400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000","message":"execution reverted"},"payload":{"id":11,"jsonrpc":"2.0","method":"eth_estimateGas","params":[{"data":"0x0312a843000000000000000000000000b8f355f10569fd2a765296161d082cc37c5843c2000000000000000000000000c4c2841367016c9e2652fecc49bba9229787ba820000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000f22ab000000000000000000000000345b10a79e9fc89f33aef7a92e621a25cd100876","from":"0xb1655bed2370b9ad33dd4ab905a7923d29ab6778","nonce":"0x6","to":"0x16279052bfede721ed2662f41a754966a3e48124"}]}},"invocation":null,"reason":null,"revert":null,"shortMessage":"execution reverted (unknown custom error)","transaction":{"data":"0x0312a843000000000000000000000000b8f355f10569fd2a765296161d082cc37c5843c2000000000000000000000000c4c2841367016c9e2652fecc49bba9229787ba820000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000f22ab000000000000000000000000345b10a79e9fc89f33aef7a92e621a25cd100876","from":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","to":"0x16279052BFEde721ed2662F41A754966a3E48124"}},"intentId":"c1b9dfb3-7840-40f3-be9a-8fdac710c5d1","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:19.613Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"execution reverted (unknown custom error) (action=\"estimateGas\", data=\"0xfb8f41b200000000000000000000000016279052bfede721ed2662f41a754966a3e4812400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000\", reason=null, transaction={ \"data\": \"0x0312a843000000000000000000000000b8f355f10569fd2a765296161d082cc37c5843c2000000000000000000000000c4c2841367016c9e2652fecc49bba9229787ba820000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000f22ab000000000000000000000000345b10a79e9fc89f33aef7a92e621a25cd100876\", \"from\": \"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778\", \"to\": \"0x16279052BFEde721ed2662F41A754966a3E48124\" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.16.0)","stack":"Error: execution reverted (unknown custom error) (action=\"estimateGas\", data=\"0xfb8f41b200000000000000000000000016279052bfede721ed2662f41a754966a3e4812400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000\", reason=null, transaction={ \"data\": \"0x0312a843000000000000000000000000b8f355f10569fd2a765296161d082cc37c5843c2000000000000000000000000c4c2841367016c9e2652fecc49bba9229787ba820000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000f22ab000000000000000000000000345b10a79e9fc89f33aef7a92e621a25cd100876\", \"from\": \"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778\", \"to\": \"0x16279052BFEde721ed2662F41A754966a3E48124\" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.16.0)\n at makeError (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/utils/errors.ts:698:21)\n at getBuiltinCallException (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/abi/abi-coder.ts:118:21)\n at AbiCoder.getBuiltinCallException (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/abi/abi-coder.ts:235:16)\n at JsonRpcProvider.getRpcError (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1016:32)\n at (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:571:45)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"0","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"28c7d9a6-ef44-4e56-881c-b4ddfac8532d"},"method":"PUT","url":"/api/v1/intents/c1b9dfb3-7840-40f3-be9a-8fdac710c5d1/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:19.627Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"67d53257-3b87-4eb1-ace6-74d3ba90a895"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:26.892Z"} diff --git a/packages/orchestrator/src/app.ts b/packages/orchestrator/src/app.ts index 6c99eac..8a9395b 100644 --- a/packages/orchestrator/src/app.ts +++ b/packages/orchestrator/src/app.ts @@ -70,6 +70,12 @@ const intentService = new IntentService(settlementEngine); const app: Express = express(); +app.get("/health", (req: Request, res: Response) => { + res.json({ + status: "responding" + }) +}) + // Security middleware app.use(helmet()); app.use( @@ -101,7 +107,7 @@ app.use("/api/v1/health", healthRoutes(new HealthService())); app.use("/api/v1/chains", chainRoutes); // 404 handler -app.use("*", (req: Request, res: Response) => { +app.use("/{*path}", (req: Request, res: Response) => { res.status(404).json({ error: { code: "NOT_FOUND", diff --git a/packages/orchestrator/src/config/index.ts b/packages/orchestrator/src/config/index.ts index 8f17580..c49d5dc 100644 --- a/packages/orchestrator/src/config/index.ts +++ b/packages/orchestrator/src/config/index.ts @@ -50,7 +50,7 @@ export const config = { }, hashkey: { chainId: "eip155:133", - rpcUrl: process.env.HASHKEY_RPC_URL || "https://hashkeychain-testnet.alt.technology", + rpcUrl: process.env.HASHKEY_RPC_URL || "https://testnet.hsk.xyz", vaultAddress: process.env.GRIFFIN_VAULT_ADDRESS || "", operatorPrivateKey: process.env.GRIFFIN_OPERATOR_PRIVATE_KEY || "", dexAddress: process.env.GRIFFIN_DEX_ADDRESS || "", diff --git a/packages/orchestrator/src/services/ChainService.ts b/packages/orchestrator/src/services/ChainService.ts index d9c4ea4..da342cf 100644 --- a/packages/orchestrator/src/services/ChainService.ts +++ b/packages/orchestrator/src/services/ChainService.ts @@ -15,6 +15,14 @@ export class ChainService { blockExplorer: "https://stellar.expert/explorer/testnet", isTestnet: true, }, + { + chainId: "eip155:133", + name: "Hashkey Testnet", + symbol: "HSK", + rpcUrl: "https://testnet.hsk.xyz", + blockExplorer: "https://testnet-explorer.hsk.xyz", + isTestnet: true + } ]; private supportedTokens: TokenInfo[]; @@ -23,21 +31,36 @@ export class ChainService { this.supportedTokens = []; // TODO: Handle token fetch errors in constructor - getStellarTokens().then((tokens) => { - tokens.forEach((token: any) => { - const equivGriffinToken = { - address: token.address, - decimals: token.decimals, - logoUrl: token.logoUri!, - // TODO: Fix hardcoded wrong chainId here - chainId: "starknet:sepolia", // Change this when deploying to mainnet - name: token.name, - symbol: token.symbol, - }; + // getStellarTokens().then((tokens) => { + // tokens.forEach((token: any) => { + // const equivGriffinToken = { + // address: token.address, + // decimals: token.decimals, + // logoUrl: token.logoUri!, + // // TODO: Fix hardcoded wrong chainId here + // chainId: "starknet:sepolia", // Change this when deploying to mainnet + // name: token.name, + // symbol: token.symbol, + // }; + + // this.supportedTokens.push(equivGriffinToken); + // }); + // }); - this.supportedTokens.push(equivGriffinToken); - }); + this.supportedTokens.push({ + address: "0xb8F355f10569FD2A765296161d082Cc37c5843c2", + symbol: "tHSK", + name: "Test HSK", + decimals: 18, + chainId: "eip155:133" }); + this.supportedTokens.push({ + address: "0xc4C2841367016C9e2652Fecc49bBA9229787bA82", + symbol: "tUSDC", + name: "Test USDC", + decimals: 6, + chainId: "eip155:133" + }) // Add more functions when adding new chains } diff --git a/packages/orchestrator/src/services/IntentService.ts b/packages/orchestrator/src/services/IntentService.ts index 58ec37d..975ddd0 100644 --- a/packages/orchestrator/src/services/IntentService.ts +++ b/packages/orchestrator/src/services/IntentService.ts @@ -129,22 +129,22 @@ export class IntentService { const isValidSenderAddress = validateAddress(request.fromChain, request.userAddress); if (!isValidSenderAddress) { - throw new AppError("Sender address not valid on chain", 400, "INVALID_ADDRESS"); + throw new AppError("Sender address not too valid on chain", 400, "INVALID_ADDRESS"); } const isValidRecipientAddress = validateAddress(request.toChain, request.recipient); if (!isValidRecipientAddress) { - throw new AppError("Sender address not valid on chain", 400, "INVALID_ADDRESS"); + throw new AppError("Recipient address not valid on chain", 400, "INVALID_ADDRESS"); } const isValidInputTokenAddress = validateAddress(request.fromChain, request.fromToken); if (!isValidInputTokenAddress) { - throw new AppError("Sender address not valid on chain", 400, "INVALID_ADDRESS"); + throw new AppError("Input token address not valid on chain", 400, "INVALID_ADDRESS"); } const isValidOutputTokenAddress = validateAddress(request.toChain, request.toToken); if (!isValidOutputTokenAddress) { - throw new AppError("Sender address not valid on chain", 400, "INVALID_ADDRESS"); + throw new AppError("Output token address not valid on chain", 400, "INVALID_ADDRESS"); } // Additional validations would go here: diff --git a/packages/orchestrator/src/utils/utils.ts b/packages/orchestrator/src/utils/utils.ts index 0a37a22..35337c6 100644 --- a/packages/orchestrator/src/utils/utils.ts +++ b/packages/orchestrator/src/utils/utils.ts @@ -1,6 +1,7 @@ import { config } from "@/config"; import { type IntentMessageType, type SignatureType, type QuoteRequest } from "@/types"; import { Keypair, StrKey, rpc } from "@stellar/stellar-sdk"; +import { isAddress } from "ethers" const validateStellarAddress = (address: string): boolean => { return StrKey.isValidEd25519PublicKey(address); @@ -9,10 +10,12 @@ const validateStellarAddress = (address: string): boolean => { export const validateAddress = (chainId: string, address: string): boolean => { if (chainId.startsWith("stellar")) { return validateStellarAddress(address); + } else if (chainId.startsWith("eip155")) { + // EVMs would be: if chainId.startsWith(eip155); + console.log("Checking evm address"); + return isAddress(address); } - // EVMs would be: if chainId.startsWith(eip155); - return false; }; diff --git a/packages/sdk/src/client.test.ts b/packages/sdk/src/client.test.ts index 7f3eb2f..1870bd1 100644 --- a/packages/sdk/src/client.test.ts +++ b/packages/sdk/src/client.test.ts @@ -156,6 +156,13 @@ describe("GriffinClient request mechanics", () => { expect(spy.mock.calls[0][1]?.method).toBe("DELETE"); }); + it("sends method PUT for executeIntent", async () => { + const spy = mockFetch(200, { intentId: "x", status: "executing", createdAt: "now" }); + vi.stubGlobal("fetch", spy); + await client.executeIntent("intent-1"); + expect(spy.mock.calls[0][1]?.method).toBe("PUT"); + }); + it("does not send a body on GET requests", async () => { const spy = mockFetch(200, { status: "healthy", timestamp: "now", version: "1" }); vi.stubGlobal("fetch", spy); diff --git a/packages/sdk/src/client.ts b/packages/sdk/src/client.ts index c1cd0dc..555f86f 100644 --- a/packages/sdk/src/client.ts +++ b/packages/sdk/src/client.ts @@ -73,7 +73,7 @@ export class GriffinClient { /** Trigger execution of a verified intent. */ async executeIntent(intentId: string): Promise { - return this.post(`/api/v1/intents/${intentId}/execute`, {}); + return this.put(`/api/v1/intents/${intentId}/execute`); } /** Cancel a pending intent. */ @@ -120,6 +120,10 @@ export class GriffinClient { return this.request("POST", path, body); } + private async put(path: string, body?: unknown): Promise { + return this.request("PUT", path, body); + } + private async delete(path: string): Promise { return this.request("DELETE", path); } diff --git a/scripts/test-sdk.ts b/scripts/test-sdk.ts new file mode 100644 index 0000000..e53d2b4 --- /dev/null +++ b/scripts/test-sdk.ts @@ -0,0 +1,125 @@ +import * as dotenv from "dotenv" + +dotenv.config(); + +/** + * End-to-end SDK smoke test. + * Requires the orchestrator to be running locally on PORT 3000. + * + * Usage: + * npx tsx scripts/test-sdk.ts + * + * What it tests: + * 1. Health check + * 2. Supported chains + * 3. Quote for tHSK → tUSDC + * 4. Create intent (tHSK → tUSDC swap) + * 5. Execute intent and poll until COMPLETED or FAILED + */ + +import { GriffinClient, GriffinApiError } from "../packages/sdk/src/index"; + +const BASE_URL = process.env.GRIFFIN_URL || "http://localhost:3000"; + +// Token addresses from ChainService +const THSK = "0xb8F355f10569FD2A765296161d082Cc37c5843c2"; +const TUSDC = "0xc4C2841367016C9e2652Fecc49bBA9229787bA82"; +const CHAIN = "eip155:133"; + +// Replace with your actual test wallet address and signature +const USER_ADDRESS = process.env.USER_ADDRESS || "0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"; +const RECIPIENT = process.env.RECIPIENT || "0x345b10A79E9fC89F33AEf7a92E621a25cd100876"; + +const client = new GriffinClient({ baseUrl: BASE_URL }); + +function log(label: string, value: unknown) { + console.log(`\n[${label}]`); + console.log(JSON.stringify(value, null, 2)); +} + +async function poll(intentId: string, maxAttempts = 15): Promise { + let last; + for (let i = 0; i < maxAttempts; i++) { + await new Promise(r => setTimeout(r, 2000)); + last = await client.getIntent(intentId); + console.log(` [${i + 1}/${maxAttempts}] status: ${last.status}`); + if (last.status === "completed" || last.status === "failed" || last.status === "cancelled") { + break; + } + } + log("Final intent state", last); +} + +async function main() { + console.log(`Connecting to Griffin orchestrator at ${BASE_URL}\n`); + + // 1. Health + try { + // const health = await client.getHealth(); + const res = await fetch(`${BASE_URL}/health`); + const health = await res.json(); + log("Health", health); + } catch (e) { + console.error("Health check failed — is the orchestrator running?"); + process.exit(1); + } + + // 2. Supported chains + const chains = await client.getSupportedChains(); + log("Supported chains", chains); + + // 3. Quote + try { + const quote = await client.getQuote({ + fromChain: CHAIN, + toChain: CHAIN, + fromToken: THSK, + toToken: TUSDC, + amount: "1", + }); + log("Quote (1 tHSK → tUSDC)", quote); + } catch (e) { + if (e instanceof GriffinApiError) { + console.warn(`Quote failed (${e.code}): ${e.message} — continuing`); + } + } + + // 4. Create intent + let intentId: string; + console.log("Sender: ", USER_ADDRESS); + console.log("Recipient: ", RECIPIENT); + try { + const intent = await client.createIntent({ + fromChain: CHAIN, + toChain: CHAIN, + fromToken: THSK, + toToken: TUSDC, + amount: "1", + recipient: RECIPIENT, + userAddress: USER_ADDRESS, + requestMessage: "test payment from sdk script", + requestSignature: "0x00", // placeholder — replace with real sig for full flow + }); + log("Intent created", intent); + intentId = intent.intentId; + } catch (e) { + if (e instanceof GriffinApiError) { + console.error(`Create intent failed (${e.code}): ${e.message}`); + } + process.exit(1); + } + + // 5. Execute and poll + try { + const executed = await client.executeIntent(intentId!); + log("Execute triggered", executed); + console.log("\nPolling for completion..."); + await poll(intentId!); + } catch (e) { + if (e instanceof GriffinApiError) { + console.error(`Execute failed (${e.code}): ${e.message}`); + } + } +} + +main().catch(console.error); From 7b578d182404d8d69fcf3b940b3d79162420d406 Mon Sep 17 00:00:00 2001 From: OWK50GA Date: Mon, 13 Apr 2026 06:25:59 +0100 Subject: [PATCH 2/5] added deploy-token script, and approve script to contracts --- packages/contracts/package.json | 3 +- packages/contracts/scripts/approveTokens.ts | 56 ++++++++++++ packages/contracts/scripts/deployTokens.ts | 99 +++++++++++++++++++++ 3 files changed, 157 insertions(+), 1 deletion(-) create mode 100644 packages/contracts/scripts/approveTokens.ts create mode 100644 packages/contracts/scripts/deployTokens.ts diff --git a/packages/contracts/package.json b/packages/contracts/package.json index fdf166b..3bdfafc 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -8,7 +8,8 @@ "deploy": "hardhat run scripts/deploy.ts", "deploy:hashkey": "hardhat run scripts/deploy.ts --network hashkey", "check-balance": "hardhat run scripts/check-balance.ts --network hashkey", - "deploy:tokens": "hardhat run scripts/deployTokens.ts --network hashkey" + "deploy:tokens": "hardhat run scripts/deployTokens.ts --network hashkey", + "approve:tokens": "hardhat run scripts/approveTokens.ts --network hashkey" }, "devDependencies": { "@nomicfoundation/hardhat-chai-matchers": "^2.0.0", diff --git a/packages/contracts/scripts/approveTokens.ts b/packages/contracts/scripts/approveTokens.ts new file mode 100644 index 0000000..22f4930 --- /dev/null +++ b/packages/contracts/scripts/approveTokens.ts @@ -0,0 +1,56 @@ +import { ethers } from "hardhat"; +import dotenv from "dotenv"; + +dotenv.config(); + +/** + * Approves GriffinDEX to spend Griffin's vault tokens. + * Must be run before any swap can execute. + * + * Run: + * npx hardhat run scripts/approveTokens.ts --network hashkey + */ + +const DEX_ADDRESS = process.env.GRIFFIN_DEX_ADDRESS || ""; +const THSK_ADDRESS = "0xb8F355f10569FD2A765296161d082Cc37c5843c2"; +const TUSDC_ADDRESS = "0xc4C2841367016C9e2652Fecc49bBA9229787bA82"; + +const MAX_UINT256 = ethers.MaxUint256; + +const ERC20_ABI = [ + "function approve(address spender, uint256 amount) returns (bool)", + "function allowance(address owner, address spender) view returns (uint256)", +]; + +async function main() { + const [signer] = await ethers.getSigners(); + console.log("Approving from:", signer.address); + console.log("DEX address: ", DEX_ADDRESS); + + const tHSK = new ethers.Contract(THSK_ADDRESS, ERC20_ABI, signer); + const tUSDC = new ethers.Contract(TUSDC_ADDRESS, ERC20_ABI, signer); + + console.log("\nApproving tHSK..."); + const tx1 = await tHSK.approve(DEX_ADDRESS, MAX_UINT256); + await tx1.wait(); + console.log("tHSK approved:", tx1.hash); + + console.log("\nApproving tUSDC..."); + const tx2 = await tUSDC.approve(DEX_ADDRESS, MAX_UINT256); + await tx2.wait(); + console.log("tUSDC approved:", tx2.hash); + + // Verify + const allowanceHSK = await tHSK.allowance(signer.address, DEX_ADDRESS); + const allowanceUSDC = await tUSDC.allowance(signer.address, DEX_ADDRESS); + console.log("\nAllowances confirmed:"); + console.log(" tHSK: ", allowanceHSK.toString()); + console.log(" tUSDC:", allowanceUSDC.toString()); +} + +main() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + }); diff --git a/packages/contracts/scripts/deployTokens.ts b/packages/contracts/scripts/deployTokens.ts new file mode 100644 index 0000000..e237159 --- /dev/null +++ b/packages/contracts/scripts/deployTokens.ts @@ -0,0 +1,99 @@ +import { ethers } from "hardhat"; + +/** + * Deploys two MockERC20 tokens (tHSK and tUSDC) to the target network, + * then seeds a GriffinDEX liquidity pool with both tokens. + * + * Prerequisites: + * - PRIVATE_KEY set in .env (deployer wallet, must have gas) + * - GRIFFIN_DEX_ADDRESS set in .env (already deployed GriffinDEX) + * + * Run: + * npx hardhat run scripts/deployTokens.ts --network hashkey + */ + +const DEX_ADDRESS = process.env.GRIFFIN_DEX_ADDRESS || ""; + +// Initial supply minted to deployer for each token +const THSK_SUPPLY = 1_000_000n; // 1M tHSK (18 decimals) +const TUSDC_SUPPLY = 1_000_000n; // 1M tUSDC (6 decimals) + +// Liquidity to seed the pool with +const POOL_THSK = ethers.parseUnits("10000", 18); // 10,000 tHSK +const POOL_TUSDC = ethers.parseUnits("10000", 6); // 10,000 tUSDC + +async function main() { + const [deployer] = await ethers.getSigners(); + console.log("Deployer:", deployer.address); + console.log("Balance:", ethers.formatEther(await ethers.provider.getBalance(deployer.address)), "HSK\n"); + + // ------------------------------------------------------------------------- + // 1. Deploy tHSK + // ------------------------------------------------------------------------- + console.log("Deploying tHSK..."); + const MockERC20 = await ethers.getContractFactory("MockERC20"); + const tHSK = await MockERC20.deploy("Test HSK", "tHSK", 18, THSK_SUPPLY); + await tHSK.waitForDeployment(); + const tHSKAddress = await tHSK.getAddress(); + console.log("tHSK deployed to:", tHSKAddress); + + // ------------------------------------------------------------------------- + // 2. Deploy tUSDC + // ------------------------------------------------------------------------- + console.log("\nDeploying tUSDC..."); + const tUSDC = await MockERC20.deploy("Test USDC", "tUSDC", 6, TUSDC_SUPPLY); + await tUSDC.waitForDeployment(); + const tUSDCAddress = await tUSDC.getAddress(); + console.log("tUSDC deployed to:", tUSDCAddress); + + // ------------------------------------------------------------------------- + // 3. Seed GriffinDEX pool (if DEX address is provided) + // ------------------------------------------------------------------------- + if (!DEX_ADDRESS) { + console.log("\nGRIFFIN_DEX_ADDRESS not set — skipping pool creation."); + console.log("Set it and re-run to seed the pool."); + } else { + console.log("\nSeeding GriffinDEX pool at", DEX_ADDRESS, "..."); + + const dex = await ethers.getContractAt("GriffinDEX", DEX_ADDRESS); + + // Create pool + const createTx = await dex.createPool(tHSKAddress, tUSDCAddress); + await createTx.wait(); + console.log("Pool created"); + + // Approve DEX to spend deployer's tokens + await (await tHSK.approve(DEX_ADDRESS, POOL_THSK)).wait(); + await (await tUSDC.approve(DEX_ADDRESS, POOL_TUSDC)).wait(); + console.log("Approvals done"); + + // Add liquidity + const liquidityTx = await dex.addLiquidity( + tHSKAddress, + tUSDCAddress, + POOL_THSK, + POOL_TUSDC, + ); + await liquidityTx.wait(); + console.log("Liquidity added: 10,000 tHSK / 10,000 tUSDC"); + } + + // ------------------------------------------------------------------------- + // 4. Print summary + // ------------------------------------------------------------------------- + console.log("\n========================================"); + console.log("Add these to your orchestrator .env:"); + console.log("========================================"); + console.log(`THSK_TOKEN_ADDRESS=${tHSKAddress}`); + console.log(`TUSDC_TOKEN_ADDRESS=${tUSDCAddress}`); + console.log("\nAnd register them in ChainService.ts:"); + console.log(`{ address: "${tHSKAddress}", symbol: "tHSK", name: "Test HSK", decimals: 18, chainId: "eip155:133" }`); + console.log(`{ address: "${tUSDCAddress}", symbol: "tUSDC", name: "Test USDC", decimals: 6, chainId: "eip155:133" }`); +} + +main() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + }); From 61687758af099e3c7f5c1bc4b9889d4521ce3760 Mon Sep 17 00:00:00 2001 From: OWK50GA Date: Mon, 13 Apr 2026 06:29:27 +0100 Subject: [PATCH 3/5] fixed lint errors in orchestrator --- packages/orchestrator/src/services/ChainService.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/orchestrator/src/services/ChainService.ts b/packages/orchestrator/src/services/ChainService.ts index da342cf..c2cbb66 100644 --- a/packages/orchestrator/src/services/ChainService.ts +++ b/packages/orchestrator/src/services/ChainService.ts @@ -1,6 +1,5 @@ import { type ChainInfo, type TokenInfo } from "../types"; import { AppError } from "../middleware/errorHandler"; -import { getStellarTokens } from "@/utils/utils"; export class ChainService { /* From ecb948cdf73317ba0d0489a9140c54347ed21337 Mon Sep 17 00:00:00 2001 From: OWK50GA Date: Mon, 13 Apr 2026 06:30:14 +0100 Subject: [PATCH 4/5] prettier formatting --- packages/orchestrator/src/app.ts | 6 +++--- packages/orchestrator/src/services/ChainService.ts | 10 +++++----- packages/orchestrator/src/utils/utils.ts | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/orchestrator/src/app.ts b/packages/orchestrator/src/app.ts index 8a9395b..5e014dc 100644 --- a/packages/orchestrator/src/app.ts +++ b/packages/orchestrator/src/app.ts @@ -72,9 +72,9 @@ const app: Express = express(); app.get("/health", (req: Request, res: Response) => { res.json({ - status: "responding" - }) -}) + status: "responding", + }); +}); // Security middleware app.use(helmet()); diff --git a/packages/orchestrator/src/services/ChainService.ts b/packages/orchestrator/src/services/ChainService.ts index c2cbb66..8954d0c 100644 --- a/packages/orchestrator/src/services/ChainService.ts +++ b/packages/orchestrator/src/services/ChainService.ts @@ -20,8 +20,8 @@ export class ChainService { symbol: "HSK", rpcUrl: "https://testnet.hsk.xyz", blockExplorer: "https://testnet-explorer.hsk.xyz", - isTestnet: true - } + isTestnet: true, + }, ]; private supportedTokens: TokenInfo[]; @@ -51,15 +51,15 @@ export class ChainService { symbol: "tHSK", name: "Test HSK", decimals: 18, - chainId: "eip155:133" + chainId: "eip155:133", }); this.supportedTokens.push({ address: "0xc4C2841367016C9e2652Fecc49bBA9229787bA82", symbol: "tUSDC", name: "Test USDC", decimals: 6, - chainId: "eip155:133" - }) + chainId: "eip155:133", + }); // Add more functions when adding new chains } diff --git a/packages/orchestrator/src/utils/utils.ts b/packages/orchestrator/src/utils/utils.ts index 35337c6..e739fd1 100644 --- a/packages/orchestrator/src/utils/utils.ts +++ b/packages/orchestrator/src/utils/utils.ts @@ -1,7 +1,7 @@ import { config } from "@/config"; import { type IntentMessageType, type SignatureType, type QuoteRequest } from "@/types"; import { Keypair, StrKey, rpc } from "@stellar/stellar-sdk"; -import { isAddress } from "ethers" +import { isAddress } from "ethers"; const validateStellarAddress = (address: string): boolean => { return StrKey.isValidEd25519PublicKey(address); @@ -12,8 +12,8 @@ export const validateAddress = (chainId: string, address: string): boolean => { return validateStellarAddress(address); } else if (chainId.startsWith("eip155")) { // EVMs would be: if chainId.startsWith(eip155); - console.log("Checking evm address"); - return isAddress(address); + console.log("Checking evm address"); + return isAddress(address); } return false; From 50816dbc8ec7a9bf2f2fba8ea87aeb893d9946c2 Mon Sep 17 00:00:00 2001 From: OWK50GA Date: Mon, 13 Apr 2026 07:11:30 +0100 Subject: [PATCH 5/5] changed some config and fixed tests accordingly --- packages/orchestrator/logs/combined.log | 1280 +++++++++++++++++ packages/orchestrator/logs/error.log | 418 ++++++ packages/orchestrator/src/routes/chains.ts | 4 +- .../orchestrator/src/services/ChainService.ts | 65 +- .../src/settlement/InventorySettler.ts | 3 +- .../src/settlement/SwapSettler.ts | 5 +- packages/orchestrator/src/utils/utils.ts | 36 + .../orchestrator/tests/routes/chains.test.ts | 20 +- .../orchestrator/tests/routes/intents.test.ts | 24 +- .../tests/services/ChainService.test.ts | 54 +- .../tests/services/IntentService.test.ts | 24 +- 11 files changed, 1840 insertions(+), 93 deletions(-) diff --git a/packages/orchestrator/logs/combined.log b/packages/orchestrator/logs/combined.log index 3bb40e4..1c55352 100644 --- a/packages/orchestrator/logs/combined.log +++ b/packages/orchestrator/logs/combined.log @@ -1009,3 +1009,1283 @@ {"durationMs":8478,"intentId":"e16487b1-2b9b-4376-b4e0-41dbefbe66bd","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:36.958Z","txHash":"0x3e6f1ed3774583a85923183e1fb5a9d4c4110fc4f8d5ae7826904632c7ed6735"} {"intentId":"e16487b1-2b9b-4376-b4e0-41dbefbe66bd","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T04:48:36.958Z"} {"duration":"10053ms","level":"info","message":"Request completed","method":"PUT","requestId":"071fc5f9-c7bd-44b4-98f1-ce3f8ce1c603","service":"griffin-orchestrator","statusCode":200,"timestamp":"2026-04-13T04:48:36.959Z","url":"/e16487b1-2b9b-4376-b4e0-41dbefbe66bd/execute"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.096Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.137Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.142Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.155Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.163Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.172Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.227Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.280Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.284Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.286Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.292Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.306Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.311Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.315Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.342Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.343Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.357Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.359Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.362Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.363Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.367Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.368Z"} +{"fromChain":"stellar:testnet","intentId":"9b94f1b8-07b9-4d9e-be9b-e6c0104693bf","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.714Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"f2ab7ad1-c29f-46ef-868d-9384427c23b7","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.809Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"722551ef-6540-4ccc-93b1-4007147b5632","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.816Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"99207ec9-7b22-435d-8bac-b2f0c54a6015","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.832Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.857Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.870Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.883Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.899Z"} +{"error":{"code":"MISSING_SIGNATURE","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.912Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.916Z"} +{"fromChain":"stellar:testnet","intentId":"29dd002f-8b26-4ae2-af5c-1c8c252ec3f2","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.933Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"702d097c-18be-4efc-803c-ceb99789740d","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.949Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"364b2201-dde3-4f62-84c0-122442dd3b9a","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.953Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"364b2201-dde3-4f62-84c0-122442dd3b9a","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.954Z"} +{"intentId":"364b2201-dde3-4f62-84c0-122442dd3b9a","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T05:32:01.969Z"} +{"fromChain":"stellar:testnet","intentId":"ab8fdb92-9e81-4e23-bc38-9bb9feaa4f28","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.971Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"ab8fdb92-9e81-4e23-bc38-9bb9feaa4f28","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.973Z"} +{"intentId":"ab8fdb92-9e81-4e23-bc38-9bb9feaa4f28","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T05:32:01.974Z"} +{"fromChain":"stellar:testnet","intentId":"8388e844-986a-43e9-b965-b681b882d9a6","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.982Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"8388e844-986a-43e9-b965-b681b882d9a6","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.983Z"} +{"err":{},"intentId":"8388e844-986a-43e9-b965-b681b882d9a6","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.984Z"} +{"fromChain":"stellar:testnet","intentId":"2d551a2e-6730-4e29-a557-97767ada175d","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:04.480Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"2d551a2e-6730-4e29-a557-97767ada175d","level":"info","message":"Intent cancelled","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:04.482Z"} +{"fromChain":"stellar:testnet","intentId":"88e9c67e-95f9-4399-96c9-42eb0b4fdacc","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:04.486Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.262Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.444Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.463Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.487Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.522Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.553Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.588Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.614Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":8,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.625Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.643Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.646Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":1,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.647Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.656Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.681Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":23,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.689Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.715Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.753Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":3,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.756Z","txHash":"0xdeadbeef"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.781Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.798Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.808Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.973Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.982Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.995Z","vaultAddress":"0xVault"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.706Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.932Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.953Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:05.978Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.000Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.008Z"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.022Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.052Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.064Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.078Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.084Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.086Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.090Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.100Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.102Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.109Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.119Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":6,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.124Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.140Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.146Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":3,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.149Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.166Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.173Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.314Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.340Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.358Z"} +{"duration":25,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:32:06.574Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:32:06.760Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:32:06.775Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:32:06.790Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:32:06.803Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:32:06.818Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:32:06.821Z"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"db996169-3413-4304-a26f-457b2b407b4e","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.910Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"30fc8a58-5f63-409c-abd0-7b3332b0d662","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.929Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"deb67b7c-a374-4c1e-8488-acee4a70e184","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.952Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"b4bd32f4-c778-4497-b152-89df5875afa7","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.973Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"6e198de0-96b1-42a3-8324-6395f698d84a","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.976Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"75b7fe51-f449-4e57-ba6a-e6b75faf47e2","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:06.988Z","url":"/api/v1/test","userAgent":"test-agent"} +{"fromChain":"stellar:testnet","intentId":"68f8c95b-2b48-4267-a5aa-0360605a66d5","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:07.602Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:38923"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:07.725Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:42445"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:07.778Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:36451"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:07.842Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:45985"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:07.909Z"} +{"fromChain":"stellar:testnet","intentId":"4f807e9d-5a53-4796-8af6-055f916106e0","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:08.007Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:40835"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:08.265Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:36095"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:08.644Z"} +{"fromChain":"stellar:testnet","intentId":"a02986e7-5377-4847-b4f6-d7b76b7ebf73","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:09.255Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"a02986e7-5377-4847-b4f6-d7b76b7ebf73","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:09.273Z"} +{"intentId":"a02986e7-5377-4847-b4f6-d7b76b7ebf73","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T05:32:09.280Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37021"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:09.297Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:43603"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:09.323Z"} +{"fromChain":"stellar:testnet","intentId":"0a836876-5d66-4942-8a8a-13c6399c5951","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:09.340Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"0a836876-5d66-4942-8a8a-13c6399c5951","level":"info","message":"Intent cancelled","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:09.354Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:39553"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:10.514Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:43593"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:10.532Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:40059"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:10.554Z"} +{"error":{"code":"NO_TOKENS_FOUND","message":"No tokens found for chain","stack":"AppError: No tokens found for chain\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:75:15)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:23:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40619"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:10.981Z"} +{"fromChain":"stellar:testnet","intentId":"e5082026-345a-4208-8cc1-94a96b7b4d01","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.303Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"a4b1328c-34ee-4d6c-b567-490dbe90b4d7","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.513Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"8e18c8de-1ffe-460f-a10b-c43094aa5d1a","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.518Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"2df5708e-0855-48d4-a111-6cc0a0f702b6","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.535Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.541Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.548Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.551Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.554Z"} +{"error":{"code":"MISSING_SIGNATURE","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.557Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.563Z"} +{"fromChain":"stellar:testnet","intentId":"3623ecb4-b1e2-4189-a51a-40dc38511bcc","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.567Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"b54b6c66-a88e-49aa-a313-e5eb5ec5b4ef","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.570Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"225e7f83-510e-4280-8467-11fa22f673ad","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.574Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"225e7f83-510e-4280-8467-11fa22f673ad","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.576Z"} +{"intentId":"225e7f83-510e-4280-8467-11fa22f673ad","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T05:32:59.578Z"} +{"fromChain":"stellar:testnet","intentId":"057e8883-df54-43a4-a216-dfc8a5a80af6","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.587Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"057e8883-df54-43a4-a216-dfc8a5a80af6","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.589Z"} +{"intentId":"057e8883-df54-43a4-a216-dfc8a5a80af6","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T05:32:59.590Z"} +{"fromChain":"stellar:testnet","intentId":"25ac9760-1148-4361-87ef-8f0676324a54","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.598Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"25ac9760-1148-4361-87ef-8f0676324a54","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.600Z"} +{"err":{},"intentId":"25ac9760-1148-4361-87ef-8f0676324a54","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.605Z"} +{"fromChain":"stellar:testnet","intentId":"84894b44-5753-46e4-aab7-b899e9b32967","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.681Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"84894b44-5753-46e4-aab7-b899e9b32967","level":"info","message":"Intent cancelled","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.683Z"} +{"fromChain":"stellar:testnet","intentId":"9b2b939d-6317-42f3-bb2f-ac78d7385c33","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.694Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.732Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.768Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.773Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.775Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.779Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.783Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.785Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.788Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.794Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.797Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.801Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.804Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.810Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.812Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.816Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.817Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.104Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.128Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.149Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.155Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.159Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.162Z"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.971Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.022Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.030Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.039Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.048Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.051Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.059Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.069Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":7,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.076Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.089Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.091Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":3,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.094Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.104Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.108Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.109Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.115Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.118Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":5,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.122Z","txHash":"0xdeadbeef"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.126Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.132Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.136Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.162Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.165Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.168Z","vaultAddress":"0xVault"} +{"duration":6,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:33:00.177Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:33:00.198Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:33:00.201Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:33:00.203Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:33:00.206Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:33:00.219Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:33:00.222Z"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.977Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.055Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.061Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.075Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.079Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.093Z"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.101Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.117Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.130Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.136Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.138Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.141Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.151Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.154Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.155Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.159Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.171Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":3,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.173Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.180Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.183Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":15,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.197Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.200Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.203Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.242Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.246Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.249Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:41525"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.381Z"} +{"fromChain":"stellar:testnet","intentId":"3e11472b-75bb-49ab-82ef-f79512796916","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.351Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"1bdbf913-8aa4-46bc-9c0a-b7e9d8260d84","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.380Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"1a85f37f-2613-40d2-be46-58bab52ae0b4","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.387Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"5de84e8d-2067-4983-bedb-b2fb5b3c65f3","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.393Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"b33b25ab-d0ad-4a17-8d65-5e3cb7369765","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.396Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"32b110db-55d1-4391-a6b7-5fde4e1fa7c8","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.398Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"3151d3ac-4021-4f33-9f39-679a59028b68","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.400Z","url":"/api/v1/test","userAgent":"test-agent"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:37549"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.441Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:36953"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.462Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:35143"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.464Z"} +{"error":{"code":"NO_TOKENS_FOUND","message":"No tokens found for chain","stack":"AppError: No tokens found for chain\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:75:15)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:23:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37167"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.466Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:33619"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.485Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:32901"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.500Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:43739"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.510Z"} +{"fromChain":"stellar:testnet","intentId":"972fe9c5-121e-48ae-a80f-74d4fe261935","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.519Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:46247"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.530Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:37545"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.541Z"} +{"fromChain":"stellar:testnet","intentId":"389994e3-441a-454c-aa47-951cc4e1a80b","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.549Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"389994e3-441a-454c-aa47-951cc4e1a80b","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.553Z"} +{"intentId":"389994e3-441a-454c-aa47-951cc4e1a80b","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T05:33:00.554Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:36285"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.561Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:39753"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.567Z"} +{"fromChain":"stellar:testnet","intentId":"49e1375e-23fc-4ed5-97e7-f452778a3e74","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.575Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"49e1375e-23fc-4ed5-97e7-f452778a3e74","level":"info","message":"Intent cancelled","service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.579Z"} +{"fromChain":"stellar:testnet","intentId":"7d2a91c2-8464-4503-93d0-034352e0bb78","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:10.872Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"54038ee5-c6d9-4542-92fb-c9da3c5d1776","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.086Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"f19bca7d-8608-4c24-9804-8d9fe3783a47","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.104Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"8bd79675-f29a-4468-9c63-c6c4def4171c","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.126Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.293Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.303Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.310Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.318Z"} +{"error":{"code":"MISSING_SIGNATURE","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.324Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.328Z"} +{"fromChain":"stellar:testnet","intentId":"49c81234-20ff-4fa9-914f-fee599534590","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.346Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"2ae175a2-72fb-465d-9be1-bf072c559337","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.355Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"fromChain":"stellar:testnet","intentId":"c607b579-77e1-4c64-ba88-72f64a2d7ff4","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.362Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"c607b579-77e1-4c64-ba88-72f64a2d7ff4","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.363Z"} +{"intentId":"c607b579-77e1-4c64-ba88-72f64a2d7ff4","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T05:35:11.366Z"} +{"fromChain":"stellar:testnet","intentId":"a8e9da4b-28a8-41d8-8005-5a2b489dc360","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.377Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"a8e9da4b-28a8-41d8-8005-5a2b489dc360","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.379Z"} +{"intentId":"a8e9da4b-28a8-41d8-8005-5a2b489dc360","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T05:35:11.380Z"} +{"fromChain":"stellar:testnet","intentId":"b52967c2-bab9-4a2c-b20c-fb0b34ba9204","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.395Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"b52967c2-bab9-4a2c-b20c-fb0b34ba9204","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.398Z"} +{"err":{},"intentId":"b52967c2-bab9-4a2c-b20c-fb0b34ba9204","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.400Z"} +{"fromChain":"stellar:testnet","intentId":"59a07294-aa51-4550-b0e7-991f577d6170","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.482Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"59a07294-aa51-4550-b0e7-991f577d6170","level":"info","message":"Intent cancelled","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.484Z"} +{"fromChain":"stellar:testnet","intentId":"98e25f82-2388-436d-8f84-b9f979281adb","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.539Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.030Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.129Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.147Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.171Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.181Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.186Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.203Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.217Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.219Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.223Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.232Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":4,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.236Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.240Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.249Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":3,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.252Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.270Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.272Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":3,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.275Z","txHash":"0xdeadbeef"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.287Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.291Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.295Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.375Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.396Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.409Z","vaultAddress":"0xVault"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.221Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.305Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.325Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.341Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.356Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.372Z"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.399Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.410Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.421Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.435Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.439Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":3,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.441Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.450Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.460Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":9,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.462Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.472Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.475Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":7,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.482Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.487Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.495Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":21,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.510Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.523Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.529Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.582Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.584Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.590Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.479Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.564Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.578Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.580Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.583Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.599Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.615Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.625Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.634Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.643Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.649Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.651Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.654Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.670Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.678Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.684Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:43987"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.712Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:36429"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.820Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:44915"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.870Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.966Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.982Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.986Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.990Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.995Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.002Z"} +{"fromChain":"stellar:testnet","intentId":"a10cae6e-2997-4633-8353-0225cd89bedb","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.110Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"9e3686be-0739-4f79-b058-0ec7e4b9b3ab","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.143Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"aeeec492-71bf-4070-9791-84085d23dbe5","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.156Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"11825d27-3362-4b7c-aaf4-eb4828710407","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.167Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"f9810b00-fb34-453e-9366-373fd93ae2ce","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.180Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"dc5df36e-1372-47eb-8c48-67238ad03027","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.183Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"06c91560-addf-4b6a-a41f-aa76131da497","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.194Z","url":"/api/v1/test","userAgent":"test-agent"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:32923"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.291Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:45927"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.333Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:35:13.270Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:35:13.289Z"} +{"duration":5,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:35:13.297Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:35:13.307Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:35:13.310Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:35:13.320Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:35:13.324Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37367"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.360Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:34109"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.378Z"} +{"fromChain":"stellar:testnet","intentId":"d18bde1e-89c0-4761-aaa4-ce04d729fe6d","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.402Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:42783"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.424Z"} +{"error":{"code":"NO_TOKENS_FOUND","message":"No tokens found for chain","stack":"AppError: No tokens found for chain\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:75:15)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:23:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:46419"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.426Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:37137"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.448Z"} +{"fromChain":"stellar:testnet","intentId":"ab7c46cc-75b3-45b1-a6fe-86bfed05454a","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.464Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"ab7c46cc-75b3-45b1-a6fe-86bfed05454a","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.472Z"} +{"intentId":"ab7c46cc-75b3-45b1-a6fe-86bfed05454a","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T05:35:13.474Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33515"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.486Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40639"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.497Z"} +{"fromChain":"stellar:testnet","intentId":"7db0c7f9-dac9-45ee-befc-e39aee9b24bf","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.508Z","toChain":"stellar:testnet","userAddress":"GSENDER"} +{"intentId":"7db0c7f9-dac9-45ee-befc-e39aee9b24bf","level":"info","message":"Intent cancelled","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.515Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:35509"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:57.456Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:38551"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:57.521Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:38331"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:57.544Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:57.964Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:57.976Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:57.987Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:57.990Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:57.994Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:57.998Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.002Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.004Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.012Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.016Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.020Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.022Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.026Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.029Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.033Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.038Z"} +{"duration":3,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:50:58.182Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:50:58.230Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:50:58.238Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:50:58.244Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:50:58.249Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:50:58.257Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:50:58.267Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.431Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.463Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.481Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.485Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.495Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.503Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.240Z"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"13ac9cc2-8211-424c-8a65-4db85283ff79","service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.655Z","url":"/api/v1/test","userAgent":"test-agent"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.355Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.367Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.378Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.393Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.421Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.430Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.435Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.445Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.476Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.491Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.496Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.501Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.504Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.508Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.519Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.527Z"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"3daec630-5f37-4595-9d0a-1b50a6e68b5a","service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.700Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"024c1d88-09c8-4540-9020-b68778eaddfd","service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.709Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"33b7d31e-62aa-43f9-b045-bda4a9951e41","service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.713Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"e1584fe6-14ce-4280-bb4a-166af7235cbd","service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.715Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"7416b81a-ed5b-4a90-93fc-b8b9a92cc083","service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.722Z","url":"/api/v1/test","userAgent":"test-agent"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'filter')","stack":"TypeError: Cannot read properties of undefined (reading 'filter')\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:28:43)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":500},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40321"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.282Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.757Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:36283"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.802Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:40905"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.853Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:35145"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.877Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37191"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.889Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:36435"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.903Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.938Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:43213"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.940Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:39465"},"method":"GET","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.947Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:40359"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.961Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:43341"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.971Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.986Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:43035"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.988Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:41075"},"method":"PUT","url":"/api/v1/intents/undefined/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.995Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:44485"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:00.007Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40365"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:00.025Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:00.037Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:39189"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:00.039Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37415"},"method":"DELETE","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:00.046Z"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"475b9e05-37f2-4a7e-b888-84ee904586b8","service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.666Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"843d1292-62c5-4aaf-a666-e20c828f6d19","service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.719Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"76191909-f046-4598-a006-1ae68e160297","service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.755Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"51e52a3e-8e5d-4d48-84c3-5d17aa4f91c5","service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.763Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"32ccd3b4-ad07-4926-a35e-3ccd5ec1ef8d","service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.765Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"99e733dd-1b2e-4d31-9d53-1fe1e0792e7e","service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.782Z","url":"/api/v1/test","userAgent":"test-agent"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:48.987Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.351Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.372Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.398Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.423Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.541Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.570Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.592Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.637Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.656Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.684Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.709Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.712Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.726Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.730Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.738Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.742Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:51:50.217Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:51:50.228Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:51:50.235Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:51:50.239Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:51:50.245Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:51:50.249Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:51:50.252Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'filter')","stack":"TypeError: Cannot read properties of undefined (reading 'filter')\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:28:43)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":500},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:45301"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.299Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.327Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.347Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.365Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.370Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.384Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.403Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.521Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.532Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.537Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.539Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.546Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.549Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.552Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.554Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.560Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.563Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.566Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.568Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.572Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.574Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.577Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.580Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.729Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:46033"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.754Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:37451"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.791Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:43209"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.782Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:46107"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.805Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:34313"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.823Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:33717"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.838Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:42347"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.856Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37757"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.871Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.889Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:41575"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.890Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37485"},"method":"GET","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.899Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:38761"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.910Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:36473"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.921Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.933Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:36335"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.934Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:43303"},"method":"PUT","url":"/api/v1/intents/undefined/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.940Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:43007"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.949Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:39061"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.958Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.969Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:45327"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.972Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33463"},"method":"DELETE","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.979Z"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"43ae142d-f1c1-488c-a5ef-41b545b307a9","service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.282Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"2f30fda9-60f2-4e16-b689-a39846952faf","service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.369Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"809652de-60da-47a7-9680-f9dfca62c56e","service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.386Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"ccf45393-d6f9-484b-ac9e-11850ea9127d","service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.389Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"56201bfa-859e-4ae3-84fc-14419cea0175","service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.396Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"2f31dfb8-163a-48be-9de4-d4a15301fb51","service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.402Z","url":"/api/v1/test","userAgent":"test-agent"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'filter')","stack":"TypeError: Cannot read properties of undefined (reading 'filter')\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:28:43)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":500},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33185"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.927Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.870Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.894Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.898Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.907Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.917Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.920Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:56:11.085Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:56:11.100Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:56:11.102Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:56:11.106Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:56:11.109Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:56:11.112Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:56:11.122Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.372Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.947Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.024Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.027Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.030Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.034Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.048Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.053Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.065Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.082Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.087Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.095Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.105Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.107Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.110Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.112Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.121Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.123Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.316Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.350Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.368Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.370Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.383Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.387Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.390Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.391Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.402Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.404Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.406Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.408Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.410Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.412Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.415Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.416Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:35175"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.447Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:44311"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.523Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:36927"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.537Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:32801"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.552Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37229"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.570Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.586Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:41771"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.589Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40611"},"method":"GET","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.600Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:36943"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.609Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:43427"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.620Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.635Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:38579"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.636Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:46143"},"method":"PUT","url":"/api/v1/intents/undefined/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.646Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:35887"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.655Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:46147"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.674Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.687Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:38599"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.691Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:38297"},"method":"DELETE","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.701Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:40499"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.704Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:34211"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.744Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:42099"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.756Z"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"97d2a1b4-5883-48d0-bc76-113db71bdccb","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.137Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"f6222f02-3e1e-4fe2-a2d2-5ae08c0ebc32","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.186Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"e63436d9-e842-4a74-afef-59e91ab7c619","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.340Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"8b3df2a0-8751-4001-ad99-2b8827510f1e","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.355Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"20ce3a1b-23ea-4cd8-9ce7-37973ea0b2ca","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.365Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"efb67efd-a107-4b56-a21d-f43f2523dac4","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.367Z","url":"/api/v1/test","userAgent":"test-agent"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.697Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.703Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.706Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.708Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.713Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.715Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.718Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.721Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.727Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.730Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.732Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.735Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.739Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.740Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.743Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.744Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.890Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.923Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.936Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.941Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.945Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.948Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'filter')","stack":"TypeError: Cannot read properties of undefined (reading 'filter')\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:28:43)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":500},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:35107"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.984Z"} +{"duration":2,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:59:41.970Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:59:41.979Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:59:41.981Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:59:41.984Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T05:59:41.986Z"} +{"duration":2,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:59:41.991Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T05:59:41.993Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:38265"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.091Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:39741"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.123Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:42603"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.136Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.160Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:37707"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.206Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:39655"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.242Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:42931"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.254Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37053"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.263Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:44295"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.272Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.281Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:36619"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.282Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:36325"},"method":"GET","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.291Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:34643"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.301Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:41701"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.309Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.319Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:33407"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.321Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:44363"},"method":"PUT","url":"/api/v1/intents/undefined/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.327Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.111Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.162Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.164Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.168Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.172Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.185Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.191Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.194Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.198Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.202Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.208Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.212Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.214Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.216Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.218Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.221Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.225Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:44709"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.343Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:45541"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.352Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.361Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:42423"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.362Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37055"},"method":"DELETE","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.368Z"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.894Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.921Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.923Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.925Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.926Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.928Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.930Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.932Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":1,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.932Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.934Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.935Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":1,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.936Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.938Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.939Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":0,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.939Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.941Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.941Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":1,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.942Z","txHash":"0xdeadbeef"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.943Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.945Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.946Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.958Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.959Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.962Z","vaultAddress":"0xVault"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.937Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.945Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.947Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.949Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.969Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.971Z"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.973Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.975Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.978Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.980Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.982Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.984Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.988Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.989Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":1,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.990Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.991Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.991Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":1,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.992Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.993Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.994Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":1,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.994Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.995Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.996Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:43.004Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:43.006Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:43.007Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.076Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.124Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.135Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.139Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.149Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.198Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.206Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.226Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.233Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.235Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.237Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.239Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.247Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.248Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.253Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.254Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:04.996Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.140Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.146Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.149Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.154Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.168Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.176Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.183Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.201Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.213Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.218Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.225Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.233Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.235Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.249Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.259Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.262Z"} +{"duration":22,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:01:05.410Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:01:05.515Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:01:05.523Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:01:05.527Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:01:05.540Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T06:01:05.544Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T06:01:05.557Z"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"9d1770e8-a8de-4bfc-967b-7a6371f61844","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.111Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"bebe67a1-0651-4d0e-b868-ce34e244ff40","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.167Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"36e3eb40-d032-473f-a373-1f72fb12218d","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.180Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"979a014a-9648-41b0-a68d-d20d998facf0","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.192Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"5128de4a-651a-4b35-8575-ac22f6862155","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.201Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"ddd23025-870b-49ea-8546-7ceb59445841","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.255Z","url":"/api/v1/test","userAgent":"test-agent"} +{"duration":5,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:06:33.575Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:06:33.656Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:06:33.667Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:06:33.672Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:06:33.681Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T06:06:33.690Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T06:06:33.695Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.822Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.833Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.836Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.838Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.849Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.852Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.855Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.868Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.884Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.894Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.897Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.911Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.914Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.916Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.923Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.929Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.316Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.744Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.763Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.769Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.784Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.834Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.860Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.883Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.894Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.942Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.973Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.983Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.991Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.995Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.008Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.020Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.024Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:34989"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.433Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:36247"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.528Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:44629"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.561Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'filter')","stack":"TypeError: Cannot read properties of undefined (reading 'filter')\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:28:43)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":500},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:41265"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.619Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.644Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.673Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.678Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.683Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.687Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.697Z"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.612Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.651Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.655Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.661Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.664Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.672Z"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.681Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.687Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.690Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.700Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.709Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":12,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.718Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.721Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.724Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":8,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.731Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.733Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.735Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":3,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.737Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.741Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.744Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":3,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.746Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.750Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.752Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.774Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.789Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.792Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.824Z"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.726Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.738Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.744Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.747Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.751Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.754Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.758Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.761Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.763Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.766Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.768Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.769Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.772Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.774Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":1,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.775Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.782Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.784Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.786Z","txHash":"0xdeadbeef"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.789Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.795Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.797Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.818Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.820Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.823Z","vaultAddress":"0xVault"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:34299"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.868Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:34345"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.908Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:45415"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.921Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40395"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.932Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:38395"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.941Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.951Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:40807"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.953Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:35799"},"method":"GET","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.959Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:40999"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.967Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:32899"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.975Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.986Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:44159"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.987Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:44915"},"method":"PUT","url":"/api/v1/intents/undefined/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.992Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33327"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:35.006Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:38975"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:35.015Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:35.024Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:38349"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:35.026Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33671"},"method":"DELETE","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:35.033Z"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"e3602769-edde-4177-a296-cab36b0daeca","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.233Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"e23367e1-3a7f-45be-bd8f-0ede64ca5242","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.366Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"1129fec3-aad0-4570-a6ba-30e6c1e0568a","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.395Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"d7a11672-7f59-4ec9-96b4-0421ac1c7d61","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.495Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"e8a99f92-48e3-41c8-96d9-af6615dba6a6","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.502Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"82db5ddb-0eda-4ce0-b5ba-0f61c9f1e534","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.514Z","url":"/api/v1/test","userAgent":"test-agent"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.783Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.963Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.970Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.982Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.987Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.033Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.038Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.043Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.067Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.072Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.086Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.096Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.102Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.105Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.113Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.124Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.133Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'filter')","stack":"TypeError: Cannot read properties of undefined (reading 'filter')\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:28:43)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":500},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:44317"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.388Z"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.350Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.385Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.391Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.405Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.415Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.422Z"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.427Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.439Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.449Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.466Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.468Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.470Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.474Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.479Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":5,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.481Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.485Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.487Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.489Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.492Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.497Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.499Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.502Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.511Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.570Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.572Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.581Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.600Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:46487"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.717Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:40129"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.787Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:38957"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.825Z"} +{"duration":2,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:07:14.770Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:07:14.788Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:07:14.792Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:07:14.798Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:07:14.805Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T06:07:14.815Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T06:07:14.819Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33201"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.842Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:43663"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.867Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.891Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:46751"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.894Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:45639"},"method":"GET","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.909Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:46031"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.929Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:38129"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.955Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.979Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:42299"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.982Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:41881"},"method":"PUT","url":"/api/v1/intents/undefined/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.994Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:46167"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.032Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.903Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.914Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.931Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.934Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.948Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.950Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.955Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.968Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.985Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.988Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.992Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.994Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.998Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.000Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.004Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.006Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:32793"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.052Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.067Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:33877"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.072Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:34385"},"method":"DELETE","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.083Z"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.021Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.041Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.046Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.050Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.055Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.058Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.063Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.066Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":4,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.070Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.073Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.075Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.077Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.082Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.084Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":1,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.085Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.089Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.091Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":3,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.094Z","txHash":"0xdeadbeef"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.099Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.102Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.104Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.125Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.130Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.132Z","vaultAddress":"0xVault"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.108Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.126Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.131Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.136Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.141Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.146Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:36229"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.212Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:34881"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.248Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:45753"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.264Z"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"e8547ceb-2161-4c83-a8cc-fc1ee6589e19","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:40.927Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"9a711ed9-3ee1-49ef-b8f3-895cc23b0a10","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.014Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"58637263-1c65-4a8a-bee2-b2d2df1b9abe","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.034Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"1ad15cbc-ad82-4145-9bf7-5a6620bc8cf9","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.043Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"c754464f-6a97-4702-9eab-abc05c91d0c7","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.085Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"ce9b9ec1-8306-4b5d-831c-d1bc925a0e33","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.091Z","url":"/api/v1/test","userAgent":"test-agent"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:33873"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.814Z"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.694Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.719Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.725Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.730Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.737Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.741Z"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.748Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.756Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.765Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.775Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.783Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.785Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.789Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.792Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":5,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.797Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.800Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.806Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.808Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.817Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.819Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.822Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.829Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.831Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.862Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.866Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.871Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:39345"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.899Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:45151"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.923Z"} +{"fromChain":"eip155:133","intentId":"7eb1d334-6f69-4fb9-a8fe-89834726fa12","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.869Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"fromChain":"eip155:133","intentId":"5ba0347c-30f2-4202-86d4-02ca44a04e24","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.936Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"fromChain":"eip155:133","intentId":"e45e6d21-7107-4965-8195-2cc41ccd009a","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.940Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"fromChain":"eip155:133","intentId":"a7bc0447-b989-42e7-a012-4d48786e3048","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.945Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.954Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.959Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.965Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.971Z"} +{"error":{"code":"MISSING_SIGNATURE","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.975Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.979Z"} +{"fromChain":"eip155:133","intentId":"d54ed4bb-844b-4c58-b2fa-bcab09635c9e","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.986Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"fromChain":"eip155:133","intentId":"e2c352b8-a831-4a57-b13a-34a508df1a6f","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.991Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"fromChain":"eip155:133","intentId":"4650cd0d-168e-4eb9-be5a-7dfe8217dd72","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.995Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"intentId":"4650cd0d-168e-4eb9-be5a-7dfe8217dd72","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.997Z"} +{"intentId":"4650cd0d-168e-4eb9-be5a-7dfe8217dd72","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T06:09:41.999Z"} +{"fromChain":"eip155:133","intentId":"f81122c4-f734-435a-b18f-6c300a0146c6","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.004Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"intentId":"f81122c4-f734-435a-b18f-6c300a0146c6","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.005Z"} +{"intentId":"f81122c4-f734-435a-b18f-6c300a0146c6","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T06:09:42.007Z"} +{"fromChain":"eip155:133","intentId":"6a1655c8-c604-4380-a810-c37f8e65dc29","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.012Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"intentId":"6a1655c8-c604-4380-a810-c37f8e65dc29","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.014Z"} +{"err":{},"intentId":"6a1655c8-c604-4380-a810-c37f8e65dc29","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.018Z"} +{"fromChain":"eip155:133","intentId":"29c9cd96-8067-48d7-a920-bd9b0664a675","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.068Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"intentId":"29c9cd96-8067-48d7-a920-bd9b0664a675","level":"info","message":"Intent cancelled","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.072Z"} +{"fromChain":"eip155:133","intentId":"9b34563c-6210-43b6-bf3d-a8403f844bc8","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.081Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.979Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.028Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.034Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.042Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.049Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.054Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.064Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.066Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.068Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.072Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.074Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":1,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.075Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.079Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.082Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.083Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.092Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.095Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":9,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.104Z","txHash":"0xdeadbeef"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.107Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.111Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.114Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.138Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.140Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.143Z","vaultAddress":"0xVault"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.113Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.120Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.134Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.145Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.147Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.151Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.154Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.158Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.164Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.166Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.169Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.171Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.173Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.175Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.178Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.179Z"} +{"duration":2,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:09:42.177Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:09:42.204Z"} +{"duration":7,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:09:42.215Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:09:42.219Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:09:42.224Z"} +{"duration":1,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T06:09:42.228Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T06:09:42.231Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.235Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.275Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.288Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.294Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.301Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.306Z"} +{"error":{"code":"NO_TOKENS_FOUND","message":"No tokens found for chain","stack":"AppError: No tokens found for chain\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:30:15)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:44743"},"method":"GET","url":"/api/v1/chains/eip155:1/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.672Z"} +{"fromChain":"eip155:133","intentId":"1b82757f-8538-4bcd-8c26-6f443e12b852","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.032Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"325","content-type":"application/json","host":"127.0.0.1:46285"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.095Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"315","content-type":"application/json","host":"127.0.0.1:46545"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.109Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:35615"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.118Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33005"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.130Z"} +{"fromChain":"eip155:133","intentId":"51dbfaf2-a7cf-4deb-8105-b6300b4628e4","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.142Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:43541"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.153Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:42167"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.167Z"} +{"fromChain":"eip155:133","intentId":"7fe55fa7-286c-4d41-83c6-c9c4b2b19a36","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.179Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"intentId":"7fe55fa7-286c-4d41-83c6-c9c4b2b19a36","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.184Z"} +{"intentId":"7fe55fa7-286c-4d41-83c6-c9c4b2b19a36","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T06:09:43.186Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40505"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.196Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:42143"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.203Z"} +{"fromChain":"eip155:133","intentId":"83bb316e-b741-4c51-a18a-b06506ba122a","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.214Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"intentId":"83bb316e-b741-4c51-a18a-b06506ba122a","level":"info","message":"Intent cancelled","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.223Z"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"f834aac6-7e0d-4d93-875f-5d6ffb4c3fff","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.249Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"47132f87-fd91-441a-a159-cfe87b6302c8","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.480Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"907ec279-9b2d-4cdc-907e-0bff1d4b1226","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.501Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"62cc33d3-79b0-4493-82a6-5641f461d9df","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.514Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"66cec272-d945-4c76-ba2d-cfca43c3286a","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.521Z","url":"/api/v1/test","userAgent":"test-agent"} +{"ip":"127.0.0.1","level":"info","message":"Incoming request","method":"GET","requestId":"b972ae54-76f0-4b92-ac16-4d5572a16656","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.534Z","url":"/api/v1/test","userAgent":"test-agent"} +{"fromChain":"eip155:133","intentId":"0cd66da0-8243-467f-933f-4fccd1d0a214","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.079Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"fromChain":"eip155:133","intentId":"786d36ad-0f22-499e-a93b-0e812fc466a6","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.294Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"fromChain":"eip155:133","intentId":"a1355f6b-1ebf-4bb3-9b02-e502482fcd3b","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.311Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"fromChain":"eip155:133","intentId":"5f4de41e-bada-461e-a849-2c8410014438","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.326Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.331Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.346Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.385Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.393Z"} +{"error":{"code":"MISSING_SIGNATURE","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.402Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.411Z"} +{"fromChain":"eip155:133","intentId":"a7af4dff-30a3-4ee6-8fdd-3f81f83e8c91","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.416Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"fromChain":"eip155:133","intentId":"bcf2923d-b4b3-471c-8de5-6bb8642e065a","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.427Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"fromChain":"eip155:133","intentId":"1edd0b22-d56e-49e1-943d-ce11010a3fc9","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.431Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"intentId":"1edd0b22-d56e-49e1-943d-ce11010a3fc9","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.437Z"} +{"intentId":"1edd0b22-d56e-49e1-943d-ce11010a3fc9","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T06:10:25.446Z"} +{"fromChain":"eip155:133","intentId":"283c2dd7-5d62-4adc-868f-a8b167b07791","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.449Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"intentId":"283c2dd7-5d62-4adc-868f-a8b167b07791","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.451Z"} +{"intentId":"283c2dd7-5d62-4adc-868f-a8b167b07791","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T06:10:25.452Z"} +{"fromChain":"eip155:133","intentId":"782ca764-3327-48d0-bf19-5df78e3f66e6","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.465Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"intentId":"782ca764-3327-48d0-bf19-5df78e3f66e6","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.466Z"} +{"err":{},"intentId":"782ca764-3327-48d0-bf19-5df78e3f66e6","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.468Z"} +{"fromChain":"eip155:133","intentId":"64259f7e-ed4b-4460-bf8c-79a046576a2e","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.537Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"intentId":"64259f7e-ed4b-4460-bf8c-79a046576a2e","level":"info","message":"Intent cancelled","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.540Z"} +{"fromChain":"eip155:133","intentId":"aa4d41e0-4f07-4dc7-99b2-717181caad3f","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.545Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"error":{"code":"NO_TOKENS_FOUND","message":"No tokens found for chain","stack":"AppError: No tokens found for chain\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:30:15)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:43475"},"method":"GET","url":"/api/v1/chains/eip155:1/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.694Z"} +{"fromChain":"eip155:133","intentId":"a606714c-1f03-45ed-a393-78c24851b7dc","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.966Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.999Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.015Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.020Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.024Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.030Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.039Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"325","content-type":"application/json","host":"127.0.0.1:43535"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.084Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"315","content-type":"application/json","host":"127.0.0.1:43843"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.109Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:42669"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.141Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40453"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.157Z"} +{"duration":2,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:10:26.104Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:10:26.145Z"} +{"duration":10,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:10:26.158Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:10:26.162Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"healthy","timestamp":"2026-04-13T06:10:26.167Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T06:10:26.176Z"} +{"duration":0,"level":"info","message":"Health check completed","service":"griffin-orchestrator","status":"unhealthy","timestamp":"2026-04-13T06:10:26.180Z"} +{"fromChain":"eip155:133","intentId":"6505bb74-7d40-48a0-97b7-8a930548ca2b","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.193Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:43345"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.221Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:33415"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.257Z"} +{"fromChain":"eip155:133","intentId":"4375146a-51f9-4d08-ad48-611d90746c83","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.286Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"intentId":"4375146a-51f9-4d08-ad48-611d90746c83","level":"info","message":"Intent execution started","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.310Z"} +{"intentId":"4375146a-51f9-4d08-ad48-611d90746c83","level":"info","message":"Intent completed","service":"griffin-orchestrator","settler":"swap","timestamp":"2026-04-13T06:10:26.317Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:43603"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.345Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:32989"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.367Z"} +{"fromChain":"eip155:133","intentId":"b4f4c5e4-9127-4cb2-bc33-8f4559f1e4c1","level":"info","message":"Intent created","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.381Z","toChain":"eip155:133","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"} +{"intentId":"b4f4c5e4-9127-4cb2-bc33-8f4559f1e4c1","level":"info","message":"Intent cancelled","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.388Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.323Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.330Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.338Z"} +{"count":0,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"stellar:testnet","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.340Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.354Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.356Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.359Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.361Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.369Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.371Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.374Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.376Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.378Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.380Z"} +{"level":"info","message":"Finding routes","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.383Z"} +{"count":3,"level":"info","message":"Routes found","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","slippageTolerance":0.01,"toChain":"eip155:1","toToken":"GXYZ12"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.384Z"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.270Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.332Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.338Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.346Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.350Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.356Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.365Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.368Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":3,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.370Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.374Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.375Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.377Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.379Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.383Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.384Z","txHash":"0xdeadbeef"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.387Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.389Z","toChain":"eip155:133","toToken":"0xToken"} +{"durationMs":1,"intentId":"intent-1","level":"info","message":"InventorySettler transfer confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.391Z","txHash":"0xdeadbeef"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.398Z","vaultAddress":"0xVault"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.403Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.405Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":["eip155:133"],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.430Z","vaultAddress":"0xVault"} +{"amount":"10","decimals":18,"intentId":"intent-1","level":"info","message":"InventorySettler executing transfer","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.437Z","toChain":"eip155:133","toToken":"0xToken"} +{"chains":[],"level":"info","message":"InventorySettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.440Z","vaultAddress":"0xVault"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.378Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.391Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.395Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.399Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.405Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.410Z"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.415Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.421Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.426Z"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.431Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.434Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.436Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.439Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.441Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":2,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.442Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.445Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.447Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":3,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.449Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.452Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.454Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"durationMs":1,"intentId":"intent-1","level":"info","message":"SwapSettler swap confirmed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.455Z","txHash":"0xdeadbeef"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.459Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.461Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":["eip155:133"],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.490Z"} +{"amountIn":"10000000000000000000","expectedOut":"9700000000000000000","fromChain":"eip155:133","fromToken":"0xTokenIn","intentId":"intent-1","level":"info","message":"SwapSettler executing swap","minAmountOut":"9651500000000000000","recipient":"0xRecipient","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.493Z","toChain":"eip155:133","toToken":"0xTokenOut"} +{"dexChains":[],"level":"info","message":"SwapSettler initialised","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.509Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:44095"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.632Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:35659"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.658Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:38417"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.668Z"} diff --git a/packages/orchestrator/logs/error.log b/packages/orchestrator/logs/error.log index 4a4968a..817de7f 100644 --- a/packages/orchestrator/logs/error.log +++ b/packages/orchestrator/logs/error.log @@ -212,3 +212,421 @@ {"err":{"action":"estimateGas","code":"CALL_EXCEPTION","data":"0xfb8f41b200000000000000000000000016279052bfede721ed2662f41a754966a3e4812400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000","info":{"error":{"code":3,"data":"0xfb8f41b200000000000000000000000016279052bfede721ed2662f41a754966a3e4812400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000","message":"execution reverted"},"payload":{"id":11,"jsonrpc":"2.0","method":"eth_estimateGas","params":[{"data":"0x0312a843000000000000000000000000b8f355f10569fd2a765296161d082cc37c5843c2000000000000000000000000c4c2841367016c9e2652fecc49bba9229787ba820000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000f22ab000000000000000000000000345b10a79e9fc89f33aef7a92e621a25cd100876","from":"0xb1655bed2370b9ad33dd4ab905a7923d29ab6778","nonce":"0x6","to":"0x16279052bfede721ed2662f41a754966a3e48124"}]}},"invocation":null,"reason":null,"revert":null,"shortMessage":"execution reverted (unknown custom error)","transaction":{"data":"0x0312a843000000000000000000000000b8f355f10569fd2a765296161d082cc37c5843c2000000000000000000000000c4c2841367016c9e2652fecc49bba9229787ba820000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000f22ab000000000000000000000000345b10a79e9fc89f33aef7a92e621a25cd100876","from":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","to":"0x16279052BFEde721ed2662F41A754966a3E48124"}},"intentId":"c1b9dfb3-7840-40f3-be9a-8fdac710c5d1","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:19.613Z"} {"error":{"code":"INTERNAL_SERVER_ERROR","message":"execution reverted (unknown custom error) (action=\"estimateGas\", data=\"0xfb8f41b200000000000000000000000016279052bfede721ed2662f41a754966a3e4812400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000\", reason=null, transaction={ \"data\": \"0x0312a843000000000000000000000000b8f355f10569fd2a765296161d082cc37c5843c2000000000000000000000000c4c2841367016c9e2652fecc49bba9229787ba820000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000f22ab000000000000000000000000345b10a79e9fc89f33aef7a92e621a25cd100876\", \"from\": \"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778\", \"to\": \"0x16279052BFEde721ed2662F41A754966a3E48124\" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.16.0)","stack":"Error: execution reverted (unknown custom error) (action=\"estimateGas\", data=\"0xfb8f41b200000000000000000000000016279052bfede721ed2662f41a754966a3e4812400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000\", reason=null, transaction={ \"data\": \"0x0312a843000000000000000000000000b8f355f10569fd2a765296161d082cc37c5843c2000000000000000000000000c4c2841367016c9e2652fecc49bba9229787ba820000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000f22ab000000000000000000000000345b10a79e9fc89f33aef7a92e621a25cd100876\", \"from\": \"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778\", \"to\": \"0x16279052BFEde721ed2662F41A754966a3E48124\" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.16.0)\n at makeError (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/utils/errors.ts:698:21)\n at getBuiltinCallException (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/abi/abi-coder.ts:118:21)\n at AbiCoder.getBuiltinCallException (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/abi/abi-coder.ts:235:16)\n at JsonRpcProvider.getRpcError (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1016:32)\n at (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/ethers@6.16.0/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:571:45)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"0","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"28c7d9a6-ef44-4e56-881c-b4ddfac8532d"},"method":"PUT","url":"/api/v1/intents/c1b9dfb3-7840-40f3-be9a-8fdac710c5d1/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:44:19.627Z"} {"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"1","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82"},"headers":{"accept":"*/*","accept-encoding":"gzip, deflate","accept-language":"*","connection":"keep-alive","content-length":"174","content-type":"application/json","host":"localhost:3000","sec-fetch-mode":"cors","user-agent":"node","x-request-id":"67d53257-3b87-4eb1-ace6-74d3ba90a895"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T04:48:26.892Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.096Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.137Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.142Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.155Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.163Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.172Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.857Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.870Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.883Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.899Z"} +{"error":{"code":"MISSING_SIGNATURE","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.912Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.916Z"} +{"err":{},"intentId":"8388e844-986a-43e9-b965-b681b882d9a6","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:01.984Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:38923"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:07.725Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:42445"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:07.778Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:36451"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:07.842Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:45985"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:07.909Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:40835"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:08.265Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:36095"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:08.644Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37021"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:09.297Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:43603"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:09.323Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:39553"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:10.514Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:43593"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:10.532Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:40059"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:10.554Z"} +{"error":{"code":"NO_TOKENS_FOUND","message":"No tokens found for chain","stack":"AppError: No tokens found for chain\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:75:15)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:23:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40619"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:10.981Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.541Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.548Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.551Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.554Z"} +{"error":{"code":"MISSING_SIGNATURE","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.557Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.563Z"} +{"err":{},"intentId":"25ac9760-1148-4361-87ef-8f0676324a54","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:32:59.605Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.104Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.128Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.149Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.155Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.159Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.162Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:41525"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.381Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:37549"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.441Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:36953"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.462Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:35143"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.464Z"} +{"error":{"code":"NO_TOKENS_FOUND","message":"No tokens found for chain","stack":"AppError: No tokens found for chain\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:75:15)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:23:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37167"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.466Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:33619"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.485Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:32901"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.500Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:43739"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.510Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:46247"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.530Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:37545"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.541Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:36285"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.561Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:39753"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:33:00.567Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.293Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.303Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.310Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.318Z"} +{"error":{"code":"MISSING_SIGNATURE","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.324Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.328Z"} +{"err":{},"intentId":"b52967c2-bab9-4a2c-b20c-fb0b34ba9204","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:11.400Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:43987"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.712Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:36429"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.820Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:44915"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.870Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.966Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.982Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.986Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.990Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:12.995Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.002Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:32923"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.291Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:45927"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.333Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37367"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.360Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:34109"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.378Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:42783"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.424Z"} +{"error":{"code":"NO_TOKENS_FOUND","message":"No tokens found for chain","stack":"AppError: No tokens found for chain\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:75:15)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:23:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:46419"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.426Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:37137"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.448Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33515"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.486Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40639"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:35:13.497Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:35509"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:57.456Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:38551"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:57.521Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:38331"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:57.544Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.431Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.463Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.481Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.485Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.495Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.503Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.240Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.355Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.367Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.378Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.393Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.421Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.430Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.435Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.445Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.476Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.491Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.496Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.501Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.504Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.508Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.519Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:58.527Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'filter')","stack":"TypeError: Cannot read properties of undefined (reading 'filter')\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:28:43)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":500},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40321"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.282Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.757Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:36283"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.802Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:40905"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.853Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:35145"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.877Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37191"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.889Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:36435"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.903Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.938Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:43213"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.940Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:39465"},"method":"GET","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.947Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:40359"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.961Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:43341"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.971Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.986Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:43035"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.988Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:41075"},"method":"PUT","url":"/api/v1/intents/undefined/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:50:59.995Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:44485"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:00.007Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40365"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:00.025Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:00.037Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:39189"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:00.039Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37415"},"method":"DELETE","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:00.046Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:48.987Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.351Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.372Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.398Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.423Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.541Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.570Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.592Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.637Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.656Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.684Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.709Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.712Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.726Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.730Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.738Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:49.742Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'filter')","stack":"TypeError: Cannot read properties of undefined (reading 'filter')\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:28:43)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":500},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:45301"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.299Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.327Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.347Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.365Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.370Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.384Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.403Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.729Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:46033"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.754Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:37451"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.791Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:43209"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.782Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:46107"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.805Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:34313"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.823Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:33717"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.838Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:42347"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.856Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37757"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.871Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.889Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:41575"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.890Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37485"},"method":"GET","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.899Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:38761"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.910Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:36473"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.921Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.933Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:36335"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.934Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:43303"},"method":"PUT","url":"/api/v1/intents/undefined/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.940Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:43007"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.949Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:39061"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.958Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.969Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:45327"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.972Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33463"},"method":"DELETE","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:51:50.979Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'filter')","stack":"TypeError: Cannot read properties of undefined (reading 'filter')\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:28:43)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":500},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33185"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.927Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.870Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.894Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.898Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.907Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.917Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.920Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.372Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:10.947Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.024Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.027Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.030Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.034Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.048Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.053Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.065Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.082Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.087Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.095Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.105Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.107Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.110Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.112Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.121Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.123Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:35175"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.447Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:44311"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.523Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:36927"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.537Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:32801"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.552Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37229"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.570Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.586Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:41771"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.589Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40611"},"method":"GET","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.600Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:36943"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.609Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:43427"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.620Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.635Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:38579"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.636Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:46143"},"method":"PUT","url":"/api/v1/intents/undefined/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.646Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:35887"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.655Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:46147"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.674Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.687Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:38599"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.691Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:38297"},"method":"DELETE","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.701Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:40499"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.704Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:34211"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.744Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:42099"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:56:11.756Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.890Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.923Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.936Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.941Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.945Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.948Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'filter')","stack":"TypeError: Cannot read properties of undefined (reading 'filter')\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:28:43)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":500},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:35107"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:41.984Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:38265"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.091Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:39741"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.123Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:42603"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.136Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.160Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:37707"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.206Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:39655"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.242Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:42931"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.254Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37053"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.263Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:44295"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.272Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.281Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:36619"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.282Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:36325"},"method":"GET","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.291Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:34643"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.301Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:41701"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.309Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.319Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:33407"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.321Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:44363"},"method":"PUT","url":"/api/v1/intents/undefined/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.327Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.111Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.162Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.164Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.168Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.172Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.185Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.191Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.194Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.198Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.202Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.208Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.212Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.214Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.216Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.218Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.221Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.225Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:44709"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.343Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:45541"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.352Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.361Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:42423"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.362Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:37055"},"method":"DELETE","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T05:59:42.368Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:04.996Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.140Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.146Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.149Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.154Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.168Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.176Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.183Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.201Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.213Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.218Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.225Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.233Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.235Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.249Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.259Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:01:05.262Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.316Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.744Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.763Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.769Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.784Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.834Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.860Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.883Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.894Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.942Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.973Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.983Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.991Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:33.995Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.008Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.020Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.024Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:34989"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.433Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:36247"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.528Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:44629"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.561Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'filter')","stack":"TypeError: Cannot read properties of undefined (reading 'filter')\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:28:43)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":500},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:41265"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.619Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.644Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.673Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.678Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.683Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.687Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.697Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.824Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:34299"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.868Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:34345"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.908Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:45415"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.921Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40395"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.932Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:38395"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.941Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.951Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:40807"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.953Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:35799"},"method":"GET","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.959Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:40999"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.967Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:32899"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.975Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.986Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:44159"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.987Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:44915"},"method":"PUT","url":"/api/v1/intents/undefined/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:34.992Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33327"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:35.006Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:38975"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:35.015Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:35.024Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:38349"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:35.026Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33671"},"method":"DELETE","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:06:35.033Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.783Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.963Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.970Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.982Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:13.987Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.033Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.038Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.043Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.067Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.072Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.086Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.096Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.102Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.105Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.113Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.124Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0x12345678","recipient":"0x4321876","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0x9abcd12","userAddress":"0x5223837abc"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.133Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'filter')","stack":"TypeError: Cannot read properties of undefined (reading 'filter')\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:28:43)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":500},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:44317"},"method":"GET","url":"/api/v1/chains/stellar:testnet/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.388Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.600Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:46487"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.717Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"196","content-type":"application/json","host":"127.0.0.1:40129"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.787Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"181","content-type":"application/json","host":"127.0.0.1:38957"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.825Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33201"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.842Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:43663"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.867Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.891Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:46751"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.894Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:45639"},"method":"GET","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.909Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:46031"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.929Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:38129"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.955Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.979Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:42299"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.982Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:41881"},"method":"PUT","url":"/api/v1/intents/undefined/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:14.994Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:46167"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.032Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:32793"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.052Z"} +{"error":{},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.067Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Cannot read properties of undefined (reading 'find')","stack":"TypeError: Cannot read properties of undefined (reading 'find')\n at IntentService.validateIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:111:39)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at IntentService.createIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:20:7)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:37:22","statusCode":500},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","recipient":"GRECIPIENT","requestMessage":"msg","requestSignature":"sig","toChain":"stellar:testnet","toToken":"GXYZ12","userAddress":"GSENDER"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"211","content-type":"application/json","host":"127.0.0.1:33877"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.072Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:34385"},"method":"DELETE","url":"/api/v1/intents/undefined"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.083Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.108Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.126Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.131Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.136Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.141Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.146Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:36229"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.212Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:34881"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.248Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:45753"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:07:15.264Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:33873"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.814Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:39345"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.899Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:45151"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.923Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.954Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.959Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.965Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.971Z"} +{"error":{"code":"MISSING_SIGNATURE","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.975Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:41.979Z"} +{"err":{},"intentId":"6a1655c8-c604-4380-a810-c37f8e65dc29","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.018Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.235Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.275Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.288Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.294Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.301Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.306Z"} +{"error":{"code":"NO_TOKENS_FOUND","message":"No tokens found for chain","stack":"AppError: No tokens found for chain\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:30:15)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:44743"},"method":"GET","url":"/api/v1/chains/eip155:1/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:42.672Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"325","content-type":"application/json","host":"127.0.0.1:46285"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.095Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"315","content-type":"application/json","host":"127.0.0.1:46545"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.109Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:35615"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.118Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:33005"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.130Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:43541"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.153Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:42167"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.167Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40505"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.196Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:42143"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:09:43.203Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"0","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.331Z"} +{"error":{"code":"INVALID_AMOUNT","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"-5","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.346Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"unknown:chain","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.385Z"} +{"error":{"code":"UNSUPPORTED_CHAIN","details":{"chainId":"unknown:chain"},"name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"unknown:chain","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.393Z"} +{"error":{"code":"MISSING_SIGNATURE","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.402Z"} +{"error":{"code":"INVALID_ADDRESS","name":"AppError","statusCode":400},"level":"error","message":"Failed to create intent","request":{"amount":"100","fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.411Z"} +{"err":{},"intentId":"782ca764-3327-48d0-bf19-5df78e3f66e6","level":"error","message":"Intent failed","service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.468Z"} +{"error":{"code":"NO_TOKENS_FOUND","message":"No tokens found for chain","stack":"AppError: No tokens found for chain\n at ChainService.getSupportedTokens (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/ChainService.ts:30:15)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/chains.ts:25:39\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at Route.dispatch (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)\n at handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:295:15\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:600:14)\n at param (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:610:14)\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:664:3)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at router (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:60:12)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/read.js:53:5)\n at jsonParser (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/body-parser@2.2.2/node_modules/body-parser/lib/types/json.js:88:5)\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at router.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:186:3)\n at app.handle (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/application.js:177:15)\n at Server.app (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express@5.2.1/node_modules/express/lib/express.js:38:9)\n at Server.emit (node:events:508:28)\n at parserOnIncoming (node:_http_server:1210:12)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:43475"},"method":"GET","url":"/api/v1/chains/eip155:1/tokens"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.694Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:42:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":404},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:25.999Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Invalid input","stack":"ValidationError: Invalid input\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:59:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":400},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.015Z"} +{"error":{"code":"UNAUTHORIZED","message":"Unauthorized","stack":"UnauthorizedError: Unauthorized\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:70:31)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":401},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.020Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something exploded","stack":"Error: Something exploded\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:86:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.024Z"} +{"error":{"code":"ERR","message":"Oops","stack":"AppError: Oops\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:100:17)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{"x-request-id":"req-abc-123"},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.030Z"} +{"error":{"code":"INTERNAL_SERVER_ERROR","message":"boom","stack":"Error: boom\n at Object. (/home/wilfrid_k/projects/Griffin/packages/orchestrator/tests/middleware/errorHandler.test.ts:114:18)\n at Promise.then.completed (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)\n at _runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:121:9)\n at run (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-circus@29.7.0/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/jest-runner@29.7.0/node_modules/jest-runner/build/testWorker.js:106:12)","statusCode":500},"level":"error","message":"Request error","request":{"body":{},"headers":{},"method":"GET","url":"/test"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.039Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"eip155:133","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"325","content-type":"application/json","host":"127.0.0.1:43535"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.084Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:31:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"0xb8F355f10569FD2A765296161d082Cc37c5843c2","recipient":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778","requestMessage":"msg","requestSignature":"sig","toChain":"eip155:133","toToken":"0xc4C2841367016C9e2652Fecc49bBA9229787bA82","userAddress":"0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"315","content-type":"application/json","host":"127.0.0.1:43843"},"method":"POST","url":"/api/v1/intents"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.109Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:58:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:42669"},"method":"GET","url":"/api/v1/intents/not-a-uuid"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.141Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:65:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:40453"},"method":"GET","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.157Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:88:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:43345"},"method":"PUT","url":"/api/v1/intents/bad-id/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.221Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.executeIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:62:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:93:42\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"0","host":"127.0.0.1:33415"},"method":"PUT","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000/execute"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.257Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:114:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:43603"},"method":"DELETE","url":"/api/v1/intents/bad-id"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.345Z"} +{"error":{"code":"INTENT_NOT_FOUND","message":"Intent not found","stack":"AppError: Intent not found\n at IntentService.cancelIntent (/home/wilfrid_k/projects/Griffin/packages/orchestrator/src/services/IntentService.ts:96:13)\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/intents.ts:119:27\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"headers":{"accept-encoding":"gzip, deflate","connection":"close","host":"127.0.0.1:32989"},"method":"DELETE","url":"/api/v1/intents/550e8400-e29b-41d4-a716-446655440000"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.367Z"} +{"error":{"code":"NO_ROUTES_AVAILABLE","message":"No viable routes found","stack":"AppError: No viable routes found\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:38:15\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":404},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"107","content-type":"application/json","host":"127.0.0.1:44095"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.632Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"fromChain":"stellar:testnet","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"92","content-type":"application/json","host":"127.0.0.1:35659"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.658Z"} +{"error":{"code":"VALIDATION_ERROR","message":"Validation failed","stack":"AppError: Validation failed\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/routes/quotes.ts:29:15\n at /home/wilfrid_k/projects/Griffin/packages/orchestrator/src/middleware/errorHandler.ts:76:21\n at Layer.handleRequest (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at next (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)\n at middleware (/home/wilfrid_k/projects/Griffin/node_modules/.pnpm/express-validator@7.3.2/node_modules/express-validator/lib/middlewares/check.js:16:13)\n at processTicksAndRejections (node:internal/process/task_queues:104:5)","statusCode":400},"level":"error","message":"Request error","request":{"body":{"amount":"100","fromToken":"GABCDE","toChain":"eip155:1","toToken":"GXYZ12"},"headers":{"accept-encoding":"gzip, deflate","connection":"close","content-length":"77","content-type":"application/json","host":"127.0.0.1:38417"},"method":"POST","url":"/api/v1/quotes"},"service":"griffin-orchestrator","timestamp":"2026-04-13T06:10:26.668Z"} diff --git a/packages/orchestrator/src/routes/chains.ts b/packages/orchestrator/src/routes/chains.ts index 9591e9c..c7ae0e6 100644 --- a/packages/orchestrator/src/routes/chains.ts +++ b/packages/orchestrator/src/routes/chains.ts @@ -1,9 +1,11 @@ import { Router, type Request, type Response } from "express"; import { asyncHandler } from "../middleware/errorHandler"; import { ChainService } from "../services/ChainService"; +import { GriffinSupportedTokens } from "@/utils/utils"; const router: Router = Router(); -const chainService = new ChainService(); +const supportedTokens = GriffinSupportedTokens; +const chainService = new ChainService(supportedTokens); // GET /api/v1/chains - Get supported chains router.get( diff --git a/packages/orchestrator/src/services/ChainService.ts b/packages/orchestrator/src/services/ChainService.ts index 8954d0c..44e1560 100644 --- a/packages/orchestrator/src/services/ChainService.ts +++ b/packages/orchestrator/src/services/ChainService.ts @@ -1,67 +1,22 @@ import { type ChainInfo, type TokenInfo } from "../types"; import { AppError } from "../middleware/errorHandler"; +import { GriffinSupportedChains } from "@/utils/utils"; export class ChainService { /* - STARKNET ONLY FOR FIRST ITERATION + HASHKEY ONLY FOR FIRST ITERATION + TODO: Add configuration for user to actually add their token, + with what you need, and check availability on a suitable swap, stuff like that */ - private static supportedChains: ChainInfo[] = [ - { - chainId: "stellar:testnet", - name: "Stellar", - symbol: "Stellar", - rpcUrl: "https://horizon-testnet.stellar.org", - blockExplorer: "https://stellar.expert/explorer/testnet", - isTestnet: true, - }, - { - chainId: "eip155:133", - name: "Hashkey Testnet", - symbol: "HSK", - rpcUrl: "https://testnet.hsk.xyz", - blockExplorer: "https://testnet-explorer.hsk.xyz", - isTestnet: true, - }, - ]; + private static supportedChains: ChainInfo[] = GriffinSupportedChains; + // I think this should be static private supportedTokens: TokenInfo[]; - constructor() { - this.supportedTokens = []; - - // TODO: Handle token fetch errors in constructor - // getStellarTokens().then((tokens) => { - // tokens.forEach((token: any) => { - // const equivGriffinToken = { - // address: token.address, - // decimals: token.decimals, - // logoUrl: token.logoUri!, - // // TODO: Fix hardcoded wrong chainId here - // chainId: "starknet:sepolia", // Change this when deploying to mainnet - // name: token.name, - // symbol: token.symbol, - // }; - - // this.supportedTokens.push(equivGriffinToken); - // }); - // }); - - this.supportedTokens.push({ - address: "0xb8F355f10569FD2A765296161d082Cc37c5843c2", - symbol: "tHSK", - name: "Test HSK", - decimals: 18, - chainId: "eip155:133", - }); - this.supportedTokens.push({ - address: "0xc4C2841367016C9e2652Fecc49bBA9229787bA82", - symbol: "tUSDC", - name: "Test USDC", - decimals: 6, - chainId: "eip155:133", - }); - - // Add more functions when adding new chains + constructor(supportedTokens: TokenInfo[]) { + // Dynamically add tokens when you can load tokens, + // but from the outside party calling this constructor, not here + this.supportedTokens = supportedTokens; } static async getSupportedChains(): Promise { diff --git a/packages/orchestrator/src/settlement/InventorySettler.ts b/packages/orchestrator/src/settlement/InventorySettler.ts index f7185ad..a0ff8e1 100644 --- a/packages/orchestrator/src/settlement/InventorySettler.ts +++ b/packages/orchestrator/src/settlement/InventorySettler.ts @@ -10,6 +10,7 @@ import { type IChainClient } from "../blockchain/IChainClient"; import { ChainService } from "@/services/ChainService"; import { AppError } from "@/middleware/errorHandler"; import { logger } from "@/utils/logger"; +import { GriffinSupportedTokens } from "@/utils/utils"; export class InventorySettler implements ISettler { readonly type = SettlerType.INVENTORY; @@ -79,7 +80,7 @@ export class InventorySettler implements ISettler { } // Resolve token decimals from ChainService so we parse the amount correctly - const chainService = new ChainService(); + const chainService = new ChainService(GriffinSupportedTokens); const tokenInfo = await chainService.getTokenInfo(intent.toToken, intent.toChain); const decimals = tokenInfo?.decimals ?? 18; // fall back to 18 if unknown diff --git a/packages/orchestrator/src/settlement/SwapSettler.ts b/packages/orchestrator/src/settlement/SwapSettler.ts index 3c08ee3..a8e8077 100644 --- a/packages/orchestrator/src/settlement/SwapSettler.ts +++ b/packages/orchestrator/src/settlement/SwapSettler.ts @@ -11,6 +11,7 @@ import { type IChainClient } from "../blockchain/IChainClient"; import { ChainService } from "@/services/ChainService"; import { AppError } from "@/middleware/errorHandler"; import { logger } from "@/utils/logger"; +import { GriffinSupportedTokens } from "@/utils/utils"; /** 0.5% default slippage tolerance */ const DEFAULT_SLIPPAGE_BPS = 50n; @@ -56,7 +57,7 @@ export class SwapSettler implements ISettler { }; } - const chainService = new ChainService(); + const chainService = new ChainService(GriffinSupportedTokens); const tokenInfo = await chainService.getTokenInfo(intent.fromToken, intent.fromChain); const decimals = tokenInfo?.decimals ?? 18; const amountIn = ethers.parseUnits(intent.amount, decimals); @@ -95,7 +96,7 @@ export class SwapSettler implements ISettler { } // Resolve decimals for both tokens - const chainService = new ChainService(); + const chainService = new ChainService(GriffinSupportedTokens); const [fromTokenInfo, toTokenInfo] = await Promise.all([ chainService.getTokenInfo(intent.fromToken, intent.fromChain), chainService.getTokenInfo(intent.toToken, intent.toChain), diff --git a/packages/orchestrator/src/utils/utils.ts b/packages/orchestrator/src/utils/utils.ts index e739fd1..fa1720c 100644 --- a/packages/orchestrator/src/utils/utils.ts +++ b/packages/orchestrator/src/utils/utils.ts @@ -74,3 +74,39 @@ export const executeStellarSwap = async (): Promise => { throw new Error("Stellar swap not yet implemented"); }; + +// ---------------------------------------------------------------------------// +// -----------------------------DATA------------------------------------------// +// ---------------------------------------------------------------------------// + +/// To support a chain, just add the chain details to this array; + +export const GriffinSupportedChains = [ + { + chainId: "eip155:133", + name: "Hashkey Testnet", + symbol: "HSK", + rpcUrl: "https://testnet.hsk.xyz", + blockExplorer: "https://testnet-explorer.hsk.xyz", + isTestnet: true, + }, +]; + +/// To support a token, just add the token details to this array; + +export const GriffinSupportedTokens = [ + { + address: "0xb8F355f10569FD2A765296161d082Cc37c5843c2", + symbol: "tHSK", + name: "Test HSK", + decimals: 18, + chainId: "eip155:133", + }, + { + address: "0xc4C2841367016C9e2652Fecc49bBA9229787bA82", + symbol: "tUSDC", + name: "Test USDC", + decimals: 6, + chainId: "eip155:133", + }, +]; diff --git a/packages/orchestrator/tests/routes/chains.test.ts b/packages/orchestrator/tests/routes/chains.test.ts index 9f131b5..2522a8f 100644 --- a/packages/orchestrator/tests/routes/chains.test.ts +++ b/packages/orchestrator/tests/routes/chains.test.ts @@ -2,10 +2,20 @@ import request from "supertest"; import express from "express"; import chainRoutes from "../../src/routes/chains"; import { errorHandler } from "../../src/middleware/errorHandler"; -import { ChainService } from "../../src/services/ChainService"; jest.mock("../../src/utils/utils", () => ({ - getStellarTokens: jest.fn().mockResolvedValue([]), + GriffinSupportedChains: [ + { + chainId: "eip155:133", + name: "Hashkey Testnet", + symbol: "HSK", + rpcUrl: "https://testnet.hsk.xyz", + blockExplorer: "https://testnet-explorer.hsk.xyz", + isTestnet: true, + }, + ], + GriffinSupportedTokens: [], + validateAddress: jest.fn().mockReturnValue(true), })); const buildApp = () => { @@ -23,16 +33,16 @@ describe("GET /api/v1/chains", () => { expect(Array.isArray(res.body.chains)).toBe(true); }); - it("includes stellar:testnet in chains", async () => { + it("includes eip155:133 in chains", async () => { const res = await request(buildApp()).get("/api/v1/chains"); const ids = res.body.chains.map((c: any) => c.chainId); - expect(ids).toContain("stellar:testnet"); + expect(ids).toContain("eip155:133"); }); }); describe("GET /api/v1/chains/:chainId/tokens", () => { it("returns 404 when chain has no tokens", async () => { - const res = await request(buildApp()).get("/api/v1/chains/stellar:testnet/tokens"); + const res = await request(buildApp()).get("/api/v1/chains/eip155:1/tokens"); expect(res.status).toBe(404); expect(res.body.error.code).toBe("NO_TOKENS_FOUND"); }); diff --git a/packages/orchestrator/tests/routes/intents.test.ts b/packages/orchestrator/tests/routes/intents.test.ts index 9279ecf..3cc9078 100644 --- a/packages/orchestrator/tests/routes/intents.test.ts +++ b/packages/orchestrator/tests/routes/intents.test.ts @@ -7,7 +7,17 @@ import { SettlementEngine } from "../../src/settlement/SettlementEngine"; import { IntentStatus } from "../../src/types"; jest.mock("../../src/utils/utils", () => ({ - getStellarTokens: jest.fn().mockResolvedValue([]), + GriffinSupportedChains: [ + { + chainId: "eip155:133", + name: "Hashkey Testnet", + symbol: "HSK", + rpcUrl: "https://testnet.hsk.xyz", + blockExplorer: "https://testnet-explorer.hsk.xyz", + isTestnet: true, + }, + ], + GriffinSupportedTokens: [], validateAddress: jest.fn().mockReturnValue(true), validateSignature: jest.fn().mockResolvedValue(true), })); @@ -53,13 +63,13 @@ const buildApp = (service?: IntentService) => { }; const validBody = { - fromChain: "stellar:testnet", - toChain: "stellar:testnet", - fromToken: "GABCDE", - toToken: "GXYZ12", + fromChain: "eip155:133", + toChain: "eip155:133", + fromToken: "0xb8F355f10569FD2A765296161d082Cc37c5843c2", + toToken: "0xc4C2841367016C9e2652Fecc49bBA9229787bA82", amount: "100", - recipient: "GRECIPIENT", - userAddress: "GSENDER", + recipient: "0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778", + userAddress: "0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778", requestSignature: "sig", requestMessage: "msg", }; diff --git a/packages/orchestrator/tests/services/ChainService.test.ts b/packages/orchestrator/tests/services/ChainService.test.ts index b82c549..317f08e 100644 --- a/packages/orchestrator/tests/services/ChainService.test.ts +++ b/packages/orchestrator/tests/services/ChainService.test.ts @@ -1,14 +1,37 @@ import { ChainService } from "../../src/services/ChainService"; -import { AppError } from "../../src/middleware/errorHandler"; import * as utils from "../../src/utils/utils"; -// ChainService constructor calls getStellarTokens — stub it out jest.mock("../../src/utils/utils", () => ({ - ...jest.requireActual("../../src/utils/utils"), - getStellarTokens: jest.fn().mockResolvedValue([]), + GriffinSupportedChains: [ + { + chainId: "eip155:133", + name: "Hashkey Testnet", + symbol: "HSK", + rpcUrl: "https://testnet.hsk.xyz", + blockExplorer: "https://testnet-explorer.hsk.xyz", + isTestnet: true, + }, + ], + GriffinSupportedTokens: [ + { + address: "0xb8F355f10569FD2A765296161d082Cc37c5843c2", + symbol: "tHSK", + name: "Test HSK", + decimals: 18, + chainId: "eip155:133", + }, + { + address: "0xc4C2841367016C9e2652Fecc49bBA9229787bA82", + symbol: "tUSDC", + name: "Test USDC", + decimals: 6, + chainId: "eip155:133", + }, + ], + validateAddress: jest.fn().mockReturnValue(true), })); -const STELLAR_TESTNET = "stellar:testnet"; +const HASHKEY_TESTNET = "eip155:133"; describe("ChainService — static methods", () => { it("getSupportedChains returns at least one chain", async () => { @@ -19,13 +42,13 @@ describe("ChainService — static methods", () => { it("getSupportedChains includes stellar:testnet", async () => { const chains = await ChainService.getSupportedChains(); const ids = chains.map((c) => c.chainId); - expect(ids).toContain(STELLAR_TESTNET); + expect(ids).toContain(HASHKEY_TESTNET); }); it("getChainInfo returns chain for known chainId", async () => { - const chain = await ChainService.getChainInfo(STELLAR_TESTNET); + const chain = await ChainService.getChainInfo(HASHKEY_TESTNET); expect(chain).not.toBeNull(); - expect(chain!.chainId).toBe(STELLAR_TESTNET); + expect(chain!.chainId).toBe(HASHKEY_TESTNET); }); it("getChainInfo returns null for unknown chainId", async () => { @@ -34,7 +57,7 @@ describe("ChainService — static methods", () => { }); it("isChainSupported returns true for stellar:testnet", async () => { - expect(await ChainService.isChainSupported(STELLAR_TESTNET)).toBe(true); + expect(await ChainService.isChainSupported(HASHKEY_TESTNET)).toBe(true); }); it("isChainSupported returns false for unknown chain", async () => { @@ -46,34 +69,35 @@ describe("ChainService — instance methods", () => { let service: ChainService; beforeEach(() => { - service = new ChainService(); + service = new ChainService(utils.GriffinSupportedTokens); }); it("getSupportedTokens returns empty array when no tokens loaded", async () => { + service = new ChainService([]); const tokens = await service.getSupportedTokens(); expect(tokens).toEqual([]); }); it("getSupportedTokens throws 404 when chainId has no tokens", async () => { - await expect(service.getSupportedTokens(STELLAR_TESTNET)).rejects.toMatchObject({ + await expect(service.getSupportedTokens("eip155:1")).rejects.toMatchObject({ statusCode: 404, code: "NO_TOKENS_FOUND", }); }); it("isTokenSupported returns false when no tokens loaded", async () => { - const result = await service.isTokenSupported("GTOKEN", STELLAR_TESTNET); + const result = await service.isTokenSupported("GTOKEN", HASHKEY_TESTNET); expect(result).toBe(false); }); it("getTokenInfo returns null when no tokens loaded", async () => { - const result = await service.getTokenInfo("GTOKEN", STELLAR_TESTNET); + const result = await service.getTokenInfo("GTOKEN", HASHKEY_TESTNET); expect(result).toBeNull(); }); describe("with tokens loaded", () => { - const TOKEN_ADDRESS = "GABCDE1234567890"; - const TOKEN_CHAIN = STELLAR_TESTNET; + const TOKEN_ADDRESS = "0x1ba23455678ab"; + const TOKEN_CHAIN = HASHKEY_TESTNET; beforeEach(() => { // Inject tokens directly into the private field for testing diff --git a/packages/orchestrator/tests/services/IntentService.test.ts b/packages/orchestrator/tests/services/IntentService.test.ts index 675af70..334141f 100644 --- a/packages/orchestrator/tests/services/IntentService.test.ts +++ b/packages/orchestrator/tests/services/IntentService.test.ts @@ -6,7 +6,17 @@ import * as utils from "../../src/utils/utils"; // Stub out external calls jest.mock("../../src/utils/utils", () => ({ - getStellarTokens: jest.fn().mockResolvedValue([]), + GriffinSupportedChains: [ + { + chainId: "eip155:133", + name: "Hashkey Testnet", + symbol: "HSK", + rpcUrl: "https://testnet.hsk.xyz", + blockExplorer: "https://testnet-explorer.hsk.xyz", + isTestnet: true, + }, + ], + GriffinSupportedTokens: [], validateAddress: jest.fn().mockReturnValue(true), validateSignature: jest.fn().mockResolvedValue(true), })); @@ -48,13 +58,13 @@ const makeEngine = (result?: SettlementResult, shouldThrow?: Error) => { }; const validRequest: CreateIntentRequest = { - fromChain: "stellar:testnet", - toChain: "stellar:testnet", - fromToken: "GABCDE", - toToken: "GXYZ12", + fromChain: "eip155:133", + toChain: "eip155:133", + fromToken: "0xb8F355f10569FD2A765296161d082Cc37c5843c2", + toToken: "0xc4C2841367016C9e2652Fecc49bBA9229787bA82", amount: "100", - recipient: "GRECIPIENT", - userAddress: "GSENDER", + recipient: "0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778", + userAddress: "0xB1655beD2370B9Ad33Dd4ab905a7923D29Ab6778", requestSignature: "sig", requestMessage: "msg", };