Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
a47e9e8
readme: update docs around doing releases
tynes Jan 5, 2022
0d100da
added internal/external import seperation on integration tests
tonykogias Feb 15, 2022
386df4d
Remove unnecessary contract references in integration-tets
tonykogias Feb 28, 2022
0671bb7
feat: fix teleportr ci, and lint target
cfromknecht Mar 2, 2022
c1619de
Merge pull request #2244 from cfromknecht/fix-teleportr-ci
mslipper Mar 2, 2022
6af67df
feat: move L2 dial logic out of bss-core
cfromknecht Feb 25, 2022
59ff146
feat: use uint64 for deposit ids and block numbers
cfromknecht Feb 24, 2022
8954254
feat: replace LastestDeposit with LastProcessedBlock
cfromknecht Feb 25, 2022
8a24ce3
feat: add vim swap files to gitignore
cfromknecht Feb 18, 2022
014976d
feat: add teleportr flags and config
cfromknecht Feb 18, 2022
d8780d8
feat: add teleportr binary and Makefile skeleton
cfromknecht Feb 18, 2022
4077920
feat: add teleportr deposit + disburser bindings
cfromknecht Feb 18, 2022
44d2dc9
feat: add FindFilterStartBlockNumber helper
cfromknecht Feb 23, 2022
2ece217
feat: add PendingTx tracking to teleportr db
cfromknecht Mar 2, 2022
11fe70a
feat: add success field to teleportr disbursement table
cfromknecht Mar 2, 2022
c7c0e54
ci: Update nightly address manager addr, notify on itest failures
mslipper Mar 2, 2022
a800608
feat: add teleportr driver
cfromknecht Feb 18, 2022
2910a3c
fix: teleportr CI env vars (round 2)
cfromknecht Mar 2, 2022
27d8942
core-utils: update batch serialization
tynes Feb 25, 2022
55d3493
batch-submitter: add typed batch support
tynes Feb 25, 2022
3873b69
dtl: enable typed batch support
tynes Feb 25, 2022
fe68056
go-batch-submitter: enable typed batch support
tynes Feb 25, 2022
d6e309b
itests: add coverage for compressed batches
tynes Feb 25, 2022
7e8839d
deps: update
tynes Feb 25, 2022
a998a68
ops: fix config
tynes Feb 25, 2022
bd78a9b
ci: run for each batch type
tynes Feb 25, 2022
b1697ad
ci: simplify integration test matrix
tynes Mar 2, 2022
7dc259c
Merge pull request #2233 from cfromknecht/teleportr-service
mslipper Mar 2, 2022
807ad03
Merge pull request #2247 from mslipper/bugfix/nightly-itests
mslipper Mar 2, 2022
15374d5
feat: always run go unit tests on every PR
cfromknecht Mar 2, 2022
d0853b1
Merge pull request #2202 from tonykogias/internal-external-imports-se…
mslipper Mar 2, 2022
a4198a4
Merge branch 'develop' into remove-contract-references-in-integration…
mslipper Mar 2, 2022
da09a10
Merge pull request #2234 from ethereum-optimism/feat/zlib-compression
mslipper Mar 3, 2022
8f5b1d8
Merge pull request #2248 from cfromknecht/gh-actions-always-run-unit-…
mslipper Mar 3, 2022
5e0a328
Merge pull request #2199 from tonykogias/remove-contract-references-i…
mslipper Mar 3, 2022
624f4b3
Merge branch 'develop' into fix/release-readme
mslipper Mar 3, 2022
daee731
Merge pull request #1985 from ethereum-optimism/fix/release-readme
mslipper Mar 3, 2022
e301661
integration-tests: Fix merge issue
mslipper Mar 3, 2022
aa726e8
Merge pull request #2250 from mslipper/bugfix/itests
mslipper Mar 3, 2022
f2179e3
contracts: fetch-batches hardhat task
tynes Nov 23, 2021
5a6f539
core-utils: add `toJSON` methods on batch primitives
tynes Mar 3, 2022
dad644b
fix(rhc): fix dockerfile bug
smartcontracts Mar 2, 2022
4106fd5
contracts: fix bug in fetch batches script
tynes Mar 3, 2022
e679cdf
fix(bridge): Corrected a comment
qbzzt Mar 3, 2022
60658a2
test(contracts): increase code coverage
tonykogias Mar 3, 2022
5b96658
Merge pull request #2209 from tonykogias/increase-codecov-contracts-p…
mslipper Mar 3, 2022
65f4514
Merge pull request #1807 from ethereum-optimism/feat/deserialize-batches
mslipper Mar 3, 2022
5bcbc87
Merge pull request #2245 from ethereum-optimism/sc/fix-healthcheck
mslipper Mar 3, 2022
66df4cd
Merge pull request #2253 from ethereum-optimism/op/bridge-comment
mslipper Mar 3, 2022
f388748
feat: remove TS BSS from itests + Docker
cfromknecht Mar 3, 2022
6b0d57a
feat: remove packages/batch-submitter
cfromknecht Mar 3, 2022
b66e313
feat(sdk): add fn to wait for message status
smartcontracts Mar 3, 2022
b7c0a5c
fix(ct): remove yargs as unused dep
smartcontracts Mar 4, 2022
1efebf1
Merge pull request #2254 from cfromknecht/remove-ts-batch-submitter
mslipper Mar 4, 2022
14b7c16
Merge pull request #2252 from ethereum-optimism/sc/wait-for-status
mslipper Mar 4, 2022
fde01d4
Merge pull request #2255 from ethereum-optimism/sc/ct-rm-yargs
mslipper Mar 4, 2022
962f36e
l2geth: Add support for system addresses
mslipper Feb 25, 2022
82465db
Merge pull request #2256 from mslipper/feat/system-address
mslipper Mar 7, 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
7 changes: 7 additions & 0 deletions .changeset/chatty-oranges-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@eth-optimism/integration-tests': patch
'@eth-optimism/l2geth': patch
'@eth-optimism/contracts': patch
---

Add support for system addresses
5 changes: 5 additions & 0 deletions .changeset/early-pans-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/replica-healthcheck': patch
---

Fix bug in replica healthcheck dockerfile
5 changes: 5 additions & 0 deletions .changeset/few-pears-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts': patch
---

Add a fetch batches hardhat task
5 changes: 5 additions & 0 deletions .changeset/few-steaks-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/integration-tests': patch
---

Add test coverage for zlib compressed batches
5 changes: 5 additions & 0 deletions .changeset/flat-penguins-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/data-transport-layer': patch
---

Enable typed batch support
5 changes: 5 additions & 0 deletions .changeset/heavy-bugs-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/batch-submitter': patch
---

Update to allow for zlib compressed batches
5 changes: 5 additions & 0 deletions .changeset/khaki-chefs-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts': patch
---

Remove yargs as a contracts dependency (unused)
5 changes: 5 additions & 0 deletions .changeset/moody-lobsters-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/sdk': patch
---

Add a function for waiting for a particular message status
5 changes: 5 additions & 0 deletions .changeset/poor-walls-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/batch-submitter-service': patch
---

Move L2 dial logic out of bss-core to avoid l2geth dependency
5 changes: 5 additions & 0 deletions .changeset/rare-onions-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/integration-tests': patch
---

Replaces contract references in integration tests with SDK CrossChainMessenger objects.
5 changes: 5 additions & 0 deletions .changeset/soft-dogs-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/core-utils': patch
---

Add toJSON methods to the batch primitives
5 changes: 5 additions & 0 deletions .changeset/ten-rats-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/batch-submitter-service': patch
---

Enable the usage of typed batches and type 0 zlib compressed batches
5 changes: 5 additions & 0 deletions .changeset/thin-trees-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/core-utils': patch
---

Update batch serialization with typed batches and zlib compression
82 changes: 71 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1
orbs:
gcp-gke: circleci/gcp-gke@1.3.0
slack: circleci/slack@4.5.1
slack-fail-post-step: &slack-fail-post-step
slack-nightly-build-fail-post-step: &slack-nightly-build-fail-post-step
post-steps:
- slack/notify:
channel: $SLACK_DEFAULT_CHANNEL
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
--env PRIVATE_KEY=$NIGHTLY_ITESTS_PRIVKEY \
--env L1_URL=https://nightly-l1.optimism-stacks.net \
--env L2_URL=https://nightly-l2.optimism-stacks.net \
--env ADDRESS_MANAGER=0x22D4E211ef8704f2ca2d6dfdB32125E2530ACE3e \
--env ADDRESS_MANAGER=0xfcA6De8Db94C4d99bD5a7f5De1bb7A039265Ac42 \
--env L2_CHAINID=69 \
--env MOCHA_BAIL=true \
--env MOCHA_TIMEOUT=300000 \
Expand Down Expand Up @@ -190,6 +190,66 @@ workflows:
- run-itests-nightly:
context:
- optimism
post-steps:
- slack/notify:
channel: $SLACK_DEFAULT_CHANNEL
event: fail
custom: |
{
"text": "",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "🔴 Nightly integration tests failed!"
}
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"text": "View Job"
},
"url": "${CIRCLE_BUILD_URL}"
}
]
}
]
}
- slack/notify:
channel: $SLACK_DEFAULT_CHANNEL
event: pass
custom: |
{
"text": "",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "✅ Nightly integration tests passed."
}
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"text": "View Job"
},
"url": "${CIRCLE_BUILD_URL}"
}
]
}
]
}

nightly:
triggers:
- schedule:
Expand All @@ -203,47 +263,47 @@ workflows:
context:
- optimism
- slack
<<: *slack-fail-post-step
<<: *slack-nightly-build-fail-post-step
- build-batch-submitter:
context:
- optimism
- slack
<<: *slack-fail-post-step
<<: *slack-nightly-build-fail-post-step
- build-deployer:
context:
- optimism
- slack
<<: *slack-fail-post-step
<<: *slack-nightly-build-fail-post-step
- build-l2geth:
context:
- optimism
- slack
<<: *slack-fail-post-step
<<: *slack-nightly-build-fail-post-step
- build-gas-oracle:
context:
- optimism
- slack
<<: *slack-fail-post-step
<<: *slack-nightly-build-fail-post-step
- build-integration-tests:
context:
- optimism
- slack
<<: *slack-fail-post-step
<<: *slack-nightly-build-fail-post-step
- build-go-batch-submitter:
context:
- optimism
- slack
<<: *slack-fail-post-step
<<: *slack-nightly-build-fail-post-step
- build-proxyd:
context:
- optimism
- slack
<<: *slack-fail-post-step
<<: *slack-nightly-build-fail-post-step
- deploy-nightly:
context:
- optimism
- slack
<<: *slack-fail-post-step
<<: *slack-nightly-build-fail-post-step
requires:
- build-dtl
- build-batch-submitter
Expand Down
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ l2geth/signer/fourbyte
l2geth/cmd/puppeth
l2geth/cmd/clef
go/gas-oracle/gas-oracle
go/batch-submitter/batch-submitter
4 changes: 2 additions & 2 deletions .github/workflows/batch-submitter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- '*rc'
- 'regenesis/*'
pull_request:
paths:
- 'go/batch-submitter/**'
branches:
- '*'
workflow_dispatch:

defaults:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bss-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- '*rc'
- 'regenesis/*'
pull_request:
paths:
- 'go/bss-core/**'
branches:
- '*'
workflow_dispatch:

defaults:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gas-oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- '*rc'
- 'regenesis/*'
pull_request:
paths:
- 'go/gas-oracle/**'
branches:
- '*'
workflow_dispatch:

defaults:
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ on:
paths:
- 'go/gas-oracle/**'
- 'go/batch-submitter/**'
- 'go/bss-core/**'
- 'go/teleportr/**'
branches:
- 'master'
- 'develop'
- '*rc'
- 'regenesis/*'
pull_request:
paths:
- 'go/gas-oracle/**'
- 'go/batch-submitter/**'
branches:
- '*'
jobs:
golangci:
name: lint
Expand All @@ -34,3 +35,8 @@ jobs:
with:
version: v1.29
working-directory: go/bss-core
- name: golangci-lint teleportr
uses: golangci/golangci-lint-action@v2
with:
version: v1.29
working-directory: go/teleportr
14 changes: 10 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ jobs:
- 5000:5000
strategy:
matrix:
batch-submitter: [ts-batch-submitter, go-batch-submitter]
batch-type:
- zlib
- legacy
env:
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1
steps:
# Monorepo tests
- uses: actions/checkout@v2
Expand All @@ -40,11 +42,15 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-

- name: Set conditional env vars
run: |
echo "BATCH_SUBMITTER_SEQUENCER_BATCH_TYPE=${{ matrix.batch-type }}" >> $GITHUB_ENV

- name: Bring the stack up
working-directory: ./ops
run: |
./scripts/stats.sh &
docker-compose -f docker-compose.yml -f docker-compose.${{ matrix.batch-submitter }}.yml up -d
docker-compose -f docker-compose.yml up -d

- name: Wait for the Sequencer node
working-directory: ./ops
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proxyd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
- 'master'
- 'develop'
pull_request:
paths:
- 'go/proxyd/**'
branches:
- '*'
workflow_dispatch:

defaults:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ jobs:
build-args: BUILDER_TAG=${{ needs.builder.outputs.canary-docker-tag }}

replica-healthcheck:
name: Publish Data Transport Layer Version ${{ needs.builder.outputs.canary-docker-tag }}
name: Publish Replica Healthcheck Version ${{ needs.builder.outputs.canary-docker-tag }}
needs: builder
if: needs.builder.outputs.replica-healthcheck != ''
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/teleportr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- '*rc'
- 'regenesis/*'
pull_request:
paths:
- 'go/teleportr/**'
branches:
- '*'
workflow_dispatch:

defaults:
Expand All @@ -25,8 +25,8 @@ jobs:
postgres:
image: postgres
env:
POSTGRES_USER=postgres
POSTGRES_PASSWORD=password
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
ports:
- 5432:5432
steps:
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/ts-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,6 @@ jobs:
fail_ci_if_error: false
verbose: true
flags: core-utils
- uses: codecov/codecov-action@v1
with:
files: ./packages/batch-submitter/coverage.json
fail_ci_if_error: false
verbose: true
flags: batch-submitter
- uses: codecov/codecov-action@v1
with:
files: ./packages/data-transport-layer/coverage.json
Expand Down Expand Up @@ -170,10 +164,6 @@ jobs:
# if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install

- name: Check packages/batch-submitter
working-directory: ./packages/batch-submitter
run: npx depcheck

- name: Check packages/contracts
working-directory: ./packages/contracts
run: npx depcheck
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ packages/contracts/hardhat*
packages/data-transport-layer/db

# vim
*.swp
*.sw*

.env
.env*
Expand Down
Loading