github ethereum-optimism/optimism op-interop-filter/v0.3.0
op-interop-filter v0.3.0

latest releases: kona-node/v1.14.0-rc.1, op-reth/v2.11.1-rc.1
49 minutes ago

Overview

Important

This is a required release for operators running op-interop-filter for a chain that activates Lagoon, the hardfork that turns on OP Stack interop. It contains the Lagoon activation times for Sepolia and mainnet, stricter validation of initiating messages, a manual failsafe that survives restarts, start-up and backfill defaults that cover the full message expiry window, and new configuration checks that can stop an existing configuration from starting.

Interop is not live on any public testnet or mainnet yet. Lagoon activates on Sepolia on Thu 10 Dec 2026 16:00:01 UTC and on mainnet on Mon 11 Jan 2027 16:00:01 UTC (see Chain Configuration below). Upgrade before Lagoon activates on the chains you serve. See the op-interop-filter documentation for how the filter fits into an interop deployment.

Breaking changes

  • --backfill-duration must be at least --message-expiry-window (#22887, #24082). The default backfill rises from 24h to 168h, matching the default 7-day expiry window, and the filter now refuses to start when --backfill-duration is shorter than --message-expiry-window. With a shorter backfill, the filter could not find valid initiating messages older than the backfill and op-reth would evict valid transactions. Remove any explicit --backfill-duration / OP_INTEROP_FILTER_BACKFILL_DURATION below the expiry window, such as the 24h previously documented as the default, before upgrading. A filter starting with an empty logs database now ingests 7 days of history from every L2 RPC, which takes longer and uses more disk. This includes every restart without --data-dir, because the database then lives in a temporary directory. An existing logs database resumes from its latest block and is not extended backward.
  • --message-expiry-window is capped at 168h (#23276). The interop specification limits the expiry window to 7 days, and a larger --message-expiry-window / OP_INTEROP_FILTER_MESSAGE_EXPIRY_WINDOW now fails at start-up. Lower any larger value before upgrading.
  • L2 RPC endpoints must not send "error": null in successful responses (#24176). op-interop-filter is now built against upstream go-ethereum v1.17.10 instead of op-geth. Its RPC client fails any call whose successful response carries "error": null, which JSON-RPC 2.0 does not allow, with json-rpc error 0. op-reth, reth, geth and proxyd omit the member. If --l2-rpcs points through any other provider or proxy, check it before upgrading.

Chain Configuration

  • Lagoon activation times (#24135). The embedded superchain registry, which --networks loads rollup configs from, gains:

    • sepolia/op, sepolia/ink, sepolia/soneium-minato, sepolia/unichain: lagoon_time = 1796918401 (Thu 10 Dec 2026 16:00:01 UTC)
    • mainnet/op, mainnet/ink, mainnet/soneium, mainnet/unichain: lagoon_time = 1799683201 (Mon 11 Jan 2027 16:00:01 UTC)

    The filter uses these times to reject initiating messages from before Lagoon (see Message validation below), and a filter on an earlier release applies no such boundary. The registry also pairs OP and Unichain as an interop dependency set on each network (#24242), so a filter serving either chain needs both chains' L2 RPCs in --l2-rpcs and their rollup configs. If you load rollup configs with --rollup-configs instead of --networks, add lagoon_time to each file yourself. No other chain's activation times change for the filter.

Other changes

Message validation

  • Reject executing messages whose initiating message is in a block before Lagoon activation or in the Lagoon activation block itself, both when answering interop_checkAccessList and in background cross-validation. Such messages are invalid under the protocol, and previously passed while their logs were still in the filter's database. A chain whose rollup config has no lagoon_time now has every initiating message rejected (#22886)
  • Cross-validate recent history on start-up instead of treating everything up to the start time as valid. The new --assume-valid-before flag (OP_INTEROP_FILTER_ASSUME_VALID_BEFORE, default 30m) sets how far back from now history is assumed valid. Newer blocks are cross-validated before they count as cross-unsafe. It must be less than --backfill-duration. Raise it if batch submission has stalled for longer than the window (#23137)
  • With --reorg-recovery-enabled, a reorg recovery that ran during a validation pass could leave a range of blocks marked cross-unsafe without validating them. Recovery now waits for the pass to finish, and the range is validated again (#23136)
  • A logs database failure, such as an I/O error or a corrupt record, now returns the JSON-RPC internal error -32603 instead of -32602 (invalid params). Callers such as op-reth now treat it as no answer, like a timeout, rather than as a rejection of the transaction (#22983, #23834)

Failsafe

  • The manual failsafe set with admin_setFailsafeEnabled now survives restarts. Before, a restart cleared it, and after backfill the filter approved interop messages again during an incident the operator meant to hold. The state is stored in failsafe.json in --data-dir. Without --data-dir it still does not survive a restart, and the filter logs a warning at start. The new --failsafe-enabled flag (OP_INTEROP_FILTER_FAILSAFE_ENABLED) turns the manual failsafe on at every start. The admin RPC can clear it until the next start. If failsafe.json cannot be read, the filter does not start unless --failsafe-enabled is set. If the file cannot be written, admin_setFailsafeEnabled still applies the change in memory but returns an error. To recover from an error-triggered failsafe, delete only the chain-* logs database directories in --data-dir and keep failsafe.json. The admin_rewind error message now says this (#23944)

Start-up and monitoring

  • Retry each L2 RPC at start-up (the dial, the chain ID query and the first head fetch) up to 5 times, 10s apart, with a 10s timeout per request. The filter and its execution clients can then start in any order. If an L2 RPC still does not answer, the filter now exits. Before, it stayed up and reported healthy while that chain never became ready, which stopped interop on every chain until the filter was restarted. Run the filter under a restart policy (#23941)
  • op_interop_filter_default_ingestion_lag_seconds keeps growing while an L2 execution client is unavailable or ingestion is halted. Before, it froze at its last good value, so lag alerts did not fire for a stalled filter (#24023)
  • ws:// and wss:// endpoints in --l2-rpcs now read responses of any size, as over HTTP, instead of failing above 32 MiB (#24282)
  • A malformed receipts response from an L2 RPC, such as one containing a null log, now returns an error instead of crashing the filter (#24311)

Miscellaneous

  • Built with Go 1.26.10 (was 1.26.5) (#23594)

Full Changelog: op-interop-filter/v0.2.2...op-interop-filter/v0.3.0

🚢 Docker Image:

Don't miss a new optimism release

NewReleases is sending notifications on new releases.