Skip to content

v0.11.0-rc15

Pre-release
Pre-release

Choose a tag to compare

@joanestebanr joanestebanr released this 08 Oct 14:17
f07de1a

πŸš€ What's New

  • Proxy / bridgetracker: block hash taken from the RPC response (#1897): the proxy and bridgetracker RPC clients now use HashFromJSON = true instead of recomputing the hash from the RLP header. [L1RPC] defaults to HashFromJSON = true.
  • New [L2RPC] section in the proxy config: mode, retry policy, HashFromJSON and BatchBlockHeaderRetrieval applied to every L2 client resolved by the bridge service finder (L2RPC.URL is ignored). Validated at startup (only basic mode, valid retry policy).

⚠️ Breaking Changes

  • None.

πŸ“‹ Configuration Updates

  • Proxy: new optional [L2RPC] section (defaults provided). Set HashFromJSON = false in [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) and FinderClients dialing 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