blobscan-prod-indexer-1 | {"v":0,"name":"blobscan_indexer","msg":"Block, transactions and blobs indexed successfully!","level":30,"hostname":"blobscan-vm","pid":1,"time":"2023-07-07T15:00:22.305898015Z","target":"blob_indexer::slots_proc
essor::slot_processor","line":184,"file":"src/slots_processor/slot_processor/mod.rs","target":"slot_processor","block":"0x7e65…e0ec","slot":20826,"transactions":"[\"0x05df…8f8a\"]","blobs":"[\"0x01a7…4a62\", \"0x01d9…bda5\", \"0x0119…1617
\", \"0x01fb…81a9\", \"0x0116…e8e3\", \"0x01df…4f78\"]"}
blobscan-prod-indexer-1 | {"v":0,"name":"blobscan_indexer","msg":"Failed to send request","level":40,"hostname":"blobscan-vm","pid":1,"time":"2023-07-07T15:00:31.555853733Z","target":"blob_indexer::clients::blobscan","line":58,"file":"sr
c/clients/blobscan/mod.rs","method":"PUT","body":"IndexRequest { block: Block { number: 20828, hash: 0xdf7da39306b73e8a238bc129ab7631d3e87245fb605907b250eab0f30acde185, timestamp: 1688376432, slot: 20831 }, transactions: [Transaction { ha
sh: 0x9d3b9b1449722ab69a8ea99e609fd650581dac2abcb75832f90090af3d571dc5, from: 0x428a95ceb38b706fbfe74fa0144701cfc1c25ef7, to: Some(0x000000000000000000000000000000000000f1c1), block_number: 20828 }], blobs: [Blob { versioned_hash: 0x0101…
3c71, commitment: 0xaa2a8bd0be307642739186382b2ec0e8080d37be9e1b3d32ff290607ba2b9c76a5d845f0688f381445efcada144e9e6d, tx_hash: 0x9d3b…1dc5, index: 0, data: [omitted] }, Blob { versioned_hash: 0x0176…3250, commitment: 0x968095f7b1035947e6a
4bc8b52eba141c082f16cd3951606a8509236bc40ff20a30bdddefe373e404b8d2102f7811568, tx_hash: 0x9d3b…1dc5, index: 1, data: [omitted] }, Blob { versioned_hash: 0x013b…e9cc, commitment: 0x8c5a64cce1b68074fefa118f1fa20ce03dc1535a21d1f1399fd85da1e8
9a60178956bb504114d9f59aef0941114b8de0, tx_hash: 0x9d3b…1dc5, index: 2, data: [omitted] }, Blob { versioned_hash: 0x0119…8f05, commitment: 0xb9f597455df576fdfce8bdc397127f76f5295194d34d8ad2b93e5f582866268a9d352379f6c872b6b61b4f124e95c361,
tx_hash: 0x9d3b…1dc5, index: 3, data: [omitted] }, Blob { versioned_hash: 0x0162…5e68, commitment: 0xb3c9a21edecaa25e5a6ceaebb816751d8a95b6b81fd9da6301fe9f41afae905931037c60b9995688289a2be2713ff1f3, tx_hash: 0x9d3b…1dc5, index: 4, data:
[omitted] }, Blob { versioned_hash: 0x01b0…9903, commitment: 0xab9e52e8eef9f2b2c1f8506111dc730ea524be05e9e690eeca25c53842ef07239a02a62ebcbc1442e984f8cefc193644, tx_hash: 0x9d3b…1dc5, index: 5, data: [omitted] }] }","url":"http://localhost
:3002/api/indexer/block-txs-blobs","error":"reqwest::Error { kind: Request, url: Url { scheme: \"http\", cannot_be_a_base: false, username: \"\", password: None, host: Some(Domain(\"localhost\")), port: Some(3002), path: \"/api/indexer/bl
ock-txs-blobs\", query: None, fragment: None }, source: TimedOut }"}
blobscan-prod-indexer-1 | {"v":0,"name":"blobscan_indexer","msg":"Failed to process slot. Retrying in 0 seconds…","level":40,"hostname":"blobscan-vm","pid":1,"time":"2023-07-07T15:00:31.555986822Z","target":"blob_indexer::slots_processor
::slot_processor","line":38,"file":"src/slots_processor/slot_processor/mod.rs","target":"slot_processor","error":"ClientError(Reqwest(reqwest::Error { kind: Request, url: Url { scheme: \"http\", cannot_be_a_base: false, username: \"\", pa
ssword: None, host: Some(Domain(\"localhost\")), port: Some(3002), path: \"/api/indexer/block-txs-blobs\", query: None, fragment: None }, source: TimedOut }))","slot":20831}
blobscan-prod-api-1 | prisma:error Unique constraint failed on the fields: (`id`)
blobscan-prod-api-1 | prisma:error Unique constraint failed on the fields: (`id`)
blobscan-prod-api-1 | prisma:error Unique constraint failed on the fields: (`id`)
blobscan-prod-api-1 | prisma:error
blobscan-prod-api-1 | Invalid `prisma.blob.createMany()` invocation in
blobscan-prod-api-1 | /app/packages/api/src/router/indexer.ts:147:50
blobscan-prod-api-1 |
blobscan-prod-api-1 | 144
blobscan-prod-api-1 | 145 // 3. Prepare block, transaction and blob insertions
blobscan-prod-api-1 | 146
blobscan-prod-api-1 | → 147 const createBlobsDataPromise = prisma.blob.createMany(
blobscan-prod-api-1 | Unique constraint failed on the fields: (`id`)
blobscan-prod-api-1 | prisma:error Unique constraint failed on the fields: (`id`)
blobscan-prod-api-1 | prisma:error Unique constraint failed on the fields: (`id`)
blobscan-prod-api-1 | prisma:error Unique constraint failed on the fields: (`id`)
blobscan-prod-api-1 | prisma:error Unique constraint failed on the fields: (`id`)
blobscan-prod-indexer-1 | {"v":0,"name":"blobscan_indexer","msg":"Unexpected response from server","level":40,"hostname":"blobscan-vm","pid":1,"time":"2023-07-07T15:00:38.233466045Z","target":"blob_indexer::clients::blobscan","line":58,"
file":"src/clients/blobscan/mod.rs","url":"http://localhost:3002/api/indexer/block-txs-blobs","method":"PUT","body":"IndexRequest { block: Block { number: 20828, hash: 0xdf7da39306b73e8a238bc129ab7631d3e87245fb605907b250eab0f30acde185, ti
mestamp: 1688376432, slot: 20831 }, transactions: [Transaction { hash: 0x9d3b9b1449722ab69a8ea99e609fd650581dac2abcb75832f90090af3d571dc5, from: 0x428a95ceb38b706fbfe74fa0144701cfc1c25ef7, to: Some(0x000000000000000000000000000000000000f1
c1), block_number: 20828 }], blobs: [Blob { versioned_hash: 0x0101…3c71, commitment: 0xaa2a8bd0be307642739186382b2ec0e8080d37be9e1b3d32ff290607ba2b9c76a5d845f0688f381445efcada144e9e6d, tx_hash: 0x9d3b…1dc5, index: 0, data: [omitted] }, Bl
ob { versioned_hash: 0x0176…3250, commitment: 0x968095f7b1035947e6a4bc8b52eba141c082f16cd3951606a8509236bc40ff20a30bdddefe373e404b8d2102f7811568, tx_hash: 0x9d3b…1dc5, index: 1, data: [omitted] }, Blob { versioned_hash: 0x013b…e9cc, commi
tment: 0x8c5a64cce1b68074fefa118f1fa20ce03dc1535a21d1f1399fd85da1e89a60178956bb504114d9f59aef0941114b8de0, tx_hash: 0x9d3b…1dc5, index: 2, data: [omitted] }, Blob { versioned_hash: 0x0119…8f05, commitment: 0xb9f597455df576fdfce8bdc397127f
76f5295194d34d8ad2b93e5f582866268a9d352379f6c872b6b61b4f124e95c361, tx_hash: 0x9d3b…1dc5, index: 3, data: [omitted] }, Blob { versioned_hash: 0x0162…5e68, commitment: 0xb3c9a21edecaa25e5a6ceaebb816751d8a95b6b81fd9da6301fe9f41afae905931037
c60b9995688289a2be2713ff1f3, tx_hash: 0x9d3b…1dc5, index: 4, data: [omitted] }, Blob { versioned_hash: 0x01b0…9903, commitment: 0xab9e52e8eef9f2b2c1f8506111dc730ea524be05e9e690eeca25c53842ef07239a02a62ebcbc1442e984f8cefc193644, tx_hash: 0
x9d3b…1dc5, index: 5, data: [omitted] }] }","response":"{\"message\":\"\\nInvalid `prisma.blob.createMany()` invocation in\\n/app/packages/api/src/router/indexer.ts:147:50\\n\\n 144 \\n 145 // 3. Prepare block, transaction and blob inse
rtions\\n 146 \\n→ 147 const createBlobsDataPromise = prisma.blob.createMany(\\nUnique constraint failed on the fields: (`id`)\",\"code\":\"INTERNAL_SERVER_ERROR\"}"}
blobscan-prod-indexer-1 | {"v":0,"name":"blobscan_indexer","msg":"Failed to process slot. Retrying in 1 seconds…","level":40,"hostname":"blobscan-vm","pid":1,"time":"2023-07-07T15:00:38.23389624Z","target":"blob_indexer::slots_processor:
:slot_processor","line":38,"file":"src/slots_processor/slot_processor/mod.rs","error":"ClientError(ApiError(ErrorResponse { code: String(\"INTERNAL_SERVER_ERROR\"), message: Some(\"\\nInvalid `prisma.blob.createMany()` invocation in\\n/ap
p/packages/api/src/router/indexer.ts:147:50\\n\\n 144 \\n 145 // 3. Prepare block, transaction and blob insertions\\n 146 \\n→ 147 const createBlobsDataPromise = prisma.blob.createMany(\\nUnique constraint failed on the fields: (`id`)\
") }))","slot":20831,"target":"slot_processor"}
blobscan-prod-indexer-1 | {"v":0,"name":"blobscan_indexer","msg":"Block, transactions and blobs indexed successfully!","level":30,"hostname":"blobscan-vm","pid":1,"time":"2023-07-07T15:00:41.696154385Z","target":"blob_indexer::slots_proc
essor::slot_processor","line":184,"file":"src/slots_processor/slot_processor/mod.rs","blobs":"[\"0x0101…3c71\", \"0x0176…3250\", \"0x013b…e9cc\", \"0x0119…8f05\", \"0x0162…5e68\", \"0x01b0…9903\"]","block":"0xdf7d…e185","slot":20831,"tran
sactions":"[\"0x9d3b…1dc5\"]","target":"slot_processor"}