generated from smartcontractkit/hardhat-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
Issue
Functions testnet server with the hardhat node is started and finished with the error immediately.
Description
The below is a full script of my actions from the console
seva@Victus-16:~/OGOO/.local_functions_testnet$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: noble
seva@Victus-16:~/OGOO/.local_functions_testnet$ node --version
v20.19.5
seva@Victus-16:~/OGOO/.local_functions_testnet$ deno --version
deno 2.5.1 (stable, release, x86_64-unknown-linux-gnu)
v8 14.0.365.4-rusty
typescript 5.9.2
seva@Victus-16:~/OGOO/.local_functions_testnet$ git clone [email protected]:smartcontractkit/functions-hardhat-starter-kit.git
Cloning into 'functions-hardhat-starter-kit'...
remote: Enumerating objects: 3946, done.
remote: Counting objects: 100% (1056/1056), done.
remote: Compressing objects: 100% (212/212), done.
remote: Total 3946 (delta 971), reused 844 (delta 844), pack-reused 2890 (from 2)
Receiving objects: 100% (3946/3946), 2.89 MiB | 5.40 MiB/s, done.
Resolving deltas: 100% (3058/3058), done.
seva@Victus-16:~/OGOO/.local_functions_testnet$ cd functions-hardhat-starter-kit/
seva@Victus-16:~/OGOO/.local_functions_testnet/functions-hardhat-starter-kit$ npm install
npm warn skipping integrity check for git dependency ssh://[email protected]/matter-labs/era-contracts.git
npm warn deprecated @types/[email protected]: This is a stub types definition. minimatch provides its own type definitions, so you do not need this installed.
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated @nomiclabs/[email protected]: The @nomiclabs/hardhat-etherscan package is deprecated, please use @nomicfoundation/hardhat-verify instead
> [email protected] prepare
> husky install
husky - Git hooks installed
added 1174 packages, and audited 1204 packages in 2m
153 packages are looking for funding
run `npm fund` for details
50 vulnerabilities (22 low, 4 moderate, 19 high, 5 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues possible (including breaking changes), run:
npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
seva@Victus-16:~/OGOO/.local_functions_testnet/functions-hardhat-starter-kit$ npm run startLocalFunctionsTestnet
> [email protected] startLocalFunctionsTestnet
> node scripts/startLocalFunctionsTestnet.js
secp256k1 unavailable, reverting to browser version
Using Functions request config file /home/seva/OGOO/.local_functions_testnet/functions-hardhat-starter-kit/Functions-request-config.js
Local Functions testnet server started on port 8545
┌──────────────────────────────────┬──────────────────────────────────────────────┐
│ (index) │ Values │
├──────────────────────────────────┼──────────────────────────────────────────────┤
│ FunctionsRouter Contract Address │ '0x928f236c9F8A370F52e4F36c77A4F3BFAD1Bd906' │
│ DON ID │ 'local-functions-testnet' │
│ Mock LINK Token Contract Address │ '0xd3E6AB64FE6227693b541F8Bfd8A30928d205c9a' │
└──────────────────────────────────┴──────────────────────────────────────────────┘
/home/seva/OGOO/.local_functions_testnet/functions-hardhat-starter-kit/node_modules/@ethersproject/bytes/lib/index.js:9
return !!(value.toHexString);
^
TypeError: Cannot read properties of undefined (reading 'toHexString')
at isHexable (/home/seva/OGOO/.local_functions_testnet/functions-hardhat-starter-kit/node_modules/@ethersproject/bytes/lib/index.js:9:21)
at hexlify (/home/seva/OGOO/.local_functions_testnet/functions-hardhat-starter-kit/node_modules/@ethersproject/bytes/lib/index.js:175:9)
at new SigningKey (/home/seva/OGOO/.local_functions_testnet/functions-hardhat-starter-kit/node_modules/@ethersproject/signing-key/lib/index.js:20:82)
at new Wallet (/home/seva/OGOO/.local_functions_testnet/functions-hardhat-starter-kit/node_modules/@ethersproject/wallet/lib/index.js:120:36)
at /home/seva/OGOO/.local_functions_testnet/functions-hardhat-starter-kit/scripts/startLocalFunctionsTestnet.js:30:25
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v20.19.5
Metadata
Metadata
Assignees
Labels
No labels