Part of #4014.
Add src/topology.rs and src/feed.rs builders.
Notes
- Topology
clear_topology / assign_topology_node_segments are batched: expose a single-chunk builder plus a *_batched(...) -> Vec<Instruction> convenience. Move the batch-size consts into this crate (the 32-account cap math includes the trailing accounts the builder now owns).
Acceptance
- One pure builder per non-deprecated topology/feed instruction; batched convenience helpers where applicable.
- Unit tests (incl. a batching boundary test) +
ix_* golden fixtures.
Part of #4014.
Add
src/topology.rsandsrc/feed.rsbuilders.Notes
clear_topology/assign_topology_node_segmentsare batched: expose a single-chunk builder plus a*_batched(...) -> Vec<Instruction>convenience. Move the batch-size consts into this crate (the 32-account cap math includes the trailing accounts the builder now owns).Acceptance
ix_*golden fixtures.