mirror of
https://github.com/powdr-labs/powdr.git
synced 2026-04-20 03:03:25 -04:00
Introduce `PgoAdapter` which wraps `Adapter` and can call apc generation. Removes the match statements over the pgo method. Breaking change. Now the client can pick some pgo implementations like `pgo::CellPgo` and use it like `CellPgo::<MyAdapter>::new(pgo_data).generate_apcs(blocks)`. The client can also implement `PgoAdapter<A: Adapter>` for its own pgo implementation.