@@ -45,9 +45,9 @@ You will need access to a fully-synced **Ethereum Mainnet** or **Ethereum Sepoli
45451 . Clone the latest version of ` l2geth ` .
4646
4747 ``` bash
48- $ git clone https://github.com/scroll-tech/go-ethereum l2geth-source
49- $ cd l2geth-source
50- $ git checkout VERSION
48+ git clone https://github.com/scroll-tech/go-ethereum l2geth-source
49+ cd l2geth-source
50+ git checkout VERSION
5151 ```
52522 . Ensure that you are using version 1.20 of ` go ` .
53533 . Install the gcc compiler: ` sudo apt install build-essential ` .
@@ -63,7 +63,7 @@ Please consider opening port `30303`(UDP & TCP) and enabling discovery so that o
63631 . Run ` l2geth ` .
6464
6565 ``` bash
66- $ l2geth --scroll \
66+ l2geth --scroll \
6767 --datadir " ./l2geth-datadir" \
6868 --gcmode archive --cache.noprefetch \
6969 --http --http.addr " 0.0.0.0" --http.port 8545 --http.api " eth,net,web3,debug,scroll" \
@@ -82,7 +82,7 @@ Please consider opening port `30303`(UDP & TCP) and enabling discovery so that o
82822 . In a separate shell, you can now attach to ` l2geth ` .
8383
8484 ``` bash
85- $ l2geth attach " ./l2geth-datadir/geth.ipc"
85+ l2geth attach " ./l2geth-datadir/geth.ipc"
8686
8787 > admin.peers.length
8888 5
@@ -111,7 +111,7 @@ Running the node in Docker might have a significant impact on node performance.
1111111 . Run the ` l2geth ` container using the name ` l2geth-docker ` :
112112
113113 ``` bash
114- $ docker run --rm --name l2geth-docker -v $( pwd) :/volume -p 8545:8545 -e RUST_LOG=" info" -e CHAIN_ID=" 534352" scrolltech/l2geth:latest \
114+ docker run --rm --name l2geth-docker -v $( pwd) :/volume -p 8545:8545 -e RUST_LOG=" info" -e CHAIN_ID=" 534352" scrolltech/l2geth:latest \
115115 --scroll \
116116 --datadir " /volume/l2geth-datadir" \
117117 --gcmode archive --cache.noprefetch \
@@ -123,7 +123,7 @@ Running the node in Docker might have a significant impact on node performance.
1231232 . In a separate shell, you can now attach to ` l2geth ` .
124124
125125 ``` bash
126- $ docker exec -it l2geth-docker geth attach " /volume/l2geth-datadir/geth.ipc"
126+ docker exec -it l2geth-docker geth attach " /volume/l2geth-datadir/geth.ipc"
127127
128128 > admin.peers.length
129129 5
0 commit comments