Skip to content

Commit

Permalink
Fix bug causing event args to not be sent in eth_getLogs
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyDelott committed Aug 30, 2024
1 parent 4eb1f5c commit a88ad1d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export function createReadContract<TAbi extends Abi = Abi>({
eventName: eventName as string,
fromBlock: options?.fromBlock ?? 'earliest',
toBlock: options?.toBlock ?? 'latest',
args: options?.filter,
});

return events.map(({ args, blockNumber, data, transactionHash }) => {
Expand Down

0 comments on commit a88ad1d

Please sign in to comment.