paritytech / paritytech/playground-tutorial
Upgrade @parity/product-sdk and dependencies to the latest releases
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Summary
Bring the @parity/product-sdk packages up to the latest releases. This repo is the furthest behind, so the upgrade is substantial.
Current versions
@parity/product-sdk-host^0.8.0@parity/product-sdk-signer^0.6.3
Target versions (latest)
@parity/product-sdk-host0.14.1@parity/product-sdk-signer0.11.1- Add and pin the other
@parity/product-sdk-*packages the quests use (chain-client0.9.1, contracts0.9.2, descriptors0.8.0, tx0.3.2) as needed.
Breaking changes to plan for
- The host and signer API surfaces changed across many minor releases between 0.8 and 0.14.
@parity/product-sdk@0.18.0introduced theResultbased error API, replacing throws insubmitAndWatch, contract.tx/.prepare, and cloud storagequeryJson.
Because of the size of the jump, do this in steps and lean on the truAPI transport switch that this upgrade depends on.
What needs to happen
- Step the host and signer up to the target versions, resolving breaking changes at each stage.
- Adopt the
Resulterror API across the quest code. - Bump
polkadot-apiand the transitive@polkadot-api/*packages. - Re-run every quest end to end.
Acceptance criteria
- The tutorial builds and typechecks on the new versions.
- Every quest completes against the host.
- Any tutorial smoke test passes.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the quest code and the truAPI transport switch described in the issue. Upgrade the host, signer, and other @parity/product-sdk-* packages in stages, resolving the listed API changes as they appear. Run the tutorial typecheck, smoke test, and every quest end to end; done means all quests complete against the host.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, developer-experience
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100