diff --git a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-oracle.nomad.j2 b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-oracle.nomad.j2 index 5601d6f4d..1fcc9fcda 100644 --- a/infrastructure/nomad/playbooks/templates/jobs/mev-commit-oracle.nomad.j2 +++ b/infrastructure/nomad/playbooks/templates/jobs/mev-commit-oracle.nomad.j2 @@ -173,7 +173,7 @@ job "{{ job.name }}" { MEV_ORACLE_KEYSTORE_PATH="/local/data-{{ env "NOMAD_ALLOC_INDEX" }}/keystore" MEV_ORACLE_KEYSTORE_FILENAME="{{ with secret "secret/data/mev-commit" }}{{ .Data.data.{% endraw %}{{ job.artifacts | selectattr('keystore', 'defined') | map(attribute='keystore.name') | first }}{% raw %}_filename }}{{ end }}" MEV_ORACLE_KEYSTORE_PASSWORD="{{ with secret "secret/data/mev-commit" }}{{ .Data.data.{% endraw %}{{ job.artifacts | selectattr('keystore', 'defined') | map(attribute='keystore.name') | first }}{% raw %}_password }}{{ end }}" - MEV_ORACLE_REGISTER_PROVIDER_API_AUTH_TOKEN="{{ with secret "secret/data/mev-commit" }}{{ .Data.data.register_provider_auth_token }}{{ end }}" + # MEV_ORACLE_REGISTER_PROVIDER_API_AUTH_TOKEN="{{ with secret "secret/data/mev-commit" }}{{ .Data.data.register_provider_auth_token }}{{ end }}" {{- range nomadService "mev-commit-oracle" }} {{- if contains "http" .Tags }} MEV_ORACLE_HTTP_PORT="{{ .Port }}" diff --git a/infrastructure/nomad/playbooks/variables/profiles.yml b/infrastructure/nomad/playbooks/variables/profiles.yml index ece0ee884..3f0360160 100644 --- a/infrastructure/nomad/playbooks/variables/profiles.yml +++ b/infrastructure/nomad/playbooks/variables/profiles.yml @@ -529,10 +529,10 @@ profiles: - *mev_commit_provider_node1_job - *mev_commit_provider_node1_funder_job - *mev_commit_oracle_job - - *mev_commit_bidder_node1_job - - *mev_commit_bidder_node1_funder_job + # - *mev_commit_bidder_node1_job + # - *mev_commit_bidder_node1_funder_job - *mev_commit_provider_emulator_node1_job - - *mev_commit_bidder_emulator_node1_job + # - *mev_commit_bidder_emulator_node1_job - *mev_commit_faucet_job - *datadog_agent_metrics_collector_job diff --git a/oracle/cmd/main.go b/oracle/cmd/main.go index cf6ac1cc3..98dd40872 100644 --- a/oracle/cmd/main.go +++ b/oracle/cmd/main.go @@ -212,10 +212,10 @@ var ( }) optionRegistrationAuthToken = altsrc.NewStringFlag(&cli.StringFlag{ - Name: "register-provider-auth-token", - Usage: "Authorization token for provider registration", - EnvVars: []string{"MEV_ORACLE_REGISTER_PROVIDER_API_AUTH_TOKEN"}, - Required: true, + Name: "register-provider-auth-token", + Usage: "Authorization token for provider registration", + EnvVars: []string{"MEV_ORACLE_REGISTER_PROVIDER_API_AUTH_TOKEN"}, + Value: "test", }) ) diff --git a/oracle/pkg/node/node.go b/oracle/pkg/node/node.go index 43fcf48f8..1f8deaabc 100644 --- a/oracle/pkg/node/node.go +++ b/oracle/pkg/node/node.go @@ -206,22 +206,22 @@ func NewNode(opts *Options) (*Node, error) { if opts.OverrideWinners != nil && len(opts.OverrideWinners) > 0 { listenerL1Client = &winnerOverrideL1Client{EthClient: listenerL1Client, winners: opts.OverrideWinners} - for _, winner := range opts.OverrideWinners { - nd.logger.Info("setting builder mapping", "builderName", winner, "builderAddress", winner) - err := setBuilderMapping( - ctx, - blockTrackerTransactor, - settlementClient, - winner, - winner, - nd.logger, - ) - if err != nil { - nd.logger.Error("failed to set builder mapping", "error", err) - cancel() - return nil, err - } - } + // for _, winner := range opts.OverrideWinners { + // nd.logger.Info("setting builder mapping", "builderName", winner, "builderAddress", winner) + // err := setBuilderMapping( + // ctx, + // blockTrackerTransactor, + // settlementClient, + // winner, + // winner, + // nd.logger, + // ) + // if err != nil { + // nd.logger.Error("failed to set builder mapping", "error", err) + // cancel() + // return nil, err + // } + // } } l1Lis := l1Listener.NewL1Listener(