/finalization-updater-besu-plugin

A Linea-Besu plugin that update finalized block

Primary LanguageJavaApache License 2.0Apache-2.0

Finalization Updater Besu Plugin

A Besu plugin that provides an RPC method to record and update the finalized block that can be utilized by L2.

GitHub Actions Workflow Status

Build Instructions

You can either use pre-built jar from Assets section in releases or build it yourself.

Note

This project requires Java 21 or later. If it is not available, the gradle build will attempt to download one and use it.

  • Checkout the project:
git clone https://github.com/Consensys/finalization-updater-besu-plugin.git
[versions]
besu = "24.6.0"
  • Build the plugin:
./gradlew clean build

The plugin jar will be available at build/libs/finalization-updater-besu-plugin-<version>.jar.

Usage

Drop the finalization-updater-besu-plugin-<version>.jar in the /plugins folder under Besu installation. This plugin will expose following RPC methods:

linea_updateFinalizedBlockV1(finalizedBlockNumber: Long): Boolean

License

SPDX-License-Identifier: Apache-2.0

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md for more details.