Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 57 additions & 41 deletions bun.lock

Large diffs are not rendered by default.

65,118 changes: 65,118 additions & 0 deletions dist/index.js

Large diffs are not rendered by default.

30 changes: 16 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"build": "esbuild src/relayer-a/index.ts --bundle --platform=node --target=node22 --outdir=dist --format=esm",
"lint": "eslint --config .eslint.config.mjs",
"format": "prettier --config .prettierrc.json --write **/*.{ts,json}",
"start": "bun ./src/relayer-a/index.ts",
"start:relayerA": "bun ./src/relayer-a/index.ts",
"check-updates": "npx npm-check-updates",
"prisma:reset": "npx prisma migrate reset",
Expand All @@ -32,19 +33,20 @@
},
"dependencies": {
"@concero/contract-utils": "github:concero/contract-utils",
"@prisma/client": "^5.12.0",
"@slack/web-api": "^7.9.1",
"@types/jest": "^29.5.14",
"async-mutex": "^0.5.0",
"axios": "^1.8.4",
"dotenv": "^16.4.7",
"ethers": "^6.13.5",
"jest": "^29.7.0",
"prisma": "^5.12.0",
"ts-jest": "^29.3.2",
"uuid": "^11.1.0",
"viem": "2.24.1",
"winston": "^3.17.0",
"winston-daily-rotate-file": "^5.0.0"
"@concero/operator-utils": "github:concero/operator-utils",
"@prisma/client": "5.12.0",
"@slack/web-api": "7.9.1",
"@types/jest": "29.5.14",
"async-mutex": "0.5.0",
"axios": "1.8.4",
"dotenv": "16.4.7",
"ethers": "6.13.5",
"jest": "29.7.0",
"prisma": "5.12.0",
"ts-jest": "29.3.2",
"uuid": "11.1.0",
"viem": "2.33.0",
"winston": "3.17.0",
"winston-daily-rotate-file": "5.0.0"
}
}
Binary file modified prisma/block-checkpoints.db
Binary file not shown.
13 changes: 13 additions & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,16 @@ model BlockCheckpoint {
blockNumber BigInt
timestamp DateTime @default(now())
}

model FailedLogFetch {
id Int @id @default(autoincrement())
network String
contractAddress String
fromBlock BigInt
toBlock BigInt
errorMessage String
retryCount Int @default(0)
createdAt DateTime @default(now())

@@unique([network, contractAddress, fromBlock, toBlock])
}
2 changes: 1 addition & 1 deletion src/common/eventListener/setupEventListener.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { AbiEvent, type Address, Log } from "viem";

import { Logger } from "@concero/operator-utils";
import { ConceroNetwork } from "../../types/ConceroNetwork";
import { TxManager } from "../managers";
import { Logger } from "../utils";

export interface EventListenerHandle {
stop: () => void;
Expand Down
265 changes: 0 additions & 265 deletions src/common/managers/BlockManager.ts

This file was deleted.

Loading