[VPD-985] feat: add VIP-661 addendum to recover vETH_Core after EBrake incident on testnet#694
Merged
Debugger022 merged 3 commits intofeat/VPD-927from Apr 7, 2026
Merged
Conversation
… on testnet - Restore vETH_Core collateral factor and unpause mint after EBrake tightened the market during DeviationSentinel testing - Clear EBrake snapshot for vETH_Core via resetMarketState - Grant keeper permissions for _setActionsPaused, setCollateralFactor, and resetMarketState on testnet to enable repeatable E2E testing - Update EBrake ABI with new initialize, marketStates, getMarketCFSnapshot, resetMarketState, and MarketStateReset entries - Add ERC20, ResilientOracle, and Comptroller ABIs for simulation
Contributor
Author
- adds minimal 3-action VIP: restore CF/LT, unpause MINT, clear EBrake snapshot - no permission grants needed — established by bsctestnet.ts (Guardian/EBrake perms) and addendum 1 (Normal Timelock → resetMarketState) - simulation forks from block 100233050 (post-addendum-1, second incident active via Tenderly web action) - serves as reference for minimal governance footprint to recover any future EBrake-tightened market
Contributor
Author
|
VIP-661 Addendum 2 execution |
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.
Summary
Adds two follow-up addendums to VIP-661 to recover the
vETH_Coremarket on BSC Testnet after EBrake tightened it during DeviationSentinel testing, and to establish the operational pattern for future incidents.Addendum 1 — Full Recovery + Permission Setup
One-time VIP that both restores the market and grants Guardian/keeper convenience permissions so future testing iterations don't require a governance VIP.
Actions:
resetMarketStateon EBrakevETH_Corecollateral factor to0.8e18 / 0.8e18(snapshot values from EBrake)MINT(supply) onvETH_CorevETH_CoreviaresetMarketState_setActionsPausedon comptrollers (testnet convenience)setCollateralFactoron comptrollers (testnet convenience)resetMarketStateon EBrake (testnet convenience)Addendum 2 — Minimal Recovery Reference
After Addendum 1 was executed, a Tenderly web action re-triggered the DeviationSentinel and EBrake tightened
vETH_Corea second time. Since all permissions were already in place from Addendum 1 (and frombsctestnet.tsfor the original Guardian/EBrake grants), Addendum 2 contains only the three actions strictly necessary to restore a market.This serves as a reference for the minimal governance footprint required to recover any future EBrake-tightened market.
Actions:
vETH_Corecollateral factor to0.8e18 / 0.8e18MINTonvETH_CoreresetMarketStateSupporting Changes
ERC20,ResilientOracle, andComptrollerABIs for simulationsEBrakeABI withinitialize,marketStates,getMarketCFSnapshot,resetMarketState, andMarketStateResetentriesTest Plan
npx hardhat test simulations/vip-661/bsctestnet-addendum.ts --fork bsctestnetnpx hardhat test simulations/vip-661/bsctestnet-addendum-2.ts --fork bsctestnet