[marketplace] add indexing to RequestCancelled event

Index the `RequestCancelled.requestId` field so that subscriptions to this event can be made.
This commit is contained in:
Eric Mastro 2022-09-07 20:07:04 +10:00 committed by Eric Mastro
parent 8be756808c
commit 4cb7ad79a5
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ contract Marketplace is Collateral, Proofs {
uint256 indexed slotIndex,
bytes32 indexed slotId
);
event RequestCancelled(bytes32 requestId);
event RequestCancelled(bytes32 indexed requestId);
modifier marketplaceInvariant() {
MarketplaceFunds memory oldFunds = funds;