Skip to content

Commit

Permalink
Merge pull request #168 from lidofinance/fix/indexed-events
Browse files Browse the repository at this point in the history
Audit fix: Indexed Event Parameters for State Changes
  • Loading branch information
bulbozaur authored Nov 11, 2024
2 parents 2ece799 + 7104c0d commit 224c082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/libraries/DualGovernanceStateMachine.sol
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ library DualGovernanceStateMachine {
// ---

event NewSignallingEscrowDeployed(IEscrow indexed escrow);
event DualGovernanceStateChanged(State from, State to, Context state);
event DualGovernanceStateChanged(State indexed from, State indexed to, Context state);
event ConfigProviderSet(IDualGovernanceConfigProvider newConfigProvider);

// ---
Expand Down
2 changes: 1 addition & 1 deletion contracts/libraries/EscrowState.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ library EscrowState {
// Events
// ---

event EscrowStateChanged(State from, State to);
event EscrowStateChanged(State indexed from, State indexed to);
event RageQuitExtensionPeriodStarted(Timestamp startedAt);
event MinAssetsLockDurationSet(Duration newAssetsLockDuration);
event RageQuitStarted(Duration rageQuitExtensionDuration, Duration rageQuitEthWithdrawalsDelay);
Expand Down

0 comments on commit 224c082

Please sign in to comment.