From 36075537067e31ae5fc251b3b1fa8415577bd8ce Mon Sep 17 00:00:00 2001 From: reddaisyy Date: Fri, 24 Oct 2025 17:23:28 +0800 Subject: [PATCH] chore: fix a large number of spelling issues Signed-off-by: reddaisyy --- test/0.4.24/steth.test.ts | 6 +++--- test/0.8.4/withdrawalsManagerProxy.test.ts | 4 ++-- test/0.8.9/oracle/baseOracle.consensus.test.ts | 2 +- ...validator-exit-bus-oracle.submitExitRequestsData.test.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/0.4.24/steth.test.ts b/test/0.4.24/steth.test.ts index b73981782a..d5322ccd5b 100644 --- a/test/0.4.24/steth.test.ts +++ b/test/0.4.24/steth.test.ts @@ -140,7 +140,7 @@ describe("StETH.sol:non-ERC-20 behavior", () => { ); }); - it("Reverts when transfering from zero address", async () => { + it("Reverts when transferring from zero address", async () => { await expect(steth.connect(zeroAddressSigner).transferShares(recipient, 0)).to.be.revertedWith( "TRANSFER_FROM_ZERO_ADDR", ); @@ -382,7 +382,7 @@ describe("StETH.sol:non-ERC-20 behavior", () => { ["positive", 105n], // 0.95 ["negative", 95n], // 1.05 ]) { - it(`The amount of shares is unchaged after a ${rebase} rebase`, async () => { + it(`The amount of shares is unchanged after a ${rebase} rebase`, async () => { const totalSharesBeforeRebase = await steth.getTotalShares(); const rebasedSupply = (totalSupply * (factor as bigint)) / 100n; @@ -399,7 +399,7 @@ describe("StETH.sol:non-ERC-20 behavior", () => { ["positive", 105n], // 0.95 ["negative", 95n], // 1.05 ]) { - it(`The amount of user shares is unchaged after a ${rebase} rebase`, async () => { + it(`The amount of user shares is unchanged after a ${rebase} rebase`, async () => { const sharesOfHolderBeforeRebase = await steth.sharesOf(holder); const rebasedSupply = (totalSupply * (factor as bigint)) / 100n; diff --git a/test/0.8.4/withdrawalsManagerProxy.test.ts b/test/0.8.4/withdrawalsManagerProxy.test.ts index b7d75acf9c..87030449a1 100644 --- a/test/0.8.4/withdrawalsManagerProxy.test.ts +++ b/test/0.8.4/withdrawalsManagerProxy.test.ts @@ -59,12 +59,12 @@ describe("WithdrawalsManagerProxy.sol", () => { await expect(proxy.connect(stranger).proxy_upgradeTo(newImpl, "0x")).to.be.rejectedWith("proxy: unauthorized"); }); - it("Updates implemenation", async () => { + it("Updates implementation", async () => { await expect(proxy.proxy_upgradeTo(newImpl, "0x")).to.emit(proxy, "Upgraded"); expect(await proxy.implementation()).to.equal(newImpl); }); - it("Updates implemenation and executes payload bytecode", async () => { + it("Updates implementation and executes payload bytecode", async () => { const proxyAddr = await proxy.getAddress(); const storageSlot = streccak("someNumberSlot"); const someNumber = 1n; diff --git a/test/0.8.9/oracle/baseOracle.consensus.test.ts b/test/0.8.9/oracle/baseOracle.consensus.test.ts index 894e5e5297..a1274877a3 100644 --- a/test/0.8.9/oracle/baseOracle.consensus.test.ts +++ b/test/0.8.9/oracle/baseOracle.consensus.test.ts @@ -214,7 +214,7 @@ describe("BaseOracle.sol:consensus", () => { }); context("getCurrentRefSlot ", () => { - it("Gets refSlot trough consensus contract", async () => { + it("Gets refSlot through consensus contract", async () => { const oracleSlot = await baseOracle.getCurrentRefSlot(); const { refSlot } = await consensus.getCurrentFrame(); diff --git a/test/0.8.9/oracle/validator-exit-bus-oracle.submitExitRequestsData.test.ts b/test/0.8.9/oracle/validator-exit-bus-oracle.submitExitRequestsData.test.ts index 7955a51c41..07ea040d6d 100644 --- a/test/0.8.9/oracle/validator-exit-bus-oracle.submitExitRequestsData.test.ts +++ b/test/0.8.9/oracle/validator-exit-bus-oracle.submitExitRequestsData.test.ts @@ -89,7 +89,7 @@ describe("ValidatorsExitBusOracle.sol:submitExitRequestsData", () => { describe("Common case", () => { // tests in this section related to ExitRequestsData mistakes - // also here we tests successfull case + // also here we tests successful case before(async () => { [admin, authorizedEntity, stranger] = await ethers.getSigners();