Add writer to token index deploy in eth tests

This commit is contained in:
nolash
2021-11-29 15:05:09 +01:00
parent b85390fc36
commit 69a0aea7ed
6 changed files with 69 additions and 2 deletions

View File

@@ -4,6 +4,11 @@ from chainlib.eth.connection import RPCConnection
def extension_start(network, *args, **kwargs):
"""Called by the "export" cli tool subcommand for initialization of the eth extension.
:param network: Network object to read and write settings from
:type network: cic.network.Network
"""
CICRegistry.address = kwargs['registry_address']
RPCConnection.register_location(kwargs['rpc_provider'], kwargs['chain_spec'])