Skip to content

Commit

Permalink
hotfix(services): Hotfix chain name in services (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
akhercha authored Jul 22, 2024
1 parent 23268cb commit 7c3a0c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions price-pusher/price_pusher/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion vrf-listener/vrf_listener/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 7c3a0c5

Please sign in to comment.