Skip to content

Commit e0bc0ba

Browse files
committed
Merge remote-tracking branch 'origin/main' into ph/txWorkerRedis
2 parents ece9b97 + 78d0eff commit e0bc0ba

File tree

3 files changed

+299
-251
lines changed

3 files changed

+299
-251
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"pino-pretty": "^10.0.0",
7171
"prisma": "^5.14.0",
7272
"superjson": "^2.2.1",
73-
"thirdweb": "^5.39.0",
73+
"thirdweb": "^5.45.1",
7474
"uuid": "^9.0.1",
7575
"zod": "^3.23.8"
7676
},

src/utils/sdk.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ export const toTransactionStatus = (status: "success" | "reverted"): number =>
2121
status === "success" ? 1 : 0;
2222

2323
export const toTransactionType = (
24-
type: "legacy" | "eip1559" | "eip2930" | "eip4844",
24+
type: "legacy" | "eip1559" | "eip2930" | "eip4844" | "eip7702",
2525
): number => {
2626
if (type === "legacy") return 0;
2727
if (type === "eip1559") return 1;
2828
if (type === "eip2930") return 2;
2929
if (type === "eip4844") return 3;
30+
if (type === "eip7702") return 4;
3031
throw new Error(`Unexpected transaction type ${type}`);
3132
};

0 commit comments

Comments
 (0)