Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spec out Ecotone L1 block attributes, l1 cost func, and gas price oracle changes #6

Closed
wants to merge 1,377 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1377 commits
Select commit Hold shift + click to select a range
c3977c0
fix typo in engine_queue_test.go
JohnwickBC Dec 9, 2023
060a34e
fix typo in metrics.go
JohnwickBC Dec 9, 2023
4e2dd77
fix typo in reorg_test.go
JohnwickBC Dec 9, 2023
ef4b116
`forge fmt` tests
clabby Dec 8, 2023
bdb55d0
Upgrade foundry
clabby Dec 8, 2023
72b48c4
semver-lock
clabby Dec 9, 2023
8262289
Update README.md
xyztoni Dec 9, 2023
a9a1edc
Update README.md
xyztoni Dec 9, 2023
814d517
typo fix
BorkBorked Dec 10, 2023
c346e8c
fix typo
BorkBorked Dec 10, 2023
4a2731f
Merge pull request #8514 from ethereum-optimism/refcell/coordinator-w…
ajsutton Dec 10, 2023
3df468e
op-challenger: Remove localContext from PreimageOracleData as it's ne…
ajsutton Dec 10, 2023
4ef0930
op-challenger: Close the rollup client.
ajsutton Dec 10, 2023
beb2d4e
Merge pull request #8530 from ethereum-optimism/refcell/local-context…
ajsutton Dec 10, 2023
1d57357
Merge pull request #8531 from ethereum-optimism/refcell/rollup-client…
ajsutton Dec 10, 2023
9f73402
Merge pull request #8540 from JohnwickBC/develop
roninjin10 Dec 10, 2023
b7bd4f6
Merge pull request #8521 from ethereum-optimism/ctb/zora-sepolia-conf…
mslipper Dec 10, 2023
3ad2a9d
op-e2e: Ignore i/o timeouts in receipts fetching
mslipper Dec 10, 2023
d6dec8c
make shadow compressor the default compressor type
roberto-bayardo Dec 11, 2023
20d23b8
op-challenger: Add skipped test to confirm VM status issues.
ajsutton Dec 11, 2023
fd0fb65
Merge pull request #8544 from ethereum-optimism/bugfix/i-o-errors
mslipper Dec 11, 2023
06f92f1
ci: write e2e test logs to file
mslipper Dec 11, 2023
b99dc27
Merge pull request #8548 from ethereum-optimism/bugfix/op-e2e-output
mslipper Dec 11, 2023
b869ab1
fix: reseting -> resetting
Chomtana Dec 11, 2023
8007eeb
fix: openend -> opened
Chomtana Dec 11, 2023
0e85efa
Merge branch 'develop' of https://github.com/Chomtana/optimism into t…
Chomtana Dec 11, 2023
c4b8351
Merge pull request #8538 from ethereum-optimism/cl/ctb/upgrade-foundry
maurelian Dec 11, 2023
aa40d18
Merge pull request #8542 from BorkBorked/develop
maurelian Dec 11, 2023
afb54ee
fix: retruns -> returns
Chomtana Dec 11, 2023
4968f87
fix: transcation -> transaction
Chomtana Dec 11, 2023
7342bd6
fix: construtors -> constructors
Chomtana Dec 11, 2023
c0146ac
fix: unmarshaling -> unmarshalling
Chomtana Dec 11, 2023
c2cb785
fix: dyanmic -> dynamic
Chomtana Dec 11, 2023
34ac45b
fix: ERRROR -> ERROR
Chomtana Dec 11, 2023
b25a513
fix: unmarshaling -> unmarshalling on other files
Chomtana Dec 11, 2023
22f6efe
Merge pull request #8537 from ethereum-optimism/cl/ctb/test-lint
maurelian Dec 11, 2023
aa44367
Revert #8538
clabby Dec 11, 2023
d118d11
Merge pull request #8553 from Chomtana/typo-op-service
trianglesphere Dec 11, 2023
d492640
Update specs/rollup-node-p2p.md
trianglesphere Dec 11, 2023
b02c496
Merge pull request #8552 from Chomtana/typo-op-batcher
trianglesphere Dec 11, 2023
240fb2e
Update op-node/cmd/batch_decoder/README.md
trianglesphere Dec 11, 2023
d9e4363
Merge pull request #8539 from 0xn4de/develop
trianglesphere Dec 11, 2023
0d0c339
Merge pull request #8556 from ethereum-optimism/cl/revert-forge-upgrade
mslipper Dec 11, 2023
e2f819c
Merge pull request #8515 from ethereum-optimism/ctb/fix-sepolia-config
mslipper Dec 11, 2023
7b7b485
Merge pull request #8478 from ethereum-optimism/ctb/deploy-nonces
maurelian Dec 11, 2023
5c44c9e
Merge pull request #8541 from xyztoni/develop
trianglesphere Dec 11, 2023
8478fa6
Revert "Add `PrefetchingEthClient`, which builds a cache of ethclient…
sebastianst Dec 11, 2023
e0ec50e
Fix line length lint
trianglesphere Dec 11, 2023
566bff8
Merge pull request #8545 from roberto-bayardo/patch-2
trianglesphere Dec 11, 2023
81ac209
Merge pull request #8567 from ethereum-optimism/jg/fix_lint
trianglesphere Dec 11, 2023
10425c1
Merge pull request #8557 from ethereum-optimism/revert-8191-prefetchi…
sebastianst Dec 11, 2023
9593b92
op-node: Activate Canyon on Mainent & Delta on testnets
trianglesphere Dec 11, 2023
aaf5b0f
datas -> data
JohnwickBC Dec 12, 2023
aa7fcd5
Datas -> Data
JohnwickBC Dec 12, 2023
15ff079
transacion -> transaction
JohnwickBC Dec 12, 2023
db33924
timestap -> timestamp
JohnwickBC Dec 12, 2023
8f8ae92
specifiction -> specification
JohnwickBC Dec 12, 2023
7e875cf
missing timestamp fixed
JohnwickBC Dec 12, 2023
99f20ed
Merge pull request #8569 from ethereum-optimism/jg/canyon_mainnet_del…
ajsutton Dec 12, 2023
e9fcd34
revert intentionally plural in datas
JohnwickBC Dec 12, 2023
e75e86a
op-challenger: Fix off by one error when calculating the bottom game …
ajsutton Dec 12, 2023
a298160
Merge pull request #8570 from JohnwickBC/develop
trianglesphere Dec 12, 2023
6ae65dd
fix swapped fee/tip parameters to estimateGas
roberto-bayardo Dec 12, 2023
a935f3b
op-chain-ops: Refactor delta checker to Channel Aggregator
pcw109550 Dec 12, 2023
bce67b2
challenger: Fix thread safety in op-challenger tests.
ajsutton Dec 12, 2023
5769a8d
op-node: Fix race condition closing gossip handler.
ajsutton Dec 12, 2023
bad246d
chore(contracts-bedrock): ignore t.sol
eli-lim Dec 12, 2023
e1e639e
txmgr: Fix gas estimation call
sebastianst Dec 12, 2023
d346f07
Merge pull request #8578 from ethereum-optimism/seb/fix-txmgr-gas-est
sebastianst Dec 12, 2023
a1bcf34
Merge pull request #8576 from ethereum-optimism/aj/no-log-cancel
sebastianst Dec 12, 2023
e9eb45c
Merge pull request #8572 from roberto-bayardo/fix-fee-swap
sebastianst Dec 12, 2023
f2a2ae8
proxyd: adds test case, docs for allowing pre-eip155 txns
zhwrd Dec 12, 2023
3eada66
Merge pull request #8579 from ethereum-optimism/zhwrd/document-proxyd…
zhwrd Dec 12, 2023
dc01c03
Merge pull request #8558 from ethereum-optimism/aj/off-by-one
clabby Dec 12, 2023
0792380
bugfix
hamdiallam Dec 12, 2023
09f8092
fix(ctb): slither triaging and documentation
refcell Dec 1, 2023
c0012cc
add back contracts-bedrock-slither ci target
refcell Dec 8, 2023
2c6f2a2
feat(op-challenger): Rollup Client Hoist
refcell Dec 8, 2023
6a4fb1b
op-challenger: Close the rollup client.
ajsutton Dec 10, 2023
c6a9e02
Upgrade foundry
clabby Dec 8, 2023
52b3566
Fix wording and typos in rollup-node-p2p.md
0xn4de Dec 9, 2023
51cea2a
Update specs/rollup-node-p2p.md
trianglesphere Dec 11, 2023
376ef4f
Revert #8538
clabby Dec 11, 2023
b4ccb3d
Update README.md
xyztoni Dec 9, 2023
18c131d
Update op-node/cmd/batch_decoder/README.md
trianglesphere Dec 11, 2023
da18cb4
datas -> data
JohnwickBC Dec 12, 2023
013295b
Datas -> Data
JohnwickBC Dec 12, 2023
076abc5
revert intentionally plural in datas
JohnwickBC Dec 12, 2023
0a9d6b1
init
clabby Dec 7, 2023
b1a1a15
some actor tests
clabby Dec 8, 2023
9ee84e2
locks
clabby Dec 8, 2023
ed8c252
:broom:
clabby Dec 8, 2023
cf9c41d
Half way cases
clabby Dec 9, 2023
ef3b63b
Absolute prestate step fixes + tests
clabby Dec 9, 2023
46efb26
bindings + semver + snaps
clabby Dec 9, 2023
c3c7762
Add helper for actor tests
clabby Dec 9, 2023
0fbe7a1
bindings
clabby Dec 9, 2023
9588769
update slither report
clabby Dec 9, 2023
c856071
Add check for defense of execution trace subgame root
clabby Dec 10, 2023
7d090bf
fix: Search for expected status byte
clabby Dec 12, 2023
8e65880
@inphi review
clabby Dec 12, 2023
5550bf9
chore(ufm): add to docker bake
felipe-op Dec 12, 2023
49229f5
op-e2e: Include build output in failure message.
ajsutton Dec 12, 2023
7ade865
Merge pull request #8584 from ethereum-optimism/felipe/add-ufm-to-doc…
felipe-op Dec 12, 2023
8cef01b
Merge pull request #8546 from ethereum-optimism/aj/expected-status-test
ajsutton Dec 12, 2023
915e76f
op-service, op-proposer, op-batcher: Add L2EndpointProvider and its f…
Dec 12, 2023
734b37e
Merge pull request #8574 from ethereum-optimism/aj/capture-build-failure
trianglesphere Dec 12, 2023
cdae96a
chore(ufm): fix docker bake context
felipe-op Dec 12, 2023
fa7efb8
chore: fix docker bake context for op-ufm and proxyd
felipe-op Dec 12, 2023
2036074
Merge pull request #8590 from ethereum-optimism/felipe/fix-docker-bak…
felipe-op Dec 12, 2023
1a34669
Merge pull request #8580 from ethereum-optimism/evan/l2_endpoint_prov…
EvanJRichard Dec 12, 2023
1f3c527
improve compression size estimation in shadow compression
roberto-bayardo Dec 11, 2023
1b0f606
chore: fix shellcheck errors, warnings, and info level messages
mds1 Dec 12, 2023
36422c0
chore: fix shellcheck styles, add shellcheckrc
mds1 Dec 12, 2023
0f67fdf
op-node: Disable CL P2P Sync when EL Sync is enabled
trianglesphere Dec 12, 2023
0f7ec7e
Update docs links
cpengilly Dec 12, 2023
374d62b
Update README.md
cpengilly Dec 12, 2023
e56ca45
apply suggestions from coderabbit
mds1 Dec 12, 2023
47ead82
fix: revert pwd change
mds1 Dec 12, 2023
670d2ef
Update packages/contracts-bedrock/scripts/check-deploy-configs.sh
mds1 Dec 12, 2023
7dba147
Merge pull request #8595 from ethereum-optimism/cpengilly-patch-1
trianglesphere Dec 12, 2023
859e643
chore(ufm): update deps
felipe-op Dec 13, 2023
89cb3e3
address rabbits concerns
felipe-op Dec 13, 2023
3d77628
Merge pull request #8549 from roberto-bayardo/improve-shadow-compression
trianglesphere Dec 13, 2023
2a68955
Merge pull request #8575 from ethereum-optimism/aj/race-fixes
trianglesphere Dec 13, 2023
5b9bff7
Merge pull request #8417 from testinprod-io/tip/delta-checker
trianglesphere Dec 13, 2023
b0a9141
address mr rabbits concerns part ii
felipe-op Dec 13, 2023
621e4e7
extract gas tip cap const
felipe-op Dec 13, 2023
591d885
fix: revert to platform agnostic IFS approach, delete unnecessary com…
mds1 Dec 13, 2023
5fb16e2
Merge pull request #8536 from ethereum-optimism/cl/ctb/ob-actor-tests
ajsutton Dec 13, 2023
6031fc4
style: replace printf with two echos
mds1 Dec 13, 2023
ba7d209
feat: change to bash to allow echo -n
mds1 Dec 13, 2023
f8de1ed
op-e2e: Enable output_cannon tests
ajsutton Dec 13, 2023
150f704
op-e2e: Add output_cannon e2e test for disputing a valid output root.
ajsutton Dec 13, 2023
1e894c3
build(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0
dependabot[bot] Dec 13, 2023
f245242
doc: remove stale section of readme
snario Dec 13, 2023
27c0b7d
op-proposer: fix several log statements to match key/value pattern
Dec 13, 2023
a3e012d
Merge pull request #8597 from ethereum-optimism/felipe/ufm-deps
felipe-op Dec 13, 2023
5eab2ae
Merge pull request #8604 from ethereum-optimism/evan/proposer_logging
trianglesphere Dec 13, 2023
fe8e121
Merge pull request #8603 from snario/patch-1
mslipper Dec 13, 2023
d820a8a
Aggregate typo fixes
trianglesphere Dec 13, 2023
4f9eeb4
Clarify typo fix policy
trianglesphere Dec 13, 2023
4cc5188
Merge pull request #8592 from ethereum-optimism/jg/disable_p2p_alt_sy…
trianglesphere Dec 13, 2023
3465ca7
Merge pull request #8606 from ethereum-optimism/jg/aggregate_typo_fixes
trianglesphere Dec 13, 2023
b89f32e
ob-game: Prevent a proposal <= `GENESIS_BLOCK_NUMBER`
clabby Dec 13, 2023
54f3864
Merge pull request #8608 from ethereum-optimism/cl/ctb/prevent-genesi…
clabby Dec 13, 2023
8b87c90
Merge pull request #8583 from ethereum-optimism/indexer.bridge.metric…
hamdiallam Dec 13, 2023
01d5849
fix: install bash on docker image
mds1 Dec 13, 2023
b4c028c
op-node/flags: Add easy way to deprecate flags
trianglesphere Dec 13, 2023
5480713
Update op-service/util.go
trianglesphere Dec 12, 2023
639995a
Merge pull request #8599 from ethereum-optimism/aj/enable-output-cann…
ajsutton Dec 13, 2023
a6462d4
fix: echo command was not reverted from printf properly
mds1 Dec 13, 2023
9f16e05
Merge pull request #8279 from ethereum-optimism/wyatt/bindgen/local-c…
mslipper Dec 13, 2023
be83a27
Merge pull request #8581 from ethereum-optimism/jg/deprecated_flags_s…
trianglesphere Dec 13, 2023
6e371b4
Merge pull request #8594 from ethereum-optimism/chore/manual-shellche…
mds1 Dec 14, 2023
8f7057f
build: bump forge to the 2023-12-14 nightly
mds1 Dec 14, 2023
b4629be
Init etherscan client
spacesailor24 Nov 17, 2023
710f475
Updates to latest version of wagmi
nitaliano Dec 14, 2023
2d8927a
Update op-bindings/etherscan/client.go
mslipper Dec 14, 2023
7a7a01e
goimports
mslipper Dec 14, 2023
8636395
Merge pull request #8617 from ethereum-optimism/nick/update-wagmi-core
jakim929 Dec 14, 2023
a1a30a0
Merge pull request #8280 from ethereum-optimism/wyatt/bindgen/init-et…
mslipper Dec 14, 2023
2b4292d
Merge pull request #8612 from ethereum-optimism/build/bump-forge
tynes Dec 14, 2023
a6e0d5b
build(deps): bump viem from 1.19.11 to 1.19.15
dependabot[bot] Dec 14, 2023
e6e7fd2
Merge pull request #8600 from ethereum-optimism/dependabot/go_modules…
tynes Dec 14, 2023
f5d1ba0
contracts-bedrock: Rename Authorization.t.sol to Specs.t.sol
maurelian Dec 13, 2023
99786db
op-service: move mock structs closer to best-practice use of mock
Dec 14, 2023
67d3a32
Merge pull request #8605 from ethereum-optimism/rename-auth-test-file
maurelian Dec 14, 2023
631b6f4
Merge pull request #8619 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 14, 2023
3e45c36
Bump `ci-builder`
clabby Dec 14, 2023
dfef0ba
chore: bindings + locks
clabby Dec 14, 2023
bc30c76
Merge pull request #8577 from eli-lim/develop
tynes Dec 14, 2023
71af83c
ci-builder: add docker-ce-cli
tynes Dec 14, 2023
c953c0e
Merge pull request #8624 from ethereum-optimism/cl/bump-ci-builder
clabby Dec 14, 2023
87541eb
Merge pull request #8625 from ethereum-optimism/feat/ci-builder-docke…
mslipper Dec 14, 2023
64edcaf
Merge pull request #8623 from ethereum-optimism/evan/mock_facelift
EvanJRichard Dec 14, 2023
35cb5a8
:lock: feat: Improve security of CI by not running scripts
Dec 14, 2023
de129cd
:technologist: feat: Add never-connect-to-cloud to nx.json
Dec 14, 2023
4a440db
:bug: fix working dir of indexer ci install
Dec 14, 2023
9b02bb5
op-e2e: Use wait for balance helper in TestMintOnRevertedDeposit
mslipper Dec 14, 2023
a83b724
ci: ci-builder v0.34.0
tynes Dec 14, 2023
ad19f80
Merge pull request #8627 from ethereum-optimism/never-connect-to-cloud
tynes Dec 14, 2023
1544353
Merge pull request #8626 from ethereum-optimism/ignore-scripts
tynes Dec 14, 2023
5bb4414
build(deps-dev): bump nx from 17.1.3 to 17.2.4
dependabot[bot] Dec 14, 2023
4939420
Merge pull request #8628 from ethereum-optimism/ci/ci-builder-with-do…
tynes Dec 14, 2023
38b5636
Merge pull request #8621 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 14, 2023
fb861b8
Lint file
trianglesphere Dec 14, 2023
f5f57c1
Add Metadata Store to Extended Peerstore
Dec 14, 2023
9d0433c
Merge pull request #8622 from ethereum-optimism/bugfix/mint-on-revert…
mslipper Dec 14, 2023
b4c39a9
Merge pull request #8618 from ethereum-optimism/fix/peerMetadata
protolambda Dec 14, 2023
64384d5
:lock: fix: Remove unused dep with critical dependabot vuln (#8638)
roninjin10 Dec 15, 2023
2a43874
build(deps): bump zerocopy in /op-service/rethdb-reader (#8636)
dependabot[bot] Dec 15, 2023
75a2cd9
Update dependencies (#8640)
spacesailor24 Dec 15, 2023
54d5ab5
op-node: Remove alt RPC sync (#8593)
trianglesphere Dec 15, 2023
816e425
Init remote contract generation (#8281)
spacesailor24 Dec 15, 2023
731cfea
ctb: Remove unused events from the OptimismPortal (#8637)
maurelian Dec 15, 2023
a810f9a
Repalce static-server with serve (#8641)
spacesailor24 Dec 15, 2023
f8493ac
contracts-bedrock: Add logs in ChainAssertions to help debugging (#8522)
maurelian Dec 15, 2023
a4501d3
contracts-bedrock: Do not reset resource params when reinitializing (…
maurelian Dec 15, 2023
58f593c
build(deps): bump github.com/jackc/pgx/v5 from 5.5.0 to 5.5.1 (#8550)
dependabot[bot] Dec 15, 2023
6d78aa0
fix: resolving dependabot vulnerabilities. (#8643)
raffaele-oplabs Dec 15, 2023
4abef20
Add deployed bytecode retrieval mitigation (#8282)
spacesailor24 Dec 16, 2023
8b39517
Bindings and metadata overwrite warning (#8283)
spacesailor24 Dec 16, 2023
82d9f11
op-batcher: adjust error handling on pending-channels after close (#7…
protolambda Dec 18, 2023
df0b674
feat(proxyd): impl proxyd_healthz method (#8658)
felipe-op Dec 18, 2023
1e877d1
Update glossary.md (#8649)
pegahcarter Dec 18, 2023
8a23b65
op-node,batcher,proposer,challenger: Add env var flag tests (#8596)
trianglesphere Dec 18, 2023
0839333
chore: adhere to style guide in `OutputBisectionGame` for immutables …
clabby Dec 18, 2023
675f63d
build(deps): bump github.com/btcsuite/btcd/chaincfg/chainhash (#8654)
dependabot[bot] Dec 18, 2023
3d92d77
build(deps-dev): bump vite from 5.0.6 to 5.0.10 (#8645)
dependabot[bot] Dec 18, 2023
da2e8c5
build(deps-dev): bump ts-node from 10.9.1 to 10.9.2 (#8533)
dependabot[bot] Dec 18, 2023
876df90
build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /proxy…
dependabot[bot] Dec 18, 2023
ddeab49
Init new bindings (#8284)
spacesailor24 Dec 19, 2023
00ea0d4
build(deps): bump golang.org/x/crypto in /cannon/example/claim (#8675)
dependabot[bot] Dec 19, 2023
f6f0fbb
contracts-bedrock: SystemConfig sepolia artifact (#8671)
tynes Dec 19, 2023
d62ce56
contracts-bedrock: L1CrossDomainMessenger sepolia (#8669)
tynes Dec 19, 2023
711f33b
contracts-bedrock: OptimismPortal sepolia artifact (#8668)
tynes Dec 19, 2023
2a8ed03
build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#8676)
dependabot[bot] Dec 19, 2023
2b5264b
contracts-bedrock: L1StandardBridge sepolia artifact (#8667)
tynes Dec 19, 2023
0490773
contracts-bedrock: L1ERC721Bridge sepolia (#8670)
tynes Dec 19, 2023
ba2ce64
build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /op-uf…
dependabot[bot] Dec 19, 2023
b2f6166
build(deps-dev): bump @typescript-eslint/eslint-plugin (#8663)
dependabot[bot] Dec 19, 2023
7e57109
docs(specs): clarify future extension of span-batch format (#8680)
protolambda Dec 19, 2023
f3da73d
[op-conductor] Initial setup (#8642)
0x00101010 Dec 19, 2023
078214c
Finish sequencer control (#8684)
0x00101010 Dec 19, 2023
c04cefe
op-service, op-batcher, op-proposer: Active sequencer follow mode (#8…
EvanJRichard Dec 19, 2023
79e62bf
op-service/txmgr: Add threshold to gas price increase limiter (#8699)
sebastianst Dec 20, 2023
355bdf3
build(deps): bump ethereum/client-go in /ops-bedrock (#8698)
dependabot[bot] Dec 20, 2023
b9d7c68
[op-conductor] Implement Raft FSM (#8685)
0x00101010 Dec 20, 2023
e57ad63
parallel tests (#8695)
hamdiallam Dec 20, 2023
03ec6db
build(deps-dev): bump tsx from 4.6.2 to 4.7.0 (#8690)
dependabot[bot] Dec 20, 2023
9230831
Update TestUniqueFlags to check for uniqueness in aliases (#8661)
trianglesphere Dec 20, 2023
c2cb234
feat(specs): FDG spec updates (#8687)
clabby Dec 20, 2023
7103672
L2 genesis generation updates (#8285)
spacesailor24 Dec 20, 2023
4c70fc1
op-service/txmgr: Bump fees by at least 1 wei (#8713)
sebastianst Dec 21, 2023
6914fb6
specs: some tidy up and broken links (#8704)
maurelian Dec 21, 2023
fd3e7e8
Init BindGen unit tests (#8650)
spacesailor24 Dec 21, 2023
e5066e3
Init BindGen E2E tests (#8651)
spacesailor24 Dec 21, 2023
b732584
op-e2e: Migrate poisoned post-state test to output_cannon game type. …
ajsutton Dec 21, 2023
344ba3f
fix:fix wrong hex test data (#8648)
GrapeBaBa Dec 21, 2023
954517a
build(deps-dev): bump eslint from 8.55.0 to 8.56.0 (#8710)
dependabot[bot] Dec 21, 2023
14bd9fb
[op-conductor] Implement raft consensus (#8706)
0x00101010 Dec 21, 2023
a0032a9
op-e2e: Remove the cannon e2e tests that already have output cannon v…
ajsutton Dec 21, 2023
313596d
ctb: Specify auth roles for L1 contracts (#8659)
Inphi Dec 21, 2023
21d2413
contracts-bedrock: Add test to ensure delayed vetoable returns the co…
maurelian Dec 21, 2023
f2229b8
op-node: Disable xor requirement on Network and rollup.config flags (…
trianglesphere Dec 21, 2023
c5b9f57
specs: Eclipse / 4844 / Dencun draft
protolambda Dec 13, 2023
23730e5
specs: fix L1/L2 typo in specs/superchain-upgrades.md
protolambda Dec 18, 2023
2f13b5a
clarify blob calldata is to be ignored during chain derivation
roberto-bayardo Dec 19, 2023
e220425
Spec updates for Eclipse upgrade:
roberto-bayardo Dec 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
387 changes: 294 additions & 93 deletions .circleci/config.yml

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions .coderabbit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: "en"
early_access: false
reviews:
high_level_summary: false
poem: false
review_status: false
collapse_walkthrough: true
path_filters:
- "!**/*.json"
- "!op-bindings/bindings/**"
path_instructions:
- path: "**.sol"
instructions: "Focus on the following areas:
- Security
- Identifying test cases which are lacking
- Removing unnecessary code
"
auto_review:
enabled: true
drafts: false
base_branches:
- "develop"
- "feat/*"
chat:
auto_reply: true
2 changes: 1 addition & 1 deletion .foundryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d85718785859dc0b5a095d2302d1a20ec06ab77a
53b15e6cee787a7765988bb7228f26f62eb78129
4 changes: 2 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ runs:

- name: Install node dependencies
shell: bash
run: pnpm install --frozen-lockfile
run: pnpm install:ci
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v3
with:
with:
main-branch-name: "develop"
- run: |
echo "nx using following shas:"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
- uses: actions/stale@v9
with:
stale-pr-message: 'This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-issue-label: 'S-stale'
Expand Down
32 changes: 30 additions & 2 deletions .github/workflows/release-docker-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ jobs:
runs-on: ubuntu-latest
# map the step outputs to job outputs
outputs:
fault-mon: ${{ steps.packages.outputs.fault-mon }}
balance-mon: ${{ steps.packages.outputs.balance-mon }}
drippie-mon: ${{ steps.packages.outputs.drippie-mon }}
wd-mon: ${{ steps.packages.outputs.wd-mon }}
fault-mon: ${{ steps.packages.outputs.fault-mon }}
multisig-mon: ${{ steps.packages.outputs.multisig-mon }}
replica-mon: ${{ steps.packages.outputs.replica-mon }}
wd-mon: ${{ steps.packages.outputs.wd-mon }}
canary-docker-tag: ${{ steps.docker-image-name.outputs.canary-docker-tag }}
op-exporter: ${{ steps.packages.outputs.op-exporter }}
endpoint-monitor: ${{ steps.packages.outputs.endpoint-monitor }}
Expand Down Expand Up @@ -97,6 +98,33 @@ jobs:
push: true
tags: ethereumoptimism/balance-mon:${{ needs.canary-publish.outputs.canary-docker-tag }}

multisig-mon:
name: Publish Multisig Monitor Version ${{ needs.canary-publish.outputs.canary-docker-tag }}
needs: canary-publish
if: needs.canary-publish.outputs.multisig-mon != ''
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}

- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./ops/docker/Dockerfile.packages
target: multisig-mon
push: true
tags: ethereumoptimism/multisig-mon:${{ needs.canary-publish.outputs.canary-docker-tag }}

drippie-mon:
name: Publish Drippie Monitor Version ${{ needs.canary-publish.outputs.canary-docker-tag }}
needs: canary-publish
Expand Down
34 changes: 31 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ jobs:
if: github.repository == 'ethereum-optimism/optimism'
# map the step outputs to job outputs
outputs:
fault-mon: ${{ steps.packages.outputs.fault-mon }}
balance-mon: ${{ steps.packages.outputs.drippie-mon }}
balance-mon: ${{ steps.packages.outputs.balance-mon }}
drippie-mon: ${{ steps.packages.outputs.drippie-mon }}
wd-mon: ${{ steps.packages.outputs.wd-mon }}
fault-mon: ${{ steps.packages.outputs.fault-mon }}
multisig-mon: ${{ steps.packages.outputs.multisig-mon }}
replica-mon: ${{ steps.packages.outputs.replica-mon }}
wd-mon: ${{ steps.packages.outputs.wd-mon }}
op-exporter: ${{ steps.packages.outputs.op-exporter }}
endpoint-monitor: ${{ steps.packages.outputs.endpoint-monitor }}
# Permissions necessary for Changesets to push a new branch and open PRs
Expand Down Expand Up @@ -186,6 +187,33 @@ jobs:
push: true
tags: ethereumoptimism/balance-mon:${{ needs.release.outputs.balance-mon }},ethereumoptimism/balance-mon:latest

multisig-mon:
name: Publish Multisig Monitor Version ${{ needs.release.outputs.multisig-mon }}
needs: release
if: needs.release.outputs.multisig-mon != ''
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}

- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./ops/docker/Dockerfile.packages
target: multisig-mon
push: true
tags: ethereumoptimism/multisig-mon:${{ needs.release.outputs.multisig-mon }},ethereumoptimism/multisig-mon:latest

drippie-mon:
name: Publish Drippie Monitor Version ${{ needs.release.outputs.drippie-mon }}
needs: release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Fetch tags
run: git fetch --tags origin --force
- name: Setup Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install deps
Expand Down
1 change: 1 addition & 0 deletions .kontrolrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.74
19 changes: 2 additions & 17 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,10 @@
module.exports = {
$schema: 'http://json.schemastore.org/prettierrc',
plugins: ['prettier-plugin-solidity'],
plugins: [],
trailingComma: 'es5',
tabWidth: 2,
semi: false,
singleQuote: true,
arrowParens: 'always',
overrides: [
{
files: '*.sol',
options: {
// These options are native to Prettier.
printWidth: 100,
tabWidth: 4,
useTabs: false,
singleQuote: false,
bracketSpacing: true,
// These options are specific to the Solidity Plugin
explicitTypes: 'always',
compiler: '>=0.8.15',
},
},
],
overrides: [],
}
1 change: 1 addition & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
disable=SC2002
1 change: 1 addition & 0 deletions .slitherrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.10.0
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ We recommend using the [Conventional Commits](https://www.conventionalcommits.or

Unless your PR is ready for immediate review and merging, please mark it as 'draft' (or simply do not open a PR yet).

Once ready for review, make sure to include a thorough PR description to help reviewers. You can read more about the guidelines for opening PRs in the [PR Guidelines](docs/handbook/pr-guidelines.md) file.

**Bonus:** Add comments to the diff under the "Files Changed" tab on the PR page to clarify any sections where you think we might have questions about the approach taken.

### Response time:
Expand Down
21 changes: 13 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ build-ts: submodules
if [ -n "$$NVM_DIR" ]; then \
. $$NVM_DIR/nvm.sh && nvm use; \
fi
pnpm install
pnpm install:ci
pnpm build
.PHONY: build-ts

Expand All @@ -39,12 +39,17 @@ golang-docker:
op-node op-batcher op-proposer op-challenger
.PHONY: golang-docker

contracts-bedrock-docker:
IMAGE_TAGS=$$(git rev-parse HEAD),latest \
docker buildx bake \
--progress plain \
--load \
-f docker-bake.hcl \
contracts-bedrock
.PHONY: contracts-bedrock-docker

submodules:
# CI will checkout submodules on its own (and fails on these commands)
if [ -z "$$GITHUB_ENV" ]; then \
git submodule init; \
git submodule update --recursive; \
fi
git submodule update --init --recursive
.PHONY: submodules

op-bindings:
Expand Down Expand Up @@ -105,7 +110,7 @@ nuke: clean devnet-clean
git clean -Xdf
.PHONY: nuke

pre-devnet:
pre-devnet: submodules
@if ! [ -x "$(command -v geth)" ]; then \
make install-geth; \
fi
Expand Down Expand Up @@ -179,7 +184,7 @@ update-op-geth:

bedrock-markdown-links:
docker run --init -it -v `pwd`:/input lycheeverse/lychee --verbose --no-progress --exclude-loopback \
--exclude twitter.com --exclude explorer.optimism.io --exclude linux-mips.org \
--exclude twitter.com --exclude explorer.optimism.io --exclude linux-mips.org --exclude vitalik.ca \
--exclude-mail /input/README.md "/input/specs/**/*.md"

install-geth:
Expand Down
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ In this repository, you'll find numerous core components of the OP Stack, the de

## Documentation

- If you want to build on top of OP Mainnet, refer to the [Optimism Community Hub](https://community.optimism.io)
- If you want to build your own OP Stack based blockchain, refer to the [OP Stack docs](https://stack.optimism.io)
- If you want to build on top of OP Mainnet, refer to the [Optimism Documentation](https://docs.optimism.io)
- If you want to build your own OP Stack based blockchain, refer to the [OP Stack Guide](https://docs.optimism.io/stack/getting-started)
- If you want to contribute to the OP Stack, check out the [Protocol Specs](./specs)

## Community
Expand All @@ -29,21 +29,14 @@ Governance discussion can also be found on the [Optimism Governance Forum](https
Read through [CONTRIBUTING.md](./CONTRIBUTING.md) for a general overview of the contributing process for this repository.
Use the [Developer Quick Start](./CONTRIBUTING.md#development-quick-start) to get your development environment set up to start working on the Optimism Monorepo.
Then check out the list of [Good First Issues](https://github.com/ethereum-optimism/optimism/contribute) to find something fun to work on!
Typo fixes are welcome; however, please create a single commit with all of the typo fixes & batch as many fixes together in a PR as possible. Spammy PRs will be closed.

## Security Policy and Vulnerability Reporting

Please refer to the canonical [Security Policy](https://github.com/ethereum-optimism/.github/blob/master/SECURITY.md) document for detailed information about how to report vulnerabilities in this codebase.
Bounty hunters are encouraged to check out [the Optimism Immunefi bug bounty program](https://immunefi.com/bounty/optimism/).
The Optimism Immunefi program offers up to $2,000,042 for in-scope critical vulnerabilities.

## The Bedrock Upgrade

OP Mainnet is currently preparing for [its next major upgrade, Bedrock](https://dev.optimism.io/introducing-optimism-bedrock/).
You can find detailed specifications for the Bedrock upgrade within the [specs folder](./specs) in this repository.

Please note that a significant number of packages and folders within this repository are part of the Bedrock upgrade and are NOT currently running in production.
Refer to the Directory Structure section below to understand which packages are currently running in production and which are intended for use as part of the Bedrock upgrade.

## Directory Structure

<pre>
Expand Down
51 changes: 35 additions & 16 deletions bedrock-devnet/devnet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import time
import shutil
import http.client
import gzip
from multiprocessing import Process, Queue
import concurrent.futures
from collections import namedtuple
Expand Down Expand Up @@ -130,7 +131,7 @@ def deploy_contracts(paths):
run_command([
'cast', 'send', '--from', account,
'--rpc-url', 'http://127.0.0.1:8545',
'--unlocked', '--value', '1ether', '0x3fAB184622Dc19b6109349B94811493BF2a45362'
'--unlocked', '--value', '5ether', '0x3fAB184622Dc19b6109349B94811493BF2a45362'
], env={}, cwd=paths.contracts_bedrock_dir)

# deploy the create2 deployer
Expand All @@ -143,7 +144,7 @@ def deploy_contracts(paths):
run_command([
'forge', 'script', fqn, '--sender', account,
'--rpc-url', 'http://127.0.0.1:8545', '--broadcast',
'--unlocked'
'--unlocked', '--with-gas-price', '100000000000'
], env={}, cwd=paths.contracts_bedrock_dir)

shutil.copy(paths.l1_deployments_path, paths.addresses_json_path)
Expand All @@ -165,9 +166,8 @@ def devnet_l1_genesis(paths):
init_devnet_l1_deploy_config(paths)

geth = subprocess.Popen([
'geth', '--dev', '--http', '--http.api', 'eth,debug',
'--verbosity', '4', '--gcmode', 'archive', '--dev.gaslimit', '30000000',
'--rpc.allow-unprotected-txs'
'anvil', '-a', '10', '--port', '8545', '--chain-id', '1337', '--disable-block-gas-limit',
'--gas-price', '0', '--base-fee', '1', '--block-time', '1'
])

try:
Expand All @@ -178,10 +178,8 @@ def devnet_l1_genesis(paths):
if err:
raise Exception(f"Exception occurred in child process: {err}")

res = debug_dumpBlock('127.0.0.1:8545')
response = json.loads(res)
allocs = response['result']

res = anvil_dumpState('127.0.0.1:8545')
allocs = convert_anvil_dump(res)
write_json(paths.allocs_path, allocs)
finally:
geth.terminate()
Expand Down Expand Up @@ -272,17 +270,38 @@ def eth_accounts(url):
return data


def debug_dumpBlock(url):
def anvil_dumpState(url):
log.info(f'Fetch debug_dumpBlock {url}')
conn = http.client.HTTPConnection(url)
headers = {'Content-type': 'application/json'}
body = '{"id":3, "jsonrpc":"2.0", "method": "debug_dumpBlock", "params":["latest"]}'
body = '{"id":3, "jsonrpc":"2.0", "method": "anvil_dumpState", "params":[]}'
conn.request('POST', '/', body, headers)
response = conn.getresponse()
data = response.read().decode()
conn.close()
return data

data = conn.getresponse().read()
# Anvil returns a JSON-RPC response with a hex-encoded "result" field
result = json.loads(data.decode('utf-8'))['result']
result_bytes = bytes.fromhex(result[2:])
uncompressed = gzip.decompress(result_bytes).decode()
return json.loads(uncompressed)

def convert_anvil_dump(dump):
accounts = dump['accounts']

for account in accounts.values():
bal = account['balance']
account['balance'] = str(int(bal, 16))

if 'storage' in account:
storage = account['storage']
storage_keys = list(storage.keys())
for key in storage_keys:
value = storage[key]
del storage[key]
storage[pad_hex(key)] = pad_hex(value)

return dump

def pad_hex(input):
return '0x' + input.replace('0x', '').zfill(64)

def wait_for_rpc_server(url):
log.info(f'Waiting for RPC server at {url}')
Expand Down
Loading