You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: run the l1 info tree syncer with safe block finality (#1148)
## 🔄 Changes Summary
- Change the L1 Info Tree Syncer block finality to `safe`, in order to
make `aggoracle` runs faster. Re-introduce `BlockFinality` in the
`L1InfoTreeSyncer` config and consequently the `ReorgDetector`.
- Simplify `keccak256` hash calculations, by relying on go ethereum
library.
- Remove `URLRPCL1` config parameters from `Aggoracle` and
`L1InfoTreeSync`, since they are unused.
- Introduce abstractions for merkle trees, in order to test l1 info tree
syncer processor more deeply:
- `ReadTreer` – provides read-only access to tree data (roots, leaves,
proofs).
- `LeafWriter` – defines write operations for adding new leaves to the
tree.
- `ReorganizeTreer` – extends ReadTreer with the ability to handle
blockchain reorgs.
- `FullTreer` – combines all capabilities (`ReadTreer`, `LeafWriter`,
`ReorganizeTreer`), representing a fully functional, mutable Merkle
tree.
## ⚠️ Breaking Changes
N/A
## 📋 Config Updates
- Re-introduce `L1InfoTreeSync.BlockFinality` config param.
- Remove `Aggoracle.URLRPCL1` config param.
- Remove `L1InfoTreeSync.URLRPCL1` config param.
## ✅ Testing
- 🤖 **Automatic**: [Optional: Enumerate E2E tests]
- 🖱️ **Manual**: [Optional: Steps to verify]
## 🐞 Issues
- Closes#1170
## 🔗 Related PRs
N/A
## 📝 Notes
N/A
---------
Co-authored-by: Copilot <[email protected]>
0 commit comments