[VPD-1390]: [Critical VIP] set direct price of SXP market#720
Open
Debugger022 wants to merge 5 commits into
Open
[VPD-1390]: [Critical VIP] set direct price of SXP market#720Debugger022 wants to merge 5 commits into
Debugger022 wants to merge 5 commits into
Conversation
SXP price needs fixing on the Chainlink oracle; set as a CRITICAL VIP for fast execution. Calls setDirectPrice(SXP, 0.00046e18) and asserts the PricePosted event + post-VIP price in simulation.
Extend the simulation beyond the oracle storage check: reproduce the user-facing lockout pre-VIP (borrow / exitMarket revert with 'invalid resilient oracle price' for an affected account) and prove post-VIP that the account can price all entered markets, regains positive liquidity, actually receives borrowed funds, and can exit the SXP market. Feeds of the other entered assets are pinned with extended stale periods (every enabled main/pivot/fallback leg) so the hours mined by testVip on the frozen fork don't produce false staleness reverts.
Contributor
|
the command lgtm, asked ai to add some more simulation tests |
Renamed dirs, identifiers, title, import path, and describe strings from 631 to 632 to claim the correct proposal number.
fred-venus
approved these changes
Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
VIP-632: [BNB Chain] Set SXP Direct Price to 0.00046 USD
Summary
This Critical VIP sets a fixed direct price of 0.00046 USD for the SXP market on the Venus Chainlink oracle, after Chainlink retired the SXP/USD price feed this week.
Description
SXP (Swipe) migrated and rebranded to Solar on a separate chain, and the SXP market on Venus BNB Chain has been paused for an extended period, holding only residual positions. Following the April 2026 delisting of Solar (SXP) from major venues, SXP liquidity has collapsed and its price has fallen to near zero. Chainlink has decided to retire the SXP/USD price feed, and switched it off this week. With the feed no longer reporting, the Venus oracle can no longer obtain a valid price for SXP, which can cause price reads to revert and block repayments and liquidations. This proposal sets a fixed direct price of 0.00046 USD on the Chainlink oracle, making it return a deterministic value for SXP independent of the retired feed. No other change is made and no risk parameters are modified.
Actions
This VIP performs the following action on BNB Chain:
setDirectPrice(0x47BEAd2563dCBf3bF2c9407fEa4dC236fAbA485A, 460000000000000)on the Chainlink oracle (0x1B2103441A0A108daD8848D8F5d790e4D402921F), fixing the SXP price at 0.00046 USD (scaled to 1e18 for an 18-decimal asset).Voting options
Simulation
The mainnet simulation reproduces the user-facing lockout pre-VIP (borrow / exitMarket revert with
invalid resilient oracle pricefor an affected account) and verifies post-VIP that the account can price all entered markets, regains positive liquidity, actually receives borrowed funds, and can exit the SXP market.