Skip to content

Commit

Permalink
add index MeasurementsAdded.roundIndex. closes #57
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Nov 10, 2023
1 parent 55bf6d8 commit 877116e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ will be called and the round finishes.

## Events

### `MeasurementsAdded(string cid, uint roundIndex, address indexed sender)`
### `MeasurementsAdded(string cid, uint indexed roundIndex, address indexed sender)`

### `RoundStart(uint roundIndex)`

Expand Down
2 changes: 1 addition & 1 deletion src/ImpactEvaluator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contract ImpactEvaluator is AccessControl, Balances {

event MeasurementsAdded(
string cid,
uint roundIndex,
uint indexed roundIndex,
address indexed sender
);
event RoundStart(uint roundIndex);
Expand Down
2 changes: 1 addition & 1 deletion test/ImpactEvaluator.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contract ImpactEvaluatorTest is Test {
event RoundStart(uint roundIndex);
event MeasurementsAdded(
string cid,
uint roundIndex,
uint indexed roundIndex,
address indexed sender
);

Expand Down

0 comments on commit 877116e

Please sign in to comment.