From f982cb014853d0660a7467c15e12af6298cb345a Mon Sep 17 00:00:00 2001 From: Mike Casale <46603283+mikewcasale@users.noreply.github.com> Date: Thu, 28 Mar 2024 05:23:31 -0700 Subject: [PATCH] addresses comment https://github.com/bancorprotocol/fastlane-bot/pull/399#discussion_r1535343192 --- fastlane_bot/tests/deterministic/dtest_manager.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/fastlane_bot/tests/deterministic/dtest_manager.py b/fastlane_bot/tests/deterministic/dtest_manager.py index bf953a101..4d3964ea3 100644 --- a/fastlane_bot/tests/deterministic/dtest_manager.py +++ b/fastlane_bot/tests/deterministic/dtest_manager.py @@ -33,15 +33,13 @@ class TestManager: """ A class to manage Web3 contracts and Carbon strategies. + + Args: + args (argparse.Namespace): The command-line arguments. """ def __init__(self, args: argparse.Namespace): - """ - Initializes the TestManager. - - Args: - args (argparse.Namespace): The command-line arguments. - """ + self.w3 = Web3(Web3.HTTPProvider(args.rpc_url, {"timeout": 60})) assert self.w3.is_connected(), "Web3 connection failed"