From 2771836267b6a4e5585e13f9a7790812dafefaab Mon Sep 17 00:00:00 2001 From: Alok Date: Tue, 10 Dec 2024 01:01:39 +0530 Subject: [PATCH] feat: use multiple RPCs for relayer --- .../nomad/playbooks/templates/jobs/mev-commit-bridge.nomad.j2 | 2 +- infrastructure/nomad/playbooks/variables/profiles.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-bridge.nomad.j2 b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-bridge.nomad.j2 index 7f00e6db2..df021fe02 100644 --- a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-bridge.nomad.j2 +++ b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-bridge.nomad.j2 @@ -225,7 +225,7 @@ job "{{ job.name }}" { {{- end }} {{- end }} {% endraw %} - STANDARD_BRIDGE_RELAYER_L1_RPC_URL="{{ job.env['l1_rpc_url'] }}" + STANDARD_BRIDGE_RELAYER_L1_RPC_URLS="{{ job.env['l1_rpc_urls'] }}" L1_CHAIN_ID="{{ job.env['l1_chain_id'] }}" CONTRACTS_PATH="local/contracts" ARTIFACT_OUT_PATH="local" diff --git a/infrastructure/nomad/playbooks/variables/profiles.yml b/infrastructure/nomad/playbooks/variables/profiles.yml index 2c0213974..2dd19cf56 100644 --- a/infrastructure/nomad/playbooks/variables/profiles.yml +++ b/infrastructure/nomad/playbooks/variables/profiles.yml @@ -604,7 +604,7 @@ jobs: to: 5433 env: l1_chain_id: "{{ environments[env].chain_id }}" - l1_rpc_url: "{{ resolved_l1_rpc_urls.split(',')[0] }}" + l1_rpc_urls: "{{ resolved_l1_rpc_urls }}" mev_commit_faucet: &mev_commit_faucet_job name: mev-commit-faucet