diff --git a/packages/checkout/widgets-lib/src/widgets/bridge/views/ClaimWithdrawal.tsx b/packages/checkout/widgets-lib/src/widgets/bridge/views/ClaimWithdrawal.tsx index 2b2001b768..5eae24d792 100644 --- a/packages/checkout/widgets-lib/src/widgets/bridge/views/ClaimWithdrawal.tsx +++ b/packages/checkout/widgets-lib/src/widgets/bridge/views/ClaimWithdrawal.tsx @@ -67,7 +67,7 @@ export function ClaimWithdrawal({ transaction }: ClaimWithdrawalProps) { useEffect(() => { const getWithdrawalTxn = async () => { if (!tokenBridge || !transaction || transaction.details.current_status?.index === undefined) return; - // get withdrawal transaction from the token bridge by receipient address and index + // get withdrawal transaction from the token bridge by recipient address and index setLoading(true); try { const flowRateWithdrawTxnResponse = await tokenBridge?.getFlowRateWithdrawTx({ diff --git a/packages/internal/bridge/sdk/src/lib/validation.ts b/packages/internal/bridge/sdk/src/lib/validation.ts index b0e1013cf9..7f0c7cbb98 100644 --- a/packages/internal/bridge/sdk/src/lib/validation.ts +++ b/packages/internal/bridge/sdk/src/lib/validation.ts @@ -80,7 +80,7 @@ export async function checkReceiver( } catch { // no receive or fallback throw new BridgeError( - `address ${address} is not a valid receipient`, + `address ${address} is not a valid recipient`, BridgeErrorType.INVALID_RECIPIENT, ); } diff --git a/packages/internal/dex/sdk/src/exchange.getUnsignedSwapTxFromAmountOut.test.ts b/packages/internal/dex/sdk/src/exchange.getUnsignedSwapTxFromAmountOut.test.ts index b59b2dd68d..23330391a4 100644 --- a/packages/internal/dex/sdk/src/exchange.getUnsignedSwapTxFromAmountOut.test.ts +++ b/packages/internal/dex/sdk/src/exchange.getUnsignedSwapTxFromAmountOut.test.ts @@ -237,7 +237,7 @@ describe('getUnsignedSwapTxFromAmountOut', () => { expect(swapParams.recipient).toBe(params.fromAddress); expect(swap.transaction.to).toBe(TEST_SWAP_PROXY_ADDRESS); expect(swap.transaction.from).toBe(params.fromAddress); - expect(swap.transaction.value).toBe('0x00'); // // expect 0 native tokens to be transferred + expect(swap.transaction.value).toBe('0x00'); // expect 0 native tokens to be transferred expect(formatEther(swapParams.amountOut)).toBe('1000.0'); expect(formatTokenAmount(swapParams.amountInMaximum, USDC_TEST_TOKEN)).toBe('104.03'); // amount with slippage and fees applied expect(swapParams.sqrtPriceLimitX96.toString()).toBe('0'); @@ -369,7 +369,7 @@ describe('getUnsignedSwapTxFromAmountOut', () => { expect(swapParams.recipient).toBe(params.fromAddress); expect(swap.transaction.to).toBe(TEST_ROUTER_ADDRESS); expect(swap.transaction.from).toBe(params.fromAddress); - expect(swap.transaction.value).toBe('0x00'); // // expect 0 native tokens to be transferred + expect(swap.transaction.value).toBe('0x00'); // expect 0 native tokens to be transferred expect(formatEther(swapParams.amountOut)).toBe('1000.0'); expect(formatTokenAmount(swapParams.amountInMaximum, USDC_TEST_TOKEN)).toBe('100.1'); // includes slippage expect(swapParams.sqrtPriceLimitX96.toString()).toBe('0'); diff --git a/packages/passport/CONTRIBUTING.md b/packages/passport/CONTRIBUTING.md index 703f7d1c60..e454bdb7f4 100644 --- a/packages/passport/CONTRIBUTING.md +++ b/packages/passport/CONTRIBUTING.md @@ -28,7 +28,7 @@ For all IMX workflows, you are required to log in with Passport before you can i #### ZkEvm workflows All ZkEvm workflows except `eth_requestAccounts` and `eth_sendTransaction` do not require you to be logged in and can be executed without having a connected Passport wallet. Specifically for `eth_sendTransaction` however, you must call `eth_requestAccounts` first. -Some function calls, such as `eth_gasPrice` and `eth_getBalance` will return a value prefixed by `0x` - these are in hexidecimal format and must be converted to base 10 if you are looking for the actual number. +Some function calls, such as `eth_gasPrice` and `eth_getBalance` will return a value prefixed by `0x` - these are in hexadecimal format and must be converted to base 10 if you are looking for the actual number. #### Logging out diff --git a/packages/x-client/src/config/config.test.ts b/packages/x-client/src/config/config.test.ts index ebf16a3c6b..e1d55f8903 100644 --- a/packages/x-client/src/config/config.test.ts +++ b/packages/x-client/src/config/config.test.ts @@ -116,7 +116,7 @@ describe('imxClientConfig', () => { expect(() => imxClientConfig()).toThrowError('configOptions is required'); }); - it('should throw when the Enironment parameter is not a valid Environment', () => { + it('should throw when the Environment parameter is not a valid Environment', () => { // @ts-expect-error expect(() => imxClientConfig({ environment: 'invalid' })) .toThrowError('Invalid environment: invalid');