diff --git a/patches/ponder@0.16.6.patch b/patches/ponder@0.16.6.patch index cec1267..220db54 100644 --- a/patches/ponder@0.16.6.patch +++ b/patches/ponder@0.16.6.patch @@ -132,7 +132,7 @@ diff --git a/dist/esm/rpc/actions.js b/dist/esm/rpc/actions.js index ae284fa3d3ba39b259175a4e9869a5ea6d4da4a2..f2b9ec8daddabf09685e717c186517d04a5d7d8c 100644 --- a/dist/esm/rpc/actions.js +++ b/dist/esm/rpc/actions.js -@@ -766,13 +766,9 @@ export const standardizeLogs = (logs, request) => { +@@ -766,13 +766,11 @@ export const standardizeLogs = (logs, request) => { throw error; } if (hexToBigInt(log.logIndex) > BigInt(PG_INTEGER_MAX)) { @@ -148,4 +148,7 @@ index ae284fa3d3ba39b259175a4e9869a5ea6d4da4a2..f2b9ec8daddabf09685e717c186517d0 + continue; } } - return logs; +- return logs; ++ return logs.filter( ++ (log) => hexToBigInt(log.logIndex) <= BigInt(PG_INTEGER_MAX), ++ ); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 93d5331..864adaf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,7 @@ settings: patchedDependencies: ponder@0.16.6: - hash: f0612e7102efb92911aeae79416c3c5c52fcaf41c4a22e7903ba90ef8aa952d5 + hash: b362efd5421895e32690aaec54e4b5305326361b1b7746d9956098a42d28d54e path: patches/ponder@0.16.6.patch importers: @@ -33,7 +33,7 @@ importers: version: 9.9.0 ponder: specifier: ^0.16.6 - version: 0.16.6(patch_hash=f0612e7102efb92911aeae79416c3c5c52fcaf41c4a22e7903ba90ef8aa952d5)(@opentelemetry/api@1.9.0)(@types/node@20.19.35)(hono@4.12.3)(typescript@5.9.3)(viem@2.46.3(typescript@5.9.3)(zod@3.25.76))(zod@3.25.76) + version: 0.16.6(patch_hash=b362efd5421895e32690aaec54e4b5305326361b1b7746d9956098a42d28d54e)(@opentelemetry/api@1.9.0)(@types/node@20.19.35)(hono@4.12.3)(typescript@5.9.3)(viem@2.46.3(typescript@5.9.3)(zod@3.25.76))(zod@3.25.76) ponder-enrich-gql-docs-middleware: specifier: ^0.1.3 version: 0.1.3(graphql@16.13.0)(hono@4.12.3) @@ -4564,7 +4564,7 @@ snapshots: graphql: 16.13.0 hono: 4.12.3 - ponder@0.16.6(patch_hash=f0612e7102efb92911aeae79416c3c5c52fcaf41c4a22e7903ba90ef8aa952d5)(@opentelemetry/api@1.9.0)(@types/node@20.19.35)(hono@4.12.3)(typescript@5.9.3)(viem@2.46.3(typescript@5.9.3)(zod@3.25.76))(zod@3.25.76): + ponder@0.16.6(patch_hash=b362efd5421895e32690aaec54e4b5305326361b1b7746d9956098a42d28d54e)(@opentelemetry/api@1.9.0)(@types/node@20.19.35)(hono@4.12.3)(typescript@5.9.3)(viem@2.46.3(typescript@5.9.3)(zod@3.25.76))(zod@3.25.76): dependencies: '@babel/code-frame': 7.29.0 '@commander-js/extra-typings': 12.1.0(commander@12.1.0)