Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
reconciled repo structure with the other message-relayer - WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
CAPtheorem committed May 28, 2021
1 parent 6aeebbb commit 501d258
Show file tree
Hide file tree
Showing 21 changed files with 25 additions and 13,496 deletions.
9 changes: 0 additions & 9 deletions packages/omgx/alt_messenger/package.json

This file was deleted.

5 changes: 0 additions & 5 deletions packages/omgx/alt_messenger/relayer_service/.env.example

This file was deleted.

This file was deleted.

6,388 changes: 0 additions & 6,388 deletions packages/omgx/alt_messenger/relayer_service/yarn.lock

This file was deleted.

7,069 changes: 0 additions & 7,069 deletions packages/omgx/alt_messenger/yarn.lock

This file was deleted.

24 changes: 24 additions & 0 deletions packages/omgx/message-relayer-fast/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM node:14-buster as base

RUN apt-get update && apt-get install -y bash curl jq

FROM base as build

RUN apt-get update && apt-get install -y bash git python build-essential

ADD . /opt/optimism-message-relayer-fast
RUN cd /opt/optimism-message-relayer-fast && yarn install && yarn build

FROM base

RUN apt-get update && apt-get install -y bash curl jq

COPY --from=build /opt/optimism-message-relayer-fast /opt/optimism-message-relayer-fast

COPY wait-for-l1-and-l2.sh /opt/
RUN chmod +x /opt/wait-for-l1-and-l2.sh

RUN ln -s /opt/optimism-ts-services/exec/run-message-relayer-fast.js /usr/local/bin/
RUN chmod +x /usr/local/bin/run-message-relayer-fast.js

ENTRYPOINT ["/opt/wait-for-l1-and-l2.sh", "run-message-relayer-fast.js"]
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@eth-optimism/message-relayer",
"name": "@omgx/message-relayer-fast",
"version": "0.1.1",
"private": true,
"description": "[Optimism] Cross Domain Message Relayer service",
Expand Down

0 comments on commit 501d258

Please sign in to comment.