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
# Description
Migrates Balancer V2 sources module from `ethcontract` to `alloy`
primitives, continuing the project-wide modernization
effort. This simplifies the codebase and improves type safety across
pool fetching, pool implementations, and swap math
calculations.
# Changes
- [x] Replace `ethcontract` contract bindings with `alloy` types in pool
fetching
- [x] Add alloy block support to `recent_block_cache.rs`
- [x] Migrate all pool types (Weighted, Stable, Composable Stable, LBP)
to alloy
- [x] Convert swap math modules to use alloy primitives
- [x] Update pool storage, registry, and boundary liquidity handlers
- [x] Remove ethcontract-specific workarounds from `sources/mod.rs`
## How to test
Existing tests
---------
Co-authored-by: Marcin Szymczak <[email protected]>
0 commit comments