|
89 | 89 | CONTRACT_SERVICE_REGISTRY, |
90 | 90 | CONTRACT_TOKEN_NETWORK_REGISTRY, |
91 | 91 | CONTRACT_USER_DEPOSIT, |
92 | | - LIBRARY_TOKEN_NETWORK_UTILS, |
93 | | - LIBRARY_TOKEN_NETWORK_UTILS_LINK_KEY, |
94 | 92 | TEST_SETTLE_TIMEOUT_MAX, |
95 | 93 | TEST_SETTLE_TIMEOUT_MIN, |
96 | 94 | ) |
@@ -118,10 +116,8 @@ def __call__(self, description: str, error: bool = False) -> None: |
118 | 116 | ... |
119 | 117 |
|
120 | 118 |
|
121 | | -def _deploy_contract( |
122 | | - deployer: ContractDeployer, name: str, args: list, libs: dict = None |
123 | | -) -> Address: |
124 | | - receipt = deployer.deploy(name, libs=libs, args=args) |
| 119 | +def _deploy_contract(deployer: ContractDeployer, name: str, args: list) -> Address: |
| 120 | + receipt = deployer.deploy(name, args=args) |
125 | 121 | address = receipt["contractAddress"] |
126 | 122 | assert address is not None, "must be a valid address" |
127 | 123 | return to_canonical_address(address) |
@@ -167,6 +163,8 @@ def deploy_smoketest_contracts( |
167 | 163 | constructor_parameters=secret_registry_constructor_arguments, |
168 | 164 | ) |
169 | 165 |
|
| 166 | + token_network_registry_address = Address(to_canonical_address(contract_proxy.address)) |
| 167 | + |
170 | 168 | service_registry_address = _deploy_contract( |
171 | 169 | deployer, |
172 | 170 | CONTRACT_SERVICE_REGISTRY, |
@@ -204,7 +202,7 @@ def deploy_smoketest_contracts( |
204 | 202 | # Since the contracts have been deployed without the use of our |
205 | 203 | # JSONRPCClient, we need to sync the client's internal nonce so that |
206 | 204 | # it reflects the fact that we just sent 7 transactions. |
207 | | - client.sync_nonce() |
| 205 | + client._sync_nonce() |
208 | 206 |
|
209 | 207 | proxy_manager = ProxyManager( |
210 | 208 | rpc_client=client, |
|
0 commit comments