Skip to content

Conversation

@Karrq
Copy link
Collaborator

@Karrq Karrq commented Nov 28, 2025

The aim of this PR is to improve the DevX by providing a more streamlined set of scripts to setup and start testing the environment locally, but also aid during first checkout, by fetching all required external dependencies, not otherwise present in the repo.

NOTE: Originally the PR moved rabby from the root to deps/rabby for consistency, but that exploded the number of changed files. So this PR still has the assumption that rabby lives in deps/rabby, but the rabby fork will be moved in a separate PR.

TODO:

  • External dependency management
  • Migrate gateway config and start
  • Migrate main node config and start (with existing chain)
  • Migrate L2 chain deployment
  • Migrate common operations (start/stop, logs, ...)
  • Migrate testing recipes
  • Update README

@pamungkaski
Copy link
Collaborator

@claude plz review

@Karrq
Copy link
Collaborator Author

Karrq commented Dec 1, 2025

There are some things I'd like to clarify to improve this further:

  1. BOP_EL_PORT, OP_EL_PORT, BOP_NODE_PORT and SEQ seem to be used but I'm unable to determine what their values should be
  2. fix-compose recipe is used but I can't find its definition
  3. spamoor-daemon folder is used but can't find it in the repo
  4. how are gateway-spam and gateway-bench supposed to be used?

@Karrq Karrq marked this pull request as ready for review December 1, 2025 19:59
@Karrq Karrq requested review from BrycePy, louisponet and ltitanb and removed request for louisponet and ltitanb December 1, 2025 19:59
Karrq added 3 commits December 2, 2025 17:08
fix: typos
fix: IPv6 public logs
fix: more typos
fix: register-gateway
refactor: scripts/overseer -> based/overseer
fix: public-ip
perf: public-ip
Karrq added 8 commits December 4, 2025 18:37
fix(ci): prepare checks full config
fix(test): defaults for env variables
feat(ci): restore wallets from backup
fix(make): correct defaults for L1 RPCs
fix(deploy): set chain cfg folder permissions
@BrycePy
Copy link
Contributor

BrycePy commented Dec 22, 2025

Commit dcf5bb2 seems to break the just reset-and-start-full-stack-local command. I'm getting the following errors:

Resetting configuration and deploying new L2 from scratch
just -f /home/su/based-op/Justfile main-node reset
just -f based/main-node.just reset
cat: /home/su/based-op/.local/.wallet/batcher/key: No such file or directory
error: Recipe `key` failed on line 68 with exit code 1
error: Call to function `shell` failed: Process exited with status code 1
  ——▶ main-node.just:20:48
   │
20 │ export OP_BATCHER_KEY := env("OP_BATCHER_KEY", shell(wallet + " key batcher"))
   │                                                ^^^^^
error: Recipe `main-node` failed on line 66 with exit code 1
error: Recipe `reset` failed on line 96 with exit code 1
just -f based/main-node.just config-with-deploy
cat: /home/su/based-op/.local/.wallet/batcher/key: No such file or directory
error: Recipe `key` failed on line 68 with exit code 1
error: Call to function `shell` failed: Process exited with status code 1
  ——▶ main-node.just:20:48
   │
20 │ export OP_BATCHER_KEY := env("OP_BATCHER_KEY", shell(wallet + " key batcher"))
   │                                                ^^^^^
error: Recipe `main-node` failed on line 66 with exit code 1
error: Recipe `reset-and-start-full-stack-local` failed with exit code 1

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.

4 participants