🚀 What's New
- Proxy / bridgetracker: block hash taken from the RPC response (#1897): the proxy and bridgetracker RPC clients now use
HashFromJSON = trueinstead of recomputing the hash from the RLP header.[L1RPC]defaults toHashFromJSON = true. - New
[L2RPC]section in the proxy config: mode, retry policy,HashFromJSONandBatchBlockHeaderRetrievalapplied to every L2 client resolved by the bridge service finder (L2RPC.URLis ignored). Validated at startup (onlybasicmode, valid retry policy).
⚠️ Breaking Changes
- None.
📋 Configuration Updates
- Proxy: new optional
[L2RPC]section (defaults provided). SetHashFromJSON = falsein[L1RPC]/[L2RPC]to restore the previous behaviour.
[L2RPC]
Mode = "basic"
RetryMode = "backoff"
MaxRetries = 5
InitialBackoff = "2s"
MaxBackoff = "10s"
BackoffMultiplier = 2.0
HashFromJSON = true
BatchBlockHeaderRetrieval = true🔌 API Updates
🔌 Bridge service API
- No changes.
🔌 Proxy API
- No changes.
🔌 Others API
- No changes.
✅ Testing & Validation
- Unit tests for the new defaults (
proxy/config),validateL2RPC(proxy/cmd) andFinderClientsdialing with the provided config (bridgetracker/sources).
📦 Full Changelog
- feat: proxy: use HashFromJSON and configurable RPC clients for L1 and L2 by @joanestebanr in #1897
Full Changelog: v0.11.0-rc14...v0.11.0-rc15