Commit f1631a5f authored by smartcontracts's avatar smartcontracts Committed by GitHub

Merge pull request #1594 from ethereum-optimism/regenesis/0.5.0

regenesis: 0.5.0
parents b3363ac8 4578fc77
---
'@eth-optimism/integration-tests': minor
'@eth-optimism/l2geth': minor
---
Start refactor to new version of the OVM
---
'@eth-optimism/l2geth': patch
---
Cleanup `time.Ticker`s
---
'@eth-optimism/integration-tests': minor
'@eth-optimism/l2geth': minor
'@eth-optimism/contracts': minor
---
Adds aliasing to msg.sender and tx.origin to avoid xdomain attacks
---
'@eth-optimism/message-relayer': patch
---
Add legacy proof generation to message-relayer
---
'@eth-optimism/l2geth': patch
---
Set the latest queue index and index after the tx has been applied to the chain
---
'@eth-optimism/l2geth': patch
---
Handle policy/consensus race condition for balance check
---
'@eth-optimism/contracts': patch
---
Run etherscan verification after each contract is deployed.
---
'@eth-optimism/core-utils': patch
---
Export bnToAddress
---
'@eth-optimism/l2geth': minor
'@eth-optimism/contracts': minor
'@eth-optimism/integration-tests': patch
---
Introduces a new opcode L1BLOCKNUMBER to replace old functionality where blocknumber would return the L1 block number and the L2 block number was inaccessible.
---
'@eth-optimism/batch-submitter': patch
---
Default tx batch validation to false
---
'@eth-optimism/gas-oracle': minor
---
Add L1 base fee, add breaking config options
---
'@eth-optimism/l2geth': patch
'@eth-optimism/contracts': patch
---
Refactor to simplify the process of generating the genesis json file
---
'@eth-optimism/l2geth': patch
---
Remove calls to `syncBatchesToTip` in the main `sequence()` loop
---
'@eth-optimism/contracts': patch
---
Cleans up the contract deployment process
---
'@eth-optimism/contracts': patch
---
Correctly export contracts package types
---
'@eth-optimism/batch-submitter': patch
---
Add `VALIDATE_TX_BATCH` config option that can disable batch validation
---
'@eth-optimism/l2geth': patch
---
Remove dead `debug_ingestTransactions` endpoint and `txType` from RPC transactions
---
'@eth-optimism/regenesis-surgery': patch
---
Fixes the compiler cache to prevent collisions between EVM and OVM outputs.
---
'@eth-optimism/contracts': minor
---
Replace the CTCs Queue storage container with a mapping
---
'@eth-optimism/l2geth': patch
---
Remove complex mutex logic in favor of simple mutex logic in the `SyncService`
---
'@eth-optimism/core-utils': patch
---
Add awaitCondition to core utils
---
'@eth-optimism/contracts': minor
---
Remove unused code from CTC
---
'@eth-optimism/contracts': minor
---
Allow the sequencer to modify the parameters which determine the gas burn #1516
---
'@eth-optimism/contracts': patch
---
Improves the build process for autogenerated files
---
'@eth-optimism/builder': patch
'@eth-optimism/batch-submitter': patch
'@eth-optimism/core-utils': patch
'@eth-optimism/data-transport-layer': patch
'@eth-optimism/message-relayer': patch
'@eth-optimism/replica-healthcheck': patch
---
Add 'User-Agent' to the http headers for ethers providers
---
'@eth-optimism/gas-oracle': patch
---
Bumps the go-ethereum dependency version to v1.10.9
---
'@eth-optimism/contracts': patch
---
Make the standard token factory a predeploy
---
'@eth-optimism/integration-tests': patch
---
Add tests for optimistic ethereum related fields to the receipt
---
'@eth-optimism/core-utils': minor
---
Parse optimistic ethereum specific fields on transaction receipts
---
'@eth-optimism/contracts': patch
---
Added default values library for contracts
---
'@eth-optimism/core-utils': patch
---
Add bytes32ify
---
'@eth-optimism/contracts': patch
---
Removes a bunch of dead testing code in the contracts repo
---
'@eth-optimism/contracts': patch
---
Adds a git commit hash to the output of make-genesis.ts
---
'@eth-optimism/batch-submitter': patch
---
Handle error case more explicity when creating invalid batch
---
'@eth-optimism/data-transport-layer': patch
---
Use ethers.StaticJsonRpcProvider for the L2 Provider to lower API requests
---
'@eth-optimism/contracts': patch
---
Modifies package.json to correctly export all contracts
---
'@eth-optimism/l2geth': patch
---
Use `OVM_GasPriceOracle` based L1 base fee instead of fetching it from remote
---
'@eth-optimism/batch-submitter': patch
---
Ensure empty batches are not submitted
---
'@eth-optimism/integration-tests': minor
'@eth-optimism/batch-submitter': minor
'@eth-optimism/contracts': minor
'@eth-optimism/data-transport-layer': minor
'@eth-optimism/message-relayer': minor
'@eth-optimism/specs': minor
---
Remove the "OVM" Prefix from contract names
---
'@eth-optimism/contracts': minor
---
Only burn gas in the CTC on deposits with a high gas limit
---
'@eth-optimism/contracts': minor
---
Moves the standards folder out of libraries and into its own top-level folder.
---
'@eth-optimism/contracts': patch
---
Reduces the cost of appendSequencerBatch
---
'@eth-optimism/integration-tests': minor
'@eth-optimism/l2geth': minor
'@eth-optimism/contracts': minor
'@eth-optimism/data-transport-layer': minor
---
Removes various unused OVM contracts
---
'@eth-optimism/l2geth': minor
---
Add optimistic ethereum specific fields to the receipt. These fields are related to the L1 portion of the fee. Note that this is a consensus change as it will impact the blockhash through the receipts root
---
'@eth-optimism/contracts': patch
---
Assert upper bound on CTC gas costs
---
'@eth-optimism/contracts': patch
---
Always print dictator messages during deployment
---
'@eth-optimism/integration-tests': minor
'@eth-optimism/l2geth': minor
---
Opcode tweaks. Coinbase returns SequencerFeeVault address. Difficulty returns zero.
---
'@eth-optimism/contracts': minor
---
Remove queue() function from CTC.
---
'@eth-optimism/contracts': patch
---
Add getter and setter to `OVM_GasPriceOracle` for the l1 base fee
---
'@eth-optimism/contracts': patch
---
Update and harden the contract deployment process
---
'@eth-optimism/integration-tests': patch
---
Add updated fee scheme integration tests
---
'@eth-optimism/gas-oracle': patch
'@eth-optimism/integration-tests': patch
'@eth-optimism/l2geth': patch
'@eth-optimism/batch-submitter': patch
'@eth-optimism/contracts': patch
'@eth-optimism/core-utils': patch
'@eth-optimism/data-transport-layer': patch
'@eth-optimism/message-relayer': patch
'@eth-optimism/regenesis-surgery': patch
'@eth-optimism/specs': patch
---
upgraded to solidity 0.8.9
---
'@eth-optimism/contracts': patch
'@eth-optimism/regenesis-surgery': patch
---
Minor bugfixes to the regenesis process for OVM_ETH
---
'@eth-optimism/integration-tests': patch
'@eth-optimism/batch-submitter': patch
'@eth-optimism/contracts': patch
'@eth-optimism/data-transport-layer': patch
'@eth-optimism/message-relayer': patch
'@eth-optimism/regenesis-surgery': patch
'@eth-optimism/replica-healthcheck': patch
---
Fixes dependencies instead of using caret constraints
---
'@eth-optimism/contracts': patch
---
Adds WETH9 at the old OVM_ETH address
---
'@eth-optimism/core-utils': patch
---
Correctly move chai into deps instead of dev deps
---
'@eth-optimism/contracts': patch
---
Fix import bug in the state dump generation script
---
'@eth-optimism/integration-tests': minor
'@eth-optimism/l2geth': minor
'@eth-optimism/contracts': minor
---
Refactors and simplifies OVM_ETH usage
---
'@eth-optimism/contracts': patch
---
Reduce default gasLimit on eth deposits to the L1 Standard Bridge
---
'@eth-optimism/integration-tests': minor
'@eth-optimism/contracts': minor
---
Updates the deployment process to correctly set all constants and adds more integration tests
---
'@eth-optimism/contracts': patch
---
Update the `deployer` docker image to build with python3
---
'@eth-optimism/contracts': minor
---
Removes the hardhat-ovm plugin and its dependencies
---
'@eth-optimism/l2geth': minor
'@eth-optimism/contracts': minor
---
Reintroduces the whitelist into the v2 system
---
'@eth-optimism/contracts': patch
---
Add a more realistic CTC gas benchmark
---
'@eth-optimism/l2geth': patch
---
Handle race condition in L2 geth for fee logic
---
'@eth-optimism/contracts': minor
---
Reduce CTC gas costs by storing only a blockhash.
---
'@eth-optimism/core-utils': minor
---
Change the expectApprox interface to allow setting an absoluteexpected deviation range
---
'@eth-optimism/builder': patch
---
Create builder release
---
'@eth-optimism/contracts': patch
---
Add gas benchmarks on deposits
---
'@eth-optimism/regenesis-surgery': minor
---
Add regenesis-surgery package and event-indexer script
---
'@eth-optimism/gas-oracle': patch
---
Bump go-ethereum dep to v1.10.10
---
'@eth-optimism/integration-tests': minor
'@eth-optimism/l2geth': minor
'@eth-optimism/contracts': minor
---
Removes ERC20 and WETH9 features from OVM_ETH
---
'@eth-optimism/l2geth': patch
---
Remove dead L1 gas price fetching code
---
'@eth-optimism/contracts': minor
---
Simplify hierarchy of contracts package
---
'@eth-optimism/contracts': minor
---
Removes unused functions within OVM_BondManager
---
'@eth-optimism/core-utils': patch
---
Expose lower level API for tx fees
---
'@eth-optimism/integration-tests': minor
'@eth-optimism/l2geth': minor
'@eth-optimism/contracts': minor
---
Adds refactored support for the L1MESSAGESENDER opcode
---
'@eth-optimism/l2geth': minor
'@eth-optimism/contracts': minor
---
Removes all custom genesis initialization
---
'@eth-optimism/contracts': patch
---
Adds an exported `names` object with contract and account names
---
'@eth-optimism/contracts': minor
---
Make the CTC's gas burn amount configurable at create time
---
'@eth-optimism/gas-oracle': patch
---
Use the configured gas price when updating the L1 base fee in L2 state
---
'@eth-optimism/contracts': patch
---
Update the genesis file creation script to include the precompiles
---
'@eth-optimism/contracts': patch
---
Fixes a bug that made replayMessage useless.
---
'@eth-optimism/contracts': patch
'@eth-optimism/message-relayer': patch
---
Removes the onlyRelayer modifier from the L1CrossDomainMessenger
---
'@eth-optimism/data-transport-layer': patch
---
Add config for L1 start height to allow for syncing specifically after a regenesis. Using the auto detect method will not work with the regenesis scheme of using the same AddressManager
---
'@eth-optimism/l2geth': patch
---
Fix various geth tests
---
'@eth-optimism/l2geth': patch
---
Use minimal EIP-2929 for state accessing opcodes
---
'@eth-optimism/contracts': patch
'@eth-optimism/message-relayer': patch
---
Remove obsoleted contract code. Improve events usability by indexing helpful params. Switch using encoded message and use decoded message from event
---
'@eth-optimism/contracts': patch
---
Add hardhat fork deploy step
---
'@eth-optimism/hardhat-node': patch
---
Create `ethereumoptimism/hardhat-node` docker image
---
'@eth-optimism/contracts': patch
---
Test contracts against london fork
.git
.github
node_modules
......
......@@ -4,7 +4,7 @@ module.exports = {
browser: true,
es6: true,
},
ignorePatterns: ['dist', 'packages/contracts/hardhat'],
ignorePatterns: ['dist', 'coverage', 'packages/contracts/hardhat'],
extends: ['plugin:prettier/recommended'],
parser: 'babel-eslint',
parserOptions: {
......@@ -81,6 +81,7 @@ module.exports = {
],
'@typescript-eslint/type-annotation-spacing': 'off',
'@typescript-eslint/unified-signatures': 'error',
'@typescript-eslint/no-unused-vars': 'error',
},
},
],
......
......@@ -7,7 +7,6 @@
# packages/contracts/ @smartcontracts @ben-chain @maurelian @elenadimitrova
# packages/specs/protocol/ @smartcontracts @ben-chain @maurelian
# ops/ @tynes @karlfloersch
# packages/hardhat-ovm/ @smartcontracts
# packages/core-utils/ @smartcontracts @annieke @ben-chain
# packages/common-ts/ @annieke
# packages/core-utils/src/watcher.ts @K-Ho
......
......@@ -30,8 +30,5 @@ M-core-utils:
M-dtl:
- any: ['packages/data-transport-layer/**/*']
M-hardhat-ovm:
- any: ['packages/hardhat-ovm/**/*']
M-ops:
- any: ['ops/**/*']
......@@ -37,24 +37,6 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- uses: actions/cache@v2
name: Set up layer cache
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-1-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-1-
- uses: docker/setup-buildx-action@master
name: Set up Docker Buildx
id: buildx
with:
version: latest
driver-opts: image=moby/buildkit:master,network=host
- name: Build the services
run: ./ops/scripts/build-ci.sh
- name: Bring the stack up
working-directory: ./ops
run: |
......@@ -73,7 +55,7 @@ jobs:
if: failure()
uses: jwalton/gh-docker-logs@v1
with:
images: 'ethereumoptimism/builder,ethereumoptimism/hardhat,ethereumoptimism/deployer,ethereumoptimism/data-transport-layer,ethereumoptimism/l2geth,ethereumoptimism/message-relayer,ethereumoptimism/batch-submitter,ethereumoptimism/l2geth,ethereumoptimism/integration-tests'
images: 'ethereumoptimism/hardhat,ops_deployer,ops_dtl,ethereumoptimism/l2geth,ethereumoptimism/message-relayer,ops_batch_submitter,ethereumoptimism/l2geth,ops_integration_tests'
dest: '/home/runner/logs'
- name: Tar logs
......@@ -86,11 +68,3 @@ jobs:
with:
name: logs.tgz
path: ./logs.tgz
# Needed to address the following bugs:
# https://github.com/docker/build-push-action/issues/252
# https://github.com/moby/buildkit/issues/1896
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
......@@ -21,7 +21,9 @@ jobs:
message-relayer: ${{ steps.packages.outputs.message-relayer }}
data-transport-layer: ${{ steps.packages.outputs.data-transport-layer }}
contracts: ${{ steps.packages.outputs.contracts }}
gas-oracle: ${{ steps.packages.outputs.gas-oracle }}
replica-healthcheck: ${{ steps.packages.outputs.replica-healthcheck }}
hardhat-node: ${{ steps.packages.outputs.hardhat-node }}
canary-docker-tag: ${{ steps.docker-image-name.outputs.canary-docker-tag }}
proxyd: ${{ steps.packages.outputs.proxyd }}
rpc-proxy : ${{ steps.packages.outputs.rpc-proxy }}
......@@ -87,7 +89,6 @@ jobs:
env:
CUSTOM_IMAGE_NAME: ${{ github.event.inputs.customImageName }}
# The below code is duplicated, would be ideal if we could use a matrix with a
# key/value being dynamically generated from the `publishedPackages` output
# while also allowing for parallelization (i.e. `l2geth` not depending on `builder`)
......@@ -118,11 +119,61 @@ jobs:
push: true
tags: ethereumoptimism/l2geth:${{ needs.canary-publish.outputs.canary-docker-tag }}
# pushes the base builder image to dockerhub
gas-oracle:
name: Publish Gas Oracle ${{ needs.canary-publish.outputs.canary-docker-tag }}
needs: canary-publish
if: needs.canary-publish.outputs.gas-oracle != ''
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./ops/docker/Dockerfile.gas-oracle
push: true
tags: ethereumoptimism/gas-oracle:${{ needs.canary-publish.outputs.canary-docker-tag }}
hardhat-node:
name: Publish Hardhat Node ${{ needs.canary-publish.outputs.canary-docker-tag }}
needs: canary-publish
if: needs.canary-publish.outputs.hardhat-node != ''
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: ./ops/docker/hardhat
file: ./ops/docker/hardhat/Dockerfile
push: true
tags: ethereumoptimism/hardhat-node:${{ needs.canary-publish.outputs.canary-docker-tag }}
builder:
name: Prepare the base builder image for the services
needs: canary-publish
if: needs.canary-publish.outputs.builder == 'true'
runs-on: ubuntu-latest
# we re-output the variables so that the child jobs can access them
outputs:
......@@ -134,12 +185,9 @@ jobs:
replica-healthcheck: ${{ needs.canary-publish.outputs.replica-healthcheck }}
canary-docker-tag: ${{ needs.canary-publish.outputs.canary-docker-tag }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
......@@ -147,13 +195,16 @@ jobs:
username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./ops/docker/Dockerfile.monorepo
push: true
tags: ethereumoptimism/builder
tags: ethereumoptimism/builder:${{ needs.canary-publish.outputs.canary-docker-tag }}
message-relayer:
name: Publish Message Relayer Version ${{ needs.builder.outputs.canary-docker-tag }}
......@@ -180,6 +231,7 @@ jobs:
file: ./ops/docker/Dockerfile.message-relayer
push: true
tags: ethereumoptimism/message-relayer:${{ needs.builder.outputs.canary-docker-tag }}
build-args: BUILDER_TAG=${{ needs.builder.outputs.canary-docker-tag }}
batch-submitter:
name: Publish Batch Submitter Version ${{ needs.builder.outputs.canary-docker-tag }}
......@@ -206,6 +258,7 @@ jobs:
file: ./ops/docker/Dockerfile.batch-submitter
push: true
tags: ethereumoptimism/batch-submitter:${{ needs.builder.outputs.canary-docker-tag }}
build-args: BUILDER_TAG=${{ needs.builder.outputs.canary-docker-tag }}
data-transport-layer:
name: Publish Data Transport Layer Version ${{ needs.builder.outputs.canary-docker-tag }}
......@@ -232,6 +285,7 @@ jobs:
file: ./ops/docker/Dockerfile.data-transport-layer
push: true
tags: ethereumoptimism/data-transport-layer:${{ needs.builder.outputs.canary-docker-tag }}
build-args: BUILDER_TAG=${{ needs.builder.outputs.canary-docker-tag }}
contracts:
name: Publish Deployer Version ${{ needs.builder.outputs.canary-docker-tag }}
......@@ -258,6 +312,7 @@ jobs:
file: ./ops/docker/Dockerfile.deployer
push: true
tags: ethereumoptimism/deployer:${{ needs.builder.outputs.canary-docker-tag }}
build-args: BUILDER_TAG=${{ needs.builder.outputs.canary-docker-tag }}
integration_tests:
name: Publish Integration tests ${{ needs.builder.outputs.integration-tests }}
......@@ -284,6 +339,7 @@ jobs:
file: ./ops/docker/Dockerfile.integration-tests
push: true
tags: ethereumoptimism/integration-tests:${{ needs.builder.outputs.canary-docker-tag }}
build-args: BUILDER_TAG=${{ needs.builder.outputs.canary-docker-tag }}
replica-healthcheck:
name: Publish Data Transport Layer Version ${{ needs.builder.outputs.canary-docker-tag }}
......@@ -310,6 +366,7 @@ jobs:
file: ./ops/docker/Dockerfile.replica-healthcheck
push: true
tags: ethereumoptimism/replica-healthcheck:${{ needs.builder.outputs.canary-docker-tag }}
build-args: BUILDER_TAG=${{ needs.builder.outputs.canary-docker-tag }}
proxyd:
name: Publish proxyd Version ${{ needs.canary-publish.outputs.canary-docker-tag }}
......
......@@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest
# map the step outputs to job outputs
outputs:
use_builder: ${{ steps.packages.outputs.use_builder }}
builder: ${{ steps.packages.outputs.builder }}
l2geth: ${{ steps.packages.outputs.l2geth }}
batch-submitter: ${{ steps.packages.outputs.batch-submitter }}
......@@ -21,6 +22,7 @@ jobs:
replica-healthcheck: ${{ steps.packages.outputs.replica-healthcheck }}
proxyd: ${{ steps.packages.outputs.proxyd }}
rpc-proxy: ${{ steps.packages.outputs.rpc-proxy }}
hardhat-node: ${{ steps.packages.outputs.hardhat-node }}
steps:
- name: Checkout Repo
......@@ -138,6 +140,32 @@ jobs:
push: true
tags: ethereumoptimism/gas-oracle:${{ needs.release.outputs.gas-oracle }},ethereumoptimism/gas-oracle:latest
hardhat-node:
name: Publish Hardhat Node ${{ needs.release.outputs.hardhat-node }}
needs: release
if: needs.release.hardhat-node != ''
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Publish Hardhat Node
uses: docker/build-push-action@v2
with:
context: ./ops/docker/hardhat
file: ./Dockerfile
push: true
tags: ethereumoptimism/hardhat-node:${{ needs.release.outputs.gas-oracle }},ethereumoptimism/hardhat-node:latest
proxyd:
name: Publish proxyd Version ${{ needs.release.outputs.proxyd }}
needs: release
......@@ -203,12 +231,17 @@ jobs:
# pushes the base builder image to dockerhub
builder:
name: Prepare the base builder image for the services
name: Prepare/Publish the base builder image for the services ${{ needs.release.outputs.builder }}
needs: release
if: needs.release.outputs.builder == 'true'
# Build the builder if a dep of the builder has an update or if the builder
# has had its version bumped. TODO: remove the left hand side once tagged
# releases of the builder are released so that pulled builder images are
# used
if: ${{ needs.release.outputs.use_builder == 'true' || needs.release.outputs.builder != '' }}
runs-on: ubuntu-latest
# we re-output the variables so that the child jobs can access them
outputs:
builder: ${{ needs.release.outputs.builder || 'latest' }}
batch-submitter: ${{ needs.release.outputs.batch-submitter }}
message-relayer: ${{ needs.release.outputs.message-relayer }}
data-transport-layer: ${{ needs.release.outputs.data-transport-layer }}
......@@ -234,7 +267,7 @@ jobs:
context: .
file: ./ops/docker/Dockerfile.monorepo
push: true
tags: ethereumoptimism/builder
tags: ethereumoptimism/builder:${{ needs.release.outputs.builder }},ethereumoptimism/builder:latest
message-relayer:
name: Publish Message Relayer Version ${{ needs.builder.outputs.message-relayer }}
......@@ -261,6 +294,7 @@ jobs:
file: ./ops/docker/Dockerfile.message-relayer
push: true
tags: ethereumoptimism/message-relayer:${{ needs.builder.outputs.message-relayer }},ethereumoptimism/message-relayer:latest
build-args: BUILDER_TAG=${{ needs.builder.outputs.builder }}
batch-submitter:
name: Publish Batch Submitter Version ${{ needs.builder.outputs.batch-submitter }}
......@@ -287,6 +321,7 @@ jobs:
file: ./ops/docker/Dockerfile.batch-submitter
push: true
tags: ethereumoptimism/batch-submitter:${{ needs.builder.outputs.batch-submitter }},ethereumoptimism/batch-submitter:latest
build-args: BUILDER_TAG=${{ needs.builder.outputs.builder }}
data-transport-layer:
name: Publish Data Transport Layer Version ${{ needs.builder.outputs.data-transport-layer }}
......@@ -313,6 +348,7 @@ jobs:
file: ./ops/docker/Dockerfile.data-transport-layer
push: true
tags: ethereumoptimism/data-transport-layer:${{ needs.builder.outputs.data-transport-layer }},ethereumoptimism/data-transport-layer:latest
build-args: BUILDER_TAG=${{ needs.builder.outputs.builder }}
contracts:
name: Publish Deployer Version ${{ needs.builder.outputs.contracts }}
......@@ -339,6 +375,7 @@ jobs:
file: ./ops/docker/Dockerfile.deployer
push: true
tags: ethereumoptimism/deployer:${{ needs.builder.outputs.contracts }},ethereumoptimism/deployer:latest
build-args: BUILDER_TAG=${{ needs.builder.outputs.builder }}
integration_tests:
name: Publish Integration tests ${{ needs.builder.outputs.integration-tests }}
......@@ -365,6 +402,7 @@ jobs:
file: ./ops/docker/Dockerfile.integration-tests
push: true
tags: ethereumoptimism/integration-tests:${{ needs.builder.outputs.integration-tests }},ethereumoptimism/integration-tests:latest
build-args: BUILDER_TAG=${{ needs.builder.outputs.builder }}
replica-healthcheck:
name: Publish Replica Healthcheck Version ${{ needs.builder.outputs.replica-healthcheck }}
......@@ -391,3 +429,4 @@ jobs:
file: ./ops/docker/Dockerfile.replica-healthcheck
push: true
tags: ethereumoptimism/replica-healthcheck:${{ needs.builder.outputs.replica-healthcheck }},ethereumoptimism/replica-healthcheck:latest
build-args: BUILDER_TAG=${{ needs.builder.outputs.builder }}
......@@ -54,7 +54,7 @@ jobs:
working-directory: ./integration-tests
run: |
yarn
yarn build:integration
yarn build
yarn test:sync
- name: Collect docker logs on failure
......
......@@ -24,7 +24,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: '14.x'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
......@@ -43,6 +43,9 @@ jobs:
# if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install
- name: Check yarn.lock for changes
run: git diff --exit-code
- name: Build
run: yarn build
......@@ -73,7 +76,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: '14.x'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
......@@ -97,9 +100,7 @@ jobs:
- name: Test Coverage
run: yarn test:coverage
# Tests are quite brittle when instrumented by Solidity Coverage.
# If tests pass in the Test job above, tests failing during coverage shouldn't break CI.
continue-on-error: true
- uses: codecov/codecov-action@v1
with:
files: ./packages/contracts/coverage.json
......@@ -158,9 +159,5 @@ jobs:
# if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install
- name: Lint JS and TS
- name: Lint
run: yarn lint:check
- name: Lint Solidity
working-directory: ./packages/contracts
run: yarn lint:contracts
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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