Skip to content

Commit 181fcd3

Browse files
sakulstraeboadom
andauthored
Update src/contracts/protocol/pool/Pool.sol
Co-authored-by: Ernesto Boado <[email protected]>
1 parent d17c774 commit 181fcd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contracts/protocol/pool/Pool.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ abstract contract Pool is VersionedInitializable, PoolStorage, IPool {
452452
res.isolationModeTotalDebt = reserve.isolationModeTotalDebt;
453453
// This is a temporary workaround for integrations that are broken by Aave 3.2
454454
// While the new pool data provider is backward compatible, some integrations hard-code an old implementation
455-
// To allow them to unlock the funds, the pool address provider is setting a stable debt token, so balanceOf() and totalSupply() will return zero instead of reverting
455+
// To allow them to not have any infrastructural blocker, a mock must be configured in the Aave Pool Addresses Provider, returning zero on all required view methods, instead of reverting
456456
res.stableDebtTokenAddress = ADDRESSES_PROVIDER.getAddress(bytes32('MOCK_STABLE_DEBT'));
457457
return res;
458458
}

0 commit comments

Comments
 (0)