Home

Linea Geth to Besu Migration

NOWNodes is migrating the Linea execution client from Geth to Besu. This guide summarizes JSON-RPC and WebSocket compatibility differences to help you prepare your integration for the migration.

NOWNodes is migrating the Linea execution client from Geth to Besu. This guide summarizes JSON-RPC and WebSocket compatibility differences to help you prepare your integration for the migration.

The migration does not change the underlying Linea network. Most standard Ethereum JSON-RPC methods remain compatible. Review the affected methods below, especially if your application relies on transaction signing, gas estimation, transaction pool inspection, or execution tracing.

API compatibility

MethodChange typeImpact of the migration
eth_sendTransactionUnsupported methodNode-side transaction signing is not supported by Besu. Sign transactions externally and submit them using eth_sendRawTransaction.
eth_signUnsupported methodNode-side data signing is not supported. Sign data using your wallet or signing service.
eth_signTransactionUnsupported methodNode-side transaction signing is not supported. Sign transactions externally.
eth_pendingTransactionsUnsupported methodNot part of the standard Besu API. txpool_besuTransactions is a possible alternative with a different response structure, if enabled on the endpoint.
eth_feeHistoryResponse formatNumeric values in fields such as gasUsedRatio may be serialized as 0 or 0.0. Both are JSON numbers.
eth_sendRawTransactionError responseError codes and messages may differ for invalid transactions.
eth_gasPriceMethod behaviorThe gas price recommendation algorithm may differ. The response remains a hexadecimal quantity.
eth_maxPriorityFeePerGasMethod behaviorThe recommended priority fee may differ due to the client's fee estimation logic.
eth_accountsMethod behaviorBesu does not manage local accounts and returns an empty array ([]).
eth_syncingResponse formatThe fields in the synchronization status object may differ between clients. The method returns false when not syncing.
web3_clientVersionResponse valueThe client version string changes from a Geth identifier to a Besu identifier.
eth_callRequest parametersBesu supports a strict transaction option that controls whether the sender's balance is considered.
eth_estimateGasRequest parameters and behaviorGas limit handling may differ. Besu also supports the strict transaction option.
debug_traceTransactionRequest parameters and response formatSupported tracers, tracer options and output structures differ. Custom Geth JavaScript tracers are not supported by standard Besu.
debug_traceCallRequest parameters and response formatSupported tracers, options and output structures may differ. Supply the block parameter explicitly for compatibility with Besu.
eth_subscribeSubscription typesBesu supports droppedPendingTransactions at the client level. minedTransactions is not listed as a standard Besu subscription. Availability on NOWNodes depends on endpoint configuration.
  • Sign transactions locally or through a signing service and broadcast them with eth_sendRawTransaction.
  • Avoid relying on exact error messages, client version strings or client-specific synchronization fields.
  • Review gas estimation and fee recommendation logic.
  • Verify tracer names, options, response parsing and WebSocket subscription types against the Besu endpoint before migration.

This table summarizes identified client-level differences, not an exhaustive list of all RPC methods. Availability of optional APIs and client-specific extensions depends on the NOWNodes endpoint configuration.

References