Commit 0c551e78 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #1832 from ethereum-optimism/develop

Develop -> Master PR
parents 43f74caa 0e61b2c6
---
'@eth-optimism/gas-oracle': patch
---
Fixed gas-oacle tx/not_significant metric name
---
'@eth-optimism/proxyd': patch
---
Trigger release of proxyd
---
'@eth-optimism/proxyd': patch
---
Bump proxyd to test release build workflow
---
'@eth-optimism/message-relayer': patch
---
Fix dockerfile
...@@ -184,9 +184,12 @@ jobs: ...@@ -184,9 +184,12 @@ jobs:
username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }} username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }} password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}
- name: Set env - name: Set build args
id: build_args
run: | run: |
echo "GITDATE=$(date)" >> $GITHUB_ENV" echo ::set-output name=GITDATE::"$(date +%d-%m-%Y)"
echo ::set-output name=GITVERSION::$(jq -r .version ./go/proxyd/package.json)
echo ::set-output name=GITCOMMIT::"$GITHUB_SHA"
- name: Build and push - name: Build and push
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
...@@ -196,14 +199,15 @@ jobs: ...@@ -196,14 +199,15 @@ jobs:
push: true push: true
tags: ethereumoptimism/proxyd:${{ needs.release.outputs.proxyd }},ethereumoptimism/proxyd:latest tags: ethereumoptimism/proxyd:${{ needs.release.outputs.proxyd }},ethereumoptimism/proxyd:latest
build-args: | build-args: |
GITCOMMIT=$GITHUB_SHA GITDATE=${{ steps.build_args.outputs.GITDATE }}
GITDATE=$GITDATE GITCOMMIT=${{ steps.build_args.outputs.GITCOMMIT }}
GITVERSION=${{ steps.build_args.outputs.GITVERSION }}
rpc-proxy: rpc-proxy:
name: Publish rpc-proxy Version ${{ needs.release.outputs.rpc-proxy }} name: Publish rpc-proxy Version ${{ needs.release.outputs.rpc-proxy }}
needs: release needs: release
if: needs.release.outputs.rpc-proxy != '' if: needs.release.outputs.rpc-proxy != ''
runs-on: ubuntu:latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
......
...@@ -18,7 +18,7 @@ import ( ...@@ -18,7 +18,7 @@ import (
var ( var (
txSendCounter = metrics.NewRegisteredCounter("tx/send", ometrics.DefaultRegistry) txSendCounter = metrics.NewRegisteredCounter("tx/send", ometrics.DefaultRegistry)
txNotSignificantCounter = metrics.NewRegisteredCounter("tx/not-significant", ometrics.DefaultRegistry) txNotSignificantCounter = metrics.NewRegisteredCounter("tx/not_significant", ometrics.DefaultRegistry)
gasPriceGauge = metrics.NewRegisteredGauge("gas_price", ometrics.DefaultRegistry) gasPriceGauge = metrics.NewRegisteredGauge("gas_price", ometrics.DefaultRegistry)
txConfTimer = metrics.NewRegisteredTimer("tx/confirmed", ometrics.DefaultRegistry) txConfTimer = metrics.NewRegisteredTimer("tx/confirmed", ometrics.DefaultRegistry)
txSendTimer = metrics.NewRegisteredTimer("tx/send", ometrics.DefaultRegistry) txSendTimer = metrics.NewRegisteredTimer("tx/send", ometrics.DefaultRegistry)
......
...@@ -52,6 +52,17 @@ A Makefile has been provided for convience. The following targets are available. ...@@ -52,6 +52,17 @@ A Makefile has been provided for convience. The following targets are available.
- make up-metrics - make up-metrics
- make down-metrics - make down-metrics
## Cross domain communication
By default, the `message-relayer` service is turned off. This means that
any tests must manually submit withdrawals. The `message-relayer` will
automatically look for withdrawals and submit the proofs. To run with the
`message-relayer` on, use the command:
```bash
$ docker-compose up --scale relayer=1
```
## Authentication ## Authentication
Influxdb has authentication disabled. Influxdb has authentication disabled.
......
...@@ -102,6 +102,8 @@ services: ...@@ -102,6 +102,8 @@ services:
- l1_chain - l1_chain
- deployer - deployer
- l2geth - l2geth
deploy:
replicas: 0
build: build:
context: .. context: ..
dockerfile: ./ops/docker/Dockerfile.packages dockerfile: ./ops/docker/Dockerfile.packages
......
...@@ -57,6 +57,6 @@ CMD ["yarn", "test:integration"] ...@@ -57,6 +57,6 @@ CMD ["yarn", "test:integration"]
FROM base as relayer FROM base as relayer
WORKDIR /opt/optimism/packages/message-relayer WORKDIR /optimism/packages/message-relayer
COPY ./ops/scripts/relayer.sh . COPY ./ops/scripts/relayer.sh .
ENTRYPOINT ["npm", "run", "start"] CMD ["npm", "run", "start"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment