Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
aa966e7
ci: cleanup circleci
tynes Jun 2, 2022
07a84ae
contracts-bedrock: move core-utils to deps
tynes Jun 2, 2022
a53c451
Bedrock: update geth, fix bug (#2665)
protolambda Jun 3, 2022
43e022c
ci: Add mergify-ignore label to prevent automerge
mslipper Jun 3, 2022
6710e4d
Merge pull request #2669 from ethereum-optimism/fix/deps
smartcontracts Jun 3, 2022
3fc3af9
Merge branch 'develop' into fix/cleanup-ci
mergify[bot] Jun 3, 2022
af991f7
Merge pull request #2663 from ethereum-optimism/fix/cleanup-ci
tynes Jun 3, 2022
c17e3d6
fix(ci): bedrock requires monorepo (#2672)
smartcontracts Jun 3, 2022
9a99e0a
Bedrock: use Engine API authentication (#2591)
protolambda Jun 3, 2022
2feb7b0
Merge branch 'develop' into feat/mergify-ignore
mslipper Jun 3, 2022
cbc7db6
fix: regenerate yarn.lock
tynes Jun 3, 2022
2435bb6
feat(ctp): use solmate instead of oz (#2674)
smartcontracts Jun 3, 2022
859599e
frozen lockfile (#2675)
roninjin10 Jun 3, 2022
05f73ae
Merge pull request #2671 from mslipper/feat/mergify-ignore
tynes Jun 3, 2022
5ff7ba6
Merge pull request #2677 from ethereum-optimism/fix/yarnlock
tynes Jun 3, 2022
bb1d159
fix: makefile
tynes Jun 3, 2022
f42d571
fix: bedrock itests
tynes Jun 3, 2022
5d0f105
fix: update yarn script
tynes Jun 3, 2022
ac2de68
fix attempt
tynes Jun 3, 2022
08a5b63
Merge pull request #2681 from ethereum-optimism/fix/bedrock-itests-build
tynes Jun 3, 2022
d4ca87e
feat: deploy RetroReceiver (#2680)
smartcontracts Jun 3, 2022
16a9c70
chore(deps): bump github.com/ethereum/go-ethereum from 1.10.16 to 1.1…
dependabot[bot] Jun 3, 2022
711c4a0
feat(contracts): deposit gas metering via 1559 (#2575)
smartcontracts Jun 3, 2022
1d92dfd
Update replicas for new healthcheck verison (#2638)
optimisticben Jun 3, 2022
e031de8
contracts-bedrock: depositTransaction warning (#2678)
maurelian Jun 3, 2022
0a3df26
contracts-bedrock: fix linter (#2682)
tynes Jun 4, 2022
b5ee3c7
teleportr: Increase max disbursements to 15 (#2685)
mslipper Jun 6, 2022
487a973
teleportr: Improve metrics (#2690)
mslipper Jun 6, 2022
0f794f9
devnet: fix devnet (#2684)
mslipper Jun 6, 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/curly-swans-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/teleportr': patch
---

Improve metrics
5 changes: 5 additions & 0 deletions .changeset/red-eyes-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---

---

chore(deps): bump github.com/ethereum/go-ethereum from 1.10.16 to 1.10.17 in /op-exporter
5 changes: 5 additions & 0 deletions .changeset/short-nails-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/teleportr': patch
---

Increase max disbursements to 15
5 changes: 5 additions & 0 deletions .changeset/tricky-hotels-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Move core-utils to deps instead of devdeps
26 changes: 11 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

yarn-monorepo:
docker:
- image: ethereumoptimism/js-builder:nightly
- image: ethereumoptimism/js-builder:latest
steps:
- restore_cache:
keys:
Expand Down Expand Up @@ -98,8 +98,7 @@ jobs:
- integration-tests/node_modules
- run:
name: Build monorepo
command: |
yarn build
command: yarn build
- save_cache:
key: v2-cache-yarn-build-{{ .Revision }}
paths:
Expand Down Expand Up @@ -366,15 +365,14 @@ jobs:
command: |
docker run --init -it -v `pwd`:/input lycheeverse/lychee --verbose --no-progress --exclude-loopback --exclude twitter.com --exclude-mail /input/README.md "/input/specs/**/*.md" "/input/meta/**/*.md" "/input/op-node/**/*.md" || exit 0

bedrock-solidity:
contracts-bedrock-tests:
docker:
- image: ethereumoptimism/js-builder:nightly
- image: ethereumoptimism/js-builder:latest
steps:
- restore_cache:
keys:
- v2-cache-yarn-build-{{ .Revision }}
- checkout
- run:
name: install
command: yarn install
working_directory: packages/contracts-bedrock
- run:
name: lint
command: yarn lint:check
Expand All @@ -383,10 +381,6 @@ jobs:
name: slither
command: yarn slither || exit 0
working_directory: packages/contracts-bedrock
- run:
name: build
command: yarn build
working_directory: packages/contracts-bedrock
- run:
name: test
command: yarn test
Expand Down Expand Up @@ -468,7 +462,7 @@ jobs:

bedrock-integration-tests:
machine:
image: ethereumoptimism/js-builder:nightly
image: ethereumoptimism/js-builder:latest
docker_layer_caching: true
steps:
- checkout
Expand All @@ -490,7 +484,6 @@ workflows:
jobs:
- yarn-monorepo
- bedrock-go-tests
- bedrock-solidity
- bedrock-markdown
- fuzz-op-node
- go-lint-test-build:
Expand Down Expand Up @@ -522,6 +515,9 @@ workflows:
- contracts-periphery-tests:
requires:
- yarn-monorepo
- contracts-bedrock-tests:
requires:
- yarn-monorepo
- js-lint-test:
name: dtl-tests
package_name: data-transport-layer
Expand Down
1 change: 1 addition & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pull_request_rules:
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
- "label!=do-not-merge"
- "label!=mergify-ignore"
- or:
- and:
- "label!=SR-Risk"
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 @@ -56,7 +56,7 @@ jobs:
${{ runner.os }}-yarn-

- name: Install Dependencies
run: yarn
run: yarn --frozen-lockfile

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
${{ runner.os }}-yarn-

- name: Install Dependencies
run: yarn
run: yarn --frozen-lockfile

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sync-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
ports:
- 5000:5000
env:
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Run the sync tests
working-directory: ./integration-tests
run: |
yarn
yarn --frozen-lockfile
yarn build
yarn test:sync

Expand Down
25 changes: 9 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
COMPOSEFLAGS=-d
ITESTS_L2_HOST=http://localhost:9545

build: build-go contracts integration-tests
build: build-go build-ts
.PHONY: build

build-go: submodules op-node op-proposer op-batcher
.PHONY: build-go

build-ts: submodules contracts integration-tests
build-ts: submodules
yarn build
.PHONY: build-ts

submodules:
Expand Down Expand Up @@ -42,14 +43,6 @@ mod-tidy:
cd ./op-e2e && go mod tidy && cd ..
.PHONY: mod-tidy

contracts:
cd ./contracts-bedrock && yarn install && yarn build
.PHONY: contracts

integration-tests:
cd ./packages/integration-tests-bedrock && yarn install && yarn build:contracts
.PHONY: integration-tests

clean:
rm -rf ./bin
.PHONY: clean
Expand All @@ -63,25 +56,25 @@ devnet-down:
.PHONY: devnet-down

devnet-clean:
rm -rf ./contracts-bedrock/deployments/devnetL1
rm -rf ./packages/contracts-bedrock/deployments/devnetL1
rm -rf ./.devnet
cd ./ops-bedrock && docker-compose down
docker volume rm ops-bedrock_l1_data
docker volume rm ops-bedrock_l2_data
docker volume rm ops-bedrock_op_log
docker image ls | grep ops-bedrock_ | cut -d ' ' -f 1 | xargs docker rmi
docker volume ls | grep ops-bedrock_ | cut -d ' ' -f 1 | xargs docker volume rm

.PHONY: devnet-clean

test-unit:
make -C ./op-node test
make -C ./op-proposer test
make -C ./op-batcher test
make -C ./op-e2e test
cd ./contracts-bedrock && yarn test
yarn test
.PHONY: test-unit

test-integration:
bash ./ops-bedrock/test-integration.sh \
./contracts-bedrock/deployments/devnetL1
./packages/contracts-bedrock/deployments/devnetL1
.PHONY: test-integration

devnet-genesis:
Expand Down
4 changes: 2 additions & 2 deletions go.work
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use (
./teleportr
)

replace github.com/ethereum/go-ethereum v1.10.17 => github.com/ethereum-optimism/reference-optimistic-geth v0.0.0-20220518163235-a32d414959ea
replace github.com/ethereum/go-ethereum v1.10.17 => github.com/ethereum-optimism/reference-optimistic-geth v0.0.0-20220602230953-dd2e24b3359f

// For local debugging:
// replace github.com/ethereum/go-ethereum v1.10.17 => ../go-ethereum
//replace github.com/ethereum/go-ethereum v1.10.17 => ../go-ethereum
6 changes: 2 additions & 4 deletions go.work.sum
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE=
github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d h1:t5Wuyh53qYyg9eqn4BbnlIT+vmhyww0TatL+zT3uWgI=
github.com/ethereum-optimism/reference-optimistic-geth v0.0.0-20220512193241-32ef0bba48ce h1:Wa0BVNdeyzIoJkrZtI7o2NEw8F98vVIzkPpiFACbdCA=
github.com/ethereum-optimism/reference-optimistic-geth v0.0.0-20220512193241-32ef0bba48ce/go.mod h1:zwRwhzbX7GhQgG12DdrLr9aRGGLObKwmZxYrCLICIRc=
github.com/ethereum-optimism/reference-optimistic-geth v0.0.0-20220518163235-a32d414959ea h1:xGKKbowc5Q2d4VEYMkJg6E3h5ki2Kgi2r+qxaTHCnxc=
github.com/ethereum-optimism/reference-optimistic-geth v0.0.0-20220518163235-a32d414959ea/go.mod h1:zwRwhzbX7GhQgG12DdrLr9aRGGLObKwmZxYrCLICIRc=
github.com/ethereum-optimism/reference-optimistic-geth v0.0.0-20220602230953-dd2e24b3359f h1:Ad47wE5WEFzyOaaLff7LTRh79mUgWHKuYe4fpGOG23k=
github.com/ethereum-optimism/reference-optimistic-geth v0.0.0-20220602230953-dd2e24b3359f/go.mod h1:RD3NhcSBjZpj3k+SnQq24wBrmnmie78P5R/P62iNBD8=
github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5 h1:2U0HzY8BJ8hVwDKIzp7y4voR9CX/nvcfymLmg2UiOio=
github.com/klauspost/cpuid v1.2.1 h1:vJi+O/nMdFt0vqm8NZBI6wzALWdA2X+egi0ogNyrC/w=
github.com/libp2p/go-yamux v1.4.1 h1:P1Fe9vF4th5JOxxgQvfbOHkrGqIZniTLf+ddhZp8YTI=
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
selector:
app: l2geth-replica
type: ClusterIP
type: NodePort
ports:
- name: rpc
port: 8545
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ spec:
containers:
- name: replica-healthcheck
image: ethereumoptimism/replica-healthcheck-v1
envFrom:
- configMapRef:
name: replica-healthcheck-v1
ports:
- containerPort: 7300
name: metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ resources:
- ../../bases/l2geth-replica
- ../../bases/servicemonitors
- ../../bases/replica-healthcheck
- ../../bases/replica-healthcheck-v1
- ./volumes.yaml

images:
Expand All @@ -26,6 +27,9 @@ images:
- name: ethereumoptimism/replica-healthcheck
newName: ethereumoptimism/replica-healthcheck
newTag: 0.3.6
- name: ethereumoptimism/replica-healthcheck-v1
newName: ethereumoptimism/replica-healthcheck
newTag: 1.0.6

patchesStrategicMerge:
- ./patches/dtl.yaml
Expand All @@ -44,4 +48,9 @@ patches:
group: apps
version: v1
kind: StatefulSet
name: data-transport-layer
name: data-transport-layer

configMapGenerator:
- name: replica-healthcheck-v1
envs:
- ./replica-healthcheck-v1.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
HEALTHCHECK__REFERENCE_RPC_PROVIDER=http://sequencer.default:8545
HEALTHCHECK__TARGET_RPC_PROVIDER=http://l2geth-replica:8545
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,22 @@ resources:
- ../../bases/l2geth-replica
- ../../bases/servicemonitors
- ../../bases/replica-healthcheck
- ../../bases/replica-healthcheck-v1
- ./volumes.yaml

images:
- name: ethereumoptimism/data-transport-layer
newName: ethereumoptimism/data-transport-layer
newTag: 0.5.21
newTag: prerelease-dtl-race
- name: ethereumoptimism/l2geth
newName: ethereumoptimism/l2geth
newTag: 0.5.14
newTag: prerelease-l2g-l1-sync-recovery
- name: ethereumoptimism/replica-healthcheck
newName: ethereumoptimism/replica-healthcheck
newTag: 0.3.6
- name: ethereumoptimism/replica-healthcheck-v1
newName: ethereumoptimism/replica-healthcheck
newTag: 1.0.6

patchesStrategicMerge:
- ./patches/dtl.yaml
Expand All @@ -45,4 +49,9 @@ patches:
group: apps
version: v1
kind: StatefulSet
name: data-transport-layer
name: data-transport-layer

configMapGenerator:
- name: replica-healthcheck-v1
envs:
- ./replica-healthcheck-v1.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
HEALTHCHECK__REFERENCE_RPC_PROVIDER=http://sequencer.default:8545
HEALTHCHECK__TARGET_RPC_PROVIDER=http://l2geth-replica:8545
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resources:
- ../../bases/data-transport-layer
- ../../bases/l2geth-replica
- ../../bases/servicemonitors
- ../../bases/replica-healthcheck
- ../../bases/replica-healthcheck-v1
- ./ingress.yaml
- ./volumes.yaml

Expand All @@ -24,14 +24,13 @@ images:
- name: ethereumoptimism/l2geth
newName: ethereumoptimism/l2geth
newTag: 0.5.14
- name: ethereumoptimism/replica-healthcheck
- name: ethereumoptimism/replica-healthcheck-v1
newName: ethereumoptimism/replica-healthcheck
newTag: 0.3.6
newTag: 1.0.6

patchesStrategicMerge:
- ./patches/dtl.yaml
- ./patches/l2geth.yaml
- ./patches/replica-healthcheck.yaml

patches:
- path: ./patches/l2geth-volume.yaml
Expand All @@ -45,4 +44,9 @@ patches:
group: apps
version: v1
kind: StatefulSet
name: data-transport-layer
name: data-transport-layer

configMapGenerator:
- name: replica-healthcheck-v1
envs:
- ./replica-healthcheck-v1.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
HEALTHCHECK__REFERENCE_RPC_PROVIDER=https://kovan.optimism.io
HEALTHCHECK__TARGET_RPC_PROVIDER=http://l2geth-replica:8545
Loading