Skip to content

Commit

Permalink
fix: add requestId in the Query event. (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
silathdiir authored Jan 23, 2025
1 parent a58603a commit 37760fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/v1/client/LPNQueryV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ contract LPNQueryV1 is LPNClientV1, Initializable {
* @param placeholders An array of placeholder values for the query.
*/
event Query(
uint256 indexed requestId,
address indexed sender,
bytes32 indexed queryHash,
bytes32[] placeholders
Expand Down Expand Up @@ -83,7 +84,7 @@ contract LPNQueryV1 is LPNClientV1, Initializable {
placeholders: placeholders
});

emit Query(msg.sender, queryHash, placeholders);
emit Query(requestId, msg.sender, queryHash, placeholders);
}

/**
Expand Down

0 comments on commit 37760fa

Please sign in to comment.