What L2GERSync Does
L2GERSync manages Global Exit Root synchronization on the L2 side. When AggOracle injects a new GER into the L2 Global Exit Root Manager contract, L2GERSync captures the resulting event and stores the GER data in a local index. This local index provides fast access to current and historical GER state for several operations:- Claim verification: Bridge claims must be verified against the current GER
- Proof generation: Merkle proofs require accurate GER state
- API responses: Bridge Service APIs need fast GER data access
- Historical queries: Applications may need access to historical GER transitions