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
refactorings to support AccountId pervasively (#11223)
_incidental_
## Description
The move from `CosmosChainAddress` to CAIP-10 `AccountId` has been incremental. This smooths out one of the common cases where a function needs to pass along a `CosmosChainAddress` but expanding the `makeChainAddress` function to coerce its AccountIdArg into a CosmosChainAddress. It renames it to `coerceCosmosAddress` to make clear its a coercer and that it's only for Cosmos accounts.
It also does a bunch of type narrowing to make the distinctions clearer.
### Security Considerations
none
### Scaling Considerations
none
### Documentation Considerations
none
### Testing Considerations
CI
### Upgrade Considerations
This renames a method on ChainHub. That's safe because there's a new one made in each incarnation.
0 commit comments