Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

feat: Rebase to Optimism v1.9.0 #12

Open
wants to merge 92 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
979b5f8
make an rpc server an into a cliapp service (#11197)
hamdiallam Jul 23, 2024
0db615d
Add buffered caching of L1 block refs to the confDepth-aware fetcher …
BrianBland Jul 23, 2024
fe3f42b
op-conductor: Adds connection test to conductor addServer* apis (#11210)
zhwrd Jul 23, 2024
13661cf
op-e2e: use util for RPC dial, and ensure op-node is on localhost RPC…
protolambda Jul 23, 2024
9e9c261
dependabot(npm): bump typedoc from 0.25.7 to 0.26.5 (#11216)
dependabot[bot] Jul 23, 2024
a74db29
dependabot(npm): bump eslint-plugin-jsdoc from 48.7.0 to 48.8.3 (#11213)
dependabot[bot] Jul 23, 2024
db84d3e
dependabot(npm): bump mocha from 10.6.0 to 10.7.0 (#11214)
dependabot[bot] Jul 23, 2024
8b1b670
dependabot(npm): bump typescript from 5.5.3 to 5.5.4 (#11215)
dependabot[bot] Jul 23, 2024
08ee7e9
dependabot(npm): bump @types/node from 20.11.17 to 20.14.12 (#11220)
dependabot[bot] Jul 24, 2024
14a588b
contracts-bedrock: speed up ci (#11203)
tynes Jul 24, 2024
3edb8a2
Update README.md (#11222)
bravesasha Jul 24, 2024
4cbe59b
deps: remove ts-mocha (#11202)
tynes Jul 24, 2024
421f44f
deps: remove wait-on (#11201)
tynes Jul 24, 2024
7b85782
op-node: set genesis l1 start block to value from SystemConfig contra…
bitwiseguy Jul 24, 2024
903ccdc
Fix CONTRIBUTING.md (#11224)
grubbyTimes Jul 24, 2024
3c1d3b8
cannon: fix fuzz test script (#11226)
Inphi Jul 24, 2024
715732e
op-node: Extract contract binding for SystemConfig (#11227)
ajsutton Jul 24, 2024
ea92d7e
deps: remove depcheck (#11230)
tynes Jul 25, 2024
fe1c87e
op-dispute-mon: fix the path and add example (#11233)
coderHarrii Jul 25, 2024
6be84bb
avoid passing factory address (#11236)
coderHarrii Jul 25, 2024
461b02a
op-service: use binary search instead of walkback for checkRecentTxs …
bitwiseguy Jul 25, 2024
d3d920f
Delete chain-mon in favor of monitorism (#11239)
zchn Jul 25, 2024
4b49b9c
dependabot(gomod): bump github.com/onsi/gomega from 1.31.1 to 1.34.0 …
dependabot[bot] Jul 25, 2024
71d50d8
dependabot(gomod): bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.…
dependabot[bot] Jul 25, 2024
31754a7
docs(typo): README.md, pausability-lemmas.md (#11241)
0xtrait Jul 25, 2024
293c4d9
chore: add `help` target to Makefile to display the usage of all targ…
caseylove Jul 25, 2024
3c719a1
op-node: genesis generation (#11249)
tynes Jul 25, 2024
100f526
[op-dispute-mon] Track the latest proposed L2 block number from games…
cbfyi Jul 25, 2024
9c53744
deps: remove more deps (#11250)
tynes Jul 26, 2024
6e8a133
deps: remove more js deps (#11254)
tynes Jul 26, 2024
b28f9ee
Update Kontrol Proofs (`0.1.247` to `0.1.316`) (#10953)
JuanCoRo Jul 26, 2024
16c4e36
ops-bedrock: Beacon-chain devnet with Dencun + Ecotone upgrade (#9117)
sebastianst Jul 26, 2024
a9a274f
cannon: delete unnecessary part in makefile (#11194)
rickck11 Jul 26, 2024
db6d9ad
docs(typo): `CrossL2Inbox.sol` (#11125)
pegahcarter Jul 26, 2024
532214d
monorepo: remove `devnet-tasks` (#11257)
tynes Jul 26, 2024
eb8d36d
.github: remove old mergify config (#11258)
protolambda Jul 26, 2024
7192882
remove changeset (#11259)
protolambda Jul 27, 2024
aa501cd
feat(cross-l2-inbox): add CrossL2Inbox to predeploy addresses and abi…
tremarkley Jul 29, 2024
5815076
dependabot(gomod): bump github.com/holiman/uint256 from 1.3.0 to 1.3.…
dependabot[bot] Jul 29, 2024
11c6f05
cannon: add test dependence in Makefile (#11264)
AntonCutthroat Jul 29, 2024
55b3e49
op-chain-ops: remove dead code (#11261)
tynes Jul 29, 2024
d837696
MIPS2.sol MT-FPVM Implementation (#11036)
Inphi Jul 29, 2024
5b13bad
cleanup: rm more js (#11260)
tynes Jul 29, 2024
beb5d87
cannon: Fix exitCode for invalid cloneargs in MIPS2 contract (#11275)
Inphi Jul 29, 2024
05a9c47
mt-cannon: Implement mips logic (#11188)
mbaxter Jul 30, 2024
8198bfc
contracts-bedrock docker fix (#11278)
protolambda Jul 30, 2024
63b952a
op-chain-ops: Organize deploy-config, improve check-logging (#11189)
protolambda Jul 30, 2024
02e0463
dependabot(gomod): bump github.com/onsi/gomega from 1.34.0 to 1.34.1 …
dependabot[bot] Jul 30, 2024
59fbf91
feat(opsm): scaffold OP Stack Manager and tests (#11274)
mds1 Jul 30, 2024
4268a50
op-program: delete redundant code (#11263)
AntonCutthroat Jul 31, 2024
c2f290d
op-challenger: fix the wrong variable name and some additional fix (#…
DeeADouble Jul 31, 2024
30eda20
docs: broken links in op-preimage (#11296)
PinelliaC Jul 31, 2024
d1499b0
cannon: Fix onchain clone flags (#11293)
mbaxter Jul 31, 2024
f8b1bb6
op-node/derive: linter fix (#11265)
KailMillor Jul 31, 2024
99fee9d
op-challenger: Add subcommand to continuously run trace providers (#1…
ajsutton Jul 31, 2024
c8e288f
ops: fix build (#11299)
tynes Aug 1, 2024
79babb8
reduce scope of `expandedOwners` (#11301)
zhiqiangxu Aug 1, 2024
b22d6d1
fix comment (#11303)
zhiqiangxu Aug 1, 2024
e44c144
op-batcher: Add dynamic blob/calldata selection (#11219)
sebastianst Aug 1, 2024
6f8aec8
contracts-bedrock: fix `SentMessage` event (#11305)
tynes Aug 1, 2024
35f7553
feat: introduce SuperchainWETH and ETHLiquidity (#11042)
smartcontracts Aug 1, 2024
67de0af
contracts-bedrock: fix CrossL2Inbox (#11320)
tynes Aug 1, 2024
ed817c7
contracts-bedrock: port custom gas token to portal2 (#10780)
tynes Aug 1, 2024
6e58dc4
Add task to capture a section of sepolia running fjord for compatibil…
ajsutton Aug 2, 2024
a61e467
Cannon: optimize the example (#11302)
tanvirman Aug 2, 2024
6cb07ee
op-node: optimize case to handle proposer requests (#11262)
protolambda Aug 2, 2024
d616ae1
fix(ci-builder-foundry-bump): Updating ci-builder. (#11325)
blmalone Aug 2, 2024
794c692
Snapshots go scripts (#11338)
protolambda Aug 2, 2024
e0c733d
devnet: Update expired docs link (#11329)
tooshiNoko Aug 2, 2024
95a2614
doc: update style guide (#11290)
mds1 Aug 2, 2024
e1c7dbe
Add Granite and Holocene fork references (#11339)
sebastianst Aug 2, 2024
1819733
fix: set default forge gas limit (#11342)
mds1 Aug 2, 2024
f1ae7ea
chain-spec: Fix next fork (#11341)
Inphi Aug 2, 2024
4c9811f
fix: add missing assume condition (#11344)
mds1 Aug 2, 2024
5e31737
contracts-bedrock: remove typescript (#11340)
tynes Aug 3, 2024
e4c17d3
Reduce ChannelTimeout to 50 in Granite (#11343)
Inphi Aug 5, 2024
c14a8b2
fix: SuperchainWETH fuzz testing chain ID error (#11352)
smartcontracts Aug 5, 2024
6e1d30d
Apply error variable lint in op-node/p2p (#11354)
anacrolix Aug 5, 2024
4fcaf82
op-chain-ops: remove etherscan package (#11345)
tynes Aug 5, 2024
b65e1bf
fix op-geth dependency (#11356)
Inphi Aug 5, 2024
38324e4
dependabot(gomod): bump golang.org/x/sync from 0.7.0 to 0.8.0 (#11358)
dependabot[bot] Aug 5, 2024
0ab3e7a
dependabot(gomod): bump golang.org/x/time from 0.5.0 to 0.6.0 (#11357)
dependabot[bot] Aug 5, 2024
9dc125a
ci: bump ci builder `0.50.0` (#11334)
tynes Aug 5, 2024
df33bf1
op-challenger: Modify run_trace to run a block prior to the safe head…
ajsutton Aug 5, 2024
f940301
op-challenger: Add metric to report memory used in the cannon VM (#11…
ajsutton Aug 5, 2024
052ca79
op-proposer: retry failed output proposals (#11291)
bitwiseguy Aug 6, 2024
0681bfc
op-challenger: Fix prestate loading for asterisc in run-trace (#11363)
ajsutton Aug 6, 2024
5b7d2b9
feat(challenger): `AsteriscKona` trace type (#11140)
clabby Aug 6, 2024
8741423
op-e2e: Fix GraniteSystemConfig (#11361)
sebastianst Aug 6, 2024
e6dd1ee
update sepolia-devnet-0 deploy-config (#11371)
Inphi Aug 6, 2024
79c8fe8
cannon: move example test programs into testdata directory to prevent…
protolambda Aug 7, 2024
ec45f66
op-node: abort block publishing if conductor commit fails (#11380)
protolambda Aug 7, 2024
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
  •  
  •  
  •  
8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/config.json

This file was deleted.

118 changes: 32 additions & 86 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
parameters:
ci_builder_image:
type: string
default: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:v0.49.0
default: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:v0.50.0
ci_builder_rust_image:
type: string
default: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder-rust:latest
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
- run:
name: build Cannon example binaries
command: make elf # only compile ELF binaries with Go, we do not have MIPS GCC for creating the debug-dumps.
working_directory: cannon/example
working_directory: cannon/testdata/example
- run:
name: Cannon Go lint
command: |
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
- "node_modules"
- run:
name: Install dependencies
command: pnpm install:ci:offline
command: pnpm install
- run:
name: print forge version
command: forge --version
Expand Down Expand Up @@ -249,22 +249,26 @@ jobs:
- ".devnet/allocs-l2-delta.json"
- ".devnet/allocs-l2-ecotone.json"
- ".devnet/allocs-l2-fjord.json"
- ".devnet/allocs-l2-granite.json"
- ".devnet/addresses.json"
- ".devnet-l2oo/allocs-l1.json"
- ".devnet-l2oo/addresses.json"
- ".devnet-l2oo/allocs-l2-delta.json"
- ".devnet-l2oo/allocs-l2-ecotone.json"
- ".devnet-l2oo/allocs-l2-fjord.json"
- ".devnet-l2oo/allocs-l2-granite.json"
- ".devnet-plasma/allocs-l1.json"
- ".devnet-plasma/addresses.json"
- ".devnet-plasma/allocs-l2-delta.json"
- ".devnet-plasma/allocs-l2-ecotone.json"
- ".devnet-plasma/allocs-l2-fjord.json"
- ".devnet-plasma/allocs-l2-granite.json"
- ".devnet-plasma-generic/allocs-l1.json"
- ".devnet-plasma-generic/addresses.json"
- ".devnet-plasma-generic/allocs-l2-delta.json"
- ".devnet-plasma-generic/allocs-l2-ecotone.json"
- ".devnet-plasma-generic/allocs-l2-fjord.json"
- ".devnet-plasma-generic/allocs-l2-granite.json"
- "packages/contracts-bedrock/deploy-config/devnetL1.json"
- "packages/contracts-bedrock/deployments/devnetL1"
- notify-failures-on-develop
Expand Down Expand Up @@ -544,17 +548,8 @@ jobs:
- run:
name: git submodules
command: make submodules
- restore_cache:
name: Restore PNPM Package Cache
keys:
- pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }}
- attach_workspace: { at: "." }
- check-changed:
patterns: contracts-bedrock,op-node
# populate node modules from the cache
- run:
name: Install dependencies
command: pnpm install:ci
- run:
name: print forge version
command: forge --version
Expand Down Expand Up @@ -588,7 +583,8 @@ jobs:
# populate node modules from the cache
- run:
name: Install dependencies
command: pnpm install:ci
command: pnpm install
working_directory: packages/contracts-bedrock
- run:
name: forge version
command: forge --version
Expand Down Expand Up @@ -696,48 +692,14 @@ jobs:
- attach_workspace: { at: "." }
- run:
name: Install dependencies
command: pnpm install:ci
command: pnpm install
- check-changed:
patterns: contracts-bedrock
- run:
name: validate spacers
command: pnpm validate-spacers
working_directory: packages/contracts-bedrock

js-lint-test:
parameters:
package_name:
description: Package name
type: string
dependencies:
description: Regex matching dependent packages
type: string
default: this-package-does-not-exist
docker:
- image: <<pipeline.parameters.ci_builder_image>>
resource_class: large
steps:
- checkout
- attach_workspace: { at: "." }
- restore_cache:
name: Restore PNPM Package Cache
keys:
- pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }}
- check-changed:
patterns: <<parameters.package_name>>,<<parameters.dependencies>>
# populate node modules from the cache
- run:
name: Install dependencies
command: pnpm install:ci
- run:
name: Lint
command: pnpm lint && git diff --exit-code
working_directory: packages/<<parameters.package_name>>
- run:
name: Test
command: pnpm test
working_directory: packages/<<parameters.package_name>>

todo-issues:
machine:
image: <<pipeline.parameters.base_image>>
Expand Down Expand Up @@ -933,6 +895,7 @@ jobs:
cp /tmp/workspace/.devnet<<parameters.variant>>/allocs-l2-delta.json .devnet/allocs-l2-delta.json
cp /tmp/workspace/.devnet<<parameters.variant>>/allocs-l2-ecotone.json .devnet/allocs-l2-ecotone.json
cp /tmp/workspace/.devnet<<parameters.variant>>/allocs-l2-fjord.json .devnet/allocs-l2-fjord.json
cp /tmp/workspace/.devnet<<parameters.variant>>/allocs-l2-granite.json .devnet/allocs-l2-granite.json
cp /tmp/workspace/.devnet<<parameters.variant>>/allocs-l1.json .devnet/allocs-l1.json
cp /tmp/workspace/.devnet<<parameters.variant>>/addresses.json .devnet/addresses.json
cp /tmp/workspace/packages/contracts-bedrock/deploy-config/devnetL1.json packages/contracts-bedrock/deploy-config/devnetL1.json
Expand Down Expand Up @@ -1120,6 +1083,7 @@ jobs:
- ".devnet/allocs-l2-delta.json"
- ".devnet/allocs-l2-ecotone.json"
- ".devnet/allocs-l2-fjord.json"
- ".devnet/allocs-l2-granite.json"
- ".devnet/allocs-l1.json"
- ".devnet/addresses.json"
- "packages/contracts-bedrock/deploy-config/devnetL1.json"
Expand Down Expand Up @@ -1174,6 +1138,10 @@ jobs:
echo '76a04354dba9980fcbc35bece2957b30 geth-alltools-linux-amd64-1.13.14-2bd6bd01.tar.gz' | md5sum -c -
tar -xzvf geth-alltools-linux-amd64-1.13.14-2bd6bd01.tar.gz
sudo cp geth-alltools-linux-amd64-1.13.14-2bd6bd01/* /usr/local/bin
- run:
name: Install eth2-testnet-genesis
command: |
go install -v github.com/protolambda/eth2-testnet-genesis@$(jq -r .eth2_testnet_genesis < versions.json)
- run:
name: foundryup
command: |
Expand Down Expand Up @@ -1228,14 +1196,16 @@ jobs:
docker tag "$IMAGE_BASE_PREFIX/op-challenger:<<pipeline.git.revision>>" "$IMAGE_BASE_PREFIX/op-challenger:devnet"
docker tag "$IMAGE_BASE_PREFIX/da-server:<<pipeline.git.revision>>" "$IMAGE_BASE_PREFIX/da-server:devnet"
- run:
name: pnpm i
name: pnpm install and build
command: |
pnpm i && pnpm build
pnpm install && pnpm build
- run:
name: Bring up the stack
command: |
# Specify like this to avoid a forced rebuild of the contracts + devnet L1
PYTHONPATH=./bedrock-devnet python3 ./bedrock-devnet/main.py --monorepo-dir=.
echo "Waiting for 10 seconds to give the devnet time to settle in..."
sleep 10
- run:
name: Test the stack
command: make devnet-test
Expand All @@ -1254,6 +1224,16 @@ jobs:
command: |
docker logs ops-bedrock-l1-1 || echo "No logs."
when: on_fail
- run:
name: Dump l1-bn logs
command: |
docker logs ops-bedrock-l1-bn-1 || echo "No logs."
when: on_fail
- run:
name: Dump l1-vc logs
command: |
docker logs ops-bedrock-l1-vc-1 || echo "No logs."
when: on_fail
- run:
name: Dump op-batcher logs
command: |
Expand Down Expand Up @@ -1533,22 +1513,14 @@ workflows:
jobs:
- pnpm-monorepo:
name: pnpm-monorepo
- contracts-bedrock-tests:
requires:
- pnpm-monorepo
- contracts-bedrock-tests
- contracts-bedrock-coverage
- contracts-bedrock-checks:
requires:
- pnpm-monorepo
- contracts-bedrock-validate-spaces:
requires:
- pnpm-monorepo
- js-lint-test:
name: chain-mon-tests
package_name: chain-mon
dependencies: "(contracts-bedrock|sdk)"
requires:
- pnpm-monorepo
- semgrep-scan
- go-mod-download
- fuzz-golang:
Expand Down Expand Up @@ -1775,7 +1747,7 @@ workflows:
type: approval
filters:
tags:
only: /^(da-server|chain-mon|ci-builder(-rust)?|ufm-[a-z0-9\-]*|op-[a-z0-9\-]*)\/v.*/
only: /^(da-server|ci-builder(-rust)?|ufm-[a-z0-9\-]*|op-[a-z0-9\-]*)\/v.*/
branches:
ignore: /.*/
- docker-build:
Expand Down Expand Up @@ -1973,22 +1945,6 @@ workflows:
op_component: op-supervisor
requires:
- op-supervisor-docker-release
- docker-build:
name: chain-mon-docker-release
filters:
tags:
only: /^chain-mon\/v.*/
branches:
ignore: /.*/
docker_name: chain-mon
docker_tags: <<pipeline.git.revision>>,latest
publish: true
release: true
resource_class: xlarge
context:
- oplabs-gcr-release
requires:
- hold
- docker-build:
name: ci-builder-docker-release
filters:
Expand Down Expand Up @@ -2216,21 +2172,11 @@ workflows:
op_component: op-supervisor
requires:
- op-supervisor-docker-publish
- docker-build:
name: chain-mon-docker-publish
docker_name: chain-mon
docker_tags: <<pipeline.git.revision>>,<<pipeline.git.branch>>
resource_class: xlarge
publish: true
context:
- oplabs-gcr
- slack
- docker-build:
name: contracts-bedrock-docker-publish
docker_name: contracts-bedrock
docker_tags: <<pipeline.git.revision>>,<<pipeline.git.branch>>
resource_class: xlarge
requires: [ 'chain-mon-docker-publish' ] # use the cached base image
publish: true
context:
- oplabs-gcr
Expand Down
Loading
Loading