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

feat: merge dev into main for v1.3.0 release #256

Merged
merged 1,267 commits into from
Feb 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
1267 commits
Select commit Hold shift + click to select a range
e80fff6
Fix typo in a comment.
Nov 30, 2023
7e780be
cfg -> Cfg
Nov 30, 2023
69bdcd5
Merge pull request #8377 from ethereum-optimism/ctb/init-checks-l2
tynes Dec 1, 2023
918459c
Merge pull request #8364 from ethereum-optimism/refcell/output-alphabet
ajsutton Dec 1, 2023
5edd820
challenger: Switch output_cannon to use the new contract type.
ajsutton Nov 30, 2023
7ef9e85
challenger: Allow cannon and output_cannon games to be supported at t…
ajsutton Nov 30, 2023
10297f1
challenger: Remove unused code.
ajsutton Dec 1, 2023
72956da
challenger: Remove redundant check
ajsutton Dec 1, 2023
c601bdd
op-chain-ops: cleanup immutables
tynes Dec 1, 2023
fa80f51
op-bindings: regenerate
tynes Dec 1, 2023
d1d67e8
Set batch type explicitly for l2 batcher
ImTei Dec 1, 2023
c829e0c
op-node: Remove Panic while Span Batch Derivation
pcw109550 Dec 1, 2023
c2260ca
op-node: Refactor to expose span batch derivation
pcw109550 Dec 1, 2023
efddff2
op-node: Refactor to expose singular batch conversion
pcw109550 Dec 1, 2023
7eee304
Update op-chain-ops/immutables/immutables.go
tynes Dec 1, 2023
5566736
Merge pull request #8358 from testinprod-io/tip/spanbatch-hardfork-e2e
protolambda Dec 1, 2023
efdced4
Merge pull request #8383 from ethereum-optimism/chain-ops/immutables
tynes Dec 1, 2023
e9d3907
Add spec for superchain-config with pausability
maurelian Nov 30, 2023
5ba7e7a
docs: Fix broken PR guideline hyperlink
pcw109550 Dec 1, 2023
433f5dd
Merge pull request #8385 from testinprod-io/tip/span-batch-derivation…
protolambda Dec 1, 2023
d212f0d
Merge pull request #8387 from testinprod-io/pcw109550/docs-contributi…
tynes Dec 1, 2023
392f534
contracts-bedrock: cross domain messenger comment
tynes Dec 1, 2023
2052c12
contracts-bedrock: comment changes semver lock?
tynes Dec 1, 2023
79d47fa
bindings: regenerate
tynes Dec 1, 2023
d71cd63
Merge pull request #8389 from ethereum-optimism/ctb/better-comment
clabby Dec 1, 2023
ee8e6bb
Refactor `SemverLock.s.sol`
clabby Dec 1, 2023
8870995
Merge pull request #8390 from ethereum-optimism/cl/ctb/semver-lock-br…
tynes Dec 1, 2023
1b84f7d
contracts-bedrock: bridge pausability
maurelian Nov 29, 2023
b4727c4
contracts-bedrock: pause tests
tynes Nov 30, 2023
056d655
op-bindings: regenerate
tynes Nov 30, 2023
efd2246
contracts-bedrock: bridge
tynes Nov 30, 2023
b842452
contracts-bedrock: regen lockfiles
tynes Nov 30, 2023
a145d31
ctb: remove storage layout
tynes Nov 30, 2023
7627d32
contracts-bedrock: test coverage for paused functionality
tynes Nov 30, 2023
6582193
contracts-bedrock: update snapshots
tynes Nov 30, 2023
32e5985
contracts-bedrock: standard bridge pausable withdrawals
tynes Dec 1, 2023
3cbd9fe
op-chain-ops: initialize L2StandardBridge in state
tynes Dec 1, 2023
c81a602
contracts-bedrock: locks
tynes Dec 1, 2023
b0e1e9a
op-bindings: regenerate
tynes Dec 1, 2023
0211b26
lint: fix
tynes Dec 1, 2023
e3ead42
lockfiles: regenerate
tynes Dec 1, 2023
6814944
contracts-bedrock: update comments
tynes Dec 1, 2023
55fed2b
lint: fix
tynes Dec 1, 2023
56ad5b7
challenger: Simplify register code (#8384)
ajsutton Dec 1, 2023
0ce6644
Update op-e2e/e2eutils/disputegame/helper.go
refcell Dec 1, 2023
a51785e
Update op-challenger/game/fault/register.go
refcell Dec 1, 2023
83b3f43
Merge pull request #8353 from ethereum-optimism/ctb/bridge-pausable
tynes Dec 1, 2023
3c06190
build(deps-dev): bump @testing-library/jest-dom from 6.1.4 to 6.1.5
dependabot[bot] Dec 1, 2023
532d5f6
build(deps-dev): bump @types/node from 20.10.1 to 20.10.2
dependabot[bot] Dec 1, 2023
a53411c
op-service: Refactor EthClient with ReceiptsProvider abstraction
sebastianst Nov 21, 2023
991d603
op-service: Add rpcHeader.BlockID()
sebastianst Dec 1, 2023
db5eacb
op-service: Test BasicRPCReceiptsFetcher concurrency & BatchCall reuse
sebastianst Nov 30, 2023
6e9e345
op-service: Test CachingReceiptsProvider
sebastianst Dec 1, 2023
0745c50
op-service: Test EthClient receipts validation
sebastianst Dec 1, 2023
7229279
Update specs/derivation.md
Dec 1, 2023
bd06d4e
Merge pull request #8396 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 1, 2023
d61af8a
Merge pull request #8379 from ethereum-optimism/aj/output-cannon-new-…
refcell Dec 2, 2023
c4f6854
Update run-challenger.md
oxbau Dec 2, 2023
3a36d28
contracts-bedrock: deploy extended pause L1CrossDomainMessenger
tynes Dec 2, 2023
6afb339
contracts-bedrock: L1CrossDomainMessenger sepolia
tynes Dec 2, 2023
16c0995
Merge pull request #8395 from ethereum-optimism/dependabot/npm_and_ya…
refcell Dec 2, 2023
05deae5
Merge pull request #8398 from oxbau/patch-1
refcell Dec 2, 2023
3577f59
fix(scripts): foundry update reset local repo for commit installs
refcell Dec 2, 2023
79814c1
Update pr-guidelines.md
kylemasterd1 Dec 3, 2023
59d4034
Improve span batch logging
ImTei Dec 3, 2023
56f994c
Add l2 pending safe head metric
ImTei Dec 3, 2023
6a04883
Fix one typo
sukey2008 Dec 3, 2023
dd61516
Change output cannon game type to 1
ajsutton Dec 3, 2023
6d701ce
Merge pull request #8408 from sukey2008/develop
ajsutton Dec 4, 2023
d4ed6b0
op-e2e: Minor cleanups
mslipper Dec 4, 2023
d8dc029
op-e2e: Actually kill geth on shim termination
mslipper Dec 4, 2023
9216562
Merge pull request #8411 from ethereum-optimism/feat/kill-geth
mslipper Dec 4, 2023
06c495e
op-node: Public scope for span batch structs and elements
pcw109550 Dec 4, 2023
768cb10
Add derived batch metrics
ImTei Dec 4, 2023
874fb90
op-node: batch_decoder: Support Span Batch
pcw109550 Dec 4, 2023
372d13b
Merge pull request #8410 from ethereum-optimism/feat/e2e-cleanups
mslipper Dec 4, 2023
f1ec8e6
ctb: Fix multithreaded test race
mslipper Dec 4, 2023
c4425dc
build(deps): bump github.com/urfave/cli/v2 from 2.25.7 to 2.26.0
dependabot[bot] Dec 4, 2023
bc663a4
Record min/max inclusion block for channel
ImTei Dec 4, 2023
b7e02f6
op-node: JSON Marshaling for span batch
pcw109550 Dec 4, 2023
a77ac64
op-node: batch_decoder: Update README for span batch derivation
pcw109550 Dec 4, 2023
179aea6
Merge pull request #8416 from testinprod-io/tip/batch-decoder-span-ba…
protolambda Dec 4, 2023
ec2667b
Contract changes
clabby Nov 29, 2023
b13db0a
Update local key loading + handle attack on genesis
clabby Nov 30, 2023
626b3fe
Remove `settlementHead` rename
clabby Nov 30, 2023
59677ca
deploy config
clabby Nov 30, 2023
9fc1837
Add tests for invalid claims at the split depth
clabby Nov 30, 2023
f4c912a
Test cleanups
clabby Nov 30, 2023
9718cf4
:broom:
clabby Nov 30, 2023
eb34512
Add split depth footgun checks
clabby Dec 1, 2023
a4c69b6
Update op-chain-ops/genesis/config.go
clabby Dec 1, 2023
97f5cf9
Update op-chain-ops/genesis/config.go
clabby Dec 1, 2023
595e8ac
Update `semver-lock.json`
clabby Dec 1, 2023
833e355
Fix output_cannon e2e test.
ajsutton Dec 3, 2023
1ec75d8
Merge pull request #8413 from ethereum-optimism/feat/fix-test-race
clabby Dec 4, 2023
a413603
Merge pull request #8414 from ethereum-optimism/dependabot/go_modules…
tynes Dec 4, 2023
581b7a1
Merge pull request #8351 from ethereum-optimism/cl/ctb/output-bisecti…
clabby Dec 4, 2023
d9a1e1c
Merge pull request #8403 from ethereum-optimism/refcell/foundry-updat…
clabby Dec 4, 2023
fb528c6
Merge pull request #8407 from ethereum-optimism/aj/output-cannon-1
clabby Dec 4, 2023
fbfec7e
Merge pull request #8115 from ethereum-optimism/eip4844-e2e-minimal
EvanJRichard Dec 4, 2023
a868bea
build(deps-dev): bump eslint-config-prettier from 8.3.0 to 9.1.0
dependabot[bot] Dec 4, 2023
8da965c
build(deps-dev): bump @types/node from 20.10.2 to 20.10.3
dependabot[bot] Dec 4, 2023
c2e4b93
build(deps-dev): bump lint-staged from 15.1.0 to 15.2.0
dependabot[bot] Dec 4, 2023
d58315e
Merge pull request #8419 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 4, 2023
88f84fa
contracts-bedrock: delete dead deployments
tynes Dec 4, 2023
32ff9df
build(deps-dev): bump @typescript-eslint/parser from 6.13.1 to 6.13.2
dependabot[bot] Dec 4, 2023
ee7f46f
build(deps-dev): bump vitest from 0.34.1 to 1.0.1
dependabot[bot] Dec 4, 2023
04f8f3a
contracts-bedrock: remove dead imports
tynes Dec 4, 2023
301e996
Merge pull request #8402 from ethereum-optimism/ctb/l1xdm-sepolia-ext…
tynes Dec 4, 2023
f7de18a
Merge pull request #8424 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 4, 2023
99560b0
build(deps-dev): bump @vitest/coverage-istanbul from 0.34.6 to 1.0.1
dependabot[bot] Dec 4, 2023
0d78ad6
op-node: singular/span batch metric as eventvec with type label
protolambda Dec 4, 2023
6405814
Merge branch 'develop' into tip/spanbatch-logs-metrics
protolambda Dec 4, 2023
77aaf2e
fix l2 block timestamp contraint for genesis block
Dec 4, 2023
e88956a
op-node: deduplicate rollup config override paths
protolambda Dec 4, 2023
71734ac
op-challenger: Add comment to avoid confusion about what GetBlockRang…
ajsutton Dec 4, 2023
88e243d
op-e2e: Update output_cannon e2e test to execute a step and resolve t…
ajsutton Dec 5, 2023
515841d
Merge pull request #8412 from testinprod-io/tip/spanbatch-logs-metrics
protolambda Dec 5, 2023
a87eb49
Merge pull request #8423 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 5, 2023
ddb2f3e
FaultDisputeGame: Remove TODO
ajsutton Dec 5, 2023
14d9637
build(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot[bot] Dec 5, 2023
43ab16d
contracts-bedrock: deploy `SuperchainConfig` to sepolia
tynes Dec 5, 2023
fe7c836
contracts-bedrock: add bool getter/setter to `Storage.sol`
tynes Dec 5, 2023
1f241de
op-bindings: regenerate
tynes Dec 5, 2023
7898701
contracts-bedrock: regenerate snapshot
tynes Dec 5, 2023
890a44a
contracts-bedrock: update semver lock
tynes Dec 5, 2023
658d2a6
Merge pull request #8422 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 5, 2023
febd3d8
Fix lint
trianglesphere Dec 5, 2023
47e9f92
Merge branch 'develop' into rewrite-derivation-docs
trianglesphere Dec 5, 2023
1c01380
Merge pull request #8130 from ethereum-optimism/seb/receipts-provider
trianglesphere Dec 5, 2023
9743a36
Merge pull request #8432 from ethereum-optimism/aj/output_cannon_e2e
ajsutton Dec 5, 2023
0795b90
Merge pull request #8430 from ethereum-optimism/aj/comments
trianglesphere Dec 5, 2023
ea25157
Log and set metrics after batch is derived without error
ImTei Dec 5, 2023
b3b462d
op-service: Use atomic int in receipts tests
sebastianst Dec 5, 2023
132e8fb
Merge pull request #8205 from ethereum-optimism/harry/faucet_drip_config
tremarkley Dec 5, 2023
0e32c4c
Merge pull request #8441 from ethereum-optimism/seb/receipts-tests-at…
tynes Dec 5, 2023
2e64721
Merge pull request #8427 from ethereum-optimism/ctb/cleanup-dead-depl…
maurelian Dec 5, 2023
3dcd380
Fix several typos
sukey2008 Dec 5, 2023
633b094
feat(ctb): Specify L1 auth requirements
Inphi Nov 30, 2023
e23f2cd
complete owner configuration
Inphi Nov 30, 2023
15866f3
update op-bindings
Inphi Nov 30, 2023
7de692a
fixup auth specs
Inphi Dec 5, 2023
8ed8be8
Merge pull request #8433 from ethereum-optimism/aj/remove-todo
refcell Dec 5, 2023
bc9f742
Merge pull request #8405 from kylemasterd1/patch-1
refcell Dec 5, 2023
823bb7d
fix merge conflict
Inphi Dec 5, 2023
b6de799
Merge pull request #8444 from sukey2008/develop
tynes Dec 5, 2023
4b08e08
Merge pull request #8426 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 5, 2023
0d7d224
op-node: Add config flag to set max number of concurrent L1 RPC reque…
Dec 5, 2023
e2acd4d
op-node: add batch log meta data
protolambda Dec 5, 2023
87dd5a4
Merge pull request #8431 from ethereum-optimism/evan/configurable_max…
EvanJRichard Dec 5, 2023
af2bb3c
build(deps-dev): bump vite from 5.0.4 to 5.0.5
dependabot[bot] Dec 5, 2023
459a815
remove deploy script import
refcell Dec 5, 2023
1e53065
specs: Updates to superchain-configuration.md
maurelian Dec 5, 2023
455f206
Merge pull request #8429 from ethereum-optimism/ctb/cleanup-imports-d…
refcell Dec 5, 2023
8393f09
Merge pull request #8440 from testinprod-io/tip/fix-derived-batch-log…
protolambda Dec 5, 2023
d221dbf
Merge pull request #8421 from ethereum-optimism/dependabot/npm_and_ya…
refcell Dec 5, 2023
b81aa1e
Merge pull request #8420 from ethereum-optimism/dependabot/npm_and_ya…
refcell Dec 5, 2023
36bc6e8
Merge pull request #8399 from ethereum-optimism/ctb/deploy-l1xdm-goerli
refcell Dec 5, 2023
3b47b7a
Fix one minor typo
sukey2008 Dec 5, 2023
e4cdd97
op-e2e: Start migrating cannon e2e tests to output_cannon
ajsutton Dec 5, 2023
493f937
Fix several typos
sukey2008 Dec 5, 2023
9549223
Merge pull request #8386 from ethereum-optimism/superchain-specs
maurelian Dec 5, 2023
2f45160
Merge pull request #8445 from sukey2008/develop
maurelian Dec 5, 2023
65d5813
Merge pull request #8361 from ethereum-optimism/inphi/auth
Inphi Dec 5, 2023
a7fd3ca
build(deps-dev): bump @wagmi/core from 1.4.7 to 1.4.8
dependabot[bot] Dec 5, 2023
4131108
build(deps-dev): bump tsx from 4.6.1 to 4.6.2
dependabot[bot] Dec 5, 2023
5bd7e64
contracts-bedrock: make spacer variable non-public
maurelian Dec 5, 2023
a35425c
specs: Add Span batch field protectedBits
pcw109550 Dec 5, 2023
b9ed151
op-node: Span batch protectedBits implementation
pcw109550 Dec 5, 2023
9a79818
op-node: Span batch unit test upsert for protectedBits
pcw109550 Dec 5, 2023
1e751d4
op-node: Ensure unit tests to handle Span batches with unprotected txs
pcw109550 Dec 5, 2023
53dcf4b
op-node: Fix span batch decode/encode logic error
pcw109550 Dec 5, 2023
e5217bd
op-e2e: Remove unused TempDir function
ajsutton Dec 5, 2023
d0f2275
feat(multisig-mon): integrate with 1pass (#8457)
felipe-op Dec 5, 2023
b2398da
Merge pull request #8450 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 5, 2023
51666c9
feat(chainmon): add onepass to multisig-mon (#8461)
felipe-op Dec 6, 2023
dac5877
revert forge-std unintentional changes from 51666c9ab95dcd379e01aeb78…
felipe-op Dec 6, 2023
43d3812
contracts-bedrock: fix warning on _getSel, restrict to pure
maurelian Dec 5, 2023
9759ad4
op-e2e: Automatically close System at the end of the test
ajsutton Dec 5, 2023
5a6a47d
Update OptimismPortal.sol
maurelian Dec 5, 2023
5e25450
op-batcher: Move config test from op-e2e to unit tests
trianglesphere Dec 6, 2023
65b163c
fix(ctb): alphabet vm for output bisection
refcell Nov 30, 2023
eaaab9f
contracts-bedrock: deploy SuperchainConfig goerli
tynes Dec 5, 2023
289116e
Merge pull request #8459 from ethereum-optimism/aj/use-normal-temp-dirs
tynes Dec 6, 2023
cc278b4
Merge pull request #8447 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 6, 2023
77dec81
Merge pull request #8438 from ethereum-optimism/ctb/superchainconfig-…
tynes Dec 6, 2023
aa6b2ba
Merge pull request #8418 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 6, 2023
6ae7e38
Merge pull request #8439 from ethereum-optimism/aj/migrate-cannon-ste…
tynes Dec 6, 2023
2c64bc8
build(deps-dev): bump eslint from 8.54.0 to 8.55.0
dependabot[bot] Dec 6, 2023
8df680a
Merge pull request #8463 from ethereum-optimism/jg/batcher_config_test
ajsutton Dec 6, 2023
dc2d209
Merge pull request #8455 from ethereum-optimism/ctb/pure-getsel
maurelian Dec 6, 2023
c5c909a
Merge pull request #8406 from testinprod-io/tip/delta-override
tynes Dec 6, 2023
190bae5
Merge pull request #8446 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 6, 2023
5ec1392
Merge pull request #8454 from ethereum-optimism/ctb/fix-spacer
tynes Dec 6, 2023
6d9a575
Merge pull request #8460 from ethereum-optimism/aj/autoclose-system
ajsutton Dec 6, 2023
6950bc8
Merge pull request #8437 from ethereum-optimism/ctb/deploy-superchain…
tynes Dec 6, 2023
06dd412
build(deps-dev): bump hardhat from 2.19.1 to 2.19.2
dependabot[bot] Dec 6, 2023
44c0ba5
Merge pull request #8342 from xenoliss/nit/op-node/calldata-source
trianglesphere Dec 6, 2023
13a1255
Merge pull request #8139 from roberto-bayardo/rewrite-derivation-docs
tynes Dec 6, 2023
3f55eee
op-challenger: Close the polling client.
ajsutton Dec 6, 2023
ef7f288
op-program: Verify loaded preimage matches requested key
ajsutton Dec 4, 2023
9adee1b
Update check-changed to include op-preimage for cannon
ajsutton Dec 6, 2023
d240329
Merge pull request #8409 from ethereum-optimism/aj/oracle-validation
ajsutton Dec 6, 2023
87c7bce
Merge pull request #8160 from epociask/indexer.withdrawal_type_supplies
hamdiallam Dec 6, 2023
01e0af4
Update indexer/docs/troubleshooting.md
hamdiallam Dec 6, 2023
1e159c7
contracts-bedrock: ERC721Bridge pausable
tynes Nov 30, 2023
b35f093
contracts-bedrock: more
tynes Dec 1, 2023
7afba35
op-bindings: regenerate
tynes Dec 1, 2023
1cbc500
contracts-bedrock: generate snapshots
tynes Dec 1, 2023
fbc474f
contracts-bedrock: semver lock
tynes Dec 1, 2023
9604372
contracts-bedrock: more cleanup
tynes Dec 1, 2023
2264947
contracts-bedrock: update snapshots
tynes Dec 1, 2023
7bf66c0
contracts-bedrock: tests
tynes Dec 1, 2023
f0e1c44
contracts-bedrock: fix bindings lockfile
tynes Dec 1, 2023
dcb2c2f
lint: fix
tynes Dec 1, 2023
edf6a6c
contracts-bedrock: fix storage layout
tynes Dec 1, 2023
96316ea
contracts-bedrock: delete storage layout file
tynes Dec 1, 2023
ad40c46
contracts-bedrock: Add test_unpause_fullSystem_succeeds
maurelian Dec 5, 2023
10243c7
op-e2e: Use a fixed seed to make TestMixedDeposits repeatable.
ajsutton Dec 6, 2023
e9b3d3c
linkcheck: Exclude vitalik.ca
ajsutton Dec 6, 2023
857df55
Merge pull request #8471 from ethereum-optimism/aj/exclude-vitalik
tynes Dec 6, 2023
18d5273
Merge pull request #8448 from ethereum-optimism/dependabot/npm_and_ya…
tynes Dec 6, 2023
e521392
contracts-bedrock: update auth test
tynes Dec 6, 2023
52ef1b6
Merge pull request #8365 from ethereum-optimism/ctb/erc721-pause
maurelian Dec 6, 2023
4f03425
Merge pull request #8470 from ethereum-optimism/aj/repeatable-test
mslipper Dec 6, 2023
94b78e8
Merge pull request #8084 from epociask/indexer.runbook
hamdiallam Dec 6, 2023
46ff55c
specs: Fix Span batch EIP-155 description
pcw109550 Dec 6, 2023
6f10382
Ensure to test all TX types including unprotected tx
ImTei Dec 6, 2023
e4de560
Merge pull request #8469 from ethereum-optimism/aj/close-poll-client
ajsutton Dec 6, 2023
e1193a0
span-batches: encode bitlists as big-endian integers, use standard Go…
protolambda Dec 6, 2023
6c31674
Merge pull request #43 from ethereum-optimism/span-batch-bitlists
taempark Dec 6, 2023
eddb811
Merge pull request #8435 from ethereum-optimism/ctb/set-bool
tynes Dec 6, 2023
2a03ebf
Merge pull request #8362 from ethereum-optimism/refcell/fix-alphabet-vm
mslipper Dec 6, 2023
fccc307
typo fixing
Pan-chao Dec 6, 2023
00768b0
op-service: Add new eth client alternative PrefetchingEthClient, whic…
Dec 6, 2023
7629706
Merge pull request #8191 from ethereum-optimism/prefetching_ethclient
sebastianst Dec 6, 2023
b669f32
Merge pull request #8475 from Pan-chao/develop
trianglesphere Dec 6, 2023
afbe2e8
Merge pull request #8458 from testinprod-io/tip/span-batch-protected-…
trianglesphere Dec 6, 2023
eb0d89d
op-node: Activate Delta on testnets
trianglesphere Dec 11, 2023
7919198
docs: fix invalid links
seolaoh Jan 17, 2024
d635e4f
Merge tag 'op-node/v1.4.0' into feat/upstream-op-v1.4.0
Pangssu Jan 17, 2024
06e2e95
Merge pull request #245 from kroma-network/feat/upstream-op-v1.4.0
Pangssu Jan 20, 2024
3652caf
Merge pull request #244 from kroma-network/docs/fix-invalid-links
Pangssu Jan 20, 2024
a73fcf3
ci: run test ci for every PR
Jan 31, 2024
b165f37
Merge pull request #248 from kroma-network/ci/run-test-every-pr
0xHansLee Feb 2, 2024
fda6486
docs: fix incorrect demonstration (#246)
sm-stack Feb 2, 2024
f950b20
chore: enable canyon upgrade for kroma sepolia (#252)
Pangssu Feb 13, 2024
0417d95
chore: set delta upgrade time for kroma sepolia (#255)
0xHansLee Feb 13, 2024
1cda29c
Merge branch 'main' into dev
0xHansLee Feb 15, 2024
9160b2d
Merge branch 'main' into dev
0xHansLee Feb 16, 2024
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
Prev Previous commit
Next Next commit
Remove settlementHead rename
clabby committed Dec 4, 2023
commit 626b3fed4eceec04e8e1af5f30af55a76edda3c2
66 changes: 33 additions & 33 deletions op-bindings/bindings/outputbisectiongame.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions op-bindings/bindings/outputbisectiongame_more.go

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions packages/contracts-bedrock/snapshots/abi/OutputBisectionGame.json
Original file line number Diff line number Diff line change
@@ -16,6 +16,11 @@
"name": "_genesisBlockNumber",
"type": "uint256"
},
{
"internalType": "Hash",
"name": "_genesisOutputRoot",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "_maxGameDepth",
@@ -198,6 +203,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "GENESIS_OUTPUT_ROOT",
"outputs": [
{
"internalType": "Hash",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MAX_GAME_DEPTH",
10 changes: 5 additions & 5 deletions packages/contracts-bedrock/src/dispute/OutputBisectionGame.sol
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ contract OutputBisectionGame is IOutputBisectionGame, Clone, ISemver {
IBondManager public bondManager;

/// @inheritdoc IOutputBisectionGame
Hash public settlementHead;
Hash public l1Head;

/// @notice An append-only array of all claims made during the dispute game.
ClaimData[] public claimData;
@@ -295,8 +295,8 @@ contract OutputBisectionGame is IOutputBisectionGame, Clone, ISemver {

IPreimageOracle oracle = VM.oracle();
if (_ident == 1) {
// Load the settlement layer head hash
oracle.loadLocalData(_ident, Hash.unwrap(uuid), Hash.unwrap(settlementHead), 32, _partOffset);
// Load the L1 head hash
oracle.loadLocalData(_ident, Hash.unwrap(uuid), Hash.unwrap(l1Head), 32, _partOffset);
} else if (_ident == 2) {
// Load the starting proposal's output root.
oracle.loadLocalData(_ident, Hash.unwrap(uuid), Claim.unwrap(starting), 32, _partOffset);
@@ -449,8 +449,8 @@ contract OutputBisectionGame is IOutputBisectionGame, Clone, ISemver {
})
);

// Persist the settlement layer hash of the parent block.
settlementHead = Hash.wrap(blockhash(block.number - 1));
// Persist the blockhash of the parent block.
l1Head = Hash.wrap(blockhash(block.number - 1));
}

/// @notice Returns the length of the `claimData` array.
Original file line number Diff line number Diff line change
@@ -61,8 +61,8 @@ interface IOutputBisectionGame is IDisputeGame {
/// @param _claimIndex The index of the subgame root claim to resolve.
function resolveClaim(uint256 _claimIndex) external payable;

/// @notice An block hash on the settlement layer that contains the disputed output root.
function settlementHead() external view returns (Hash settlementHead_);
/// @notice A block hash on the L1 that contains the disputed output root.
function l1Head() external view returns (Hash l1Head_);

/// @notice The l2BlockNumber of the disputed output root in the `L2OutputOracle`.
function l2BlockNumber() external view returns (uint256 l2BlockNumber_);
Original file line number Diff line number Diff line change
@@ -144,7 +144,7 @@ contract OutputBisectionGame_Test is OutputBisectionGame_Init {
assertEq(Timestamp.unwrap(gameProxy.createdAt()), block.timestamp);

// Assert that the blockhash provided is correct.
assertEq(Hash.unwrap(gameProxy.settlementHead()), blockhash(block.number - 1));
assertEq(Hash.unwrap(gameProxy.l1Head()), blockhash(block.number - 1));
}

/// @dev Tests that a move while the game status is not `IN_PROGRESS` causes the call to revert
@@ -493,7 +493,7 @@ contract OutputBisectionGame_Test is OutputBisectionGame_Init {

// Expected local data
bytes32[5] memory data = [
Hash.unwrap(gameProxy.settlementHead()),
Hash.unwrap(gameProxy.l1Head()),
startingClaim,
disputedClaim,
bytes32(0),
@@ -539,7 +539,7 @@ contract OutputBisectionGame_Test is OutputBisectionGame_Init {

// Expected local data
bytes32[5] memory data = [
Hash.unwrap(gameProxy.settlementHead()),
Hash.unwrap(gameProxy.l1Head()),
startingClaim,
disputedClaim,
bytes32(uint256(1) << 0xC0),