Skip to content

Commit 438f2b3

Browse files
correct (Optional) return type
1 parent 39fb38e commit 438f2b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e_tests/utils/chain_interactions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def sudo_set_admin_utils(
150150
wallet: "Wallet",
151151
call_function: str,
152152
call_params: dict,
153-
) -> tuple[bool, dict]:
153+
) -> tuple[bool, Optional[dict]]:
154154
"""
155155
Wraps the call in sudo to set hyperparameter values using AdminUtils.
156156
@@ -161,7 +161,7 @@ def sudo_set_admin_utils(
161161
call_params (dict): Parameters for the AdminUtils function.
162162
163163
Returns:
164-
tuple[bool, dict]: (success status, error details).
164+
tuple[bool, Optional[dict]]: (success status, error details).
165165
"""
166166
inner_call = substrate.compose_call(
167167
call_module="AdminUtils",

0 commit comments

Comments
 (0)