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: upstream to optimism v1.7.2 #282

Merged
merged 1,312 commits into from
Apr 8, 2024
Merged

feat: upstream to optimism v1.7.2 #282

merged 1,312 commits into from
Apr 8, 2024

Conversation

kangsorang
Copy link
Contributor

@kangsorang kangsorang commented Mar 29, 2024

Description

This is a PR to upstream to Optimism v1.7.2. (v1.4.0 -> v1.7.2)

For the new op-conductors and op-plasmas in the OPs included in this scope of work, I approached disabling them via flags rather than excluding code.

To avoid issues with Optimism remote merges recognizing conflicts, I perform a traditional merge rather than a squash merge.
The default setting for devnet is pre-ecotone because E2E tests are built on the assumption of a pre-ecotone environment.
To enable ecotone from genesis, I recommend that you modify the following part of the devoteL1-templte.json file and build it.

"l2GenesisDeltaTimeOffset": null,
"l2GenesisEcotoneTimeOffset": null,

For more information, see the links below.

Summary by CodeRabbit

  • New Features

    • Introduced a new GitHub Actions workflow for Slither static analysis.
    • Added new dependencies and setup instructions in CONTRIBUTING.md.
    • New contract functions and predeploy structures for enhanced blockchain functionality.
    • Updated the kroma-validator module for improved logging and transaction submission.
    • Added a package for beacon chain predeploys, enhancing execution layer integration.
  • Documentation

    • Updated CONTRIBUTING.md with clearer setup and testing instructions.
    • Enhanced documentation for the op-bindings module.
  • Refactor

    • Significant updates to .gitignore for better file management.
    • Enhanced kroma-chain-ops module with comprehensive updates for configuration and deployment.
    • Refactored kroma-devnet scripts and environment variables for improved local testing.
    • Modified op-batcher module for improved performance and configurability.
  • Chores

    • Updated the LICENSE file's copyright year.
    • Adjusted the Makefile for more efficient geth installation.
    • Removed a specific ESLint rule for better code consistency.
  • Bug Fixes

    • Addressed potential installation issues in GitHub Actions by modifying workflow setup.
  • Style

    • No specific style changes noted.
  • Tests

    • Enhanced test configurations and structures across various modules for more robust testing.
  • Revert

    • No reverts mentioned in the summary.

ajsutton and others added 30 commits February 14, 2024 15:15
Bumps [@wagmi/cli](https://github.com/wevm/wagmi/tree/HEAD/packages/cli) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/wevm/wagmi/releases)
- [Changelog](https://github.com/wevm/wagmi/blob/main/packages/cli/CHANGELOG.md)
- [Commits](https://github.com/wevm/wagmi/commits/@wagmi/cli@2.1.1/packages/cli)

---
updated-dependencies:
- dependency-name: "@wagmi/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* op-bindings

* op-challenger n ops
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.16 to 20.11.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.3.106 to 1.4.1.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](swc-project/swc@v1.3.106...v1.4.1)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [nx](https://github.com/nrwl/nx/tree/HEAD/packages/nx) from 18.0.2 to 18.0.4.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/18.0.4/packages/nx)

---
updated-dependencies:
- dependency-name: nx
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The fault proof tests aren't being load balanced particularly well so an executor sometimes takes more than 40m to run.
* op-challenger: Add a wrapper to allow validating output roots are safe at a given L1 head

* op-challenger: Don't pass L1Head around so much.

* op-challenger: Rename and add tests.

* Update bindings.

* Update op-ufm go.sum

* Rollback op-ufm changes.

* op-challenger: Alphabet VM does not require checking for consistency with L1 data

* op-challenger: Add error handling test.
* ci: Tag fp-squad when op-e2e-cannon-tests fails

* ci: Also tag proofs squad on fpp-verify failures.
* FP: add KZG point-evaluation preimage-oracle type, to process L2 oracle call with

* op-program: Integrate kzg precompile oracle

* fix PreimageOracle.sol

* store kzg precompile input preimage

* update bindings and go.mod

* fix go.mod

* resolve TODOs

* s/Hex2Bytes/FromHex

* fix typo

* ctb: set kzg preimage length to 1

* op-challenger: Load kzg point evaluations to PreimageOracle (#9497)

* op-challenger: load KZG point evaluation into oracle

Also: increase max game depth for devnet.
This is a temporary solution to avoid flakes in e2e tests that use the kzg precompile.
The current execution trace max step of 2**31 steps isn't sufficient.

---------

Co-authored-by: inphi <mlaw2501@gmail.com>
Co-authored-by: refcell <abigger87@gmail.com>
1 second time outs in CI is just asking for flakiness.
… (#9512)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.19.1 to 6.21.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.21.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix

* another

* not -> neither
* add additional check before emitting log warning

* Update op-node/rollup/derive/engine_controller.go

Co-authored-by: protolambda <proto@protolambda.com>

---------

Co-authored-by: protolambda <proto@protolambda.com>
op-e2e/op_geth_test.go Outdated Show resolved Hide resolved
op-e2e/op_geth_test.go Outdated Show resolved Hide resolved
.eslintrc.js Show resolved Hide resolved
LICENSE Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
.markdownlint.json Show resolved Hide resolved
kroma-bindings/predeploys/addresses_test.go Outdated Show resolved Hide resolved
op-node/rollup/derive/ecotone_upgrade_transactions.go Outdated Show resolved Hide resolved
op-node/rollup/derive/ecotone_upgrade_transactions.go Outdated Show resolved Hide resolved
packages/contracts/contracts/L2/L1Block.sol Outdated Show resolved Hide resolved
packages/contracts/contracts/libraries/Encoding.sol Outdated Show resolved Hide resolved
packages/contracts/contracts/test/GasPriceOracle.t.sol Outdated Show resolved Hide resolved
@kangsorang kangsorang force-pushed the feat/upstream-optimism branch from 0fc6657 to 6f57d95 Compare April 4, 2024 12:48
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review Status

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 94c7269 and 6f57d95.
Files ignored due to path filters (2)
  • go.mod is excluded by !**/*.mod, !**/*.mod
  • go.sum is excluded by !**/*.sum, !**/*.sum
Files selected for processing (16)
  • .changeset/config.json (1 hunks)
  • .gitignore (2 hunks)
  • CONTRIBUTING.md (3 hunks)
  • LICENSE (2 hunks)
  • UPSTREAM.md (1 hunks)
  • kroma-bindings/bindings/l1block.go (4 hunks)
  • kroma-bindings/bindings/l1block_more.go (1 hunks)
  • kroma-bindings/predeploys/addresses_test.go (1 hunks)
  • kroma-bindings/predeploys/beacon_deposit.go (1 hunks)
  • kroma-chain-ops/genesis/config.go (19 hunks)
  • kroma-chain-ops/genesis/genesis.go (7 hunks)
  • kroma-chain-ops/genesis/layer_one.go (6 hunks)
  • kroma-chain-ops/genesis/setters.go (3 hunks)
  • kroma-chain-ops/immutables/immutables.go (9 hunks)
  • kroma-devnet/README.md (1 hunks)
  • kroma-devnet/devnet/init.py (8 hunks)
Files skipped from review as they are similar to previous changes (11)
  • .changeset/config.json
  • LICENSE
  • kroma-bindings/bindings/l1block.go
  • kroma-bindings/bindings/l1block_more.go
  • kroma-bindings/predeploys/addresses_test.go
  • kroma-bindings/predeploys/beacon_deposit.go
  • kroma-chain-ops/genesis/config.go
  • kroma-chain-ops/genesis/genesis.go
  • kroma-chain-ops/genesis/layer_one.go
  • kroma-chain-ops/genesis/setters.go
  • kroma-devnet/devnet/init.py
Additional comments not posted (5)
UPSTREAM.md (1)

1-5: The version information for Optimism is correctly updated and formatted.

kroma-devnet/README.md (1)

5-5: The instructions for invoking the script have been updated accurately and are clear. It's good to see that feedback from previous reviews has been incorporated.

.gitignore (1)

1-37: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [2-47]

The updates to .gitignore are appropriate and seem to reflect the project's current needs.

Ensure that the removals, such as .env* and __pycache__, align with the project's current structure and build process.

Verification successful

The shell script output supports the updates made to the .gitignore file, showing that .env files, except for examples like .env.example, are intended to be excluded from version control, which aligns with common practices. The absence of __pycache__ directories suggests that either Python code is not a significant part of this project anymore, or that these directories are being managed differently, justifying their exclusion. The review comment's suggestion to verify the removals was appropriate, and the verification confirms the appropriateness of the changes.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Verify that the removed paths are no longer generated or are handled differently.
# Example check for .env files
fd '.env' --type f
# Example check for __pycache__ directories
fd '__pycache__' --type d

Length of output: 76

kroma-chain-ops/immutables/immutables.go (2)

197-201: Ensure proper error handling when creating a new L2 backend. The current implementation is correct, but always double-check error paths for new external calls.


264-272: Verify the handling of type assertions and ensure they are correctly implemented, especially when dealing with external inputs or configurations.

@kangsorang kangsorang force-pushed the feat/upstream-optimism branch from 6f57d95 to 3605bc4 Compare April 5, 2024 01:36
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review Status

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 94c7269 and 3605bc4.
Files ignored due to path filters (5)
  • go.mod is excluded by !**/*.mod, !**/*.mod
  • go.sum is excluded by !**/*.sum, !**/*.sum
  • kroma-chain-ops/genesis/testdata/allocs-l1.json is excluded by !**/*.json
  • kroma-chain-ops/genesis/testdata/deploy.json is excluded by !**/*.json
  • kroma-chain-ops/genesis/testdata/l1-deployments.json is excluded by !**/*.json
Files selected for processing (17)
  • .changeset/config.json (1 hunks)
  • .gitignore (2 hunks)
  • CONTRIBUTING.md (3 hunks)
  • LICENSE (2 hunks)
  • UPSTREAM.md (1 hunks)
  • kroma-bindings/bindings/l1block.go (4 hunks)
  • kroma-bindings/bindings/l1block_more.go (1 hunks)
  • kroma-bindings/predeploys/addresses_test.go (1 hunks)
  • kroma-bindings/predeploys/beacon_deposit.go (1 hunks)
  • kroma-chain-ops/genesis/config.go (19 hunks)
  • kroma-chain-ops/genesis/genesis.go (7 hunks)
  • kroma-chain-ops/genesis/layer_one.go (6 hunks)
  • kroma-chain-ops/genesis/setters.go (3 hunks)
  • kroma-chain-ops/immutables/immutables.go (9 hunks)
  • kroma-devnet/README.md (1 hunks)
  • kroma-devnet/devnet/init.py (8 hunks)
  • kroma-validator/config.go (1 hunks)
Files skipped from review as they are similar to previous changes (11)
  • .changeset/config.json
  • LICENSE
  • kroma-bindings/bindings/l1block.go
  • kroma-bindings/bindings/l1block_more.go
  • kroma-bindings/predeploys/addresses_test.go
  • kroma-bindings/predeploys/beacon_deposit.go
  • kroma-chain-ops/genesis/config.go
  • kroma-chain-ops/genesis/genesis.go
  • kroma-chain-ops/genesis/layer_one.go
  • kroma-chain-ops/genesis/setters.go
  • kroma-devnet/devnet/init.py
Additional comments not posted (6)
UPSTREAM.md (1)

1-5: LGTM! The version information is correctly updated to reflect the upgrade to Optimism v1.7.2.

kroma-devnet/README.md (1)

5-5: LGTM! The command update is correctly documented to reflect the changes in how to invoke the script for running a local Bedrock devnet.

.gitignore (1)

1-37: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [2-47]

Verify the removals from .gitignore to ensure they align with the project's current setup and dependency management strategy.

kroma-validator/config.go (1)

18-18: LGTM! The correction of the import path for the oppprof package is accurate and necessary.

kroma-chain-ops/immutables/immutables.go (2)

84-94: LGTM! The addition of new structs is comprehensive and necessary for the project's functionality.


264-272: Verify the removal of the "L2ToL1MessagePasser" case as mentioned in a previous comment.

Comment on lines +77 to +86
* [Git](https://git-scm.com/downloads)
* [NodeJS](https://nodejs.org/en/download/)
* [Node Version Manager](https://github.com/nvm-sh/nvm)
* [pnpm](https://pnpm.io/installation)
* [Docker](https://docs.docker.com/get-docker/)
* [Docker Compose](https://docs.docker.com/compose/install/)
* [Go](https://go.dev/dl/)
* [Foundry](https://getfoundry.sh)
* [jq](https://jqlang.github.io/jq/)
* [go-ethereum](https://github.com/ethereum/go-ethereum)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the spelling of "NodeJS" to "Node.js" to align with the official terminology.

- * [NodeJS](https://nodejs.org/en/download/)
+ * [Node.js](https://nodejs.org/en/download/)

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
* [Git](https://git-scm.com/downloads)
* [NodeJS](https://nodejs.org/en/download/)
* [Node Version Manager](https://github.com/nvm-sh/nvm)
* [pnpm](https://pnpm.io/installation)
* [Docker](https://docs.docker.com/get-docker/)
* [Docker Compose](https://docs.docker.com/compose/install/)
* [Go](https://go.dev/dl/)
* [Foundry](https://getfoundry.sh)
* [jq](https://jqlang.github.io/jq/)
* [go-ethereum](https://github.com/ethereum/go-ethereum)
* [Git](https://git-scm.com/downloads)
* [Node.js](https://nodejs.org/en/download/)
* [Node Version Manager](https://github.com/nvm-sh/nvm)
* [pnpm](https://pnpm.io/installation)
* [Docker](https://docs.docker.com/get-docker/)
* [Docker Compose](https://docs.docker.com/compose/install/)
* [Go](https://go.dev/dl/)
* [Foundry](https://getfoundry.sh)
* [jq](https://jqlang.github.io/jq/)
* [go-ethereum](https://github.com/ethereum/go-ethereum)

Copy link
Contributor

@sm-stack sm-stack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

op-e2e/actions/user.go Outdated Show resolved Hide resolved
op-e2e/sequencer_failover_test.go Show resolved Hide resolved
op-e2e/setup.go Show resolved Hide resolved
op-e2e/setup.go Outdated Show resolved Hide resolved
op-e2e/setup.go Show resolved Hide resolved
kroma-chain-ops/genesis/config.go Outdated Show resolved Hide resolved
op-e2e/withdrawal_helper.go Outdated Show resolved Hide resolved
op-node/rollup/types.go Outdated Show resolved Hide resolved
kroma-chain-ops/genesis/layer_one.go Outdated Show resolved Hide resolved
ops-devnet/docker-compose.yml Outdated Show resolved Hide resolved

l2:
pid: host # allow debugging
image: kromanetwork/geth:v0.4.5-rc.2
image: kromanetwork/geth:upstream
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to update this when geth released.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I will update it at the end of the PR.

ops-devnet/docker-compose.yml Outdated Show resolved Hide resolved
ops-devnet/entrypoint-l1.sh Outdated Show resolved Hide resolved
op-service/oppprof/cli.go Show resolved Hide resolved
kroma-chain-ops/immutables/immutables.go Show resolved Hide resolved
op-chain-ops/state/memory_db.go Show resolved Hide resolved
packages/contracts/contracts/L2/L1Block.sol Outdated Show resolved Hide resolved
LICENSE Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@kangsorang kangsorang force-pushed the feat/upstream-optimism branch from 3605bc4 to 640a775 Compare April 5, 2024 06:47
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Review Status

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 94c7269 and 640a775.
Files ignored due to path filters (6)
  • go.mod is excluded by !**/*.mod, !**/*.mod
  • go.sum is excluded by !**/*.sum, !**/*.sum
  • kroma-chain-ops/genesis/testdata/allocs-l1.json is excluded by !**/*.json
  • kroma-chain-ops/genesis/testdata/deploy.json is excluded by !**/*.json
  • kroma-chain-ops/genesis/testdata/l1-deployments.json is excluded by !**/*.json
  • kroma-chain-ops/genesis/testdata/test-deploy-config-full.json is excluded by !**/*.json
Files selected for processing (17)
  • .changeset/config.json (1 hunks)
  • .gitignore (2 hunks)
  • CONTRIBUTING.md (3 hunks)
  • LICENSE (2 hunks)
  • UPSTREAM.md (1 hunks)
  • kroma-bindings/bindings/l1block.go (4 hunks)
  • kroma-bindings/bindings/l1block_more.go (1 hunks)
  • kroma-bindings/predeploys/addresses_test.go (1 hunks)
  • kroma-bindings/predeploys/beacon_deposit.go (1 hunks)
  • kroma-chain-ops/genesis/config.go (19 hunks)
  • kroma-chain-ops/genesis/genesis.go (7 hunks)
  • kroma-chain-ops/genesis/layer_one.go (6 hunks)
  • kroma-chain-ops/genesis/setters.go (3 hunks)
  • kroma-chain-ops/immutables/immutables.go (9 hunks)
  • kroma-devnet/README.md (1 hunks)
  • kroma-devnet/devnet/init.py (8 hunks)
  • kroma-validator/config.go (3 hunks)
Files skipped from review as they are similar to previous changes (12)
  • .changeset/config.json
  • LICENSE
  • kroma-bindings/bindings/l1block.go
  • kroma-bindings/bindings/l1block_more.go
  • kroma-bindings/predeploys/addresses_test.go
  • kroma-bindings/predeploys/beacon_deposit.go
  • kroma-chain-ops/genesis/config.go
  • kroma-chain-ops/genesis/genesis.go
  • kroma-chain-ops/genesis/layer_one.go
  • kroma-chain-ops/genesis/setters.go
  • kroma-devnet/devnet/init.py
  • kroma-validator/config.go
Additional comments not posted (3)
UPSTREAM.md (1)

1-5: LGTM! The version information for Optimism is clearly stated and correctly formatted.

kroma-devnet/README.md (1)

2-5: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [1-5]

LGTM! The instructions for running a local Bedrock devnet are clear and correctly formatted.

kroma-chain-ops/immutables/immutables.go (1)

22-58: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [14-316]

LGTM! The additions of new structs and updates to the Deploy function are necessary for the project's functionality and align with the upgrade to Optimism v1.7.2.

Comment on lines 1 to 37

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

### Vim ###
# Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]

# Session
Session.vim
Sessionx.vim

# Temporary
.netrwhist
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

# Local History for Visual Studio Code
.history/

# Built Visual Studio Code Extensions
*.vsix

### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide

### yarn ###
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored

yarn-error.log
.yarn/*
!.yarn/releases
!.yarn/patches
!.yarn/plugins
!.yarn/sdks
!.yarn/versions

# if you are NOT using Zero-installs, then:
# comment the following lines
!.yarn/cache
.pnp.*

# and uncomment the following lines
# .pnp.*
dist
artifacts
cache
bin

# End of https://www.toptal.com/developers/gitignore/api/go,node,python,yarn,vim,visualstudiocode,linux,macos
# vim
*.sw*

### JetBrains ###
.idea
# jetbrains
.idea/

### Hardhat ###
cache
artifacts
!/op-bindings/hardhat/testdata/artifacts/
.secrets
.env
.env*
!.env.example
!.envrc.example
*.log

### Devnet
.devnet
packages/contracts/deployments/devnetL1

### Misc ###
# Ignore all binary folders
bin/

# Ignore local fuzzing results
**/testdata/fuzz/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tip

Codebase Verification

The executed script found references to the entries that were removed from the .gitignore file across various files in the project. This suggests that the project still makes use of or references these directories and file types. It's recommended to review these findings and assess whether any of the removed entries should be added back to .gitignore to prevent potential issues such as unwanted tracking of files by Git or exposure of sensitive information.

Analysis chain

📝 NOTE
This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [2-47]

Verify the changes in the .gitignore file, especially the removals, to ensure they align with the project's current structure and dependencies.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Check for references to removed .gitignore entries in the project
rg --files-with-matches '.yarn/|.pnp.|.secrets|.env|*.log|__pycache__|crytic-export'

Length of output: 247



Script:

#!/bin/bash
# Corrected search for references to removed .gitignore entries in the project
# Escaping special characters in the regex pattern
rg --files-with-matches '\.yarn/|\.pnp\.|\.\secrets|\.env|\*\.log|__pycache__|crytic-export'

Length of output: 1664

- [Go](https://go.dev/dl/)
- [Foundry](https://getfoundry.sh)
* [Git](https://git-scm.com/downloads)
* [NodeJS](https://nodejs.org/en/download/)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the spelling of "NodeJS" to "Node.js" to align with the official terminology.

- * [NodeJS](https://nodejs.org/en/download/)
+ * [Node.js](https://nodejs.org/en/download/)

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
* [NodeJS](https://nodejs.org/en/download/)
* [Node.js](https://nodejs.org/en/download/)

Copy link
Contributor

@0xHansLee 0xHansLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your efforts. LGTM

@kangsorang kangsorang force-pushed the feat/upstream-optimism branch from 2d4edee to 1efec1c Compare April 5, 2024 09:18
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review Status

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 640a775 and 1efec1c.
Files selected for processing (2)
  • kroma-bindings/bindings/l1block.go (4 hunks)
  • kroma-bindings/bindings/l1block_more.go (1 hunks)
Files skipped from review as they are similar to previous changes (2)
  • kroma-bindings/bindings/l1block.go
  • kroma-bindings/bindings/l1block_more.go

@kangsorang kangsorang force-pushed the feat/upstream-optimism branch from 1670641 to 0e9844c Compare April 5, 2024 10:07
Copy link
Contributor

@seolaoh seolaoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 ⚡

@kangsorang kangsorang merged commit b1649fa into dev Apr 8, 2024
2 checks passed
@kangsorang kangsorang deleted the feat/upstream-optimism branch April 8, 2024 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.