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
accounts of hardhat.config must be HardhatNetworkAccountsUserConfig type when setting hardhat netowrk, but for other networks such as arbitrumSepolia, you should set it to string[], or this error will show up
Error HH8: There's one or more errors in your config file:
* Invalid account: #0 for network: arbitrumSepolia - Expected string, received object
What is weried is network url refres to HttpNetworkUserConfig.url, but accounts refres to HardhatUserConfig.accounts.
Minimal reproduction steps
npx hardhat init
set different account
deploy
Search terms
No response
The text was updated successfully, but these errors were encountered:
Version of Hardhat
2.22.4
What happened?
accounts of hardhat.config must be
HardhatNetworkAccountsUserConfig
type when setting hardhat netowrk, but for other networks such asarbitrumSepolia
, you should set it tostring[]
, or this error will show upWhat is weried is network url refres to
HttpNetworkUserConfig.url
, but accounts refres toHardhatUserConfig.accounts
.Minimal reproduction steps
Search terms
No response
The text was updated successfully, but these errors were encountered: