From 07b9cd4fe26524bf286e843787cc52c356af33de Mon Sep 17 00:00:00 2001 From: jiangmencity Date: Mon, 20 Jan 2025 19:51:44 +0800 Subject: [PATCH] chore: fix some typos in comment Signed-off-by: jiangmencity --- src/contract/client.ts | 2 +- test/unit/transaction_test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contract/client.ts b/src/contract/client.ts index f4109808d..421f18076 100644 --- a/src/contract/client.ts +++ b/src/contract/client.ts @@ -59,7 +59,7 @@ export class Client { static async deploy( /** Constructor/Initialization Args for the contract's `__constructor` method */ args: Record | null, - /** Options for initalizing a Client as well as for calling a method, with extras specific to deploying. */ + /** Options for initializing a Client as well as for calling a method, with extras specific to deploying. */ options: MethodOptions & Omit & { /** The hash of the Wasm blob, which must already be installed on-chain. */ diff --git a/test/unit/transaction_test.js b/test/unit/transaction_test.js index 99ede6fe6..ee17be4c1 100644 --- a/test/unit/transaction_test.js +++ b/test/unit/transaction_test.js @@ -86,7 +86,7 @@ describe("assembleTransaction", () => { // since it was greater than tx.fee expect(result.toEnvelope().v1().tx().fee()).to.equal(215); - // validate it udpated sorobantransactiondata block in the tx ext + // validate it updated sorobantransactiondata block in the tx ext expect(result.toEnvelope().v1().tx().ext().sorobanData()).to.deep.equal( sorobanTransactionData, );