Skip to content

[VPD-750]: Asset Migration from Core to Isolated E-Mode (Phase 2)#680

Open
Debugger022 wants to merge 3 commits intomainfrom
feat/vpd-750
Open

[VPD-750]: Asset Migration from Core to Isolated E-Mode (Phase 2)#680
Debugger022 wants to merge 3 commits intomainfrom
feat/vpd-750

Conversation

@Debugger022
Copy link
Contributor

@Debugger022 Debugger022 commented Mar 9, 2026

Summary

  • Executes Phase 2 (Final Switch) of asset migration from Venus Core Pool to Isolated E-Mode on BNB Chain
  • Disables 13 migrated assets (LINK, UNI, AAVE, DOGE, BCH, TWT, ADA, LTC, FIL, TRX, DOT, THE, TUSD) in Core Pool by setting CF to 0 and disabling borrowing

Changes

VIP Proposals

  • vips/vip-630/bscmainnet.ts — Mainnet VIP: setCollateralFactor(uint96,...) to 0, setIsBorrowAllowed to false for all 13 markets.
  • vips/vip-630/bsctestnet.ts — Testnet VIP: same CF and borrow changes for 8 testnet markets.

Simulations

  • simulations/vip-630/bscmainnet.ts — Pre/post-VIP checks using poolMarkets(), TUSD action pause assertions, functional borrow revert tests
  • simulations/vip-630/bsctestnet.ts — Pre/post-VIP checks using poolMarkets()

Test plan

  • npx hardhat test simulations/vip-630/bsctestnet.ts --fork bsctestnet
  • npx hardhat test simulations/vip-630/bscmainnet.ts --fork bscmainnet

Disable collateral and borrowing for 8 migrated assets in Core Pool
using pool-aware setCollateralFactor and setIsBorrowAllowed. Uses
poolMarkets() with named fields in simulations.
Disable CF and borrowing in Core Pool for 12 migrated assets + TUSD.
TUSD is fully paused (mint + borrow actions) since it has no e-mode
pool. Uses pool-aware poolMarkets() in simulations.
@Debugger022 Debugger022 changed the title [VPD-750]: Asset [VPD-750]: Asset Migration from Core to Isolated E-Mode (Phase 2) Mar 9, 2026
TUSD already has mint/borrow actions paused, no need to pause again.
Use BorrowNotAllowedInPool custom error in borrow revert tests
instead of generic .to.be.reverted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant