From 2ce450e65a4e21ea90588f1311afbaf582e9fa17 Mon Sep 17 00:00:00 2001 From: Kartik Chopra Date: Wed, 28 Aug 2024 13:12:28 -0400 Subject: [PATCH] feat: remove netrestrict and ip info --- .../templates/jobs/mev-commit-geth.nomad.j2 | 1 - .../nomad/playbooks/variables/profiles.yml | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 index f2135b00e..c52b81f2e 100644 --- a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 +++ b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-geth.nomad.j2 @@ -87,7 +87,6 @@ job "{{ job.name }}" { {% if job.env['type'] != 'signer' %} PUBLIC_NODE_IP="{{ job.env['public_ip'] }}" {% endif %} - NET_RESTRICT="{{ job.env['net_restrict'] }}" GETH_NODE_TYPE="{{ job.env['type'] }}" GETH_VERBOSITY={{ job.env.get('log-verbosity', '3') }} GETH_LOG_FORMAT="{{ job.env.get('log-format', 'json') }}" diff --git a/infrastructure/nomad/playbooks/variables/profiles.yml b/infrastructure/nomad/playbooks/variables/profiles.yml index 0e1c8b355..d2c1829ba 100644 --- a/infrastructure/nomad/playbooks/variables/profiles.yml +++ b/infrastructure/nomad/playbooks/variables/profiles.yml @@ -59,7 +59,6 @@ jobs: env: ip: 0.0.0.0 public_ip: 0.0.0.0 - net_restrict: 0.0.0.0/0 type: bootnode mev_commit_geth_signer_node1: &mev_commit_geth_signer_node1_job name: mev-commit-geth-signer-node1 @@ -76,8 +75,6 @@ jobs: p2p: to: 30311 env: - ip: 0.0.0.0 - net_restrict: 0.0.0.0/0 type: signer mev_commit_geth_signer_node2: &mev_commit_geth_signer_node2_job @@ -95,8 +92,6 @@ jobs: p2p: to: 30312 env: - ip: 0.0.0.0 - net_restrict: 0.0.0.0/0 type: signer mev_commit_geth_signer_node3: &mev_commit_geth_signer_node3_job @@ -114,12 +109,6 @@ jobs: p2p: to: 30313 env: - ip: 0.0.0.0 - net_restrict: 0.0.0.0/0 - type: signer - env: - ip: 0.0.0.0 - net_restrict: 0.0.0.0/0 type: signer mev_commit_geth_member_node: &mev_commit_geth_member_node_job @@ -142,7 +131,6 @@ jobs: env: ip: 0.0.0.0 public_ip: "{{ ansible_facts['default_ipv4']['address'] }}" - net_restrict: 0.0.0.0/0 type: member sync_mode: snap