Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
3b09fe9
fix(rhc): typo in healthcheck docker-compose
smartcontracts Mar 24, 2022
162ff89
fix(go): bug causing gas oracle to crash locally
smartcontracts Mar 24, 2022
3e995d8
Merge pull request #2360 from ethereum-optimism/sc/fix-typo-rhc-docker
smartcontracts Mar 24, 2022
847a633
ops: bump hardhat version in docker hardhat-node
tynes Mar 4, 2022
d9a5115
packages: bump to hardhat@2.9.2
tynes Mar 4, 2022
7dc5bff
fix(ct): bug in GasPriceOracle test
smartcontracts Mar 10, 2022
44c5ce3
Merge pull request #2260 from ethereum-optimism/deps/bump-hardhat
smartcontracts Mar 25, 2022
b6d8a0c
feat(ct): run tests in parallel
smartcontracts Mar 25, 2022
51673b9
fix(cmn): have BaseService throw on missing options
smartcontracts Mar 25, 2022
4fba3fd
fix(infra): use older version of hc by default
smartcontracts Mar 25, 2022
b283ca5
Merge pull request #2363 from ethereum-optimism/sc/fix-gas-oracle
smartcontracts Mar 25, 2022
920b468
Merge pull request #2367 from ethereum-optimism/sc/ct-test-parallel
smartcontracts Mar 25, 2022
024e444
Merge pull request #2369 from ethereum-optimism/sc/fix-infra-hc
smartcontracts Mar 25, 2022
452f5e0
Merge pull request #2366 from ethereum-optimism/sc/fix-base-service-o…
smartcontracts Mar 25, 2022
6926b29
feat(l2geth): add configurable genesis timeout
smartcontracts Mar 25, 2022
6a839b1
Merge pull request #2370 from ethereum-optimism/sc/config-genesis-tim…
smartcontracts Mar 25, 2022
8d82fa3
feat(itests): run external tests once per day
smartcontracts Mar 25, 2022
c5131b4
fix(itests): collect all logs for ext tests
smartcontracts Mar 25, 2022
4d5a0ef
ci: Remove GH actions CI builds
mslipper Mar 26, 2022
3dee265
Merge pull request #2372 from mslipper/feat/remove-actions-ci
mslipper Mar 27, 2022
c195712
ci: Use Alpine to reduce image size
mslipper Mar 27, 2022
297829b
Merge pull request #2368 from ethereum-optimism/sc/ext-test-cron
tynes Mar 30, 2022
207fe3c
Merge pull request #2375 from mslipper/bugfix/docker-image-size
mslipper Mar 31, 2022
cc03b98
ci: Change cache keys
mslipper Mar 31, 2022
675900c
Merge pull request #2382 from mslipper/bugfix/bump-cache
mslipper Mar 31, 2022
45b1b2d
ci: Add Mergify
mslipper Mar 31, 2022
458995e
Merge pull request #2383 from mslipper/feat/mergify
tynes Mar 31, 2022
23ad606
l2geth: skip `geth` console flake tests (#2384)
tynes Mar 31, 2022
a01a2eb
l2geth: Skip another flaky test
mslipper Mar 31, 2022
70897fa
Merge pull request #2386 from mslipper/bugfix/another-flaky-test
mslipper Mar 31, 2022
51192b2
ci: Merge using merge queue
mslipper Mar 31, 2022
ff8c632
Merge pull request #2385 from mslipper/feat/merge-queue
mslipper Mar 31, 2022
7a17900
feat(cmn): add JsonRpcProvider validator (#2379)
smartcontracts Mar 31, 2022
e36b085
feat(cmn): hard stop on multiple exit signals (#2378)
smartcontracts Mar 31, 2022
5bf390b
ops: fix chainid to work with ethers ledger (#2380)
tynes Mar 31, 2022
b36e625
ci: Use correct condition name (#2387)
mslipper Mar 31, 2022
917058e
feat(ci): check deploy markdown correctness (#2373)
smartcontracts Mar 31, 2022
0589423
data-transport-layer: add new metrics (#2391)
tynes Mar 31, 2022
3e5b209
fix(dtl): kovan DTL halting issue (#2393)
smartcontracts Apr 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/brown-dots-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/data-transport-layer': patch
---

Patch for Kovan DTL halting issue
5 changes: 5 additions & 0 deletions .changeset/cuddly-geese-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/l2geth': patch
---

Skip TestWSAttachWelcome
5 changes: 5 additions & 0 deletions .changeset/fair-cows-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/common-ts': patch
---

Adds hard stop to BaseServiceV2 when multiple exit signals are received
5 changes: 5 additions & 0 deletions .changeset/four-flowers-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/l2geth': patch
---

Skip some geth console tests that flake in CI
5 changes: 5 additions & 0 deletions .changeset/lovely-weeks-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/gas-oracle': patch
---

Fixes a bug that would cause the service to crash on startup if the RPC URLs were not immediately available
5 changes: 5 additions & 0 deletions .changeset/moody-drinks-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/integration-tests': patch
---

Update chainid
5 changes: 5 additions & 0 deletions .changeset/new-jokes-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/data-transport-layer': patch
---

Add new metrics to the data-transport-layer
12 changes: 12 additions & 0 deletions .changeset/popular-plants-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@eth-optimism/integration-tests': patch
'@eth-optimism/common-ts': patch
'@eth-optimism/contracts': patch
'@eth-optimism/core-utils': patch
'@eth-optimism/data-transport-layer': patch
'@eth-optimism/message-relayer': patch
'@eth-optimism/replica-healthcheck': patch
'@eth-optimism/sdk': patch
---

Update Dockerfile to use Alpine
5 changes: 5 additions & 0 deletions .changeset/sharp-terms-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/common-ts': patch
---

Have BaseServiceV2 throw when options are undefined
5 changes: 5 additions & 0 deletions .changeset/tender-scissors-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/common-ts': patch
---

Adds the jsonRpcProvider validator as an input validator
5 changes: 5 additions & 0 deletions .changeset/tiny-melons-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/l2geth': patch
---

Adds a flag for changing the genesis fetch timeout
9 changes: 9 additions & 0 deletions .changeset/twelve-shrimps-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@eth-optimism/contracts': patch
'@eth-optimism/data-transport-layer': patch
'@eth-optimism/integration-tests': patch
'@eth-optimism/message-relayer': patch
'@eth-optimism/sdk': patch
---

Bump to hardhat@2.9.1
5 changes: 5 additions & 0 deletions .changeset/weak-walls-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/hardhat-node': patch
---

Bump to hardhat@2.9.1
32 changes: 18 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,23 +208,23 @@ jobs:
steps:
- restore_cache:
keys:
- v1-source-{{ .Branch }}-{{ .Revision }}
- v1-source-{{ .Branch }}
- v2-cache-source-{{ .Branch }}-{{ .Revision }}
- v2-cache-source-{{ .Branch }}
- checkout
- save_cache:
key: v1-source-{{ .Branch }}-{{ .Revision }}
key: v2-cache-source-{{ .Branch }}-{{ .Revision }}
paths:
- ".git"
- restore_cache:
keys:
- v1-yarn-install-{{ checksum "yarn.lock" }}
- v1-yarn-install
- v2-cache-yarn-install-{{ checksum "yarn.lock" }}
- v2-cache-yarn-install
- run:
name: Install dependencies
command: yarn --frozen-lockfile
- save_cache:
key: v1-yarn-install-{{ checksum "yarn.lock" }}
paths:
key: v2-cache-yarn-install-{{ checksum "yarn.lock" }}
paths:
- node_modules
- packages/common-ts/node_modules
- packages/contracts/node_modules
Expand All @@ -238,7 +238,7 @@ jobs:
name: Build monorepo
command: yarn build
- save_cache:
key: v1-yarn-build-{{ .Revision }}
key: v2-cache-yarn-build-{{ .Revision }}
paths:
- "."

Expand All @@ -248,7 +248,7 @@ jobs:
steps:
- restore_cache:
keys:
- v1-yarn-build-{{ .Revision }}
- v2-cache-yarn-build-{{ .Revision }}
- checkout
- run:
name: Run Slither
Expand All @@ -262,12 +262,16 @@ jobs:
steps:
- restore_cache:
keys:
- v1-yarn-build-{{ .Revision }}
- v2-cache-yarn-build-{{ .Revision }}
- checkout
- run:
name: Lint
command: yarn lint:check
working_directory: packages/contracts
- run:
name: Check deployment docs
command: yarn autogen:markdown && git diff --exit-code
working_directory: packages/contracts
- run:
name: Slither
command: yarn test:slither
Expand All @@ -283,7 +287,7 @@ jobs:
steps:
- restore_cache:
keys:
- v1-yarn-build-{{ .Revision }}
- v2-cache-yarn-build-{{ .Revision }}
- checkout
- run:
name: Test
Expand All @@ -306,7 +310,7 @@ jobs:
steps:
- restore_cache:
keys:
- v1-yarn-build-{{ .Revision }}
- v2-cache-yarn-build-{{ .Revision }}
- checkout
# Note: The below needs to be manually configured whenever we
# add a new package to CI.
Expand Down Expand Up @@ -362,7 +366,7 @@ jobs:
name: Bring up the stack
command: |
docker-compose build --progress=plain
docker-compose up -d --scale replica-healthcheck=1
docker-compose up -d --scale replica_healthcheck=1
working_directory: ops
- run:
name: Wait for sequencer
Expand All @@ -385,7 +389,7 @@ jobs:
steps:
- restore_cache:
keys:
- v1-yarn-build-{{ .Revision }}
- v2-cache-yarn-build-{{ .Revision }}
- checkout
- run:
name: Lint
Expand Down
21 changes: 0 additions & 21 deletions .github/CODEOWNERS

This file was deleted.

8 changes: 7 additions & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- 'patches/**/*'

M-ci:
- any: ['.github/**/*']
- any: ['.github/**/*', '.circleci/**/*']

M-l2geth:
- any: ['l2geth/**/*']
Expand All @@ -35,3 +35,9 @@ M-sdk:

M-ops:
- any: ['ops/**/*']

C-Protocol-Critical:
- any:
- 'packages/data-transport-layer/**/*.ts'
- 'packages/contracts/**/*.sol'
- 'l2geth/**/*.go'
80 changes: 80 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
queue_rules:
- name: default
conditions: []

pull_request_rules:
- name: Automatic merge on approval
conditions:
- or:
- and:
- "label!=SR-Risk"
- "label!=C-Protocol-Critical"
- "#approved-reviews-by>=2"
- and:
- "label=SR-Risk"
- "#approved-reviews-by>=2"
- "approved-reviews-by=maurelian"
- and:
- "label=C-Protocol-Critical"
- "#approved-reviews-by>=2"
- or:
- "approved-reviews-by=tynes"
- "approved-reviews-by=smartcontracts"
actions:
queue:
name: default
method: squash
comment:
message: |
This PR has been added to the merge queue, and will be merged soon.
label:
add:
- on-merge-train
- name: Handle security critical PRs
conditions:
- "label=SR-Risk"
actions:
request_reviews:
users:
- "maurelian"
comment:
message: |
Hey there @{{author}}! You flagged this PR as security critical. To make review easier, please add a comment describing

1. The risks present in this PR.
2. The mitigations you have added to try and reduce those risks.
- name: Request reviewers
conditions:
- -closed
actions:
request_reviews:
users:
- cfromknecht
- tynes
- mslipper
- inphi
- tuxcanfly
- smartcontracts
random_count: 2
- name: Request protocol critical reviewers
conditions:
- label=C-Protocol-Critical
actions:
request_reviews:
users:
- tynes
- smartcontracts
random_count: 1
- name: Ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: Hey @{{author}}! This PR has merge conflicts. Please fix them before continuing review.
- name: Notify author when added to merge queue
conditions:
- "check-pending=Queue: Embarked in merge train"
actions:
comment:
message: |
This PR is next in line to be merged, and will be merged as soon as checks pass.
38 changes: 0 additions & 38 deletions .github/workflows/batch-submitter.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/bss-core.yml

This file was deleted.

Loading