Skip to content

Commit 455be7a

Browse files
committed
fix: update
1 parent ed0ad48 commit 455be7a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@ The upgrade is executed via a single `UpgradePayload` contract deployed on each
1212

1313
## Pre-upgrade cleanup
1414

15-
Before upgrading the implementations, the payload cleans up reserve configuration flags that are removed in v3.7. For each reserve:
15+
Before upgrading the implementations, the payload cleans up reserve configuration flags and settings that are removed in v3.7. For each reserve:
1616

1717
1. **Reset debtCeiling:** If a reserve has a non-zero debt ceiling, it is set to zero via `setDebtCeiling(reserve, 0)`. This also resets `isolationModeTotalDebt` to zero.
1818
2. **Disable borrowableInIsolation:** If a reserve has `borrowableInIsolation` enabled, it is set to false via `setBorrowableInIsolation(reserve, false)`.
1919

20+
Additionally, if a sequencer uptime price oracle sentinel is configured, it is unset via `setPriceOracleSentinel(address(0))`, as this feature is removed in v3.7.
21+
2022
These cleanup steps use the v3.6 interfaces to interact with the pre-upgrade contracts.
2123

2224
## Upgrade sequence
2325

2426
After the cleanup, the payload upgrades the core protocol contracts:
2527

26-
1. **Upgrade pool implementation:** The `Pool` contract proxy is updated to point to the new v3.7 implementation via `POOL_ADDRESSES_PROVIDER.setPoolImpl(POOL_IMPL)`.
27-
2. **Upgrade poolConfigurator implementation:** The `PoolConfigurator` contract proxy is updated to the new v3.7 implementation via `POOL_ADDRESSES_PROVIDER.setPoolConfiguratorImpl(POOL_CONFIGURATOR_IMPL)`.
28+
1. **Upgrade Pool implementation:** The `Pool` contract proxy is updated to point to the new v3.7 implementation via `POOL_ADDRESSES_PROVIDER.setPoolImpl(POOL_IMPL)`.
29+
2. **Upgrade PoolConfigurator implementation:** The `PoolConfigurator` contract proxy is updated to the new v3.7 implementation via `POOL_ADDRESSES_PROVIDER.setPoolConfiguratorImpl(POOL_CONFIGURATOR_IMPL)`.

0 commit comments

Comments
 (0)