From 92e9a978b5a3f02774c09f442154447e5621c25d Mon Sep 17 00:00:00 2001 From: Jesus Lanchas Date: Mon, 2 Dec 2024 19:52:16 +0100 Subject: [PATCH] fixup! fix: updated addresses --- multisig/simulations/basesepolia/vip-002/index.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/multisig/simulations/basesepolia/vip-002/index.ts b/multisig/simulations/basesepolia/vip-002/index.ts index 1aa809eea..40bc92901 100644 --- a/multisig/simulations/basesepolia/vip-002/index.ts +++ b/multisig/simulations/basesepolia/vip-002/index.ts @@ -17,7 +17,7 @@ import XVS_VAULT_ABI from "./abi/xvsvault.json"; const { basesepolia } = NETWORK_ADDRESSES; -const XVS_BRIDGE = "0xE431E82d8fFfd81E7c082BeC7Fe2C306f5c988aD"; +const XVS_BRIDGE = "0xD5Cd1fD17B724a391C1bce55Eb9d88E3205eED60"; forking(18691727, async () => { let xvsVault: Contract; @@ -41,10 +41,6 @@ forking(18691727, async () => { const xvsHolder = await initMainnetUser(basesepolia.GENERIC_TEST_USER_ACCOUNT, ethers.utils.parseEther("1")); await xvsVault.connect(admin).setRewardAmountPerBlockOrSecond(basesepolia.XVS, "61805555555555555"); await xvsVault.connect(admin).resume(); - // Giving call permissions to call the functions as xvs bridge vip is not executed now. - await acm.connect(admin).giveCallPermission(basesepolia.XVS, "mint(address,uint256)", XVS_BRIDGE); - await acm.connect(admin).giveCallPermission(basesepolia.XVS, "setMintCap(address,uint256)", admin.address); - await xvs.connect(admin).setMintCap(XVS_BRIDGE, parseUnits("100", 18)); await xvs.connect(xvsMinter).mint(xvsHolder.address, parseEther("10")); await xvs.connect(xvsHolder).transfer(XVS_STORE, ethers.utils.parseEther("1"));