Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kanewallmann committed Mar 13, 2024
1 parent cf1c9fa commit 8e92558
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/minipool/scenario-scrub.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@
import {
RocketDAONodeTrusted,
RocketDAONodeTrustedSettingsMinipool, RocketDAOProtocolSettingsNode, RocketNetworkPrices,
RocketNodeStaking,
RocketNodeStaking, RocketNodeStakingNew,
RocketTokenRPL,
RocketVault
RocketVault,
} from '../_utils/artifacts';
import { assertBN } from '../_helpers/bn';
import { minipoolStates } from '../_helpers/minipool';
import { upgradeExecuted } from '../_utils/upgrade';


export async function voteScrub(minipool, txOptions) {
// Get minipool owner
const nodeAddress = await minipool.getNodeAddress.call();

// Get contracts
const rocketNodeStaking = await RocketNodeStaking.deployed();
const rocketNodeStaking = (await upgradeExecuted()) ? await RocketNodeStakingNew.deployed() : await RocketNodeStaking.deployed();
const rocketVault = await RocketVault.deployed();
const rocketTokenRPL = await RocketTokenRPL.deployed();
const rocketDAONodeTrustedSettingsMinipool = await RocketDAONodeTrustedSettingsMinipool.deployed();
Expand Down

0 comments on commit 8e92558

Please sign in to comment.