1. 08 Dec, 2021 7 commits
  2. 07 Dec, 2021 30 commits
  3. 06 Dec, 2021 3 commits
    • Mark Tyneway's avatar
      Merge pull request #1864 from ethereum-optimism/ci/update-node-versions · b8eb80b6
      Mark Tyneway authored
      ci: standardize ci node version to 16
      b8eb80b6
    • Ben Wilson's avatar
      Added a polling cycle var to op-exporter · 9c9f8d43
      Ben Wilson authored
      9c9f8d43
    • Matthew Slipper's avatar
      go/proxyd: Add support for env vars in the config · 73484138
      Matthew Slipper authored
      Certain config parameters can now be read from the environment if environment variables as provided as config values. The following parameters can be read from the environment:
      
      - `backends.*.rpc_url`
      - `backends.*.ws_url`
      - `backends.*.password`
      - `authentication.*`
      
      Example backend config:
      
      ```toml
      [backends]
      [backends.from_env]
      rpc_url = "$SECRET_RPC_URL"
      ws_url = "$SECRET_WS_URL"
      ```
      
      Example authentication config. Note the additional double quotes around the secret key:
      
      ```toml
      [authentication]
      "$SECRET_AUTH_KEY" = "auth_key_alias"
      ```
      
      Env vars can be escaped with two backslashes (`\\`). We have to use two backslashes because it's also the escape character in TOML.
      
      Env vars defined in the config but not defined in the actual environment will result in an error that prevents `proxyd` from starting.
      
      Metadata:
      
      - Fixes: ENG-1728
      73484138