Skip to content

v2.2.3

Choose a tag to compare

@dnjscksdn98 dnjscksdn98 released this 22 Oct 06:07
· 31 commits to main since this release
0dbc731

Bifrost Node v2.2.3

Release Date: October 22, 2026
Rust Compiler: rustc 1.94.0 (4a4ef493e 2026-03-02)

Note

This is not a mandatory update for node operators. v2.2.3 adds a client-side CLI option that bounds the gas budget of eth_call / eth_estimateGas; there are no runtime, consensus, or storage-format changes, and the default behaviour is identical to v2.2.2. Nodes running v2.2.2 stay fully compatible with the network. Upgrading is recommended for operators of public RPC endpoints, who should also set --execute-gas-limit-multiplier to a lower value (see below).

Summary

This release exposes the previously hardcoded execute_gas_limit_multiplier as a CLI flag. When an eth_call or eth_estimateGas request omits the gas field, the node falls back to block.gas_limit * multiplier. The multiplier was fixed at 10, which on mainnet amounts to a 600M gas budget — roughly 30 seconds of EVM execution for a single request. A contract that loops until out-of-gas can therefore pin a tokio worker thread for that long, and a handful of concurrent requests can starve the networking and sync tasks that share the same runtime. Operators can now cap this per node without rebuilding. The change is isolated to the node client — the mainnet and testnet runtimes are untouched.

Changes

Node: Expose execute-gas-limit-multiplier as a CLI option (#227)

  • Added --execute-gas-limit-multiplier <N> (default 10, unchanged from the previous hardcoded value)
  • Applies to eth_call and eth_estimateGas only:
    • Requests without a gas field are executed with block.gas_limit * N
    • Requests with a gas field above block.gas_limit * N are rejected with provided gas limit is too high
  • Threaded from the CLI through RpcConfig and FullDeps / FullDevDeps into the Frontier Eth RPC handler for the mainnet, testnet, and dev nodes
  • Recommended for public RPC endpoints: --execute-gas-limit-multiplier 1, which bounds a single simulation to one block's gas (60M on mainnet, ~3 seconds)
    • Note that the flag only bounds how much work a request can do; it does not move EVM execution off the shared tokio runtime. Thread-pool isolation for eth_call is tracked separately.

Versions

Component Version
Client v2.2.3
Mainnet Runtime v2048
Testnet Runtime v507
Polkadot SDK bifrost-polkadot-stable2512
Rust Toolchain 1.94.0