Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in documentation files #2457

Merged
merged 3 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/hubble/src/storage/db/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion apps/hubble/src/storage/stores/storeEventHandler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});
Expand Down
2 changes: 1 addition & 1 deletion apps/hubble/src/test/e2e/gossipNetworkBundle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down