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

Hardhat was'nt initialized #5546

Closed
Rizalliza opened this issue Jul 23, 2024 · 2 comments
Closed

Hardhat was'nt initialized #5546

Rizalliza opened this issue Jul 23, 2024 · 2 comments
Assignees
Labels
status:needs-more-info There's not enough information to start working on this issue

Comments

@Rizalliza
Copy link

Version of Hardhat

10.7.0

What happened?

i can't connect to sepolia testnet, always giving error. here's the error code = _stack: 'HardhatError: HH5: HardhatContext is not created.\n' +
' at HardhatContext.getHardhatContext (/Users/qistina/Desktop/Abah/BlkMan/node_modules/hardhat/internal/context.js:38:19)\n' +
' at extendEnvironment (/Users/qistina/Desktop/Abah/BlkMan/node_modules/hardhat/internal/core/config/config-env.js:72:42)\n' +
' at Object. (/Users/qistina/Desktop/Abah/BlkMan/node_modules/@nomiclabs/hardhat-ethers/internal/index.js:13:32)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1358:14)\n' +
' at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:1208:32)\n' +
' at Module._load (node:internal/modules/cjs/loader:1024:12)\n' +
' at Module.require (node:internal/modules/cjs/loader:1233:19)\n' +
' at require (node:internal/modules/helpers:179:18)\n' +
' at Object. (/Users/qistina/Desktop/Abah/BlkMan/node_modules/@nomiclabs/hardhat-waffle/dist/src/index.js:3:1)',
errorDescriptor: {
number: 5,
message: 'HardhatContext is not created.',
title: "Hardhat wasn't initialized",
description: 'Hardhat initialization failed. This is a bug.\n' +
'\n' +
'Please report it to help us improve Hardhat.',
shouldBeReported: true
},
number: 5,
messageArguments: {},
_isHardhatError: true
}

Minimal reproduction steps

no idea.

Search terms

No response

@ChristopherDedominici
Copy link
Contributor

Hi @Rizalliza, Hardhat does not have a version 10.7.0. This is probably a typo. Could you try using the latest Hardhat version to connect to Sepolia and see if it works? Thanks.

@ChristopherDedominici ChristopherDedominici added status:needs-more-info There's not enough information to start working on this issue and removed status:triaging labels Jul 24, 2024
@ChristopherDedominici
Copy link
Contributor

Closing because of no activity in the last 2 weeks

@github-project-automation github-project-automation bot moved this from Backlog to Done in Hardhat Aug 8, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:needs-more-info There's not enough information to start working on this issue
Projects
Archived in project
Development

No branches or pull requests

2 participants