Skip to content

Commit

Permalink
fixup! fix: updated addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
chechu committed Dec 2, 2024
1 parent d39d16b commit 92e9a97
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions multisig/simulations/basesepolia/vip-002/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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"));
Expand Down

0 comments on commit 92e9a97

Please sign in to comment.