Transport does not change identity
attach_transport lets a CLIENT fetch missing state. It does not change the chain, block, or execution state that the CLIENT identifies.
- The function does not modify the source CLIENT.
- The TRANSPORT's trusted declared chain id must match the CLIENT lineage. For a pinned CLIENT, the function also validates the pinned header against the provider.
- Store credentials in runtime TRANSPORT configuration. The durable CLIENT identity does not include them.