Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to update @polkadot/* pkg deps #1846

Closed
timbrinded opened this issue Aug 15, 2024 · 5 comments · Fixed by #1850
Closed

Need to update @polkadot/* pkg deps #1846

timbrinded opened this issue Aug 15, 2024 · 5 comments · Fixed by #1850

Comments

@timbrinded
Copy link
Contributor

Issue Description

Running latest zombienet with the rest of the latest @polkadot libraries, you get the following:

(node:969053) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Error:  	 Error: The WASM interface has not been initialized. Ensure that you wait for the initialization Promise with waitReady() from @polkadot/wasm-crypto (or cryptoWaitReady() from @polkadot/util-crypto) before attempting to use WASM-only interfaces.

undefined

Steps to reproduce the issue

Steps to reproduce the issue
1.Run zombienet with latest 13.0.2 packages:

  • "@polkadot/keyring": "13.0.2",
  • "@polkadot/util": "13.0.2",
  • "@polkadot/util-crypto": "13.0.2",

Describe the results you received

(node:969053) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Error:  	 Error: The WASM interface has not been initialized. Ensure that you wait for the initialization Promise with waitReady() from @polkadot/wasm-crypto (or cryptoWaitReady() from @polkadot/util-crypto) before attempting to use WASM-only interfaces.

undefined

Describe the results you expected

network to launch

Zombienet version

"@zombienet/cli": "1.3.106", "@zombienet/utils": "0.0.25",

Provider

Native

Provider version

## For binaries
polkadot 0.9.40-a2b62fb872b
polkadot-parachain 0.9.380-fe24f39507f 

## For Kubernetes/Podman
podman version 4.4.1

OR

kubectl version v0.26.3
cluster version 1.25.2

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

Screenshots

No response

@pepoviola
Copy link
Collaborator

Thanks @timbrinded, I will draft a new release asap.
Thx!

@timbrinded
Copy link
Contributor Author

@pepoviola
FYI still an issue for @zombienet/cli : 1.3.107 because of @zombienet/orchestrator 0.0.88

❯ pnpm zombienet spawn configs/fullNetworkNative.toml
@polkadot/keyring has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 13.0.2	node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@[email protected]/node_modules/@polkadot/keyring/cjs
	cjs 12.6.2	node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@[email protected]/node_modules/@polkadot/keyring/cjs
@polkadot/util-crypto has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 13.0.2	node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@polkadot/util-crypto/cjs
	cjs 12.6.2	node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@polkadot/util-crypto/cjs
@polkadot/wasm-crypto has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 7.3.2	node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@polkadot+u_kb5poh4fz3lr2y7edsbmbjzjri/node_modules/@polkadot/wasm-crypto/cjs
	cjs 7.3.2	node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@polkadot+u_w2qkw3e36vihiitxb4i6k3d52e/node_modules/@polkadot/wasm-crypto/cjs
@polkadot/wasm-bridge has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 7.3.2	node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@polkadot+u_lhbo4eytojbhic6cpuivbba2cy/node_modules/@polkadot/wasm-bridge/cjs
	cjs 7.3.2	node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@polkadot+u_7andcvwaf4hx2hrgj4pgjjmrm4/node_modules/@polkadot/wasm-bridge/cjs
(node:190789) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Error:  	 Error: The WASM interface has not been initialized. Ensure that you wait for the initialization Promise with waitReady() from @polkadot/wasm-crypto (or cryptoWaitReady() from @polkadot/util-crypto) before attempting to use WASM-only interfaces.

undefined
❯ pnpm up -i --latest
✔ Choose which packages to update (Press <space> to select, <a> to toggle all, <i> to invert selection) · @zombienet/cli
..                                       |  WARN  `node_modules` is present. Lockfile only installation will make it out-of-date
 WARN  3 deprecated subdependencies found: @substrate/[email protected], [email protected], [email protected]
..                                       | Progress: resolved 476, reused 0, downloaded 0, added 0, done
 WARN  Issues with peer dependencies found
test
└─┬ @zombienet/cli 1.3.107
  └─┬ @zombienet/orchestrator 0.0.88
    ├─┬ @polkadot/util-crypto 12.6.2
    │ ├── ✕ unmet peer @polkadot/[email protected]: found 13.0.2
    │ └─┬ @polkadot/x-randomvalues 12.6.2
    │   └── ✕ unmet peer @polkadot/[email protected]: found 13.0.2
    └─┬ @polkadot/keyring 12.6.2
      └── ✕ unmet peer @polkadot/[email protected]: found 13.0.2

..                                       |  +14  -30 +---
Done in 11.9s
❯

@pepoviola
Copy link
Collaborator

Hi @timbrinded, can you re-check with the latest version please? Should works as expected.
Thx!

@timbrinded
Copy link
Contributor Author

Confirmed, works a treat.

Thx fren 🙏

@pepoviola
Copy link
Collaborator

Awesome!! Thanks for your feedback :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants