From 9bdb6c5cee3c2eab1b20bfadd69e402ec1866200 Mon Sep 17 00:00:00 2001 From: GarmashAlex Date: Wed, 14 May 2025 17:53:42 +0300 Subject: [PATCH 1/3] Update validate.ts --- src/utils/calldata/validate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/calldata/validate.ts b/src/utils/calldata/validate.ts index b79613119..f99247ed5 100644 --- a/src/utils/calldata/validate.ts +++ b/src/utils/calldata/validate.ts @@ -405,7 +405,7 @@ const validateNonZero = (parameter: any, input: AbiEntry) => { * }; * * validateFields(functionAbi, [1n], abiStructs, abiEnums); // Returns void since validation passes - * validateFields(functionAbi, [{}], abiStructs, abiEnums); // Throw an error because paramters are not valid + * validateFields(functionAbi, [{}], abiStructs, abiEnums); // Throw an error because parameters are not valid */ export default function validateFields( abiMethod: FunctionAbi, From 09e9d93ac542fadf32ab38d84cb39c0e17c6c5f4 Mon Sep 17 00:00:00 2001 From: GarmashAlex Date: Wed, 14 May 2025 17:56:12 +0300 Subject: [PATCH 2/3] Update shortString.ts --- src/utils/shortString.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/shortString.ts b/src/utils/shortString.ts index 28d0eb26b..ed18e7e2c 100644 --- a/src/utils/shortString.ts +++ b/src/utils/shortString.ts @@ -97,7 +97,7 @@ export const isLongText = (val: any): boolean => isText(val) && !isShortString(v * @example * ```typescript * const result = shortString.splitLongString("Hello, world! we just testing splitLongString function."); - * // result = [ 'Hello, world! we just testing s', 'plitLongString function.' ] + * // result = [ 'Hello, world! we just testing s', 'splitLongString function.' ] * ``` */ export function splitLongString(longStr: string): string[] { From f75cacf40999592efd945fdf6f76af39589573d6 Mon Sep 17 00:00:00 2001 From: GarmashAlex Date: Wed, 14 May 2025 18:01:20 +0300 Subject: [PATCH 3/3] Update interact.md --- www/docs/guides/interact.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/docs/guides/interact.md b/www/docs/guides/interact.md index 25aba0f77..a3a6cffbc 100644 --- a/www/docs/guides/interact.md +++ b/www/docs/guides/interact.md @@ -237,7 +237,7 @@ txR.match({ console.log('Reverted =', txR); }, error: (err: Error) => { - console.log('An error occured =', err); + console.log('An error occurred =', err); }, }); ```