From 3afb854d13ac7f5a79ea5e78bb10d9e16f3ba057 Mon Sep 17 00:00:00 2001 From: Luke Van Seters Date: Thu, 20 Jan 2022 19:03:29 -0500 Subject: [PATCH] Require protocol to build a swap --- tests/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/helpers.py b/tests/helpers.py index f31c866..0f22290 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -1,4 +1,4 @@ -from typing import List, Optional +from typing import List from mev_inspect.schemas.traces import ( Classification, @@ -48,7 +48,7 @@ def make_swap_trace( contract_address: str, abi_name: str, function_signature: str, - protocol: Optional[Protocol], + protocol: Protocol, recipient_address: str, recipient_input_key: str, ):