Skip to content

Commit

Permalink
added new filter criterion
Browse files Browse the repository at this point in the history
before we also fetched transactions interacting with our contract which
were not settlements (e.g. presignatures from Safes)
now we filter for trade events
  • Loading branch information
fhenneke committed May 25, 2023
1 parent d1201a5 commit 685e2b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/monitoring_tests/template_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def get_tx_hashes_by_block(cls, start_block: int, end_block: int) -> List[str]:
"fromBlock": int(start_block),
"toBlock": int(end_block),
"address": ADDRESS,
"topics": [
"0xa07a543ab8a018198e99ca0184c93fe9050a79400a0a723441f84de1d972cc17"
],
}
# transactions may have repeating hashes, since even event logs are filtered
# therefore, check if hash has already been added to the list
Expand Down

0 comments on commit 685e2b3

Please sign in to comment.