Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/0.4.24/steth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
);
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions test/0.8.4/withdrawalsManagerProxy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/0.8.9/oracle/baseOracle.consensus.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down