Skip to content

Commit eb89fac

Browse files
authored
Merge pull request ethereum-optimism#4894 from ethereum-optimism/develop
Develop -> Master
2 parents 3c3e1a8 + a65ceee commit eb89fac

File tree

291 files changed

+11578
-10075
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

291 files changed

+11578
-10075
lines changed

.changeset/kind-dodos-rest.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@eth-optimism/common-ts': patch
3+
---
4+
5+
Fixes a minor bug where the provider name was incorrectly logged when using waitForProvider

.changeset/late-radios-suffer.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@eth-optimism/proxyd': patch
3+
---
4+
5+
proxyd: Add req_id to log

.changeset/mean-dingos-shake.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@eth-optimism/contracts-bedrock': patch
3+
---
4+
5+
Loosens the requirements for re-proving a withdrawal transaction in the `OptimismPortal`

.changeset/nervous-years-explain.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@eth-optimism/fault-detector': minor
3+
---
4+
5+
Updates the fault detector to support Bedrock networks.

.changeset/orange-panthers-impress.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@eth-optimism/proxyd': minor
3+
---
4+
5+
Add support for global method override rate limit

.changeset/quick-crabs-argue.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@eth-optimism/sdk': patch
3+
---
4+
5+
Remove assert node builtin from sdk

.changeset/tame-lions-build.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@eth-optimism/proxyd': minor
3+
---
4+
5+
Include nonce in sender rate limit

.changeset/tasty-adults-design.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@eth-optimism/common-ts': minor
3+
---
4+
5+
Add option to configure body parser

.changeset/thin-toes-remember.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@eth-optimism/l2geth': patch
3+
---
4+
5+
Has l2geth return a NonceToHigh response if the txn nonce is greater than the expected nonce.

.changeset/wet-files-knock.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@eth-optimism/chain-mon': patch
3+
---
4+
5+
Added withdrawal monitoring to identify proven withdrawals not included in the L2ToL1MessagePasser's sentMessages mapping

.circleci/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ jobs:
238238
- run:
239239
name: test and generate coverage
240240
command: yarn coverage:lcov
241-
no_output_timeout: 15m
241+
no_output_timeout: 18m
242242
environment:
243243
FOUNDRY_PROFILE: ci
244244
working_directory: packages/contracts-bedrock
@@ -846,9 +846,9 @@ workflows:
846846
requires:
847847
- yarn-monorepo
848848
- js-lint-test:
849-
name: drippie-mon-tests
850-
coverage_flag: drippie-mon-tests
851-
package_name: drippie-mon
849+
name: chain-mon-tests
850+
coverage_flag: chain-mon-tests
851+
package_name: chain-mon
852852
dependencies: "(common-ts|contracts-periphery|core-utils|sdk)"
853853
requires:
854854
- yarn-monorepo

.dockerignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.github
2+
.vscode
23

34
node_modules
5+
**/node_modules
46
.env
57
**/.env
68

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/packages/contracts-periphery @ethereum-optimism/contract-reviewers
1313
/packages/core-utils @ethereum-optimism/legacy-reviewers
1414
/packages/data-transport-layer @ethereum-optimism/legacy-reviewers
15-
/packages/drippie-mon @smartcontracts
15+
/packages/chain-mon @smartcontracts
1616
/packages/fault-detector @ethereum-optimism/legacy-reviewers
1717
/packages/hardhat-deploy-config @ethereum-optimism/legacy-reviewers
1818
/packages/message-relayer @ethereum-optimism/legacy-reviewers

.vscode/settings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"changeProcessCWD": true
2626
},
2727
{
28-
"directory": "packages/drippie-mon",
28+
"directory": "packages/chain-mon",
2929
"changeProcessCWD": true
3030
},
3131
{
@@ -45,4 +45,4 @@
4545
"eslint.format.enable": true,
4646
"editorconfig.generateAuto": false,
4747
"files.trimTrailingWhitespace": true
48-
}
48+
}

CITATION.cff

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cff-version: 1.2.0
2+
message: If you use this software in your work, please cite it using the following metadata
3+
title: The Optimism Monorepo
4+
authors:
5+
- name: The Optimism Collective
6+
version: 1.0.0
7+
year: 2020
8+
url: https://github.com/ethereum-optimism/optimism
9+
repository: https://github.com/ethereum-optimism/optimism
10+
license: MIT

CONTRIBUTING.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
🎈 Thanks for your help improving the project! We are so happy to have you!
44

5+
**No contribution is too small and all contributions are valued.**
6+
57
There are plenty of ways to contribute, in particular we appreciate support in the following areas:
68

79
- Reporting issues. For security issues see [Security policy](https://github.com/ethereum-optimism/.github/blob/master/SECURITY.md).

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Refer to the Directory Structure section below to understand which packages are
5757
│ ├── <a href="./packages/contracts-periphery">contracts-periphery</a>: Peripheral contracts for Optimism
5858
│ ├── <a href="./packages/core-utils">core-utils</a>: Low-level utilities that make building Optimism easier
5959
│ ├── <a href="./packages/data-transport-layer">data-transport-layer</a>: Service for indexing Optimism-related L1 data
60-
│ ├── <a href="./packages/drippie-mon">drippie-mon</a>: Service for monitoring Drippie instances
60+
│ ├── <a href="./packages/chain-mon">chain-mon</a>: Chain monitoring services
6161
│ ├── <a href="./packages/fault-detector">fault-detector</a>: Service for detecting Sequencer faults
6262
│ ├── <a href="./packages/message-relayer">message-relayer</a>: Tool for automatically relaying L1<>L2 messages in development
6363
│ ├── <a href="./packages/replica-healthcheck">replica-healthcheck</a>: Service for monitoring the health of a replica node

bedrock-devnet/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
This is a utility for running a local Bedrock devnet. It is designed to replace the legacy Bash-based devnet runner as part of a progressive migration away from Bash automation.
44

5-
The easiest way to invoke this script is to run `make devnet-up-deploy` from the root of this repository. Otherwise, to use this script run `python3 main.py --monorepo-path=<path to the monorepo>`. You may need to set `PYTHONPATH` to this directory if you are invoking the script from somewhere other than `bedrock-devnet`.
5+
The easiest way to invoke this script is to run `make devnet-up-deploy` from the root of this repository. Otherwise, to use this script run `python3 main.py --monorepo-dir=<path to the monorepo>`. You may need to set `PYTHONPATH` to this directory if you are invoking the script from somewhere other than `bedrock-devnet`.

codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ flag_management:
3737
- name: actor-tests-tests
3838
- name: contracts-periphery-tests
3939
- name: dtl-tests
40-
- name: drippie-mon-tests
40+
- name: chain-mon-tests
4141
- name: fault-detector-tests
4242
- name: message-relayer-tests
4343
- name: replica-healthcheck-tests

op-node/go.mod renamed to go.mod

+29-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
module github.com/ethereum-optimism/optimism/op-node
1+
module github.com/ethereum-optimism/optimism
22

33
go 1.18
44

55
require (
66
github.com/btcsuite/btcd v0.23.3
77
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1
88
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0
9-
github.com/ethereum-optimism/optimism/op-bindings v0.10.10
10-
github.com/ethereum-optimism/optimism/op-chain-ops v0.10.10
11-
github.com/ethereum-optimism/optimism/op-service v0.10.10
9+
github.com/docker/docker v20.10.21+incompatible
10+
github.com/docker/go-connections v0.4.0
11+
github.com/ethereum-optimism/go-ethereum-hdwallet v0.1.3
1212
github.com/ethereum/go-ethereum v1.10.26
13+
github.com/fsnotify/fsnotify v1.6.0
1314
github.com/golang/snappy v0.0.4
1415
github.com/google/go-cmp v0.5.8
1516
github.com/google/gofuzz v1.2.1-0.20220503160820-4a35382e8fc8
@@ -21,16 +22,20 @@ require (
2122
github.com/libp2p/go-libp2p v0.23.3
2223
github.com/libp2p/go-libp2p-pubsub v0.8.1
2324
github.com/libp2p/go-libp2p-testing v0.12.0
25+
github.com/mattn/go-isatty v0.0.16
2426
github.com/multiformats/go-multiaddr v0.7.0
2527
github.com/multiformats/go-multiaddr-dns v0.3.1
2628
github.com/olekukonko/tablewriter v0.0.5
2729
github.com/prometheus/client_golang v1.13.0
2830
github.com/stretchr/testify v1.8.1
2931
github.com/urfave/cli v1.22.9
32+
github.com/urfave/cli/v2 v2.17.2-0.20221006022127-8f469abc00aa
33+
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa
3034
golang.org/x/term v0.0.0-20220722155259-a9ba230a4035
3135
)
3236

3337
require (
38+
github.com/Microsoft/go-winio v0.6.0 // indirect
3439
github.com/VictoriaMetrics/fastcache v1.10.0 // indirect
3540
github.com/allegro/bigcache v1.2.1 // indirect
3641
github.com/benbjohnson/clock v1.3.0 // indirect
@@ -46,14 +51,16 @@ require (
4651
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect
4752
github.com/deckarep/golang-set v1.8.0 // indirect
4853
github.com/decred/dcrd/crypto/blake256 v1.0.0 // indirect
54+
github.com/deepmap/oapi-codegen v1.8.2 // indirect
55+
github.com/docker/distribution v2.8.1+incompatible // indirect
4956
github.com/docker/go-units v0.5.0 // indirect
5057
github.com/edsrzf/mmap-go v1.1.0 // indirect
5158
github.com/elastic/gosigar v0.14.2 // indirect
5259
github.com/fjl/memsize v0.0.1 // indirect
5360
github.com/flynn/noise v1.0.0 // indirect
5461
github.com/francoispqt/gojay v1.2.13 // indirect
55-
github.com/fsnotify/fsnotify v1.5.4 // indirect
5662
github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08 // indirect
63+
github.com/go-kit/kit v0.10.0 // indirect
5764
github.com/go-ole/go-ole v1.2.6 // indirect
5865
github.com/go-stack/stack v1.8.1 // indirect
5966
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
@@ -65,11 +72,15 @@ require (
6572
github.com/google/gopacket v1.1.19 // indirect
6673
github.com/google/uuid v1.3.0 // indirect
6774
github.com/gorilla/websocket v1.5.0 // indirect
75+
github.com/graph-gophers/graphql-go v1.3.0 // indirect
6876
github.com/hashicorp/errwrap v1.1.0 // indirect
6977
github.com/hashicorp/go-bexpr v0.1.11 // indirect
7078
github.com/holiman/big v0.0.0-20221017200358-a027dc42d04e // indirect
7179
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
7280
github.com/huin/goupnp v1.0.3 // indirect
81+
github.com/influxdata/influxdb v1.8.3 // indirect
82+
github.com/influxdata/influxdb-client-go/v2 v2.4.0 // indirect
83+
github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097 // indirect
7384
github.com/ipfs/go-cid v0.3.2 // indirect
7485
github.com/ipfs/go-log v1.0.5 // indirect
7586
github.com/ipfs/go-log/v2 v2.5.1 // indirect
@@ -96,7 +107,6 @@ require (
96107
github.com/marten-seemann/qtls-go1-19 v0.1.0 // indirect
97108
github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd // indirect
98109
github.com/mattn/go-colorable v0.1.12 // indirect
99-
github.com/mattn/go-isatty v0.0.16 // indirect
100110
github.com/mattn/go-pointer v0.0.1 // indirect
101111
github.com/mattn/go-runewidth v0.0.13 // indirect
102112
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
@@ -106,6 +116,8 @@ require (
106116
github.com/minio/sha256-simd v1.0.0 // indirect
107117
github.com/mitchellh/mapstructure v1.5.0 // indirect
108118
github.com/mitchellh/pointerstructure v1.2.1 // indirect
119+
github.com/moby/term v0.0.0-20221105221325-4eb28fa6025c // indirect
120+
github.com/morikuni/aec v1.0.0 // indirect
109121
github.com/mr-tron/base58 v1.2.0 // indirect
110122
github.com/multiformats/go-base32 v0.1.0 // indirect
111123
github.com/multiformats/go-base36 v0.1.0 // indirect
@@ -117,8 +129,11 @@ require (
117129
github.com/multiformats/go-varint v0.0.6 // indirect
118130
github.com/nxadm/tail v1.4.8 // indirect
119131
github.com/onsi/ginkgo v1.16.5 // indirect
132+
github.com/opencontainers/go-digest v1.0.0 // indirect
133+
github.com/opencontainers/image-spec v1.0.2 // indirect
120134
github.com/opencontainers/runtime-spec v1.0.2 // indirect
121135
github.com/opentracing/opentracing-go v1.2.0 // indirect
136+
github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7 // indirect
122137
github.com/pkg/errors v0.9.1 // indirect
123138
github.com/pmezard/go-difflib v1.0.0 // indirect
124139
github.com/prometheus/client_model v0.2.0 // indirect
@@ -131,33 +146,36 @@ require (
131146
github.com/rs/cors v1.8.2 // indirect
132147
github.com/russross/blackfriday/v2 v2.1.0 // indirect
133148
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
149+
github.com/sirupsen/logrus v1.8.1 // indirect
134150
github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 // indirect
135151
github.com/spaolacci/murmur3 v1.1.0 // indirect
152+
github.com/status-im/keycard-go v0.0.0-20211109104530-b0e0482ba91d // indirect
136153
github.com/stretchr/objx v0.5.0 // indirect
137154
github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a // indirect
138155
github.com/tklauser/go-sysconf v0.3.10 // indirect
139156
github.com/tklauser/numcpus v0.5.0 // indirect
140157
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
141-
github.com/urfave/cli/v2 v2.17.2-0.20221006022127-8f469abc00aa // indirect
142158
github.com/whyrusleeping/timecache v0.0.0-20160911033111-cfcb2f1abfee // indirect
143159
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
144160
github.com/yusufpapurcu/wmi v1.2.2 // indirect
145161
go.uber.org/atomic v1.10.0 // indirect
146162
go.uber.org/multierr v1.8.0 // indirect
147163
go.uber.org/zap v1.23.0 // indirect
148-
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
149164
golang.org/x/exp v0.0.0-20220916125017-b168a2c6b86b // indirect
150165
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
151166
golang.org/x/net v0.0.0-20220920183852-bf014ff85ad5 // indirect
152-
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
167+
golang.org/x/sync v0.1.0 // indirect
153168
golang.org/x/sys v0.0.0-20221013171732-95e765b1cc43 // indirect
154-
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect
169+
golang.org/x/text v0.3.7 // indirect
170+
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
155171
golang.org/x/tools v0.1.12 // indirect
156172
google.golang.org/protobuf v1.28.1 // indirect
157173
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
158174
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
175+
gopkg.in/yaml.v2 v2.4.0 // indirect
159176
gopkg.in/yaml.v3 v3.0.1 // indirect
177+
gotest.tools/v3 v3.4.0 // indirect
160178
lukechampine.com/blake3 v1.1.7 // indirect
161179
)
162180

163-
replace github.com/ethereum/go-ethereum v1.10.26 => github.com/ethereum-optimism/op-geth v0.0.0-20221216190603-60b51d600468
181+
replace github.com/ethereum/go-ethereum v1.10.26 => github.com/ethereum-optimism/op-geth v0.0.0-20230214215134-401b7fd3309b

0 commit comments

Comments
 (0)