Skip to content

MIP-R32: Pause Mint/Borrow on Moonriver#18

Merged
anajuliabit merged 9 commits intomasterfrom
mip-r32-pause-moonriver
Jan 13, 2026
Merged

MIP-R32: Pause Mint/Borrow on Moonriver#18
anajuliabit merged 9 commits intomasterfrom
mip-r32-pause-moonriver

Conversation

@anajuliabit
Copy link
Copy Markdown
Contributor

Summary

This proposal pauses minting (supplying) and borrowing across Moonwell markets on Moonriver due to the scheduled deprecation of Chainlink price feeds used to secure these markets. The markets affected are the xcKSM, MOVR, and FRAX markets, respectively.

Background

Chainlink has officially designated most price feeds on Moonriver for deprecation on November 10th, 2025. This creates significant risk including:

  • Incorrect collateral valuations
  • Failed or inaccurate liquidations
  • Bad debt accumulation at the protocol level

Source: Chainlink Documentation — Deprecation of Moonriver Data Feeds

Changes

This proposal executes 6 governance actions on the Moonriver Comptroller:

  1. _setMintPaused(MOVR, true) - Pause minting on MOVR market
  2. _setMintPaused(xcKSM, true) - Pause minting on xcKSM market
  3. _setMintPaused(FRAX, true) - Pause minting on FRAX market
  4. _setBorrowPaused(MOVR, true) - Pause borrowing on MOVR market
  5. _setBorrowPaused(xcKSM, true) - Pause borrowing on xcKSM market
  6. _setBorrowPaused(FRAX, true) - Pause borrowing on FRAX market

Withdrawals and repayments remain enabled - users can safely exit positions.

Security Note

🔒 This PR uses environment variables for RPC configuration (MOONRIVER_RPC_URL) instead of hardcoded keys.

Testing

✅ All tests pass - see test/apollo/mip-r32/
✅ Verified on Moonriver fork at block 3,800,000
✅ Complete proposal documentation in docs/MIP-R32.md

Run tests: npm test -- ./test/apollo/mip-r32/

Test Plan

  • Create proposal test suite with pre/post state assertions
  • Verify markets are NOT paused before execution
  • Execute governance proposal through full flow
  • Verify markets ARE paused after execution
  • Confirm withdrawals and repayments remain functional
  • Document complete proposal specification

🤖 Generated with Claude Code

anajuliabit and others added 9 commits November 6, 2025 18:00
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Mock XC-20 precompile for Ganache testing
- Update CF changes: xcKSM=50%, MOVR=50%, FRAX=40%
- Update fork block to 14,090,000
- Update emission states for current block

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@anajuliabit anajuliabit merged commit 990930d into master Jan 13, 2026
1 check failed
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.

2 participants