diff --git a/test/core/Safe.Execution.spec.ts b/test/core/Safe.Execution.spec.ts index 4a9e2e5d5..c5445577a 100644 --- a/test/core/Safe.Execution.spec.ts +++ b/test/core/Safe.Execution.spec.ts @@ -271,7 +271,7 @@ describe("Safe", () => { if (hre.network.zksync) { // This test fails in zksync because of (allegedly) enormous gas cost differences // a call to useGas(8) costs ~400k gas in evm but ~28m gas in zksync. - // I suspect the gas cost difference to play a role but the zksync docs do not mention any numbers so i cant confirm this: + // I suspect the gas cost difference to play a role but the zksync docs do not mention any numbers so i can't confirm this: // https://docs.zksync.io/zk-stack/concepts/fee-mechanism // From zkSync team: // Update: in-memory node when in standalone mode assumes very high l1 gas price resulting in a very high gas consumption, @@ -333,7 +333,7 @@ describe("Safe", () => { if (hre.network.zksync) { // This test fails in zksync because of (allegedly) enormous gas cost differences // a call to useGas(8) costs ~400k gas in evm but ~28m gas in zksync. - // I suspect the gas cost difference to play a role but the zksync docs do not mention any numbers so i cant confirm this: + // I suspect the gas cost difference to play a role but the zksync docs do not mention any numbers so i can't confirm this: // https://docs.zksync.io/zk-stack/concepts/fee-mechanism // From zkSync team: // Update: in-memory node when in standalone mode assumes very high l1 gas price resulting in a very high gas consumption, diff --git a/test/core/Safe.Setup.spec.ts b/test/core/Safe.Setup.spec.ts index 06c72df9d..50eb651da 100644 --- a/test/core/Safe.Setup.spec.ts +++ b/test/core/Safe.Setup.spec.ts @@ -231,14 +231,14 @@ describe("Safe", () => { /* solhint-enable no-inline-assembly */ } }`; - const testIntializer = await deployContractFromSource(user1, source); - const testIntializerAddress = await testIntializer.getAddress(); - const initData = testIntializer.interface.encodeFunctionData("init", ["0x42baddad"]); + const testInitializer = await deployContractFromSource(user1, source); + const testInitializerAddress = await testInitializer.getAddress(); + const initData = testInitializer.interface.encodeFunctionData("init", ["0x42baddad"]); await expect( template.setup( [user1.address, user2.address, user3.address], 2, - testIntializerAddress, + testInitializerAddress, initData, AddressOne, AddressZero, @@ -247,7 +247,7 @@ describe("Safe", () => { ), ) .to.emit(template, "SafeSetup") - .withArgs(safeMsgSender, [user1.address, user2.address, user3.address], 2, testIntializerAddress, AddressOne); + .withArgs(safeMsgSender, [user1.address, user2.address, user3.address], 2, testInitializerAddress, AddressOne); await expect(await template.domainSeparator()).to.be.eq(calculateSafeDomainSeparator(templateAddress, await chainId())); await expect(await template.getOwners()).to.be.deep.eq([user1.address, user2.address, user3.address]); await expect(await template.getThreshold()).to.eq(2n); @@ -272,14 +272,14 @@ describe("Safe", () => { require(false, "Computer says nah"); } }`; - const testIntializer = await deployContractFromSource(user1, source); - const testIntializerAddress = await testIntializer.getAddress(); - const initData = testIntializer.interface.encodeFunctionData("init", ["0x42baddad"]); + const testInitializer = await deployContractFromSource(user1, source); + const testInitializerAddress = await testInitializer.getAddress(); + const initData = testInitializer.interface.encodeFunctionData("init", ["0x42baddad"]); await expect( template.setup( [user1.address, user2.address, user3.address], 2, - testIntializerAddress, + testInitializerAddress, initData, AddressZero, AddressZero,