From 4925569bd9be26b0b2a4bdf422ea59011dd5922b Mon Sep 17 00:00:00 2001 From: FT <140458077+zeevick10@users.noreply.github.com> Date: Wed, 25 Dec 2024 10:13:41 +0100 Subject: [PATCH 1/3] Update storeEventHandler.test.ts --- apps/hubble/src/storage/stores/storeEventHandler.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/hubble/src/storage/stores/storeEventHandler.test.ts b/apps/hubble/src/storage/stores/storeEventHandler.test.ts index 3cf1ccbd66..cc51989ea3 100644 --- a/apps/hubble/src/storage/stores/storeEventHandler.test.ts +++ b/apps/hubble/src/storage/stores/storeEventHandler.test.ts @@ -228,7 +228,7 @@ describe("getCurrentStorageUnitsForFid", () => { expect(slot.units).toEqual(newEvent.storageRentEventBody.units); const newUnitExpiration = toFarcasterTime((newEvent.blockTimestamp + 365 * 24 * 60 * 60) * 1000)._unsafeUnwrap(); - // Invalidate at is resset to the new event's expiration (which comes first) + // Invalidate at is reset to the new event's expiration (which comes first) expect(slot.invalidateAt).toEqual(newUnitExpiration); }); }); From 8b069aa7e39295fe42cc2bb0e026bbb4b9566ca8 Mon Sep 17 00:00:00 2001 From: FT <140458077+zeevick10@users.noreply.github.com> Date: Wed, 25 Dec 2024 10:14:54 +0100 Subject: [PATCH 2/3] Update gossipNetworkBundle.test.ts --- apps/hubble/src/test/e2e/gossipNetworkBundle.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/hubble/src/test/e2e/gossipNetworkBundle.test.ts b/apps/hubble/src/test/e2e/gossipNetworkBundle.test.ts index d43f2332a2..e43d72d171 100644 --- a/apps/hubble/src/test/e2e/gossipNetworkBundle.test.ts +++ b/apps/hubble/src/test/e2e/gossipNetworkBundle.test.ts @@ -102,7 +102,7 @@ describe("gossip network with bundle tests", () => { expect(duplicatePublishResult.isErr()).toBeTruthy(); expect(duplicatePublishResult._unsafeUnwrapErr().errCode).toBe("bad_request.duplicate"); - // Gossiping a invalid bundle will succeed, beacuse the broadcast will succeed but each individual node + // Gossiping a invalid bundle will succeed, because the broadcast will succeed but each individual node // will report it as invalid, and it will not spread through the network const invalidPublishResult = await randomNode.gossipBundle(invalidBundle); expect(invalidPublishResult.isOk()).toBeTruthy(); From 0f9ba225ced1af4cd494a0ab71960d8bab6c9f40 Mon Sep 17 00:00:00 2001 From: FT <140458077+zeevick10@users.noreply.github.com> Date: Wed, 25 Dec 2024 10:17:51 +0100 Subject: [PATCH 3/3] Update types.ts --- apps/hubble/src/storage/db/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/hubble/src/storage/db/types.ts b/apps/hubble/src/storage/db/types.ts index 11c38f394d..48b4e1523c 100644 --- a/apps/hubble/src/storage/db/types.ts +++ b/apps/hubble/src/storage/db/types.ts @@ -56,7 +56,7 @@ export enum RootPrefix { // Deprecated, DO NOT USE // GossipMetrics = 18, - /* Used to index user submited username proofs */ + /* Used to index user submitted username proofs */ UserNameProofByName = 19, // Deprecated