Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
e7fc0119
Unverified
Commit
e7fc0119
authored
Apr 17, 2023
by
protolambda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: remove legacy l2-on-l2 demo
parent
425a18f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
44 deletions
+0
-44
l2-on-l2.md
docs/l2-on-l2.md
+0
-44
No files found.
docs/l2-on-l2.md
deleted
100644 → 0
View file @
425a18f8
# Running Cannon on L2
The original Cannon prototype allows challenging L1 blocks on L1. Normally, the
challenger should always fail, as L1 blocks are valid by virtue of being
included on-chain.
The next milestone is to allow challenging L2 blocks on L2. What this proves is
that the extra logic we added in
[
l2geth
](
https://github.com/ethereum-optimism/reference-optimistic-geth
)
(
aka
reference-optimism-geth) does not break anything. It's also a good way to
exercise our devnet infrastructure.
Running the Cannon demo on a mainnet (L1) fork is a simple as doing:
```
bash
# from repo root
demo/challenge_simple.sh
# or
demo/challenge_fault.sh
```
For L2, you'll need first to run the devnet locally. For this, clone the
`develop`
branch of the
[
optimism
monorepo](https://github.com/ethereum-optimism/optimism), then run:
```
bash
yarn
&&
make build
&&
make devnet-clean
&&
make devnet-up
```
If you're having trouble building, here's a
[
full
transcript](https://github.com/ethereum-optimism/cannon/wiki/Bedrock-Full-Devnet-Setup)
of all the commands required to run on a fresh cloud linux machine.
Note it's important to run
`make devnet-clean`
before each invocation of
`make
devnet-up`
to work around some issues at the time of writing.
Then you can run the L2 demos:
```
bash
# from repo root
demo/l2_challenge_simple.sh
# or
demo/l2_challenge_fault.sh
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment