Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
fa9823f
Naming improvements in Oracle (#2990)
maurelian Jul 14, 2022
177a9ea
style(ctb): clean lint in MerkleTrie (#3028)
smartcontracts Jul 14, 2022
301b518
test(ctb): add test for stuck ETH on failed msg (#3029)
smartcontracts Jul 14, 2022
f8c0148
op-node: conf depth filter should not filter out genesis (#3042)
protolambda Jul 14, 2022
30d7d19
test(ctb): reentrancy on relay (#3039)
smartcontracts Jul 14, 2022
7a3a481
op-e2e: stabilize CI testing (#3046)
protolambda Jul 14, 2022
5d4674e
op-e2e: Wait longer for Optimism Portal Deploy (#3049)
trianglesphere Jul 14, 2022
86a08b7
fix(ctb): Edit inaccurate comment about refunds (#3045)
maurelian Jul 14, 2022
7a1c7a9
test(ctb): bridge return to sender on fail (#3041)
smartcontracts Jul 14, 2022
1a22e82
style(ctb): fix revert messages globally (#3005)
smartcontracts Jul 14, 2022
7baf49f
ctb: Pass args in xdm and bridge as calldata (#3038)
maurelian Jul 15, 2022
4477fe9
feat(bedrock): Versioned TransactionDeposited event (#2965)
maurelian Jul 15, 2022
e764cbb
style(ctb): short library names (#3047)
smartcontracts Jul 15, 2022
5de373e
feat(ctb): include Semver version function (#2997)
smartcontracts Jul 15, 2022
6e54be1
op-node: fix p2p static peers flag env var (#3054)
protolambda Jul 15, 2022
b3264cf
op-e2e: deploy output oracle with correct config, de-duplicate block …
protolambda Jul 15, 2022
8d26459
fix: remove deposit tx subtype (#3036)
tynes Jul 16, 2022
8bd7abd
style(ctb): move legacy contracts to legacy folder (#3043)
smartcontracts Jul 16, 2022
7e6eb9b
getL2Output reverts if not found (#2979)
maurelian Jul 17, 2022
aa707a4
Op-Node: Fix divergence due to bad reset logic (#3044)
trianglesphere Jul 17, 2022
b708721
spec: derivation spec rework (#2855)
norswap Jul 17, 2022
0bf3b9b
contracts-bedrock: differential fuzzing (#2980)
tynes Jul 19, 2022
f243dac
contracts-bedrock: bump to use solidity 0.8.15
tynes Jul 16, 2022
09cad5b
contracts-bedrock: pin to solidity 0.8.15
tynes Jul 18, 2022
bcfd1ed
contracts-periphery: add solc 0.8.15
tynes Jul 19, 2022
a0d3b59
contracts-bedrock: update versions
tynes Jul 19, 2022
1489da4
contracts-periphery: remove old compiler version
tynes Jul 19, 2022
12d1f8a
op-bindings: regenerate
tynes Jul 19, 2022
bad725d
Merge pull request #3059 from ethereum-optimism/ctb/solidity-version
tynes Jul 19, 2022
3a0271f
feat(ctb): introduce Types.sol
smartcontracts Jul 15, 2022
868653a
contracts-bedrock: lint
tynes Jul 19, 2022
ec71d4a
contracts-bedrock: storagelayout
tynes Jul 19, 2022
5c8133f
contracts-bedrock: update readme
tynes Jul 19, 2022
987658b
Merge pull request #3053 from ethereum-optimism/sc/ctb-types-struct
tynes Jul 19, 2022
5e11313
fix(ctb): bug in L2 genesis script (#3068)
smartcontracts Jul 19, 2022
483e27c
fix (op-proposer): use safe head in block range (#3057)
tuxcanfly Jul 20, 2022
da7ee22
contracts-bedrock: fix solhint ordering warnings
lucadonnoh Jul 16, 2022
ccc780b
contracts-bedrock: print receipt after deposit
tynes Jul 21, 2022
db0a7c9
contracts-bedrock: fix imports
tynes Jul 21, 2022
707810c
Fix Optimism Config in L2 Genesis builder (#3075)
trianglesphere Jul 21, 2022
45fc1b7
Merge branch 'develop' into develop
maurelian Jul 21, 2022
1a47152
Merge pull request #3058 from lucadonnoh/develop
maurelian Jul 21, 2022
93d3bd4
chore(ctp): Bump solidity version to 0.8.15 (#3079)
maurelian Jul 21, 2022
1de4f48
Goerli state commitment chain redeploy (#3071)
optimisticben Jul 22, 2022
82d47b7
op-node: Add more logging (#3083)
trianglesphere Jul 23, 2022
7d68f82
feat(ctb): introduce extra data event to XDM (#3066)
smartcontracts Jul 24, 2022
9063033
feat(ctb): export ABI when building (#3067)
smartcontracts Jul 24, 2022
680714c
fix(sdk): throw a better error for bad chain ID (#3065)
smartcontracts Jul 24, 2022
2983075
feat(sdk): Update the Goerli SCC contract address to the new value (#…
qbzzt Jul 25, 2022
086b64b
Merge pull request #3077 from ethereum-optimism/ctb-ts-imports
tynes Jul 25, 2022
8c3e961
Merge pull request #3076 from ethereum-optimism/fix/deposit-script
tynes Jul 25, 2022
9c2419c
chore(deps): bump @openzeppelin/contracts-upgradeable (#3081)
dependabot[bot] Jul 25, 2022
9bb6a15
ops: new ci-builder
tynes Jul 25, 2022
9e83f9a
Merge pull request #3092 from ethereum-optimism/deps/ci-builder-release
tynes Jul 25, 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/big-tables-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/core-utils': patch
---

Add encoding and hashing functions for bedrock
5 changes: 5 additions & 0 deletions .changeset/brown-islands-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Standardizes revert strings globally
5 changes: 5 additions & 0 deletions .changeset/clever-news-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Fixes a bug in the L2 Bedrock genesis script
5 changes: 5 additions & 0 deletions .changeset/dirty-bananas-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Cleans linting errors in MerkleTrie.sol
5 changes: 5 additions & 0 deletions .changeset/dull-coats-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Adds a new event SentMessageExtension1 to the CrossDomainMessenger contract. Includes additional data that's being attached to messages sent after the Bedrock upgrade.
5 changes: 5 additions & 0 deletions .changeset/empty-wolves-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Properly generates and exports ABI and artifact files that can be imported by client libraries
5 changes: 5 additions & 0 deletions .changeset/fresh-peaches-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-periphery': patch
---

Update compiler version to 0.8.15
5 changes: 5 additions & 0 deletions .changeset/hot-panthers-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Moves various legacy contracts into the legacy folder
5 changes: 5 additions & 0 deletions .changeset/hot-queens-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

The output oracle's getL2Output function now reverts when no output is returned
5 changes: 5 additions & 0 deletions .changeset/lovely-mails-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/sdk': patch
---

Updates the CCM to throw a better error for missing or invalid chain IDs
5 changes: 5 additions & 0 deletions .changeset/nasty-apricots-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Bump to use solidity 0.8.15
6 changes: 6 additions & 0 deletions .changeset/pink-dancers-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@eth-optimism/contracts-bedrock': patch
'@eth-optimism/core-utils': patch
---

Remove subversion byte from deposit tx
5 changes: 5 additions & 0 deletions .changeset/pretty-olives-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/ci-builder': patch
---

Trigger release to update foundry version
5 changes: 5 additions & 0 deletions .changeset/red-cows-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/core-utils': patch
---

Update deposit transaction serialization
5 changes: 5 additions & 0 deletions .changeset/rude-rice-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts': patch
---

Deploy goerli SCC to fix sccFaultProofWindowSeconds
5 changes: 5 additions & 0 deletions .changeset/smart-kings-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Naming improvements for functions and variables in the L2OutputOracle
5 changes: 5 additions & 0 deletions .changeset/spotty-lobsters-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/sdk': patch
---

Update the Goerli SCC's address
5 changes: 5 additions & 0 deletions .changeset/stale-eyes-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-periphery': patch
---

Add compiler 0.8.15
6 changes: 6 additions & 0 deletions .changeset/strange-pillows-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@eth-optimism/contracts-bedrock': patch
'@eth-optimism/contracts-periphery': patch
---

Update forge-std
5 changes: 5 additions & 0 deletions .changeset/tender-bags-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Shortens library names
5 changes: 5 additions & 0 deletions .changeset/tricky-pugs-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Introduces Types.sol
5 changes: 5 additions & 0 deletions .changeset/young-walls-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/contracts-bedrock': patch
---

Semver contract updated to include a getter for the full version string
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
contracts-bedrock-tests:
docker:
- image: ethereumoptimism/ci-builder:latest
resource_class: medium
resource_class: large
steps:
- restore_cache:
keys:
Expand Down Expand Up @@ -135,11 +135,15 @@ jobs:
name: test
command: yarn test
working_directory: packages/contracts-bedrock
environment:
FOUNDRY_PROFILE: ci
- run:
name: gas snapshot
command: |
forge --version
forge snapshot --check || exit 0
environment:
FOUNDRY_PROFILE: ci
working_directory: packages/contracts-bedrock
- run:
name: storage snapshot
Expand Down
4 changes: 2 additions & 2 deletions go.work
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use (
./state-surgery
)

replace github.com/ethereum/go-ethereum v1.10.17 => github.com/ethereum-optimism/reference-optimistic-geth v0.0.0-20220711171946-f579014dc46d
replace github.com/ethereum/go-ethereum v1.10.20 => github.com/ethereum-optimism/reference-optimistic-geth v0.0.0-20220715235548-70b02481016d

// For local debugging:
//replace github.com/ethereum/go-ethereum v1.10.17 => ../go-ethereum
//replace github.com/ethereum/go-ethereum v1.10.20 => ../go-ethereum
12 changes: 6 additions & 6 deletions go.work.sum
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,23 @@ cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJW
cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M=
cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s=
cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU=
github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE=
github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d h1:t5Wuyh53qYyg9eqn4BbnlIT+vmhyww0TatL+zT3uWgI=
github.com/docker/docker v1.6.2/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/dop251/goja v0.0.0-20220405120441-9037c2b61cbf/go.mod h1:R9ET47fwRVRPZnOGvHxxhuZcbrMCuiqOz3Rlrh4KSnk=
github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0=
github.com/fjl/gencodec v0.0.0-20220412091415-8bb9e558978c/go.mod h1:AzA8Lj6YtixmJWL+wkKoBGsLWy9gFrAzi4g+5bCKwpY=
github.com/garslo/gogen v0.0.0-20170306192744-1d203ffc1f61/go.mod h1:Q0X6pkwTILDlzrGEckF6HKjXe48EgsY/l7K7vhY4MW8=
github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8=
github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE=
github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk=
github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
Expand All @@ -36,14 +40,12 @@ github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0
github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM=
github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM=
github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c=
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
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=
github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c=
github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY=
github.com/supranational/blst v0.3.8-0.20220526154634-513d2456b344/go.mod h1:jZJtfjgudtNl4en1tzwPIV3KjUnQUvG3/j+w+fVonLw=
go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E=
golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
Expand Down Expand Up @@ -73,11 +75,9 @@ golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8=
google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo=
Expand Down
11 changes: 8 additions & 3 deletions op-batcher/batch_submitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,20 @@ mainLoop:
syncStatus, err := l.cfg.RollupNode.SyncStatus(ctx)
cancel()
if err != nil {
l.log.Error("issue fetching L2 head", "err", err)
l.log.Warn("issue fetching L2 head", "err", err)
continue
}
l.log.Info("Got new L2 sync status", "safe_head", syncStatus.SafeL2, "unsafe_head", syncStatus.UnsafeL2, "last_submitted", l.lastSubmittedBlock)
if syncStatus.SafeL2.Number >= syncStatus.UnsafeL2.Number {
l.log.Trace("No unsubmitted blocks from sequencer")
continue
}
// the lastSubmittedBlock may be zeroed, or just lag behind. If it's lagging behind, catch it up.
// If we just started, start at safe-head
if l.lastSubmittedBlock == (eth.BlockID{}) {
l.log.Info("Starting batch-submitter work at safe-head", "safe", syncStatus.SafeL2)
l.lastSubmittedBlock = syncStatus.SafeL2.ID()
}
// If it's lagging behind, catch it up.
if l.lastSubmittedBlock.Number < syncStatus.SafeL2.Number {
l.log.Warn("last submitted block lagged behind L2 safe head: batch submission will continue from the safe head now", "last", l.lastSubmittedBlock, "safe", syncStatus.SafeL2)
l.lastSubmittedBlock = syncStatus.SafeL2.ID()
Expand Down Expand Up @@ -324,7 +329,7 @@ mainLoop:
receipt, err := l.txMgr.Send(ctx, updateGasPrice, l.cfg.L1Client.SendTransaction)
cancel()
if err != nil {
l.log.Error("unable to publish tx", "err", err)
l.log.Warn("unable to publish tx", "err", err)
continue mainLoop
}

Expand Down
6 changes: 3 additions & 3 deletions op-batcher/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.18
require (
github.com/ethereum-optimism/optimism/op-node v0.3.0
github.com/ethereum-optimism/optimism/op-proposer v0.3.0
github.com/ethereum/go-ethereum v1.10.17
github.com/ethereum/go-ethereum v1.10.20
github.com/miguelmota/go-ethereum-hdwallet v0.1.1
github.com/urfave/cli v1.22.5
)
Expand Down Expand Up @@ -43,7 +43,7 @@ require (
github.com/rivo/uniseg v0.2.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a // indirect
github.com/tklauser/go-sysconf v0.3.10 // indirect
github.com/tklauser/numcpus v0.4.0 // indirect
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
Expand All @@ -54,4 +54,4 @@ require (
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
)

replace github.com/ethereum/go-ethereum v1.10.17 => github.com/ethereum-optimism/reference-optimistic-geth v0.0.0-20220711171946-f579014dc46d
replace github.com/ethereum/go-ethereum v1.10.20 => github.com/ethereum-optimism/reference-optimistic-geth v0.0.0-20220715235548-70b02481016d
Loading