Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jlwllmr committed Aug 14, 2024
1 parent c1f5c52 commit 9d69bda
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
21 changes: 14 additions & 7 deletions docs/developers/guides/run-a-node/linea-sequencer.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Install the linea-sequencer plugin for BESU
title: Install the linea-sequencer plugin for Besu
description: How to install and configure the linea-sequencer plugin for Besu
image: /img/socialCards/install-the-linea-sequencer-plugin-for-besu.jpg
---
Expand All @@ -8,23 +8,30 @@ image: /img/socialCards/install-the-linea-sequencer-plugin-for-besu.jpg

If you want to run a Linea node and use it to interact with the blockchain, rather than running a
'follower' node that simply keeps a local copy of the chain, then you will need to install the
`linea-sequencer` plugin to ensure full functionality.
`linea-sequencer` plugin to ensure full functionality. This plugin only works with Besu.

Specifically, the Linea-specific API methods documented in our [reference section](/developers/reference/api)
will not work properly unless you install and configure `linea-sequencer`.
will not work unless you install and configure `linea-sequencer`.

## Instructions
## Steps

1. Go to the [`linea-sequencer` repo releases page](https://github.com/Consensys/linea-sequencer/releases)
and download the `.jar` file for the latest release.
1. From the [`linea-sequencer` releases page](https://github.com/Consensys/linea-sequencer/releases),
download the `.jar` file for the latest release.

2. In the local Besu runtime directory (where you will run Besu from), create a directory called
`plugins` and place the `.jar` file there.

3. In the `config-mainnet.toml` file, add `LINEA` to the list of RPC methods:
3. In the Besu configuration file (called `config-mainnet.toml` if you downloaded the [file from
our instructions](pathname:///files/besu/config-mainnet.toml)) file, add `LINEA` to the list of RPC
methods:

```
rpc-http-api=["ADMIN","NET","ETH","WEB3","TXPOOL","LINEA"]
```

Alternatively, you can add `LINEA` to this list in the command line by running:
```
--rpc-http-api=ADMIN,NET,ETH,WEB3,TXPOOL,LINEA
```

When you run Besu, you will see the `linea-sequencer` plugin registered during startup.
8 changes: 4 additions & 4 deletions docs/developers/guides/run-a-node/use-binary.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ Download the genesis file and Besu configuration file.
:::warning[Important: enable linea-sequencer]

You must install and enable the `linea-sequencer` Besu plugin if you are offering RPC services or
hosting nodes for usage. Enabling the plugin is a requirement for using certain endpoints, such as
hosting nodes. Enabling the plugin is a requirement for using certain API methods, such as
[`linea_estimateGas`](/developers/reference/api/linea-estimategas).

Please see our instructions [here](./linea-sequencer) for installing the plugin.
Please see our [instructions for installing the plugin](./linea-sequencer).

If you are simply running a node to follow the chain and its activity, rather than using it to
submit transactions, you do not need to install `linea-sequencer`.
If you are running a node to follow the chain activity, rather than submit transactions, you don't
need to install `linea-sequencer`.

:::

Expand Down

0 comments on commit 9d69bda

Please sign in to comment.