Skip to content

[VPD-612]: Increase TUSD supply cap on bsctestnet#672

Merged
fred-venus merged 2 commits intomainfrom
feat/VPD-612
Feb 24, 2026
Merged

[VPD-612]: Increase TUSD supply cap on bsctestnet#672
fred-venus merged 2 commits intomainfrom
feat/VPD-612

Conversation

@Debugger022
Copy link
Contributor

Summary

  • Increase the TUSD market supply cap from 1,000,000 to 1,000,000,000 on BNB Chain testnet core pool

Changes

  • VIP proposal (vips/vip-592/bsctestnet.ts): Calls _setMarketSupplyCaps on the Unitroller to set the new TUSD supply cap
  • Simulation (simulations/vip-592/bsctestnet.ts): Fork-based test verifying the supply cap changes from 1M to 1B
  • ABI (simulations/vip-592/abi/comptroller.json): Comptroller ABI for simulation

Test plan

  • Run simulation: npx hardhat test simulations/vip-592/bsctestnet.ts --fork bsctestnet
  • Verify supply cap reads 1,000,000,000 TUSD (18 decimals) post-execution

Increase TUSD market supply cap from 1M to 1B on BNB Chain testnet
core pool via _setMarketSupplyCaps on the Unitroller.
@Debugger022 Debugger022 self-assigned this Feb 19, 2026
@Debugger022
Copy link
Contributor Author

@Debugger022 Debugger022 requested a review from GitGuru7 February 20, 2026 05:22
@fred-venus
Copy link
Contributor

let's put this under vip-478 i.e. Risk Parameters Adjustments (FDUSD, TUSD) as this is being done solely to accommodate our partner

@fred-venus
Copy link
Contributor

let's put this under vip-478 i.e. Risk Parameters Adjustments (FDUSD, TUSD) as this is being done solely to accommodate our partner

@claude probably you could help to fix this issue ?

@claude
Copy link

claude bot commented Feb 23, 2026

Claude finished @fred-venus's task in 3m 56s —— View job


Moving VIP-592 content to VIP-478

  • Read current VIP-592 files
  • Check if VIP-478 already exists in the repo
  • Create vips/vip-478/bsctestnet.ts
  • Create simulations/vip-478/bsctestnet.ts
  • Add minimal comptroller ABI to simulations/vip-478/abi/
  • Remove vip-592 files
  • Commit and push changes

Done. The TUSD supply cap change has been moved from VIP-592 into VIP-478 ("Risk Parameters Adjustments (FDUSD, TUSD)"). Here's what changed:

  • vips/vip-592/bsctestnet.tsvips/vip-478/bsctestnet.ts (function renamed to vip478, title updated)
  • simulations/vip-592/bsctestnet.tssimulations/vip-478/bsctestnet.ts (imports updated to reference vip-478)
  • simulations/vip-478/abi/comptroller.json created with the minimal ABI needed (supplyCaps + _setMarketSupplyCaps)
  • simulations/vip-592/ directory removed

You can run the simulation with:

npx hardhat test simulations/vip-478/bsctestnet.ts --fork bsctestnet

|

Merge the bsctestnet TUSD supply cap adjustment into the existing
VIP-478 Risk Parameters Adjustments (FDUSD, TUSD) as requested.

Co-authored-by: Fred <fred-venus@users.noreply.github.com>
Copy link
Contributor

@fred-venus fred-venus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all good

@fred-venus fred-venus merged commit c34b157 into main Feb 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants