You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run bbs example and receiving the following error:
$ npx babel-node example/bbs-dock.js
RuntimeError: unreachable
at null.<anonymous> (wasm://wasm/00f8a7e6:1:2807247)
at null.<anonymous> (wasm://wasm/00f8a7e6:1:3925200)
at null.<anonymous> (wasm://wasm/00f8a7e6:1:3932287)
at null.<anonymous> (wasm://wasm/00f8a7e6:1:3343026)
at Object.bbsPlusSignG1 (/Users/razorbohan/Desktop/sdk-master/node_modules/@docknetwork/crypto-wasm-ts/node_modules/@docknetwork/crypto-wasm/lib/dock_crypto_wasm.js:7101:14)
at module.exports.bbsPlusSignG1 (/Users/razorbohan/Desktop/sdk-master/node_modules/@docknetwork/crypto-wasm-ts/node_modules/@docknetwork/crypto-wasm/lib/bbs_plus_wasm.js:126:17)
at Function.generate (/Users/razorbohan/Desktop/sdk-master/node_modules/@docknetwork/crypto-wasm-ts/src/bbs-plus/signature.ts:37:30)
at Object.sign (/Users/razorbohan/Desktop/sdk-master/src/utils/vc/crypto/common/DockCryptoSignature.js:502:47)
at getSigBytes (/Users/razorbohan/Desktop/sdk-master/src/utils/vc/crypto/common/CustomLinkedDataSignature.js:91:43)
at Bls12381BBSSignatureDock2022.sign (/Users/razorbohan/Desktop/sdk-master/src/utils/vc/crypto/common/CustomLinkedDataSignature.js:106:36)
at Bls12381BBSSignatureDock2022.createProof (/Users/razorbohan/Desktop/sdk-master/node_modules/jsonld-signatures/lib/suites/LinkedDataSignature.js:142:24)
at ProofSet.add (/Users/razorbohan/Desktop/sdk-master/node_modules/jsonld-signatures/lib/ProofSet.js:75:19)
at Object.sign (/Users/razorbohan/Desktop/sdk-master/node_modules/jsonld-signatures/lib/jsonld-signatures.js:63:12)
at VerifiableCredential.sign (/Users/razorbohan/Desktop/sdk-master/src/verifiable-credential.js:260:22)
at signAndVerify (/Users/razorbohan/Desktop/sdk-master/example/bbs-dock.js:107:3)
at main (/Users/razorbohan/Desktop/sdk-master/example/bbs-dock.js:127:5)
error Command failed with exit code 1.
Steps to reproduce:
Copy master branch
Run yarn
Run yarn bbs-dock-example
Have tried on node v18.18.2 and v16.20.2.
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
I'm trying to run bbs example and receiving the following error:
Steps to reproduce:
Have tried on node v18.18.2 and v16.20.2.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: