Skip to content

Commit

Permalink
addresses comment #399 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewcasale committed Mar 28, 2024
1 parent 0c4c48b commit f982cb0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions fastlane_bot/tests/deterministic/dtest_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit f982cb0

Please sign in to comment.