diff --git a/packages/hop-node/src/watchers/classes/Bridge.ts b/packages/hop-node/src/watchers/classes/Bridge.ts index ef09fe709..e51f42a36 100644 --- a/packages/hop-node/src/watchers/classes/Bridge.ts +++ b/packages/hop-node/src/watchers/classes/Bridge.ts @@ -801,7 +801,7 @@ export default class Bridge extends ContractBase { shouldAttemptSwapDuringBondWithdrawal (amountOutMin: BigNumber, deadline: BigNumber): boolean { // Do not check if the asset uses an AMM. This function only cares about the amountOutMin and deadline - // so that it knows what function to call on-chain. This function is unconcerned with wether or not + // so that it knows what function to call on-chain. This function is unconcerned with weather or not // an asset uses an AMM, since a non-AMM asset can still provide amountOutMin and deadline values. return amountOutMin?.gt(0) || deadline?.gt(0) } diff --git a/packages/hop-node/src/watchers/classes/L2Bridge.ts b/packages/hop-node/src/watchers/classes/L2Bridge.ts index d838a5fdc..906507789 100644 --- a/packages/hop-node/src/watchers/classes/L2Bridge.ts +++ b/packages/hop-node/src/watchers/classes/L2Bridge.ts @@ -197,7 +197,7 @@ export default class L2Bridge extends Bridge { return this.chainId } if (!this.bridgeContract) { - // latest TypeScript version throws an if we call super, so we call a seperate function + // latest TypeScript version throws an if we call super, so we call a separate function return this.getChainIdFn() } const chainId = Number( diff --git a/packages/hop-node/test/eventsBatch.test.ts b/packages/hop-node/test/eventsBatch.test.ts index 7a182e951..c9b61482a 100644 --- a/packages/hop-node/test/eventsBatch.test.ts +++ b/packages/hop-node/test/eventsBatch.test.ts @@ -121,7 +121,7 @@ describe.skip('eventsBatch', () => { await bridge.eventsBatch( async (start: number, end: number, i: number | undefined) => { - // eventsBatch resets when it enounters an error in process + // eventsBatch resets when it encounters an error in process if (iterations === halfway) { expect(start).toBeGreaterThanOrEqual(firstStart) expect(end).toBeGreaterThanOrEqual(firstEnd) diff --git a/packages/v2-explorer-frontend/src/pages/Details.tsx b/packages/v2-explorer-frontend/src/pages/Details.tsx index d7e979384..4ae33c22e 100644 --- a/packages/v2-explorer-frontend/src/pages/Details.tsx +++ b/packages/v2-explorer-frontend/src/pages/Details.tsx @@ -328,7 +328,7 @@ Destination Transaction Hash: {event?.messageRelayedEvent?.context?.transactionHash} - ) : - (Destination tx hash wil be availabe once message is relayed)) + ) : - (Destination tx hash wil be available once message is relayed)) }