Release v0.9.0-rc1
🚀 What's New
This release brings significant enhancements to the bridge service, certificate management, and event indexing capabilities:
- Bridge Service Client - Implemented a comprehensive bridge service client for improved bridge interactions (#1465)
- Certificate Management - Aggsender is able to sends a new certificate as soon as the latest one is settled, improving settlement efficiency (#1457). To activate this feature:
[AggSender]
TriggerCertMode = "ASAP"
[AggSender.TriggerASAP]
DelayBeetweenCertificates = "1s"
MinimumNewCertificateInterval = "5m"
OnNewL2Bridge = false
- LET Event Indexing - Added support for indexing and handling both
forwardLET(#1404) andBackwardLET(#1379) events - L1InfoTree Configurable Finality - Added configuration option to specify the finality level for L1InfoTree synchronization (#1417)
[AggSender]
BlockFinalityForL1InfoTree = "FinalizedBlock"
- Bridge API Enhancements:
- Hash Calculation - Hash values are now retrieved from RPC instead of being calculated locally (#1397)
- E2E Testing - Streamlined local E2E testing workflow for easier development (#1333)
- Dependencies - Updated to gRPC 1.78.0, protobuf 1.36.11, and quic-go 0.57.0
🐛 Bug Fixes
- Preserved retrocompatibility of claim events indexing (#1441)
- Fixed certificate handling to properly check InError certificates when no pending certificates exist (#1425)
- Corrected typos in certificate function names (#1424)
- Improved block range error parsing for "exceeded maximum block range" errors (#1413)
- Fixed claims count logic after compaction (#1395)
- Corrected
Fromfield synchronization for bridge events (#1372) - Enhanced RPC error handling for "block range too large" errors with automatic chunking (#1390)
- Replaced
BlockByNumberwith more efficientHeaderByNumbercalls (#1385) - Multiple CI/CD and reference updates for improved stability (#1406, #1370, #1373, #1369)
📋 Config Updates
AggSender Block Finality Configuration
[AggSender]
BlockFinalityForL1InfoTree = "FinalizedBlock" - Description: Allows configuration of the finality level to use for L1InfoTree synchronization
- Possible values:
- Block tags: "LatestBlock", "SafeBlock", "PendingBlock", "FinalizedBlock", "EarliestBlock"
- Block tags with offset: "LatestBlock/-10" (10 blocks before latest), "FinalizedBlock/5" (5 blocks after finalized)
- Default: "FinalizedBlock"
- Note: The aggsender target finality must be >= to l1infotree finality, otherwise an error will be raised
Certificate Send Trigger Mode
[AggSender]
TriggerCertMode = "Auto"
- Description: Defines how certificate sending is triggered
- Possible values:
- "EpochBased": Sends certificates based on L1 epoch percentage
- "NewBridge": Triggers on new bridge events
- "ASAP": Sends certificates as soon as possible
- "Auto": Automatically decides based on aggsender mode
- Default: "Auto"
ASAP Trigger Configuration
[AggSender]
TriggerCertMode = "ASAP"
[AggSender.TriggerASAP]
DelayBeetweenCertificates = "1s"
MinimumNewCertificateInterval = "1h"
OnNewL2Bridge = false
- Description: Configuration for ASAP trigger mode (when TriggerCertMode = "ASAP")
- DelayBeetweenCertificates: Delay to wait before sending a new certificate after the previous one is settled
- Default: "1s"
- MinimumNewCertificateInterval: Minimum interval between two new certificate triggers
- Default: "5m"
- OnNewL2Bridge: Whether to trigger a new certificate when a new L2 bridge exit is detected
- Default: false
Epoch-Based Trigger Configuration
[AggSender.TriggerEpochBased]
EpochNotificationPercentage = 50
- Description: Configuration for EpochBased trigger mode (when TriggerCertMode = "EpochBased")
- EpochNotificationPercentage: Percentage of the epoch at which the certificate should be sent (0-100)
- Default: 50
- Note: This setting was moved from
AggSender.EpochNotificationPercentage(now deprecated)
L2 RPC Hash Configuration
[L2RPC]
HashFromJSON = true
[L1NetworkConfig.RPC]
HashFromJSON = true
- Description: Determines how block hashes are obtained from the RPC
- Values:
- true - Block hash is retrieved directly from JSON RPC response (it's also faster)
- false - Block hash is calculated using go-ethereum RLP hashing
- Default: true
Validator Block Finality Configuration
[Validator]
BlockFinalityForL1InfoTree = "FinalizedBlock"
- Description: Allows configuration of the finality level for L1InfoTree queries in the validator
- Possible values:
- Block tags: "LatestBlock", "SafeBlock", "PendingBlock", "FinalizedBlock", "EarliestBlock"
- Block tags with offset: "LatestBlock/-10" (10 blocks before latest), "FinalizedBlock/5" (5 blocks after finalized)
- Default: "FinalizedBlock"
⚠️ Breaking Changes
- ⚠️
AggSender.EpochNotificationPercentagehave been moved toAggSender.TriggerEpochBased.EpochNotificationPercentage.
What's Changed
- fix: release.yml by @temaniarpit27 in #1369
- fix: update ref by @temaniarpit27 in #1370
- fix: update kurtosis ref by @rachit77 in #1373
- chore: bump e2e tests and set the execute-all-tests param by @Stefan-Ethernal in #1363
- fix: disable fail fast in nightlies by @Stefan-Ethernal in #1377
- fix: replace ethClient.BlockByNumber by ethClient.HeaderByNumber by @tnobayashi in #1385
- fix: handle block range too large rpc error, and do chunk calls (cherry-pick of #1387) by @goran-ethernal in #1390
- feat: decrease e2e wait time by @rachit77 in #1374
- fix: From field for bridge event syncronization by @joanestebanr in #1372
- feat: add set claims endpoint by @rachit77 in #1371
- chore(deps): bump github.com/quic-go/quic-go from 0.54.1 to 0.57.0 by @dependabot[bot] in #1393
- fix: claims count logic after compaction logic by @rachit77 in #1395
- fix: update ref by @temaniarpit27 in #1406
- feat: add
to_addressfiled in bridge api response by @rachit77 in #1405 - fix: block range error parsing (exceeded maximum block range:) by @joanestebanr in #1413
- feat: update ref by @temaniarpit27 in #1415
- chore(deps): bump golang.org/x/sync from 0.18.0 to 0.19.0 by @dependabot[bot] in #1384
- chore(deps): bump google.golang.org/protobuf from 1.36.10 to 1.36.11 by @dependabot[bot] in #1399
- feat: update config by @temaniarpit27 in #1416
- feat: streamline running e2e testing locally by @vcastellm in #1333
- fix: typo in certificate function names by @vcastellm in #1424
- fix: check InError certs when no pending certs by @vcastellm in #1425
- chore(deps): bump google.golang.org/grpc from 1.77.0 to 1.78.0 by @dependabot[bot] in #1438
- fix: preserve retro compatibility of claim events indexing (cherry-pick) by @Stefan-Ethernal in #1441
- feat: index
BackwardLETevent by @Stefan-Ethernal in #1379 - feat: index and handle
forwardLETevent by @goran-ethernal in #1404 - ci: update kurtosis configs by @leovct in #1451
- feat: hash from rpc instead of calculated v2 1389 by @joanestebanr in #1397
- feat: allow to configure the finality to use for l1infotree by @joanestebanr in #1417
- feat: aggsender: send a new certificate as soon latest is settled by @joanestebanr in #1457
- feat: claude code by @joanestebanr in #1463
- feat: implement bridge service client by @arnaubennassar in #1465
New Contributors
Full Changelog: v0.8.0...v0.9.0-rc1