github besu-eth/besu 26.11.2

43 minutes ago

26.11.2

Breaking Changes

  • The Docker images use the Eclipse Temurin JRE again instead of the JDK, which they have used by mistake since 26.5.0. The image is about 62 MB smaller, and the JDK tools (jcmd, jstack, jmap, jshell, javac and others) are no longer in it; java, jfr and keytool still are. #11877
  • eth_createAccessList now returns an error for a transaction that is not valid at the target block, as eth_estimateGas does. This includes a block before Berlin, where an access list transaction is not valid, and fee fields before London. Previously the method returned an empty access list, or an execution reverted result with the gas cap as gasUsed. #11631
  • In a call that runs with zero fees, the BLOBBASEFEE opcode now returns the block's blob base fee instead of 1, as in Geth. A call runs with zero fees in eth_call, debug_traceCall, trace_call, trace_callMany and GraphQL call when it has no fee fields, all fee fields are zero, or it sets strict: false, and in eth_estimateGas and eth_createAccessList when it sets strict: false. Plugins that call TransactionSimulationService with ALLOW_EXCEEDING_BALANCE are also affected. A blob call without a positive maxFeePerBlobGas still runs with a blob base fee of 0, and eth_simulateV1 is unchanged. A result changes only if the called code reads BLOBBASEFEE. #11890
  • trace_filter rejects a single address string as fromAddress or toAddress, and a negative after or count, with Invalid filter params (-32602). A legacy call with another chain's chainId fails with Wrong chainId instead of running with the chainId dropped. #11439
  • trace_block, trace_replayBlockTransactions, trace_call and trace_callMany no longer evaluate pending as latest, and reject it with Invalid block number params (-32602). #11441
  • trace_rawTransaction returns the validation error for a signed transaction that fails validation, such as a nonce ahead of the sender's or a sender who cannot pay the up-front gas cost, instead of a successful response. It also applies the EIP-7825 transaction gas limit cap, the intrinsic gas limit cap and the EIP-3607 check against senders with deployed code, which it skipped, and rejects a gas limit above the RPC gas cap instead of clamping it. #11395
  • The default opcode tracer of debug_traceTransaction, debug_traceCall and debug_traceBlock* now reports memory, refund and returnData as they were before the opcode executes, like stack and gas. storage appears only at SLOAD and SSTORE, and shows every slot the current contract has accessed so far in the transaction. Memory written by EXTCODECOPY is now captured in traces, as it is for CODECOPY. Tools that compare traces with output from earlier Besu versions will see differences. #11636
  • Besu now fails at startup when a WebSocket RPC SSL password and its password file are both set, from the command line, the config file or a mix of the two: --rpc-ws-ssl-keystore-password with --rpc-ws-ssl-keystore-password-file, or --rpc-ws-ssl-truststore-password with --rpc-ws-ssl-truststore-password-file. Passing both on the command line was previously accepted, and the password was used. Remove one of the two options. These passwords and password files are also no longer ignored when set in the config file, including when other --rpc-ws-* options are passed on the command line. #11839

Upcoming Breaking Changes

  • Plugin API
    • PluginTransactionSelectorFactory.create(final SelectorsStateManager selectorsStateManager) is deprecated for removal
    • MiningService is deprecated for removal and will be removed in a future release, with no replacement. It has no known usage
    • BesuEvents is deprecated and will be removed at the breaking release. Its event families are available on BlockchainService, TransactionPoolService and SynchronizationService through subscribe* methods returning a Subscription handle; TTDReachedListener has no replacement, since it never had an add method. #11283
    • The plugin API is being reorganized into per-feature modules (#10820). Nothing has changed for plugin authors yet: besu-plugin-api re-exports every module, so existing plugins compile and run unmodified. A future release will apply the breaking changes, batched into a single break with a migration guide:
      • packages are renamed to match their module, for example org.hyperledger.besu.plugin.services.storage becomes org.hyperledger.besu.plugin.storage, with contracts plugins implement moving under an spi sub-package
      • contracts that serve several unrelated audiences are split apart, and contracts that overlap are merged into one
      • types and methods whose names no longer describe what they do are renamed, and a number of signatures change
      • contracts and methods that are deprecated, superseded, or have no known usage are removed
    • The plugin lifecycle is being redesigned. The phases a plugin goes through, the services available in each of them, and the way a plugin obtains those services are all expected to change, and the changes will not be source compatible.
    • PluginVersionsProvider, plugin.data.Request, plugin.data.Restriction, plugin.data.UnsignedPrivateMarkerTransaction and plugin.data.Signature are deprecated for removal, with no replacement. None is reachable through any plugin service or data contract: the three privacy types were orphaned when private transaction support was removed, Request is implemented internally but never exposed, and PluginVersionsProvider is internal --version plumbing
  • --Xbft-legacy-protocol-encoding will be removed once Besu 25.x is no longer supported. #10499
  • --snapsync-synchronizer-pre-checkpoint-headers-only-enabled is deprecated (since 26.8.1) and will be removed in a future release; the flag is now a silent no-op.
  • --rpc-tx-feecap will treat a value of 0 as limiting fees to 0. Today it treats 0 as "do not cap fees". To achieve similar behaviour set it to a suitably large value to effectively prevent any fee capping.
  • JSON-RPC methods will reject a malformed address parameter with Invalid params (-32602). An address must be 0x or 0X followed by exactly 40 hex digits (20 bytes). Today a shorter value is left-padded with zeros, so a call can read or act on a different account than intended. This also applies to the account keys of state overrides in eth_call, eth_estimateGas and eth_simulateV1. Clients that send short or unprefixed addresses will need to send the full 20-byte address. #11888

Bug fixes

  • debug_accountRange and debug_storageRangeAt return Method not enabled (-32604) on Bonsai (PathBased) instead of a successful empty result. These methods only work with --data-storage-format=FOREST. #11979
  • An eth/69 peer is disconnected when its Status message has an earliest block above its latest block or a zero best hash, or when a BlockRangeUpdate has a zero block hash. These values were previously accepted. #11987
  • debug_accountAt now returns codehash as full 32-byte data. A code hash that starts with zero bytes or a zero nibble was previously returned as a quantity with the leading zeros stripped. #11832
  • evmtool t8n and b11r report a missing, null or empty required input (alloc or env for t8n, header for b11r) as a usage error naming the --input option, instead of failing with a NullPointerException. b11r also accepts an empty stdin when the header comes from a file. #11938
  • OpenTelemetry counters and timers with the same name in different categories no longer share an instrument or inherit a disabled category's no-op metric. JSON-RPC request_time timings now use the rpc scope and methodName attribute. If the peer timer was registered first, these timings previously used the peers scope and taskName attribute. OpenTelemetry dashboards that query the old series should update their queries. Besu's native Prometheus metrics are unchanged. #11829
  • evmtool t8n and b11r no longer fail when the input has no transactions: a missing or null txs, an empty txs file, or (for t8n) an empty stdin. t8n runs the block with no transactions and b11r builds a block with none. #11930
  • callTracer and flatCallTracer no longer report a frame for a CALL or CREATE opcode that halts before it makes the call, such as a CALL with value in a static context or out of gas for the opcode. Since Amsterdam, a CREATE that fails the depth, balance or nonce check also gets no frame, because EIP-8037 makes the check fail in the parent opcode. #11637
  • Snap sync now sends a receipts request to the next peer when a peer fails to serve it, for example by sending back no receipts, instead of retrying the same peer up to five more times. #11615
  • admin_logsRemoveCache returns -39001 Unknown block instead of -32603 Internal error when startBlock or stopBlock is not known, including an unknown block number and an unknown safe or finalized tag. #11892
  • admin_logsRepairCache returns -39001 Unknown block instead of -32603 Internal error when the given block number is not known. #11914
  • The local permissioning allowlist file is now replaced atomically, and the node and account allowlists no longer undo each other's changes when they share a file. A perm_* change now fails with ALLOWLIST_FILE_SYNC instead of dropping entries added to the file by hand; reload the file with perm_reloadPermissionsFromFile first. It also fails when the file is not valid TOML, instead of writing back only the part that could be read. Starting the node no longer rewrites the file, unless an account in it is not in lowercase.
  • eth_getStorageValues, testing_buildBlockV1 and testing_commitBlockV1 now return the error detail in message, not in data, as execution-apis#967 specifies. #11861
  • Every create trace frame now reports creationMethod from the opcode that created it: create for CREATE and a contract creation transaction, create2 for CREATE2. trace_call, trace_callMany and trace_rawTransaction omitted it, and the other trace methods labelled every creation in a transaction create2 when any of them used CREATE2. #11435
  • Full sync no longer keeps every 5-second sync target retry reachable while the node waits at the chain head, which grew the live heap of a long-running QBFT validator by about 6 MB a day. #11760
  • eth_simulateV1 now rejects precompiles moved to their own address with error -38022. #11793
  • Check eth/71 block access list hashes against the requested headers before decoding, and reject extra entries before decoding them, avoiding excessive allocation for invalid peer responses. Peers returning mismatched hashes or extra entries are disconnected for breach of protocol.
  • eth_simulateV1 now returns maxUsedGas after Amsterdam as the gas used before refunds raised to the calldata floor, max(executionGas + stateGas, floor), as Geth does. Previously Besu returned max(executionGas, floor) + stateGas, which is larger when the execution gas is below the floor. eth_estimateGas uses the same value as its lower bound. #11580
  • Setting code on a precompile address in a state override (without movePrecompileToAddress) now removes that precompile from the simulation registry, so the overriding code runs instead of the built-in precompile on eth_call, eth_estimateGas, eth_createAccessList, eth_simulateV1, and debug_traceCall. #11604
  • eth_simulateV1 now accepts withdrawals in blockOverrides, as execution-apis specifies. #11632
  • Block access lists of the last blocks are now cached as RLP, at most 128 MiB by default (--cache-last-blocks-max-capacity), and --cache-last-blocks now defaults to 128. #11455
  • Snap sync no longer stalls on an account with large, frequently changing storage, or on an account whose storage was cleared while snap sync was downloading it. #11654
  • debug_standardTraceBlockToFile and debug_standardTraceBadBlockToFile now honor enableReturnData: false; the option was ignored and return data was always captured. The other defaults are unchanged. #11845
  • miner_getExtraData no longer drops leading zero bytes from the extra data, so the value it returns can be passed back to miner_setExtraData. #11843
  • admin_logsRemoveCache now resolves the safe and finalized block tags to the safe and finalized blocks instead of the chain head. #11844
  • eth_feeHistory resolves finalized and safe as newestBlock to those blocks, and answers -39001 Unknown block when they are not known, as eth_getBlockByNumber and eth_getBalance do. It returned the history ending at the chain head instead. #11857
  • trace_block, trace_filter and trace_replayBlockTransactions replay a mined transaction whose sender is no longer on the node's local account allowlist, instead of tracing it as a call that ran no code and changed no state. #11406
  • A block that fails the receipts root or gas used check is now rejected before its world state is persisted, so processing it on the head world state, as backward sync does, no longer leaves the head world state on that block. A later engine_forkchoiceUpdated to a block other than the rejected block's parent failed with Failed to set new head. #11858
  • A transaction whose parallel execution failed with an error is executed again in order, instead of failing the block import. #11806
  • trace_filter resolves safe and finalized bounds to their blocks instead of failing with Internal error (-32603). It rejects them when the chain has none, and rejects pending, which is not a trace_filter bound, with Invalid block number params (-32602). #11441
  • eth_getProof on Bonsai now returns Internal error (-32603) when building the proof fails, for example on a trie or storage error. Previously the failure was logged and reported as World state unavailable (-32000), as if the node did not have the state of the block. A block whose state cannot be loaded, for example one before the snap sync pivot, is still reported as unavailable. #11673
  • Keep Parity trace errors local to the failed call instead of marking successful siblings or callers of failed precompiles as reverted, or failing a caller whose child halts in RETURN or REVERT. #11345
  • Parity flat traces now report a successful nested CREATE whose constructor executes SELFDESTRUCT with result.code: "0x", like any other creation, instead of result.output: "0x". #11362
  • Parity traces retain nested precompile calls with nonzero transferred or inherited value, with child-local errors and trace paths numbered over retained frames. #11360
  • trace_* results include a precompile's return data in the call's result.output, instead of 0x, when the transaction calls the precompile directly. #11346
  • Struct logs from debug_traceTransaction and debug_traceCall, and from debug_traceBlock* in JSON-RPC batch requests, report a failed code deposit's error on the creation's last operation, usually its RETURN, instead of the last operation that was not a RETURN. #11345
  • trace_rawTransaction validates and executes the original signed transaction. Invalid signatures and empty EIP-7702 authorization lists are rejected. eth_call, eth_estimateGas, eth_createAccessList, eth_sendRawTransaction, trace_call and trace_callMany return -32602 instead of Internal error (-32603) when they reject a transaction for an init code above the size limit or an up-front cost above 2^256, and eth_sendRawTransaction also does for an empty EIP-7702 authorization list. #11395
  • A node stopped while importing a block no longer gets stuck after a restart, failing to process the next block because the parent world state is not available. #11882
  • Shutting down while the log bloom cache is being generated no longer waits 30 seconds and logs two errors for every cache segment not generated yet. #11931
  • eth_getLogs no longer misses the logs of a block that replaced a cached block in a reorg while the log bloom cache was being generated. #11932
  • eth_getLogs no longer misses the logs of a block that replaced, in a reorg, a block at the end of an earlier log bloom cache segment. #11969
  • debug_storageRangeAt and debug_accountRange resolve the finalized and safe block tags instead of returning an empty result. #11978
  • DNS discovery now compares each linked ENR tree with its own previous sequence number, so a linked tree with a higher sequence number no longer stops the tree that links to it from being read, and each refresh reads a tree or subtree at most once and stops after 50,000 records or 5 minutes.

Additions and Improvements

  • Upgrade snappy from 1.1.10.7 to 1.1.10.9, resolving CVE-2026-93451 and CVE-2026-108106 #11841
  • Upgrade Guava from 33.7.2-jre to 33.8.0-jre, resolving CVE-2026-118042 #11860
  • Upgrade opentelemetry from 1.62.0 to 1.67.0, resolving CVE-2026-118259, along with the OpenTelemetry OkHttp instrumentation (2.25.0-alpha to 2.33.1-alpha) and semantic conventions (1.40.0 to 1.44.0) that match it. Plugins that use OpenTelemetry directly should align with these versions. Since 1.67.0, an SdkTracerProvider with no span processor creates no spans, so with OTEL_TRACES_EXPORTER=none Besu no longer creates spans. #11859
  • RLPx frames are encrypted and decrypted with the JDK's AES cipher, which uses the processor's AES instructions. #11823
  • Transaction announcements no longer allocate a batch for a full message for every peer when there is nothing to announce. #11827
  • The default JVM options no longer start JFR's in-process event logging, which formatted every recorded event as text. #11824
  • Add trace_replayTransaction to the TRACE API. It replays one mined transaction on top of the transactions before it in its block and returns the same result as trace_replayBlockTransactions for that transaction. #11406
  • Update the Docker base images (Ubuntu 24.04, Eclipse Temurin 25.0.5), resolving CVE-2026-85091, and disable apt download retries during the image build to mitigate CVE-2026-109518 until the base ships a fixed apt. #11874
  • Update the Docker base images (Ubuntu 24.04), resolving 8 OS package CVEs including CVE-2026-109518 (apt), and re-enable apt download retries during the image build. #11964
  • Update the Docker base images (Eclipse Temurin 25.0.5.1), resolving CVE-2026-114938 #12022
  • EVM v2 runs untraced execution, such as block import, in a faster loop of its own. #11687
  • RLP decoding no longer allocates a lambda for every item it reads. #11826
  • The fee oracle for eth_gasPrice and eth_maxPriorityFeePerGas keeps the fees of up to 1024 recent blocks between chain heads, and precomputes new heads only while it is called. #11825
  • Parallel transaction execution keeps the result of a reverted or halted transaction when nothing it read changed, instead of executing it again. #11806
  • QBFT validators import a committed block without executing it again, including after a round change, removing one block execution from the critical path of every block. A proposer no longer executes its own proposal again to validate it. #11817
  • Add QBFT genesis config option goquorumcompatibilitymode (default false) which relaxes the per-block gas-limit delta validation (keeping the min/max range check), allowing chains produced by GoQuorum's QBFT (where proposers may change the gas limit by an arbitrary amount per block) to be imported. #10723
  • Support sub-hour TX pool retention for the sequenced transaction pool via --tx-pool-retention-seconds #11588
  • Block import computes logs blooms on the transaction workers and the transactions root only once. #11529
  • Faster lookups of which peers have seen a transaction, reducing CPU use and lock contention in transaction gossip. #11886
  • QBFT validators (using Bonsai) import a block announced by peers (NewBlock) or downloaded by full sync without executing it again when they created it or validated its proposal. If the proposal is still being validated, the import waits for the validation instead of executing the block in parallel, and a proposal for a block being imported from peers waits for that import. #11583
  • The chain id is represented by the new ChainId value object, that shares one instance for the chain id of the running network, so a pooled transaction uses 80 bytes and 3 objects fewer, plus 3 objects fewer for each EIP-7702 authorization, and a legacy transaction is decoded about 15% faster. The plugin API is unchanged, apart from a new read-only ChainId interface in datatypes. #11866
  • The transaction pools process the result of a transaction that is still executing when the block selection time runs out once its execution completes, so the layered pool penalises a transaction that took too long, and both pools remove it if invalid, instead of missing its result. Selection results are processed asynchronously in both pools.
  • New hidden option --Xkzg-trusted-setup-background-load-enabled loads the KZG trusted setup on a background thread while the rest of the node starts, which saves several seconds per start for test harnesses such as hive. Off by default. #11813
  • Prewarm the state for the next block from the transaction pool, on by default for Bonsai nodes on mainnet, Sepolia, Hoodi and Ephemery (--mempool-prewarm-enabled). #11759 #11956
  • Parallel transaction execution runs the transactions of one sender in order on one worker and keeps their results when the block holds the state they started from. #11808

52476abec0d4c3c6421262d6d6c7b9df038bcaeb46b40456e0a85ac182ce8efd besu-26.11.2.zip
2bba6a64d220fa19ce68e6d6db413e8462de26f069dac4e2a26b351c7d928de3 besu-26.11.2.tar.gz

New Contributors

Don't miss a new besu release

NewReleases is sending notifications on new releases.