Skip to content

Commit

Permalink
ObscuroBridge -> TenBridge
Browse files Browse the repository at this point in the history
  • Loading branch information
moraygrieve committed Dec 11, 2024
1 parent 1a5f678 commit f610a6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/python/ten/test/contracts/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ def __init__(self, test, web3):
self.contract = self.web3.eth.contract(address=self.address, abi=self.abi)


class ObscuroBridge:
class TenBridge:
GAS_LIMIT = 3_000_000

def __init__(self, test, web3):
self.test = test
self.web3 = web3
self.address = Properties().l1_bridge_address()
self.abi_path = os.path.join(PROJECT.root, 'artifacts', 'contracts', 'bridge', 'L1', 'ObscuroBridge.sol',
'ObscuroBridge.json')
self.abi_path = os.path.join(PROJECT.root, 'artifacts', 'contracts', 'bridge', 'L1', 'TenBridge.sol',
'TenBridge.json')
with open(self.abi_path, 'r') as fp:
self.abi = json.load(fp)
self.contract = self.web3.eth.contract(address=self.address, abi=self.abi)
Expand Down
4 changes: 2 additions & 2 deletions src/python/ten/test/utils/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from web3._utils.events import EventLogErrorFlags
from ten.test.contracts.erc20 import ERC20Token
from ten.test.contracts.bridge import WrappedERC20
from ten.test.contracts.bridge import ObscuroBridge, EthereumBridge, Management
from ten.test.contracts.bridge import TenBridge, EthereumBridge, Management
from ten.test.contracts.bridge import L1MessageBus, L2MessageBus, L1CrossChainMessenger, L2CrossChainMessenger
from ten.test.helpers.log_subscriber import AllEventsLogSubscriber
from ten.test.utils.properties import Properties
Expand Down Expand Up @@ -63,7 +63,7 @@ def __init__(self, test, pk, name):
"""Instantiate an instance. """
network = test.get_l1_network_connection()
web3, account = network.connect(test, pk)
bridge = ObscuroBridge(test, web3)
bridge = TenBridge(test, web3)
bus = L1MessageBus(test, web3)
xchain = L1CrossChainMessenger(test, web3)
self.management = Management(test, web3)
Expand Down

0 comments on commit f610a6c

Please sign in to comment.