Open
Description
-
I'm submitting a ...
- Bug report
- Feature request
- Support request
- Other
-
What is the current behavior and expected behavior?
In developing the storage hub chain, we have been testing against a pre-release typesbundle. The PolkadotJS app has been rejecting latest versions of the storage-hub.
The @polkadot/dev
process is very idiosyncratic so not apparent what is failing or why.
❯ yarn build:typesBundle
$ polkadot-dev-run-test --env node --loader extensionless typesBundle
$ /home/tim/.nvm/versions/node/v20.14.0/bin/node --no-warnings --enable-source-maps --loader extensionless --require @polkadot/dev-test/node --loader @polkadot/dev-ts/cached /home/tim/workspace/pjs-ui/node_modules/@polkadot/dev/scripts/polkadot-exec-node-test.mjs packages/apps-config/src/api/typesBundle.spec.ts packages/apps-config/src/api/typesBundleCheck.spec.ts
0:00.000 xx
x /home/timbo/workspace/pjs-ui/packages/apps-config/src/api/typesBundle.spec.ts
packages/apps-config/src/api/typesBundle.spec.ts
testCodeFailure / ERR_TEST_FAILURE
x /home/timbo/workspace/pjs-ui/packages/apps-config/src/api/typesBundleCheck.spec.ts
packages/apps-config/src/api/typesBundleCheck.spec.ts
testCodeFailure / ERR_TEST_FAILURE
passed :: 0
failed :: 2
skipped :: 0
todo :: 0
total :: 2
elapsed :: 2.430s
tests 2
suites 0
pass 0
fail 2
cancelled 0
skipped 0
todo 0
duration_ms 2428.100591
Caution
No indication or why it is failing or how to fix it. Adding console.log() steps similarly don't appear to do anything.
- What is the motivation for changing the behavior?
So that latest runtimeApi and RPC methods can be used on the FE
- Please tell us about your environment:
Package: @storagehub/types-bundle
: 0.1.4
Node 20 & 22
-
Version:
-
Environment:
- Node.js
- Browser
- Other (limited support for other environments)
-
Language:
- JavaScript
- TypeScript (include tsc --version)
- Other
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
P4 - Needs Investigation