Skip to content

Commit

Permalink
fix: display event signatures as strings
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed May 2, 2024
1 parent 2acfcc0 commit 1416b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silverback/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def add_taskiq_task(handler: Callable) -> AsyncTaskiqDecoratedTask:
# Address is almost a certainty if the container is being used as a filter here.
if contract_address := getattr(container.contract, "address", None):
labels["contract_address"] = contract_address
labels["event_signature"] = container.abi.signature
labels["event_signature"] = f'"{container.abi.signature}"'

broker_task = self.broker.register_task(
handler,
Expand Down

0 comments on commit 1416b3d

Please sign in to comment.