Skip to content

Commit 55d6957

Browse files
ernestognwAmxx
andauthored
Clarify Governor events' lack of indexed parameters (#5175)
Co-authored-by: Hadrien Croubois <[email protected]>
1 parent cb7faaf commit 55d6957

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contracts/governance/IGovernor.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import {IERC6372} from "../interfaces/IERC6372.sol";
88

99
/**
1010
* @dev Interface of the {Governor} core.
11+
*
12+
* NOTE: Event parameters lack the `indexed` keyword for compatibility with GovernorBravo events.
13+
* Making event parameters `indexed` affects how events are decoded, potentially breaking existing indexers.
1114
*/
1215
interface IGovernor is IERC165, IERC6372 {
1316
enum ProposalState {

0 commit comments

Comments
 (0)