🚀 What's New
- Configurable gRPC client
MaxDecodingMessageSize(#1900): new option (bytes) in every gRPC client section, applied withgrpc.MaxCallRecvMsgSize. Default is now 16 MiB (previously the gRPC default of 4 MiB);0uses the gRPC default. Fixesdecoded message length too large: found 6984403 bytes, the limit is: 4194304 byteswhen requesting aggchain proofs. - aggsender: the
toBlock inconsistency for settled certlog isWarnonly whenagglayer-derived > db-stored; whenagglayer-derived < db-stored(expected when trailing blocks of a certificate have no bridge exits) it is logged atInfo. Behaviour unchanged: the derived value is always used. - aggoracle: removed the false
Incorrect ChainID in aggOracle providedwarning increateAggoracle.docs/etherman.mdnow recommends not settingL1ChainIDand relying on auto-discovery.
⚠️ Breaking Changes
- None (new optional field; default receive limit goes from 4 MiB to 16 MiB).
📋 Configuration Updates
- New optional
MaxDecodingMessageSize(bytes, default16777216;0= gRPC default 4 MiB) in every gRPC client section:
[AggSender.AgglayerClient.GRPC]
MaxDecodingMessageSize = 16777216 # 16MiB
[AggSender.AggkitProverClient]
MaxDecodingMessageSize = 16777216 # 16MiB
[AggSender.ValidatorClient]
MaxDecodingMessageSize = 16777216 # 16MiB
[AggchainProofGen.AggkitProverClient]
MaxDecodingMessageSize = 16777216 # 16MiB
[Validator.AgglayerClient.GRPC]
MaxDecodingMessageSize = "{{AggSender.AgglayerClient.GRPC.MaxDecodingMessageSize}}" # inherits from AggSender🔌 API Updates
🔌 Bridge service API
- No changes.
🔌 Proxy API
- No changes.
🔌 Others API
- No changes.
✅ Testing & Validation
TestNewClient_MaxDecodingMessageSize(5 MiB response rejected with the default limit, accepted when configured);NextCertificateBlockRangecases for derived lower/higher than stored.
📦 Full Changelog
- feat: configurable gRPC client MaxDecodingMessageSize and downgrade toBlock inconsistency log by @joanestebanr in #1900
Full Changelog: v0.11.0-rc15...v0.11.0-rc16