From 44cb7d2625ee67f34ffd21573bfbbab3f05185ce Mon Sep 17 00:00:00 2001 From: GitGuru7 <128375421+GitGuru7@users.noreply.github.com> Date: Mon, 16 Dec 2024 19:27:11 +0530 Subject: [PATCH] fix: typos --- simulations/vip-407+vip-408/sepolia.ts | 2 +- vips/vip-407/bsctestnet.ts | 10 +++------- vips/vip-408/bsctestnet.ts | 4 ++-- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/simulations/vip-407+vip-408/sepolia.ts b/simulations/vip-407+vip-408/sepolia.ts index 127f34dd7..7ae34daa9 100644 --- a/simulations/vip-407+vip-408/sepolia.ts +++ b/simulations/vip-407+vip-408/sepolia.ts @@ -177,7 +177,7 @@ const interestRateModelAddresses: { [key in VTokenSymbol]: string } = { vUSDC_Ethena: "", }; -forking(7270036, async () => { +forking(7290820, async () => { let poolRegistry: Contract; let noOfPools: BigNumber; diff --git a/vips/vip-407/bsctestnet.ts b/vips/vip-407/bsctestnet.ts index a91f825a6..fbb9f4f3b 100644 --- a/vips/vip-407/bsctestnet.ts +++ b/vips/vip-407/bsctestnet.ts @@ -55,7 +55,7 @@ export const vip407 = () => { { target: BOUND_VALIDATOR, signature: "setValidateConfig((address,uint256,uint256))", - params: [[MockPT_USDe_27MAR2025, UPPER_BOUND_RATIO, LOWER_BOUND_RATIO]], + params: [[MockUSDe, UPPER_BOUND_RATIO, LOWER_BOUND_RATIO]], dstChainId: LzChainId.sepolia, }, { @@ -74,11 +74,7 @@ export const vip407 = () => { target: sepolia.RESILIENT_ORACLE, signature: "setTokenConfig((address,address[3],bool[3]))", params: [ - [ - MockPT_USDe_27MAR2025, - [sepolia.REDSTONE_ORACLE, sepolia.CHAINLINK_ORACLE, sepolia.CHAINLINK_ORACLE], - [true, true, true], - ], + [MockUSDe, [sepolia.REDSTONE_ORACLE, sepolia.CHAINLINK_ORACLE, sepolia.CHAINLINK_ORACLE], [true, true, true]], ], dstChainId: LzChainId.sepolia, }, @@ -143,7 +139,7 @@ export const vip407 = () => { { target: sepolia.POOL_REGISTRY, signature: "addPool(string,address,uint256,uint256,uint256)", - params: ["Core", COMPTROLLER_ETHENA, parseUnits("0.5", 18), parseUnits("1.04", 18), parseUnits("100", 18)], + params: ["Ethena", COMPTROLLER_ETHENA, parseUnits("0.5", 18), parseUnits("1.04", 18), parseUnits("100", 18)], dstChainId: LzChainId.sepolia, }, { diff --git a/vips/vip-408/bsctestnet.ts b/vips/vip-408/bsctestnet.ts index a5f9308df..529770a12 100644 --- a/vips/vip-408/bsctestnet.ts +++ b/vips/vip-408/bsctestnet.ts @@ -61,7 +61,7 @@ export const vip408 = () => { { target: sepolia.VTREASURY, signature: "withdrawTreasuryToken(address,uint256,address)", - params: [MocksUSDe, parseUnits("10653", 6), sepolia.NORMAL_TIMELOCK], + params: [MocksUSDe, parseUnits("10653", 18), sepolia.NORMAL_TIMELOCK], dstChainId: LzChainId.sepolia, }, { @@ -73,7 +73,7 @@ export const vip408 = () => { { target: MocksUSDe, signature: "approve(address,uint256)", - params: [sepolia.POOL_REGISTRY, parseUnits("10653", 6)], + params: [sepolia.POOL_REGISTRY, parseUnits("10653", 18)], dstChainId: LzChainId.sepolia, }, {