diff --git a/price-pusher/price_pusher/main.py b/price-pusher/price_pusher/main.py index f75f2ed3..5fbddf2a 100644 --- a/price-pusher/price_pusher/main.py +++ b/price-pusher/price_pusher/main.py @@ -136,6 +136,7 @@ def _create_client( auto_estimate=True, ) return PragmaOnChainClient( + chain_name=network, network=network if rpc_url is None else rpc_url, account_contract_address=publisher_address, account_private_key=private_key, diff --git a/vrf-listener/vrf_listener/main.py b/vrf-listener/vrf_listener/main.py index 7f678cb2..1659cd73 100644 --- a/vrf-listener/vrf_listener/main.py +++ b/vrf-listener/vrf_listener/main.py @@ -26,10 +26,10 @@ async def main( ) -> None: logger.info("🧩 Starting VRF listener...") client = PragmaOnChainClient( + chain_name=network, network=network if rpc_url is None else rpc_url, account_contract_address=int(admin_address, 16), account_private_key=int(private_key, 16), - chain_name=network, contract_addresses_config=ContractAddresses( publisher_registry_address=0x0, oracle_proxy_addresss=int(oracle_address, 16),