Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tsudmi committed Mar 19, 2021
1 parent e062f27 commit a781950
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/pool/addDeposit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const {
impersonateAccount,
resetFork,
getDepositAmount,
getOracleAccounts,
} = require('../utils');
const { upgradeContracts } = require('../../deployments');
const { contractSettings, contracts } = require('../../deployments/settings');
Expand All @@ -21,7 +20,6 @@ const { validatorParams } = require('./validatorParams');

const Pool = artifacts.require('Pool');
const StakedEthToken = artifacts.require('StakedEthToken');
const RewardEthToken = artifacts.require('RewardEthToken');
const Oracles = artifacts.require('Oracles');
const Validators = artifacts.require('Validators');

Expand All @@ -34,8 +32,6 @@ contract('Pool (add deposit)', ([sender1, sender2, sender3, operator]) => {
stakedEthToken,
totalSupply,
poolBalance,
oracleAccounts,
rewardEthToken,
oracles,
activatedValidators,
pendingValidators;
Expand All @@ -57,9 +53,7 @@ contract('Pool (add deposit)', ([sender1, sender2, sender3, operator]) => {

pool = await Pool.at(contracts.pool);
stakedEthToken = await StakedEthToken.at(contracts.stakedEthToken);
rewardEthToken = await RewardEthToken.at(contracts.rewardEthToken);
oracles = await Oracles.at(contracts.oracles);
oracleAccounts = await getOracleAccounts({ oracles });

totalSupply = await stakedEthToken.totalSupply();
poolBalance = await balance.current(pool.address);
Expand Down Expand Up @@ -174,7 +168,7 @@ contract('Pool (add deposit)', ([sender1, sender2, sender3, operator]) => {
totalSupply = totalSupply.add(depositAmount);

// check deposit amount added immediately
let receipt = await pool.addDeposit({
await pool.addDeposit({
from: sender1,
value: depositAmount,
});
Expand Down

0 comments on commit a781950

Please sign in to comment.