From 3234908a86347bfa74c71e7c0f45ee6fbfd8fecd Mon Sep 17 00:00:00 2001 From: teenager-ETH Date: Mon, 30 Dec 2024 00:23:31 +0100 Subject: [PATCH 1/2] typo fix EthersV5Eip712Signer.md --- packages/hub-nodejs/docs/signers/EthersV5Eip712Signer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hub-nodejs/docs/signers/EthersV5Eip712Signer.md b/packages/hub-nodejs/docs/signers/EthersV5Eip712Signer.md index a4290be152..d8b43bb424 100644 --- a/packages/hub-nodejs/docs/signers/EthersV5Eip712Signer.md +++ b/packages/hub-nodejs/docs/signers/EthersV5Eip712Signer.md @@ -94,7 +94,7 @@ Generates a 256-bit signature for a VerificationClaim and returns the bytes. import { FarcasterNetwork, hexStringToBytes, makeVerificationEthAddressClaim } from '@farcaster/hub-nodejs'; const blockHashHex = '0x1d3b0456c920eb503450c7efdcf9b5cf1f5184bf04e5d8ecbcead188a0d02018'; -const blockHashBytes = hexStringToBytes(blockHashHex)._unsafeUnwrap(); // Safety: blockHashHex is known and can't erro +const blockHashBytes = hexStringToBytes(blockHashHex)._unsafeUnwrap(); // Safety: blockHashHex is known and can't error const ethereumAddressResult = await eip712Signer.getSignerKey(); From 7ab129639fc84aebb75e748deefeefee31094464 Mon Sep 17 00:00:00 2001 From: teenager-ETH Date: Mon, 30 Dec 2024 00:24:27 +0100 Subject: [PATCH 2/2] typo fix 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();