Skip to content

Commit 6bbfcca

Browse files
authored
fix: typos in documentation files (#2457)
This pull request contains changes to improve clarity, correctness and structure. **Description correction:** Corrected `submited` to `submitted` Corrected `resset` to `reset` Corrected `beacuse` to `because` Please review the changes and let me know if any additional changes are needed. <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on correcting typographical errors and improving comments throughout the codebase. ### Detailed summary - Corrected "submited" to "submitted" in the comment for `UserNameProofByName`. - Fixed "resset" to "reset" in the comment regarding expiration in `storeEventHandler.test.ts`. - Changed "beacuse" to "because" in the comment about gossiping an invalid bundle in `gossipNetworkBundle.test.ts`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 0fd5f35 commit 6bbfcca

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/hubble/src/storage/db/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export enum RootPrefix {
5656
// Deprecated, DO NOT USE
5757
// GossipMetrics = 18,
5858

59-
/* Used to index user submited username proofs */
59+
/* Used to index user submitted username proofs */
6060
UserNameProofByName = 19,
6161

6262
// Deprecated

apps/hubble/src/storage/stores/storeEventHandler.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ describe("getCurrentStorageUnitsForFid", () => {
228228
expect(slot.units).toEqual(newEvent.storageRentEventBody.units);
229229
const newUnitExpiration = toFarcasterTime((newEvent.blockTimestamp + 365 * 24 * 60 * 60) * 1000)._unsafeUnwrap();
230230

231-
// Invalidate at is resset to the new event's expiration (which comes first)
231+
// Invalidate at is reset to the new event's expiration (which comes first)
232232
expect(slot.invalidateAt).toEqual(newUnitExpiration);
233233
});
234234
});

apps/hubble/src/test/e2e/gossipNetworkBundle.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ describe("gossip network with bundle tests", () => {
102102
expect(duplicatePublishResult.isErr()).toBeTruthy();
103103
expect(duplicatePublishResult._unsafeUnwrapErr().errCode).toBe("bad_request.duplicate");
104104

105-
// Gossiping a invalid bundle will succeed, beacuse the broadcast will succeed but each individual node
105+
// Gossiping a invalid bundle will succeed, because the broadcast will succeed but each individual node
106106
// will report it as invalid, and it will not spread through the network
107107
const invalidPublishResult = await randomNode.gossipBundle(invalidBundle);
108108
expect(invalidPublishResult.isOk()).toBeTruthy();

0 commit comments

Comments
 (0)