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(WIP): enhance supersim visual cli #257

Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ go.work.sum
/main
dist/
cache/

supersim-logs/*
node_modules/*
20 changes: 20 additions & 0 deletions mprocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
procs:
supersim:
cwd: .
shell: pnpm exec supersim --interop.autorelay --logs.directory supersim-logs

l1-chain:
cwd: supersim-logs
shell: wait-port 8545 && tail -f anvil-900.log

supersim-chain-901:
cwd: supersim-logs
shell: wait-port 9545 && tail -f anvil-901.log

supersim-chain-902:
cwd: supersim-logs
shell: wait-port 9546 && tail -f anvil-902.log

super-echo:
cwd: .
shell: bash
237 changes: 237 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "supersim-project",
"version": "0.0.1",
"scripts": {
"start": "mprocs"
},
"devDependencies": {
"mprocs": "^0.7.1",
"wait-port": "^1.1.0"
},
"description": "**Supersim is a lightweight tool to simulate the Superchain locally** (with a single L1 and multiple OP-Stack L2s).",
"main": "index.js",
"directories": {
"doc": "docs",
"example": "examples"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ethereum-optimism/supersim.git"
},
"keywords": [
"cli",
"supersim",
"mprocs"
],
"author": "Luis Fernando Ushiña <wolfcito>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ethereum-optimism/supersim/issues"
},
"homepage": "https://github.com/ethereum-optimism/supersim#readme"
}
88 changes: 88 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.