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(op-rs, rollup): load rollup config from file #28

Merged
merged 1 commit into from
Aug 25, 2024

Conversation

merklefruit
Copy link
Collaborator

@merklefruit merklefruit commented Aug 25, 2024

Adds the ability to load the rollup config from a file.
If no file is provided, the config will be loaded from the superchain registry as fallback.

@merklefruit merklefruit force-pushed the nico/feat/cfg-from-file branch 3 times, most recently from a8ad017 to 8f7fe1f Compare August 25, 2024 18:06
Followup from ithacaxyz#14

Many ways to do this, but for now here's what we have:

- the `reth` binary runs the default reth CLI commands with an optional
`--hera` flag. If set, we also try to parse all `HeraArgsExt` flags and
install the ExEx on top of it. The idea is that in the future we may
have more ExExes that can be added in this way.
- `hera` binary is currently empty, but will contain the standalone
rollup node entrypoint.
- refactored `hera-exex` to its own crate, this will make it possible to
also run hera as exex from the `hera` binary as well.

Note: there is a compilation error due to
op-rs/kona#454, unrelated to this
pr.

Open to feedback

feat(kona-exex): step 1: wait for l2 genesis block

chore: typo

chore: rm useless clippy rules

chore: small type coercion

fix: commit tip before breaking loop

feat(hera): rebased on bin/ location change

chore: rename kona -> hera in cli

feat: split reth and hera binaries

chore: cargo lock

fix: last compile err

chore: add crate lints

feat: renamed bin, renamed driver, addressed pr review

chore: fmt

feat: optionally load rollup config from file

chore: rebase

chore: rebase

chore: rebase
@merklefruit merklefruit force-pushed the nico/feat/cfg-from-file branch from 8f7fe1f to 1ad9268 Compare August 25, 2024 18:07
@merklefruit merklefruit requested a review from refcell August 25, 2024 19:38
@merklefruit merklefruit merged commit 214e7a3 into ithacaxyz:main Aug 25, 2024
11 checks passed
@merklefruit merklefruit deleted the nico/feat/cfg-from-file branch August 25, 2024 19:54
@shekhirin shekhirin added C-enhancement New feature or request A-hera Area: OP Stack Rollup node binary A-cli CLI and binaries labels Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cli CLI and binaries A-hera Area: OP Stack Rollup node binary C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants