Skip to content

Commit

Permalink
fix: Adjust chunk size to 1000 (#1123)
Browse files Browse the repository at this point in the history
* Adjust chunk size to 1000

* add changeset
  • Loading branch information
CassOnMars authored Jul 14, 2023
1 parent 56f2f39 commit 728a557
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/slow-roses-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@farcaster/hubble": patch
---

Adjust chunk size to 1000 from 10000
2 changes: 1 addition & 1 deletion apps/hubble/src/eth/ethEventsProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class GoerliEthConstants {
public static IdRegistryAddress = "0xda107a1caf36d198b12c16c7b6a1d1c795978c42" as const;
public static NameRegistryAddress = "0xe3be01d99baa8db9905b33a3ca391238234b79d1" as const;
public static FirstBlock = 7648795;
public static ChunkSize = 10000;
public static ChunkSize = 1000;
}

type NameRegistryRenewEvent = Omit<NameRegistryEvent, "to" | "from">;
Expand Down
2 changes: 1 addition & 1 deletion apps/hubble/src/eth/l2EventsProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const log = logger.child({
export class OPGoerliEthConstants {
public static StorageRegistryAddress = "0xa89cC9427335da6E8138517419FCB3c9c37d1604" as const;
public static FirstBlock = 11183461;
public static ChunkSize = 10000;
public static ChunkSize = 1000;
public static chainId = BigInt(420); // OP Goerli
}

Expand Down

0 comments on commit 728a557

Please sign in to comment.