Skip to content

Commit

Permalink
test: update the simulation block after receiving the expected funds
Browse files Browse the repository at this point in the history
  • Loading branch information
chechu committed Feb 19, 2025
1 parent 108a5f2 commit a9c5668
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions multisig/simulations/unichainmainnet/vip-007/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Contract } from "ethers";
import { parseUnits } from "ethers/lib/utils";
import { ethers } from "hardhat";
import { NETWORK_ADDRESSES } from "src/networkAddresses";
import { initMainnetUser } from "src/utils";
import {
RewardsDistributorConfig,
checkRewardsDistributor,
Expand All @@ -27,10 +26,7 @@ import XVS_VAULT_ABI from "./abi/xvsvault.json";

const { unichainmainnet } = NETWORK_ADDRESSES;

const XVS_PROXY_OFT_DEST = "0x9c95f8aa28fFEB7ECdC0c407B9F632419c5daAF8";
const TREASURY_AMOUNT = parseUnits("19500", 18);

forking(8711530, async () => {
forking(9227729, async () => {
let xvs: Contract;
let xvsVault: Contract;
describe("Post VIP checks", async () => {
Expand All @@ -39,10 +35,6 @@ forking(8711530, async () => {

xvsVault = new ethers.Contract(unichainmainnet.XVS_VAULT_PROXY, XVS_VAULT_ABI, ethers.provider);

const impersonateBridge = await initMainnetUser(XVS_PROXY_OFT_DEST, ethers.utils.parseEther("2"));

await xvs.connect(impersonateBridge).mint(unichainmainnet.VTREASURY, TREASURY_AMOUNT);

await pretendExecutingVip(await vip007());
});

Expand Down

0 comments on commit a9c5668

Please sign in to comment.