Skip to content

serviceability: topology + feed instruction builders (Rust) #4022

Description

@juan-malbeclabs

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions