Skip to content

23.1.0

Compare
Choose a tag to compare
@garyschulte garyschulte released this 17 Feb 18:41
· 185 commits to main since this release
7267554

23.1.0

Besu 23.1.0 is a recommended update for Mainnet users. Thank you all for your patience as we crafted this quarterly release.

This is a rather large release with some breaking changes, so please be sure to read these notes carefully before you upgrade any Besu instances. We are including a move to Java 17 LTS. To build and run Besu, please make sure you have Java 17 on the host machine. Additionally, there are a host of spec compliance changes that change existing formats, so please check the specific RPC updates. Lastly, this release formalizes a deprecation notice for GoQuorum privacy modes and IBFT1.0 in Besu. These will be removed in the 23.4 series, unless otherwise stated.

From the improvements and fixes side, we have a host of execution performance improvements and fixes for defects with bonsai storage. We have also included an error detection and auto-heal capability for nodes that encounter state issues. This should keep nodes online and validating that may have previously required a resync.

One final note. 23.1.0 is not a Shanghai ready release. If you intend to test Besu on the long-lived testnets like Zhejiang, please follow the instructions here. We will have more to share on our official Shanghai releases soon.

Breaking Changes

  • Change JsonRpc http service to return the error -32602 (Invalid params) with a 200 http status code
  • Besu requires minimum Java 17 and up to build and run #3320
  • PKCS11 with nss module (PKCS11 based HSM can be used in DevP2P TLS and QBFT PKI) does not work with RSA keys
    in Java 17. SoftHSM is tested manually and working. (Other PKCS11 HSM are not tested). The relevant unit and acceptance
    tests are updated to use EC private keys instead of RSA keys.
  • Change eth_feeHistory parameter blockCount to accept hexadecimal string (was accepting plain integer) #5047
  • Default configurations for the deprecated Ropsten, Kiln, Shandong, and Astor networks have been removed from the CLI network list. These networks can currently be accessed but will require a user-provided genesis configuration. #4869
  • GoQuorum-compatible privacy is deprecated and will be removed in 23.4
  • IBFT 1.0 is deprecated and will be removed in 23.4
  • Optimize SSTORE Operation execution time (memoize current and original value) #4836

Additions and Improvements

  • Default rpc batch request to 1000 #5104
  • Add a new CLI option to limit the number of requests in a single RPC batch request. #4965
  • Support for new DATAHASH opcode as part of EIP-4844 #4823
  • Send only hash announcement for blob transaction type #4940
  • Add excess_data_gas field to block header #4958
  • Add max_fee_per_data_gas field to transaction #4970
  • Added option to evm CLI tool to allow code execution at specific forks #4913
  • Improve get account performance by using the world state updater cache #4897
  • Add new KZG precompile and option to override the trusted setup being used #4822
  • Add implementation for eth_createAccessList RPC method #4942
  • Updated reference tests to v11.3 #4996
  • Add DebugGetRawBlock and DebugGetRawHeader RPC methods #5011
  • Besu requires minimum Java 17 and up to build and run #3320
  • Add worldstate auto-heal mechanism #5059
  • Support for EIP-4895 - Withdrawals for Shanghai fork
  • Improve SLOAD and SSTORE performance by caching empty slots #4874
  • RPC methods that lookup block by hash will now return an error response if no block found #4582
  • Added support for safe and finalized strings for the RPC methods using defaultBlock parameter #4902
  • Added post-execution state logging option to EVM Tool #4709
  • Add access list to Transaction Call Object #4802
  • Add timestamp fork support, including shanghaiTime and cancunTime forks #4743
  • Optimization: Memoize transaction size and hash at the same time #4812
  • Add chain data pruning feature with three experimental CLI options: --Xchain-pruning-enabled, --Xchain-pruning-blocks-retained and --Xchain-pruning-frequency [#4686](https://github.com
    /hyperledger/besu/pull/4686)
    • Note that chain pruning is hidden and disabled by default. Once you choose to enable chain pruning, a new column family will be added to the db and you cannot roll back to a previous versi
      on of Besu.

Bug Fixes

  • Mitigation fix for stale bonsai code storage leading to log rolling issues on contract recreates #4906
  • Ensure latest cached layered worldstate is subscribed to storage, fix problem with RPC calls using 'latest' #5076
  • Fix for segmentation faults on worldstate truncation, snap-sync starts #4786
  • Fix for worldstate mismatch on failed forkchoiceUpdate #4862