diff --git a/porter/main.py b/porter/main.py index b6bf5bd..2e4cfac 100644 --- a/porter/main.py +++ b/porter/main.py @@ -98,8 +98,14 @@ def __init__(self, BlockchainInterfaceFactory.initialize_interface(eth_provider_uri=eth_provider_uri) self.eth_provider_uri = eth_provider_uri - self.registry = registry or InMemoryContractRegistry.from_latest_publication(network=domain) - self.application_agent = ContractAgency.get_agent(TACoApplicationAgent, registry=self.registry, provider_uri=self.eth_provider_uri) + self.registry = registry or InMemoryContractRegistry.from_latest_publication( + network=domain + ) + self.application_agent = ContractAgency.get_agent( + TACoApplicationAgent, + registry=self.registry, + provider_uri=self.eth_provider_uri, + ) super().__init__(save_metadata=True, domain=domain, node_class=node_class, *args, **kwargs)