Skip to content

Commit d161833

Browse files
m4sterbunnyalexandratrandependabot[bot]
authored
Linea is a supported network (#1871)
* adds notes that linea is supported Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net> * adds linea named Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net> * details naming linea network plus tag along fixes Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net> * tweaks the comment Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net> * Update docs/public-networks/index.md Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Signed-off-by: m4sterbunny <harrie.bickle@consensys.net> Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net> adding DCO demanded author * Update docs/public-networks/get-started/connect/index.md Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net> Signed-off-by: m4sterbunny <harrie.bickle@consensys.net> * Bump node-forge in the npm_and_yarn group across 1 directory (#1878) Bumps the npm_and_yarn group with 1 update in the / directory: [node-forge](https://github.com/digitalbazaar/forge). Updates `node-forge` from 1.3.1 to 1.3.2 - [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md) - [Commits](digitalbazaar/forge@v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: node-forge dependency-version: 1.3.2 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: m4sterbunny@consensys.net Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * rmvs commented line Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net> Signed-off-by: m4sterbunny <harrie.bickle@consensys.net> --------- Signed-off-by: m4sterbunny <harrie.bickle-ext@consensys.net> Signed-off-by: m4sterbunny <harrie.bickle@consensys.net> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: m4sterbunny@consensys.net Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 13a798e commit d161833

File tree

7 files changed

+57
-24
lines changed

7 files changed

+57
-24
lines changed

docs/public-networks/concepts/network-and-chain-id.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ Besu sets the chain ID (and by default the network ID) automatically, using eith
4040
| `hoodi` | ETH | 560048 | 560048 | Test |
4141
| `sepolia` | ETH | 11155111 | 11155111 | Test |
4242
| `dev` | ETH | 2018 | 2018 | Development |
43-
| `ephemery`| ETH | [dynamic](https://github.com/ephemery-testnet/ephemery-genesis/releases) | [dynamic](https://github.com/ephemery-testnet/ephemery-genesis/releases) | Test |
43+
| `ephemery`| ETH | [dynamic](https://github.com/ephemery-testnet/ephemery-genesis/releases) | [dynamic](https://github.com/ephemery-testnet/ephemery-genesis/releases) | Test |
44+
| `lukso` | Lukso | 4201 | 4201 | Production |
45+
| `linea` | Linea | 59144 | 59144 | Production |
46+
| `linea_sepolia`| Linea |59141 | 59141 | Test |
47+
4448

4549
:::info
4650

docs/public-networks/get-started/connect/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,10 @@ hide:
99
# Connect to a network
1010

1111
This section provides information on connecting Besu to a public Ethereum network.
12+
13+
:::note
14+
15+
Besu is also compatible with [Linea](https://docs.linea.build/get-started/how-to/run-a-node/besu), the Ethereum L2.
16+
17+
:::
18+

docs/public-networks/get-started/start-node.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ tags:
66
- public networks
77
---
88

9+
import Tabs from '@theme/Tabs';
10+
import TabItem from '@theme/TabItem';
11+
912
# Start Besu
1013

11-
Nodes can connect to Ethereum Mainnet and public testnets.
14+
Nodes can connect to Ethereum Mainnet, [Linea](https://docs.linea.build/get-started/how-to/run-a-node), and their respective public testnets.
1215

1316
Use the [`besu`](../reference/cli/options.md) command with the required command line options to start a node.
1417

@@ -24,7 +27,7 @@ To delete the local block data, delete the `database` directory in the `besu/bui
2427

2528
## Genesis configuration
2629

27-
Besu specifies the genesis configuration, and sets the network ID and bootnodes when connecting to [Hoodi](#run-a-node-on-hoodi-testnet), [Sepolia](#run-a-node-on-sepolia-testnet), [Ephemery](#run-a-node-on-ephemery-testnet), and [Mainnet](#run-a-node-on-ethereum-mainnet).
30+
Besu specifies the genesis configuration, and sets the network ID and bootnodes when connecting to [ETH testnets](#run-a-node-on-an-eth-testnet), and [Mainnet](#run-a-node-on-ethereum-mainnet).
2831

2932
:::info
3033

@@ -80,7 +83,11 @@ The following settings are a security risk in production environments:
8083

8184
:::
8285

83-
## Run a node on Hoodi testnet
86+
## Run a node on an Ethereum testnet
87+
88+
<Tabs>
89+
90+
<TabItem value="Hoodi" label="Hoodi" default>
8491

8592
To run a node on [Hoodi](https://github.com/eth-clients/hoodi) specifying a data directory:
8693

@@ -90,9 +97,9 @@ besu --network=hoodi --data-path=<path>/<hoodidata-path>
9097

9198
Where `<path>` and `<hoodidata-path>` are the path and directory to save the Hoodi chain data to.
9299

93-
See the [guide on connecting to a testnet](connect/testnet.md) for more information.
100+
</TabItem>
94101

95-
## Run a node on Sepolia testnet
102+
<TabItem value="Sepolia" label="Sepolia">
96103

97104
To run a node on [Sepolia](https://github.com/eth-clients/sepolia) specifying a data directory:
98105

@@ -102,9 +109,9 @@ besu --network=sepolia --data-path=<path>/<sepoliadata-path>
102109

103110
Where `<path>` and `<sepoliadata-path>` are the path and directory to save the Sepolia chain data to.
104111

105-
See the [guide on connecting to a testnet](connect/testnet.md) for more information.
112+
</TabItem>
106113

107-
## Run a node on Ephemery testnet
114+
<TabItem value="Ephemery" label="Ephemery">
108115

109116
To run a node on [Ephemery](https://github.com/ephemery-testnet/ephemery-resources?tab=readme-ov-file) specifying a data directory:
110117

@@ -114,6 +121,10 @@ besu --network=ephemery --data-path=<path>/<ephemery-data-path>
114121

115122
Where `<path>` and `<ephemery-data-path>` are the path and directory to save the Ephemery chain data to.
116123

124+
</TabItem>
125+
126+
</Tabs>
127+
117128
See the [guide on connecting to a testnet](connect/testnet.md) for more information.
118129

119130
## Run a node on Ethereum Mainnet

docs/public-networks/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ Besu serves as an [execution client](concepts/node-clients.md#execution-clients)
1616
- Ephemery
1717
- Sepolia
1818

19+
:::note
20+
21+
Besu is also compatible with [Linea](https://docs.linea.build/get-started/how-to/run-a-node/besu), the Ethereum L2.
22+
23+
:::
24+
1925
Get started by [installing Besu](get-started/install/index.md).
2026

2127
## Architecture

docs/public-networks/reference/api/index.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7145,18 +7145,20 @@ None
71457145
#### Returns
71467146
71477147
`result`: _string_ - current network ID
7148-
7149-
| Network ID | Chain | Network | Description |
7150-
| ---------- | ----- | ------- | ----------------------------- |
7151-
| `1` | ETH | Mainnet | Main Ethereum network |
7152-
| `560048` | ETH | Hoodi | PoS test network |
7153-
| `11155111` | ETH | Sepolia | PoS test network |
7154-
| `2018` | ETH | Dev | PoW development network |
7155-
7148+
7149+
| Network ID | Chain | Network | Description |
7150+
| ---------- | -------| ------- | ----------------------------- |
7151+
| `1` | ETH | Mainnet | Main Ethereum network |
7152+
| `560048` | ETH | Hoodi | Ethereum PoS test network |
7153+
| `11155111` | ETH | Sepolia | Ethereum PoS test network |
7154+
| `2018` | ETH | Dev | Ethereum PoW development network|
7155+
| `59144` | Linea | Mainnet | Main Linea network |
7156+
| `59141` | Linea | Testnet | Linea Sepolia testnet |
7157+
| `4201` | Lukso | Mainnet | Main Lukso network |
71567158
71577159
:::note
71587160
7159-
For almost all networks, network ID and chain ID are the same.
7161+
For almost all networks, network ID and chain ID are the same. For Ephemery, the network ID is dynamic.
71607162
71617163
:::
71627164

docs/public-networks/reference/cli/options.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2963,12 +2963,15 @@ Possible values include the following:
29632963

29642964
| Network | Chain | Type | Default sync mode | Consensus mechanism | Description |
29652965
|:-----------|:------|:------------|:---------------------|:--------------------|:-------------------------------------------------------------------------------|
2966-
| `mainnet` | ETH | Production | [`SNAP`](#sync-mode) | A PoS network | The main [Ethereum network](https://ethereum.org/en/developers/docs/networks/) |
2967-
| `hoodi` | ETH | Test | [`SNAP`](#sync-mode) | A PoS network | Multi-client testnet [Hoodi](https://hoodi.ethpandaops.io/) |
2968-
| `sepolia` | ETH | Test | [`SNAP`](#sync-mode) | A PoS network | Multi-client testnet [Sepolia](https://sepolia.dev) |
2969-
| `lukso` | ETH | Production | [`SNAP`](#sync-mode) | A PoS network | Network for the [Lukso chain](https://lukso.network/) |
2970-
| `dev` | ETH | Development | [`FULL`](#sync-mode) | A PoW network | Development network with low difficulty to enable local CPU mining |
2971-
| `ephemery` | ETH | Test | [`SNAP`](#sync-mode) | A PoS network | Multi-client testnet [Ephemery](https://ephemery.dev) |
2966+
| `mainnet` | ETH | Production | [`SNAP`](#sync-mode) | PoS network | The main [Ethereum network](https://ethereum.org/en/developers/docs/networks/) |
2967+
| `hoodi` | ETH | Test | [`SNAP`](#sync-mode) | PoS network | Multi-client Ethereum testnet [Hoodi](https://hoodi.ethpandaops.io/) |
2968+
| `sepolia` | ETH | Test | [`SNAP`](#sync-mode) | PoS network | Multi-client Ethereum testnet [Sepolia](https://sepolia.dev) |
2969+
| `dev` | ETH | Development | [`FULL`](#sync-mode) | PoW network | Development network with low difficulty to enable local CPU mining |
2970+
| `ephemery` | ETH | Test | [`SNAP`](#sync-mode) | PoS network | Multi-client Ethereum testnet [Ephemery](https://ephemery.dev)
2971+
| `linea` | Linea | Production | [`SNAP`](#sync-mode) | Sequencer-based (zkEVM rollup) | The main [Linea network](https://docs.linea.build/get-started/build/network-info) |
2972+
| `linea_sepolia` | Linea | Test | [`SNAP`](#sync-mode) | Sequencer-based (zkEVM rollup) | Linea [Sepolia testnet](https://docs.linea.build/get-started/build/network-info/) |
2973+
| `lukso` | Lukso | Production | [`SNAP`](#sync-mode) | PoS network | Network for the [Lukso chain](https://lukso.network/) |
2974+
29722975

29732976
:::tip
29742977

docs/public-networks/reference/evm-tool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ The [Besu genesis file](genesis-items.md) to use when evaluating the EVM. Most u
329329
<TabItem value="Syntax" label="Syntax" default>
330330

331331
```bash
332-
--chain=<mainnet|sepolia|dev|hoodi>
332+
--chain=<mainnet|sepolia|dev|hoodi|linea|linea_sepolia>
333333
```
334334

335335
</TabItem>

0 commit comments

Comments
 (0)