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
Mocha Test Explorer for VSC does not work,
It returns the error bellow when I try to use it in Damn Vulnerable Defi:
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at hash160 (/home/haraslub/eth-security-toolbox/damn-vulnerable-defi/node_modules/ethereum-cryptography/vendor/hdkey-without-crypto.js:249:21)
at HDKey.set (/home/haraslub/eth-security-toolbox/damn-vulnerable-defi/node_modules/ethereum-cryptography/vendor/hdkey-without-crypto.js:50:24)
at Function.HDKey.fromMasterSeed (/home/haraslub/eth-security-toolbox/damn-vulnerable-defi/node_modules/ethereum-cryptography/vendor/hdkey-without-crypto.js:194:20)
at Object.deriveKeyFromMnemonicAndPath (/home/haraslub/eth-security-toolbox/damn-vulnerable-defi/node_modules/hardhat/src/internal/util/keys-derivation.ts:21:27)
at derivePrivateKeys (/home/haraslub/eth-security-toolbox/damn-vulnerable-defi/node_modules/hardhat/src/internal/core/providers/util.ts:29:24)
at Object.normalizeHardhatNetworkAccountsConfig (/home/haraslub/eth-security-toolbox/damn-vulnerable-defi/node_modules/hardhat/src/internal/core/providers/util.ts:56:10)
at Object.createProvider (/home/haraslub/eth-security-toolbox/damn-vulnerable-defi/node_modules/hardhat/src/internal/core/providers/construction.ts:75:22)
at /home/haraslub/eth-security-toolbox/damn-vulnerable-defi/node_modules/hardhat/src/internal/core/runtime-environment.ts:80:14 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
I tried to use possible fixes like export NODE_OPTIONS=--openssl-legacy-provider or nvm use 16, but nothing mentioned works.
Does anyone could help me with this issue, please?
Environment:
WIN 11
WSL2, Ubuntu
The text was updated successfully, but these errors were encountered:
Mocha Test Explorer for VSC does not work,
It returns the error bellow when I try to use it in Damn Vulnerable Defi:
I tried to use possible fixes like
export NODE_OPTIONS=--openssl-legacy-provider
ornvm use 16
, but nothing mentioned works.Does anyone could help me with this issue, please?
Environment:
WIN 11
WSL2, Ubuntu
The text was updated successfully, but these errors were encountered: