Skip to content

Commit 06ee850

Browse files
authored
fix: add indexed keyword in events (#1022)
1 parent 5812d9b commit 06ee850

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/spoke/interfaces/ISpoke.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ interface ISpoke is ISpokeBase, IMulticall, INoncesKeyed, IAccessManaged {
118118

119119
/// @notice Emitted when the oracle address of the spoke is updated.
120120
/// @param oracle The new address of the oracle.
121-
event UpdateOracle(address oracle);
121+
event UpdateOracle(address indexed oracle);
122122

123123
/// @notice Emitted when a liquidation config is updated.
124124
/// @param config The new liquidation config.

src/spoke/interfaces/ISpokeConfigurator.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface ISpokeConfigurator {
1111
/// @notice Emitted when the maximum allowed number of reserves for a spoke is updated.
1212
/// @param spoke The address of the spoke.
1313
/// @param maxReserves The new maximum number of reserves.
14-
event UpdateMaxReserves(address spoke, uint256 maxReserves);
14+
event UpdateMaxReserves(address indexed spoke, uint256 maxReserves);
1515

1616
/// @dev Thrown upon adding a reserve when the maximum allowed number of reserves is already reached.
1717
/// @param spoke The address of the spoke.

0 commit comments

Comments
 (0)