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
{{ message }}
Repository navigation
e2e: convert ChainFixture/NodeFixture descriptive pub fields to accessors #1061
Surfaced by the multi-agent review of #1053 (#1028).
ChainFixture and NodeFixture expose construction-time facts about already-running processes as mutable pub fields — e.g. chain.rs: rpc_url, url (two redundant encodings of the same endpoint that must agree), chain_id, addrs, usdc, admin_addr; node.rs: operator_addr, node_id, bind_port, admin_url. None is legitimately mutated after launch(), but a let mut fixture author can reassign one and silently desync the fixture from the live process it describes.
Convert the read-only-after-launch fields to pub fn accessors (returning Copy/&str) so the invariant is unbreakable at zero call-site cost, and collapse rpc_url/url to a single stored form. Deliberately deferred from #1053 (test-fixture crate, low urgency).
Activity
test(e2e): harden fixtures — retries, exact assertions, accessors (#1061