feat(ui): pass the Asset Hub genesis to the truapi host runtime - #180
feat(ui): pass the Asset Hub genesis to the truapi host runtime#180filip-parity wants to merge 5 commits into
Conversation
The host resolves session usernames from the dotNS contracts on Asset Hub and its runtime config requires the chain's genesis (runtimeConfig.assetHub). Typed as an intersection so the package floor without the field still compiles; fold it into the literal once the dependency carries it.
Bundle Size ReportChunks over 500 KB:
All files
Commit: 7798458 |
⚡ Performance Report
|
bun audit flags GHSA-ggr8-5vv4-36mx (stack exhaustion on recursive object graphs) in deepmerge-ts <8, reached through polkadot-api. Pinned in the overrides block like the other audit pins; the resolver suite passes on 8.
|
❌ E2E Product suite failed on Failed tests:
Logs: https://github.com/paritytech/dotli-community/actions/runs/32560541804 |
|
CI notes: the Unit failure was the runtime-config contract test learning the |
main carries the same deepmerge-ts override (^8.0.1); its pin wins.
TL;DR
The truapi host runtime resolves session usernames from the dotNS contracts on Asset Hub (paritytech/host-rust-core#426) and its runtime config requires
assetHub.genesisHash. The value comes fromgetActiveServicesConfig().assethub.genesis, next to the People and Bulletin entries.Typed as an intersection with an optional
assetHubso this compiles against@parity/truapi-hostreleases from before the field existed; fold the field into the plain literal once the dependency floor includes it.Requested in paritytech/host-rust-core#426 review; that PR bumps the
hosts/dotlisubmodule to this commit.