Skip to content

Commit

Permalink
feat: events params indexed (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
gotzenx authored Oct 18, 2023
1 parent ed41b1f commit ae1ed59
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ contract RootManager is ProposedOwnable, IRootManager, WatcherClient, DomainInde
* @param aggregateRoot The saved aggregate root
* @param rootTimestamp The timestamp at which the aggregate root was saved.
*/
event AggregateRootSavedOptimistic(bytes32 aggregateRoot, uint256 rootTimestamp);
event AggregateRootSavedOptimistic(bytes32 indexed aggregateRoot, uint256 rootTimestamp);

/**
* @notice Emitted when an aggregate root is added to the validAggregateRoots map during slow mode.
Expand All @@ -108,7 +108,7 @@ contract RootManager is ProposedOwnable, IRootManager, WatcherClient, DomainInde
* @param rootTimestamp The timestamp at which the aggregate root was saved.
*/
event AggregateRootSavedSlow(
bytes32 aggregateRoot,
bytes32 indexed aggregateRoot,
uint256 leafCount,
bytes32[] aggregatedRoots,
uint256 rootTimestamp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ contract Base is ForgeHelper {
event PropagateFailed(uint32 domain, address connector);

event AggregateRootSavedSlow(
bytes32 aggregateRoot,
bytes32 indexed aggregateRoot,
uint256 leafCount,
bytes32[] aggregatedRoots,
uint256 rootTimestamp
);

event AggregateRootSavedOptimistic(bytes32 aggregateRoot, uint256 rootTimestamp);
event AggregateRootSavedOptimistic(bytes32 indexed aggregateRoot, uint256 rootTimestamp);

event AggregateRootPropagated(bytes32 indexed aggregateRoot, bytes32 domainsHash);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ contract AdminHubConnectorTest is ForgeHelper {
event MessageProcessed(bytes data, address caller);
event RootReceived(uint32 domain, bytes32 receivedRoot, uint256 queueIndex);
event AggregateRootSavedSlow(
bytes32 aggregateRoot,
bytes32 indexed aggregateRoot,
uint256 leafCount,
bytes32[] aggregatedRoots,
uint256 rootTimestamp
Expand Down

0 comments on commit ae1ed59

Please sign in to comment.