Repository navigation
Bifrost Node v2.2.5
Release Date: November 23, 2026
Rust Compiler: rustc 1.94.0 (4a4ef493e 2026-03-02)
Note
This is not a mandatory update for node operators. v2.2.5 is a client-only security patch for the Ethereum JSON-RPC eth_call method. It has no runtime, consensus, or storage-format changes, and nodes running v2.2.4 stay fully compatible with the network. Upgrading is strongly recommended for operators who expose Ethereum JSON-RPC to untrusted
clients, such as public RPC endpoints. Validators and nodes whose RPC port is not reachable from outside are not exposed. Until you upgrade, you can reduce the exposure by rejecting eth_call requests that carry a state-override object (the third parameter) at your reverse proxy or load balancer.
Summary
eth_call accepts state overrides. The state field of an override replaces an account's entire storage for the duration of the call. Before this release, the node applied it by reading every existing storage key of the overridden account and clearing each one before EVM execution started. This step was not bounded by the call's gas limit and ran on an RPC
worker thread. Against contracts with large storage, a single request could take minutes. A handful of concurrent requests could occupy every RPC worker and stall block import until they finished. This release adds a per-request limit on how many existing storage slots a state override may clear. Requests over the limit are rejected right away. The change is
isolated to the node client's RPC layer. The mainnet and testnet runtimes are untouched.
Changes
Node: Bound storage slots cleared by eth_call state overrides (#235)
- Added the
--state-override-max-storage-keys <N>CLI option (default10000). It caps the number of existing storage slots that oneeth_callrequest may clear throughstateoverrides, summed over all overridden accounts in the request. - A request over the limit fails before EVM execution with:
state override: clearing <address> exceeds the limit of <N> existing storage slots per request, use stateDiff instead - Only the
state(full storage replacement) field is affected.stateDiff,code,balance, andnonceoverrides behave as before. - A
stateoverride on an account with no existing storage, such as a mock contract injected at a fresh address withcode, is always accepted, even with--state-override-max-storage-keys 0. - The fix lives in
fc-rpc(bifrost-platform/bifrost-frontier#20), and the node now pinsbifrost-frontiertoe125f569.
Recommended settings
| Node | --state-override-max-storage-keys |
|---|---|
| Public RPC endpoints | 1000, or 0 to allow state only on accounts without storage |
| Internal RPC / archive nodes | default (10000) |
| Validators and nodes without exposed RPC | default |
The limit bounds the cost of one request, not the number of requests. Public RPC endpoints should also keep per-IP rate limiting in front of the node.
Versions
| Component | Version |
|---|---|
| Client | v2.2.5 |
| Mainnet Runtime | v2049 |
| Testnet Runtime | v509 |
| Polkadot SDK | bifrost-polkadot-stable2512 |
| Rust Toolchain | 1.94.0 |