Repository navigation
v0.12.0-rc5
Pre-releaseThis release candidate is cut from the head of develop. The notes below are written relative to v0.12.0-rc4; the changes that make up v0.12.0 itself are described in the v0.12.0-rc1 notes.
Important
This candidate has breaking changes in the node API (JSON-RPC removed), in the AggOracle (committee v1 dropped), in the aggsender validator (proposer authentication) and in the aggkit-proxy tracker API. Read the Breaking Changes section and the rollout notes before upgrading.
🚀 What's New
- JSON-RPC replaced by REST (#1938): the JSON-RPC server (port
5576,[RPC]) is gone. Read-only queries move toPublicRESTand operator actions to the newAdminRESTserver (127.0.0.1:5579by default). See the method → endpoint table in API Updates anddocs/rest_api.md. - AggOracle committee v2 and
ger_validator_signer(#1943): the AggOracle injects GERs through an AggOracleCommittee v2, collecting signatures from the newger_validator_signerservice. The committee v1 is no longer supported.AggOracle.Mode(direct,committee,auto, defaultauto) picks the mode from the updater contract at startup. - Reorg support in the aggkit-proxy tracker (#1979, #1980, #1986, #1995): finality is resolved from
block_finalized(with a receipt fallback),claimedis no longer terminal and the new terminal status isclaimed_finalized, and the activity endpoint gets arevision, a per-itemfinalizedflag andETag/If-None-Matchsupport.api_revisiongoes from 6 to 8. - exit_certificate delta mode (#1908): chain additional bridge exits on top of a previous certificate (
deltaMode,previousRun,deltaExitsFile). - Multidownloader retry policy (#1958, fixes #1956): a failed step was retried after 1 ms; it now follows a configurable policy (
[L1Multidownloader.RetryAfterError],[L2Multidownloader.RetryAfterError]), by default1s, 2s, 4s … 5m.
🐞 Fixes
- Sync and trees
AppendOnlyTreecache invalidated on a rolled-back transaction; before, a retry after a rollback could store a wrong root and RHT nodes (#1940).- bridgesync never halts on a bridge whose
fromaddress can't be resolved (fee-on-transfer tokens, wrapped tokens on gas-token networks, several callers in the same tx): it pairs calls by position and otherwise storesfrom_addressas NULL (#1974). - reorgdetector detects a rollback to a shorter chain, and
last-reorg-eventis deterministic (#1989, fixes #1983). - RPC URLs (which often carry API keys) are no longer logged: only scheme and host (#1958, fixes #1957). The same PR removes a false
ERRORin l2gersync (#1955) and clarifies theSupportNonEthereumWithMaxGapsInBlocksdocs.
- Aggsender and validator
- Validator responses are validated and a failing or panicking validator no longer affects the others (#1941).
- Validator gRPC server hardened and the proposer authenticated (#1976). See the rollout order below.
- Multisig entries are validated when converting certificates; a missing signature crashed the validator (#1973).
- Removed the unimplemented
ValidateGERrpc from the validator proto (#1951).
- Bridge service
- aggkit-proxy / bridge tracker
- Upstream requests are bounded (timeouts, connections per host) and only bodiless
GET/HEADis forwarded to the bridge services (#2000). - Activity identity, per-owner storage and paging in the store (#1998).
- The bridge log, receipt and header must agree on the block (#2001).
- Bridges are tracked by event, not by transaction: new
log_indexparameter (#2002).
- Upstream requests are bounded (timeouts, connections per host) and only bodiless
- Dependencies:
gorilla/websocketbumped for GO-2026-6278 (#2004); pending dependency updates unified (#1984).
⚠️ Breaking Changes
- 🛠️ Config:
[RPC]is no longer used (it only logs a warning) and nothing listens on5576(#1938).[AdminREST]binds127.0.0.1by default; setHost = "0.0.0.0"to reach operator endpoints remotely (#1938).- AggOracleCommittee v1 is not supported. A chain whose
globalExitRootUpdateris a v1 committee must migrate to a v2 committee or to an EOA before upgrading; withMode = "auto"aggkit refuses to start (ErrLegacyCommitteeNotSupported). WithMode = "auto", aggkit also fails to start if the updater can't be read or is an unknown contract.AggOracle.EnableAggOracleCommitteeis removed (only logs a warning) (#1943). [Validator.ServerConfig]:Hostdefaults to127.0.0.1(set0.0.0.0when the proposer runs on another host or container),EnableReflectiondefaults tofalse, andMaxDecodingMessageSizedefaults to9437184(#1976).
- 🔌 API/CLI:
- All JSON-RPC methods are replaced by REST endpoints (#1938).
GET /aggsender/v1/certificate-headerreturns only the header; the full certificate is onAdminREST(GET /aggsender/v1/certificate). - Aggsender validator:
ValidateCertificaterequiresproposer_signatureandrequest_timestamp. Upgrade the aggsender first, then the validators: a new aggsender works with old and new validators, but an old aggsender is rejected (Unauthenticated) by a new validator. The aggsender and validator clocks must agree withinProposerRequestMaxClockSkew(#1976). - aggkit-proxy tracker (
api_revision8):claimedcan go back toreadyToClaim/pendingafter a reorg and the terminal status isclaimed_finalized;tracking_statusonly readsfinished(and the WebSocket only closes) once the claim is final (#1986). Clients must acceptclaimed_finalizedbefore this is deployed: agglayer-dev-ui v0.1.2 and@agglayer/sdk1.0.0-beta.34 do. - Tracker tx endpoints without
log_indexon a tx with several bridges now fail as ambiguous instead of returning the first bridge (#2002). - The activity
revision/ETagprefix changes fromv1:tov2:(one-time cache invalidation), and the client dedup key isbridge_network_id+bridge.deposit_count(#1998). - aggkit-proxy
/bridge/v1/*answers405for methods other thanGET/HEAD,413for a request with a body and504on an upstream timeout (#2000). - Bridge service: malformed address filters,
global_indexandamountvalues now get400, and oversized headers431(#1975, #1999). Valid requests are unaffected.
- All JSON-RPC methods are replaced by REST endpoints (#1938).
- 🗑️ Deprecated Features: the JSON-RPC API, the AggOracleCommittee v1 (legacy mode) and the
ValidateGERvalidator rpc are removed.
📋 Configuration Updates
# #1938: REST servers and claims endpoint limits ([RPC] is no longer used)
[AdminREST]
Host = "127.0.0.1"
Port = 5579
[AggchainProofGen]
DeveloperMode = false
[ClaimL1Sync]
APIMaxBlockRange = 10000
APIMaxClaims = 1000
[ClaimL2Sync]
APIMaxBlockRange = 10000
APIMaxClaims = 1000
# #1943: AggOracle committee v2 (remove EnableAggOracleCommittee)
[AggOracle]
Mode = "auto" # direct, committee or auto
[AggOracle.CommitteeV2]
RequestTimeout = "5s"
CollectRetryInterval = "5s"
MaxInjectAttempts = 3
PendingGERTimeout = "0s"
# #1958: multidownloader retry policy (optional, same for [L2Multidownloader.RetryAfterError])
[L1Multidownloader.RetryAfterError]
RetryMode = "delays"
Delays = ["1s", "2s", "4s", "8s", "16s", "32s", "1m4s", "2m8s", "4m16s", "5m"]
MaxRetries = -1
# #1976: aggsender validator
[Validator]
ProposerRequestMaxClockSkew = "1m"
[Validator.ServerConfig]
Host = "127.0.0.1"
Port = 5578
EnableReflection = false
# #1979: aggkit-proxy tracker finality
[Tracker]
L1FinalizedBlock = "FinalizedBlock"
L2FinalizedBlock = "FinalizedBlock"
# [Tracker.FinalizedBlockByNetwork]
# 2 = "LatestBlock/-64"
# #2000: aggkit-proxy upstream limits
[Proxy]
UpstreamResponseHeaderTimeout = "30s"
UpstreamRequestTimeout = "2m"
UpstreamMaxConnsPerHost = 256ger_validator_signer has its own configuration: tools/ger_validator_signer/config.toml.example. The aggkit-proxy adds the SQLite migration bridgetracker0005.
🔌 API Updates
-
Node API (#1938): JSON-RPC → REST. Read-only on
PublicREST, operator actions onAdminREST:Former JSON-RPC method Endpoint Server aggsender_statusGET /aggsender/v1/statusPublicREST aggsender_getCertificateHeaderPerHeightGET /aggsender/v1/certificate-header[?height=h],GET /aggsender/v1/certificate[?height=h]PublicREST, AdminREST aggsender_getCertificateBridgeExitsGET /aggsender/v1/certificate-bridge-exits[?height=h],GET /aggsender/v1/certificate-imported-bridge-exits[?height=h]PublicREST aggsender_triggerCertificatePOST /aggsender/v1/trigger-certificateAdminREST l1claimsync_*,l2claimsync_*GET /l{1,2}claimsync/v1/status,/claims?from_block=&to_block=,/claims-by-global-index?global_index=PublicREST l1infotreesync_*GET /l1infotreesync/v1/status,/info-by-global-exit-root?global_exit_root=,/info-by-root?root=PublicREST multidownloader-l1_statusGET /multidownloader/v1/l1/statusPublicREST multidownloader-l1_reorgPOST /multidownloader/v1/l1/reorg?block=AdminREST (developer mode) aggkit_generateAggchainProofPOST /aggchainproofgen/v1/aggchain-proofAdminREST (developer mode) -
Proxy API (
api_revision6 → 8): activity endpoint withrevision, per-itemfinalized,ETag/If-None-Match(304);claimed_finalizedandbridge_status.block_finalizedin the tracker REST and WebSocket; optionallog_indexon the tracker tx endpoints;/bridge/v1/*limited toGET/HEAD(#1980, #1986, #1998, #2000, #2002). -
Bridge service API: no endpoints added or removed. Stricter input validation (#1975, #1999), and
GET /bridge/v1/last-reorg-eventnow returns the reorg of the last detection pass that affected the bridge or claim syncer of that network (#1989). -
New
ger_validator_signerAPI:POST /v1/ger/sign,GET /v1/info,GET /health(#1943).
📦 Release images
The gated release pipeline of #1985 was reverted (#2005) until the repository settings it needs are in place, so images are published as in rc4 (unsigned, X.Y.Z, X.Y.Z-no_shell and X.Y.Z-dev tags).
Full Changelog: v0.12.0-rc4...v0.12.0-rc5