Repository navigation
feat(cli)!: take every test network from its Trinity stack descriptor - #1885
Merged
Merged
Conversation
Contributor
Bundle size reportCompared with
WebAssembly modules
No file changed size. Commit: 94a5573 |
Contributor
|
CI Status: 24 required jobs green, 21 passed and 3 skipped by path filter. All job results
Signing credentials: valid as of 2026-11-05 Commit |
Mikelle
reviewed
Nov 5, 2026
Mikelle
approved these changes
Nov 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lets
truapi-hostrun against any Trinity stack, a fork, a staging instance or a local file:truapi-host --stack https://previewnet-stg.substrate.dev/.well-known/trinity-stack.json identity-check --mnemonic …Polkadot stays a hard-coded network: RFC 2 pins its reserved values per build, and that is separate work.
--stacktakes a descriptor URL, a stack link or a local file, also asHOST_CLI_STACKpopControllercome from the stackNetworkSuffixmust equal the stack's TLDdotTLD or thepolkadotnamespace is refused, so PCF's devnet, whose TLD isdot, does not run--networkpicks a built-in network by name and--stackany other stack--networkand--stackcannot be combined, and a stack's product namespace is its descriptor'sidwithout-forkHOST_CLI_PEOPLE_WS,HOST_CLI_ASSET_HUB_WSandHOST_CLI_BULLETIN_WSnow reroute a role of a built-in network or a stack, and the rerouted endpoint must answer with that network's genesisHOST_CLI_LOCAL_NETWORK_CONFIGandlocal-network-checkwork as before, without a descriptor fetch, and the file cannot be combined with--stackor the chain URL overridesnetwork-checkprints the routing of any network, stack or override without contacting a chainstack bundlerefuses a copy that changes the TLD of the copy it replaces, since every derived account would changestack bundle --skip-same-projectionleaves the existing copy when the new one changes no field the CLI reads@parity/truapirelease ships themPart of #1312