diff --git a/scripts/xcm_transfers/xcm/dry_run/events/base.py b/scripts/xcm_transfers/xcm/dry_run/events/base.py index 00ea3af60..b5df8fbad 100644 --- a/scripts/xcm_transfers/xcm/dry_run/events/base.py +++ b/scripts/xcm_transfers/xcm/dry_run/events/base.py @@ -10,4 +10,4 @@ def find_events(events: List, event_module: str, event_name: str) -> List[dict]: def find_event_with_attributes(events: List, event_module: str, event_name: str, attributes_filter: Callable[[dict], bool]) -> dict | None: matching_events = find_events(events, event_module, event_name) - return next((e for e in matching_events if attributes_filter(e["attributes"])), None) \ No newline at end of file + return next((e for e in matching_events if attributes_filter(e["attributes"])), None) diff --git a/scripts/xcm_transfers/xcm/dry_run/events/deposit.py b/scripts/xcm_transfers/xcm/dry_run/events/deposit.py index 1e4c7f782..b764fbdde 100644 --- a/scripts/xcm_transfers/xcm/dry_run/events/deposit.py +++ b/scripts/xcm_transfers/xcm/dry_run/events/deposit.py @@ -63,4 +63,4 @@ def _find_orml_deposit_amount( if event is None: return None - return event["attributes"]["amount"] \ No newline at end of file + return event["attributes"]["amount"]