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
| Method | Change type | Impact of the migration |
|---|---|---|
eth_sendTransaction | Unsupported method | Node-side transaction signing is not supported by Besu. Sign transactions externally and submit them using eth_sendRawTransaction. |
eth_sign | Unsupported method | Node-side data signing is not supported. Sign data using your wallet or signing service. |
eth_signTransaction | Unsupported method | Node-side transaction signing is not supported. Sign transactions externally. |
eth_pendingTransactions | Unsupported method | Not part of the standard Besu API. txpool_besuTransactions is a possible alternative with a different response structure, if enabled on the endpoint. |
eth_feeHistory | Response format | Numeric values in fields such as gasUsedRatio may be serialized as 0 or 0.0. Both are JSON numbers. |
eth_sendRawTransaction | Error response | Error codes and messages may differ for invalid transactions. |
eth_gasPrice | Method behavior | The gas price recommendation algorithm may differ. The response remains a hexadecimal quantity. |
eth_maxPriorityFeePerGas | Method behavior | The recommended priority fee may differ due to the client's fee estimation logic. |
eth_accounts | Method behavior | Besu does not manage local accounts and returns an empty array ([]). |
eth_syncing | Response format | The fields in the synchronization status object may differ between clients. The method returns false when not syncing. |
web3_clientVersion | Response value | The client version string changes from a Geth identifier to a Besu identifier. |
eth_call | Request parameters | Besu supports a strict transaction option that controls whether the sender's balance is considered. |
eth_estimateGas | Request parameters and behavior | Gas limit handling may differ. Besu also supports the strict transaction option. |
debug_traceTransaction | Request parameters and response format | Supported tracers, tracer options and output structures differ. Custom Geth JavaScript tracers are not supported by standard Besu. |
debug_traceCall | Request parameters and response format | Supported tracers, options and output structures may differ. Supply the block parameter explicitly for compatibility with Besu. |
eth_subscribe | Subscription types | Besu supports droppedPendingTransactions at the client level. minedTransactions is not listed as a standard Besu subscription. Availability on NOWNodes depends on endpoint configuration. |
Recommended integration changes
- 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.