Comparing version 2.23.0-dev.2 to 2.23.0-dev.3
@@ -308,2 +308,9 @@ export declare const ERROR_PREFIX = "HH"; | ||
}; | ||
EMPTY_URL: { | ||
number: number; | ||
message: string; | ||
title: string; | ||
description: string; | ||
shouldBeReported: boolean; | ||
}; | ||
}; | ||
@@ -310,0 +317,0 @@ TASK_DEFINITIONS: { |
@@ -443,2 +443,11 @@ "use strict"; | ||
}, | ||
EMPTY_URL: { | ||
number: 117, | ||
message: "Empty string `%value%` for network or forking URL - Expected a non-empty string.", | ||
title: "Empty string `%value%` for network or forking URL - Expected a non-empty string.", | ||
description: `You are trying to connect to a network with an empty network or forking URL. | ||
Please check that you are sending a non-empty string for network or forking \`URL\` parameter.`, | ||
shouldBeReported: false, | ||
}, | ||
}, | ||
@@ -445,0 +454,0 @@ TASK_DEFINITIONS: { |
@@ -52,2 +52,7 @@ "use strict"; | ||
const { Pool, ProxyAgent } = require("undici"); | ||
if (this._url.trim().length === 0) { | ||
throw new errors_1.HardhatError(errors_list_1.ERRORS.NETWORK.EMPTY_URL, { | ||
value: this._url, | ||
}); | ||
} | ||
const url = new URL(this._url); | ||
@@ -54,0 +59,0 @@ this._path = url.pathname; |
{ | ||
"name": "hardhat", | ||
"version": "2.23.0-dev.2", | ||
"version": "2.23.0-dev.3", | ||
"author": "Nomic Labs LLC", | ||
@@ -82,4 +82,4 @@ "license": "MIT", | ||
"typescript": "~5.0.0", | ||
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "^1.0.2", | ||
"@nomicfoundation/eslint-plugin-slow-imports": "^1.0.0" | ||
"@nomicfoundation/eslint-plugin-slow-imports": "^1.0.0", | ||
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "^1.0.2" | ||
}, | ||
@@ -89,3 +89,3 @@ "dependencies": { | ||
"@metamask/eth-sig-util": "^4.0.0", | ||
"@nomicfoundation/edr": "0.4.0-alpha.0", | ||
"@nomicfoundation/edr": "0.4.0-alpha.4", | ||
"@nomicfoundation/ethereumjs-common": "4.0.4", | ||
@@ -178,8 +178,3 @@ "@nomicfoundation/ethereumjs-tx": "5.0.4", | ||
"test:tracing": "mocha --recursive \"test/internal/hardhat-network/stack-traces/**/*.ts\"", | ||
"pretest:provider": "cd ../../crates/edr_napi && pnpm build", | ||
"pretest:except-provider": "cd ../../crates/edr_napi && pnpm build", | ||
"pretest:tracing": "cd ../../crates/edr_napi && pnpm build", | ||
"pretest:except-tracing": "cd ../../crates/edr_napi && pnpm build", | ||
"postbuild": "cp src/internal/solidity/compiler/solcjs-runner.js internal/solidity/compiler/solcjs-runner.js", | ||
"prebuild:tracing": "cd ../../crates/edr_napi && pnpm build:tracing", | ||
"build": "tsc --build --force --incremental .", | ||
@@ -186,0 +181,0 @@ "build:tracing": "tsc --build --force --incremental .", |
@@ -478,2 +478,13 @@ export const ERROR_PREFIX = "HH"; | ||
}, | ||
EMPTY_URL: { | ||
number: 117, | ||
message: | ||
"Empty string `%value%` for network or forking URL - Expected a non-empty string.", | ||
title: | ||
"Empty string `%value%` for network or forking URL - Expected a non-empty string.", | ||
description: `You are trying to connect to a network with an empty network or forking URL. | ||
Please check that you are sending a non-empty string for network or forking \`URL\` parameter.`, | ||
shouldBeReported: false, | ||
}, | ||
}, | ||
@@ -480,0 +491,0 @@ TASK_DEFINITIONS: { |
@@ -54,2 +54,8 @@ import type * as Undici from "undici"; | ||
if (this._url.trim().length === 0) { | ||
throw new HardhatError(ERRORS.NETWORK.EMPTY_URL, { | ||
value: this._url, | ||
}); | ||
} | ||
const url = new URL(this._url); | ||
@@ -56,0 +62,0 @@ this._path = url.pathname; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3743611
1108
65423
+ Added@nomicfoundation/edr@0.4.0-alpha.4(transitive)
+ Added@nomicfoundation/edr-darwin-arm64@0.4.0-alpha.4(transitive)
+ Added@nomicfoundation/edr-darwin-x64@0.4.0-alpha.4(transitive)
+ Added@nomicfoundation/edr-linux-arm64-gnu@0.4.0-alpha.4(transitive)
+ Added@nomicfoundation/edr-linux-arm64-musl@0.4.0-alpha.4(transitive)
+ Added@nomicfoundation/edr-linux-x64-gnu@0.4.0-alpha.4(transitive)
+ Added@nomicfoundation/edr-linux-x64-musl@0.4.0-alpha.4(transitive)
+ Added@nomicfoundation/edr-win32-x64-msvc@0.4.0-alpha.4(transitive)
+ Added@types/bn.js@5.1.5(transitive)
+ Added@types/node@22.5.4(transitive)
- Removed@nomicfoundation/edr@0.4.0-alpha.0(transitive)
- Removed@nomicfoundation/edr-darwin-arm64@0.4.0-alpha.0(transitive)
- Removed@nomicfoundation/edr-darwin-x64@0.4.0-alpha.0(transitive)
- Removed@nomicfoundation/edr-linux-arm64-gnu@0.4.0-alpha.0(transitive)
- Removed@nomicfoundation/edr-linux-arm64-musl@0.4.0-alpha.0(transitive)
- Removed@nomicfoundation/edr-linux-x64-gnu@0.4.0-alpha.0(transitive)
- Removed@nomicfoundation/edr-linux-x64-musl@0.4.0-alpha.0(transitive)
- Removed@nomicfoundation/edr-win32-x64-msvc@0.4.0-alpha.0(transitive)
- Removed@types/bn.js@5.1.6(transitive)
- Removed@types/node@22.5.5(transitive)