Closed
Description
Version of Hardhat
3.0.0-next.1
What happened?
I execute hardhat node
And it errors out
eth_sendRawTransaction
Nonce too low. Expected nonce to be 1 but got 0. Note that transactions can't be queued when automining.
/home/wighawag/dev/github.com/wighawag/template-ethereum-contracts/node_modules/.pnpm/[email protected]/node_modules/hardhat/src/internal/builtin-plugins/node/json-rpc/handler.ts:243
if (error.data.data !== undefined) {
^
TypeError: Cannot read properties of null (reading 'data')
at _handleError (/home/wighawag/dev/github.com/wighawag/template-ethereum-contracts/node_modules/.pnpm/[email protected]/node_modules/hardhat/src/internal/builtin-plugins/node/json-rpc/handler.ts:243:20)
at JsonRpcHandler.#handleRequest (/home/wighawag/dev/github.com/wighawag/template-ethereum-contracts/node_modules/.pnpm/[email protected]/node_modules/hardhat/src/internal/builtin-plugins/node/json-rpc/handler.ts:165:17)
at async Server.handleHttp (/home/wighawag/dev/github.com/wighawag/template-ethereum-contracts/node_modules/.pnpm/[email protected]/node_modules/hardhat/src/internal/builtin-plugins/node/json-rpc/handler.ts:58:21)
Node.js v22.14.0
ELIFECYCLE Command failed with exit code 1.
I do not expect hardhat node to crash
Minimal reproduction steps
None available
Search terms
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done