Skip to content

Commit 426fb06

Browse files
committed
fix: linter
1 parent a2a846d commit 426fb06

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

scripts/staking-router-v2/sr-v2-deploy.ts

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@ import { ethers, run } from "hardhat";
33
import { join } from "path";
44
import readline from "readline";
55

6-
import {
7-
DepositSecurityModule,
8-
DepositSecurityModule__factory,
9-
LidoLocator,
10-
LidoLocator__factory,
11-
} from "typechain-types";
6+
import { DepositSecurityModule, LidoLocator } from "typechain-types";
127

138
import {
149
cy,
@@ -188,7 +183,7 @@ async function main() {
188183
const SC_ADMIN = APP_AGENT_ADDRESS;
189184
const LOCATOR = state[Sk.lidoLocator].proxy.address;
190185

191-
const locatorImplContract = await loadContract<LidoLocator>('LidoLocator', INTERMEDIATE_LOCATOR_IMPL);
186+
const locatorImplContract = await loadContract<LidoLocator>("LidoLocator", INTERMEDIATE_LOCATOR_IMPL);
192187
// fetch contract addresses that will not changed
193188
const ACCOUNTING_ORACLE_PROXY = await locatorImplContract.accountingOracle();
194189
const EL_REWARDS_VAULT = await locatorImplContract.elRewardsVault();
@@ -267,10 +262,7 @@ async function main() {
267262
log.success(`New DSM address: ${depositSecurityModuleAddress}`);
268263
log.emptyLine();
269264

270-
const dsmContract = await loadContract<DepositSecurityModule>(
271-
'DepositSecurityModule',
272-
depositSecurityModuleAddress,
273-
);
265+
const dsmContract = await loadContract<DepositSecurityModule>("DepositSecurityModule", depositSecurityModuleAddress);
274266

275267
await dsmContract.addGuardians(GUARDIANS, QUORUM);
276268
await dsmContract.setOwner(APP_AGENT_ADDRESS);

test/integration/protocol-happy-path.integration.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
sdvtEnsureOperators,
1515
} from "lib/protocol/helpers";
1616

17-
import { Snapshot } from "test/suite";
17+
import { bailOnFailure, Snapshot } from "test/suite";
1818

1919
const AMOUNT = ether("100");
2020
const MAX_DEPOSIT = 150n;
@@ -52,6 +52,8 @@ describe("Protocol Happy Path", () => {
5252
});
5353
};
5454

55+
beforeEach(bailOnFailure);
56+
5557
it("Should finalize withdrawal queue", async () => {
5658
const { lido, withdrawalQueue } = ctx.contracts;
5759

0 commit comments

Comments
 (0)