forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into fix/release-readme
- Loading branch information
Showing
577 changed files
with
33,196 additions
and
11,585 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/data-transport-layer': patch | ||
--- | ||
|
||
Enable typed batch support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ version: 2.1 | |
orbs: | ||
gcp-gke: circleci/[email protected] | ||
slack: circleci/[email protected] | ||
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 | ||
|
@@ -141,6 +141,32 @@ jobs: | |
kubectl rollout restart statefulset nightly-dtl --namespace nightly | ||
kubectl rollout restart deployment nightly-gas-oracle --namespace nightly | ||
kubectl rollout restart deployment edge-proxyd --namespace nightly | ||
run-itests-nightly: | ||
docker: | ||
- image: cimg/base:2021.04 | ||
steps: | ||
- setup_remote_docker: | ||
version: 19.03.13 | ||
- run: | ||
name: Run integration tests | ||
command: | | ||
docker run \ | ||
--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=0xfcA6De8Db94C4d99bD5a7f5De1bb7A039265Ac42 \ | ||
--env L2_CHAINID=69 \ | ||
--env MOCHA_BAIL=true \ | ||
--env MOCHA_TIMEOUT=300000 \ | ||
--env L1_GAS_PRICE=onchain \ | ||
--env L2_GAS_PRICE=onchain \ | ||
--env RUN_DEBUG_TRACE_TESTS=false \ | ||
--env RUN_REPLICA_TESTS=false \ | ||
--env RUN_STRESS_TESTS=false \ | ||
--env OVMCONTEXT_SPEC_NUM_TXS=1 \ | ||
--env DTL_ENQUEUE_CONFIRMATIONS=12 \ | ||
"$STACKMAN_REPO/integration-tests:nightly" \ | ||
yarn test:integration:live | ||
notify: | ||
docker: | ||
- image: cimg/base:2021.04 | ||
|
@@ -152,6 +178,78 @@ jobs: | |
workflows: | ||
nightly-itests: | ||
triggers: | ||
- schedule: | ||
cron: "0 1 * * * " | ||
filters: | ||
branches: | ||
only: | ||
- develop | ||
jobs: | ||
- 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: | ||
|
@@ -165,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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: bss-core unit tests | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'go/bss-core/**' | ||
branches: | ||
- 'master' | ||
- 'develop' | ||
- '*rc' | ||
- 'regenesis/*' | ||
pull_request: | ||
branches: | ||
- '*' | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
working-directory: './go/bss-core' | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16.x | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Test | ||
run: go test -v ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.