Skip to content

Commit

Permalink
fix: override oracle winners for devenv only (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci authored Jul 11, 2024
1 parent 01ddada commit 413038a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ job "{{ job.name }}" {
echo '{{ .Data.data.{% endraw %}{{ job.artifacts | selectattr('keystore', 'defined') | map(attribute='keystore.name') | first }}{% raw %} }}' > "${MEV_ORACLE_KEYSTORE_PATH}/${MEV_ORACLE_KEYSTORE_FILENAME}"
{{ end }}

{% endraw %}
{% if env == 'devenv' %}
{% raw %}
MEV_ORACLE_OVERRIDE_WINNERS=""

{{- range nomadService "mev-commit-provider-node1" }}
Expand Down Expand Up @@ -274,6 +277,9 @@ job "{{ job.name }}" {
echo "Overriding winners: ${MEV_ORACLE_OVERRIDE_WINNERS}"
export MEV_ORACLE_OVERRIDE_WINNERS
fi
{% endraw %}
{% endif %}
{% raw %}

{{- range nomadService "contracts-deployer" }}
{{ if contains "http" .Tags }}
Expand Down

0 comments on commit 413038a

Please sign in to comment.