paritytech / paritytech/triangle-js-sdks

`host_request_resource_allocation([BulletInAllowance])` is not integrated with People-chain `claim_long_term_storage`

Open
#167 5 comments 0 reactions 4 assignees View on GitHub

@EnderOfWorlds007 is already working on this.

Since May 11, 2026.

Dominant language
TypeScript
Stars
3
Forks
1
Avg merge
1d 14h
Merged PRs (30d)
8

Description

A product calling requestResourceAllocation([BulletInAllowance]) should ultimately result in a claim_long_term_storage call on People chain

(which then XCMs authorize_account to Bulletin and returns the slotAccountKey to the Host). Today this end-to-end path is not wired: packages/host-container/src/createContainer.ts:435 exposes handleRequestResourceAllocation as a NOT_IMPLEMENTED stub, and nothing in the AP layer (packages/host-papp/) triggers the People-chain claim.

People-chain side of the integration is already in place — see paritytech/individuality#893.

Current Host implementations bypass the v0.2 design entirely:

  • useragent-kit signs Bulletin TransactionStorage.store directly with the well-known //Alice dev key — see
    crates/host-chain/src/bulletin.rs:55–84 (submit_preimage_at
    queries Alice's nonce at line 64, builds the Alice-signed extrinsic via
    build_bulletin_store_extrinsic where the Alice mini-secret is
    hardcoded). The entry point submit_preimage_testnet flags this
    as "intended for testnet/headless provisioning only. Production hosts should route through a real wallet or service account policy."

  • dotli never overrides handleRequestResourceAllocation at all — it uses the legacy v0.1 handlePreimageSubmit path at
    packages/ui/src/container.ts:706, which calls
    submitPreimageTransaction(value, getTestSigner()). getTestSigner
    hardcodes //Alice with a TODO: "Replace with production signer (People chain XCM authorization + unsigned submission). For testing on Paseo, Alice's account is pre-authorized via
    authorize_account."


Note: this gap was identified via a Claude-assisted cross-repo analysis across the products constellation — truapi, triangle-js-sdks, useragent-kit, dotli, dotns / dotns-sdk, playground-cli / playground-app / host-playground / host-api-test-sdk, triangle-e2e, individuality, polkadot-bulletin-chain.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.