Skip to content

v1.15.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Dec 13:15
· 292 commits to master since this release

What changed?

In this version there are plenty of new changes You may find interesting like:

  1. TraceStorePlugin
  2. ETH/67
  3. Shanghai hardfork preparation
  4. Improvements & fixes in JSON-RPC, sync, metrics, networking, recovering from corruption, and more!

JsonRpc

Synchronization & Networking

Shanghai hardfork preparation

Gnosis chain

  • Gnosis bootnodes Update Gnosis bootnodes to be able to sync properly on new nodes.

Plugins

  • TraceStore plugin Allows to save parity like traces (trace JSON RPC module) to database during block processing and later serving them without having the state data. Makes serving relevent trace methods orders of magnitudes faster. Takes disk space. Affected methods: trace_filter, trace_block, trace_transaction, trace_get, trace_replayTransaction, trace_replayBlockTransactions. Resolves #4205 and #4143. Related PRs: #4971 Add TraceStoreConfig.DeserializationParallelization
    • Configuration:
      • TraceStore.Enabled - Defines whether the TraceStore plugin is enabled, if true traces will come from DB if possible. DefaultValue false.
      • TraceStore.BlocksToKeep - Defines how many blocks counting from head are kept in the TraceStore, if 0 all traces of processed blocks will be kept. DefaultValue 10000. Default value was chosen to have neglegible disk usage. Keep in mind that keeping full trace history on disk will take a lot of space.
      • TraceStore.TraceTypes - Defines what kind of traces are saved and kept in TraceStore. Available options are: Trace, Rewards, VmTrace, StateDiff and combinations of them or just All. DefaultValue Trace, Rewards. Default value will suffice to fully support trace_filter, trace_block, trace_transaction, trace_get methods and partial calls to trace_replayTransaction, trace_replayBlockTransactions methods. Non-default values that will include VmTrace or StateDiff will increase resource usage by a lot!
      • TraceStore.DeserializationParallelization - Maximum parallelization when deserializing requests for trace_filter. 0 defaults to logical cores, set to something low if you experience too big resource usage. DefaultValue '0'. Recommended to set to 1 or 2 on low-core public JSON RPC endpoints.

Metrics

CLI

TxPool

Other fixes

Running Nethermind:

Nethermind Launcher is a self-contained app - you do not need to install .NET separately to run it.

PPA
(Tested on Ubuntu Series: Focal, Bionic, Xenial and Trusty)

  1. sudo add-apt-repository ppa:nethermindeth/nethermind
  2. sudo apt install nethermind
  3. To execute the launcher
    nethermind
  4. To execute the runner
    nethermind --config mainnet

Homebrew

  1. brew tap nethermindeth/nethermind
  2. brew install nethermind
  3. To execute the launcher
    nethermind-launcher
  4. To execute the runner
    nethermind --config mainnet

Docker

  1. docker pull nethermind/nethermind
  2. docker run -it nethermind/nethermind

Linux

  1. sudo apt-get update && sudo apt-get install libsnappy-dev libc6-dev libc6 unzip
  2. wget https://github.com/NethermindEth/nethermind/releases/download/1.15.0/nethermind-linux-amd64-1.15.0-2b70876-20221228.zip
  3. unzip nethermind-linux-amd64-1.15.0-2b70876-20221228.zip -d nethermind
  4. cd nethermind
  5. ./Nethermind.Launcher
  6. select desired configuration

Linux Arm64

  1. sudo apt-get update && sudo apt-get install libsnappy-dev libc6-dev libc6 librocksdb5.17 unzip
  2. wget https://github.com/NethermindEth/nethermind/releases/download/1.15.0/nethermind-linux-arm64-1.15.0-2b70876-20221228.zip
  3. unzip nethermind-linux-arm64-1.15.0-2b70876-20221228.zip -d nethermind
  4. cd nethermind
  5. ./Nethermind.Launcher
  6. select desired configuration

Windows

  1. download windows package nethermind-windows-amd64-1.15.0-2b70876-20221228.zip
  2. unzip the file
  3. run Nethermind.Launcher.exe
  4. select desired configuration

macOS

  1. brew install rocksdb
  2. download darwin package nethermind-darwin-amd64-1.15.0-2b70876-20221228.zip
  3. unzip the file
  4. run Nethermind.Launcher
  5. select desired configuration