From 982ac52a5fc97250db4526b82779d798526b7960 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 4 Jan 2025 15:18:24 +0100 Subject: [PATCH 1/2] typo getParsedError.ts --- packages/nextjs/utils/scaffold-eth/getParsedError.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nextjs/utils/scaffold-eth/getParsedError.ts b/packages/nextjs/utils/scaffold-eth/getParsedError.ts index f31eb6637..df139de5a 100644 --- a/packages/nextjs/utils/scaffold-eth/getParsedError.ts +++ b/packages/nextjs/utils/scaffold-eth/getParsedError.ts @@ -1,7 +1,7 @@ import { BaseError as BaseViemError, ContractFunctionRevertedError } from "viem"; /** - * Parses an viem/wagmi error to get a displayable string + * Parses a viem/wagmi error to get a displayable string * @param e - error object * @returns parsed error string */ From b246c6b23ea0e3f77d6fa16735ca31df58691e19 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 4 Jan 2025 15:18:50 +0100 Subject: [PATCH 2/2] typo networks.ts --- packages/nextjs/utils/scaffold-eth/networks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nextjs/utils/scaffold-eth/networks.ts b/packages/nextjs/utils/scaffold-eth/networks.ts index 2a5802050..176504243 100644 --- a/packages/nextjs/utils/scaffold-eth/networks.ts +++ b/packages/nextjs/utils/scaffold-eth/networks.ts @@ -12,7 +12,7 @@ type ChainAttributes = { export type ChainWithAttributes = chains.Chain & Partial; export type AllowedChainIds = (typeof scaffoldConfig.targetNetworks)[number]["id"]; -// Mapping of chainId to RPC chain name an format followed by alchemy and infura +// Mapping of chainId to RPC chain name a format followed by alchemy and infura export const RPC_CHAIN_NAMES: Record = { [chains.mainnet.id]: "eth-mainnet", [chains.goerli.id]: "eth-goerli",