Solidity build system #1072
Annotations
10 errors
Run tests:
v-next\hardhat\test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts#L34
AssertionError: Expected values to be strictly equal:
+ actual - expected
+ 'contracts\\File.sol'
- 'contracts/File.sol'
^
- Expected
+ Received
- contracts/File.sol
+ contracts\File.sol
at assertResolvedProjectFile (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:34:10)
at TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:127:7)
|
Run tests:
v-next\hardhat\test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts#L34
AssertionError: Expected values to be strictly equal:
+ actual - expected
+ 'contracts\\File2.sol'
- 'contracts/File2.sol'
^
- Expected
+ Received
- contracts/File2.sol
+ contracts\File2.sol
at assertResolvedProjectFile (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:34:10)
at TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:187:15)
|
Run tests:
v-next\hardhat-test-utils\src\hardhat-error.ts#L33
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
{
+ from: 'contracts\\File.sol',
- from: 'contracts/File.sol',
importPath: './nope.sol'
}
- Expected
+ Received
Object {
- "from": "contracts/File.sol",
+ "from": "contracts\\File.sol",
"importPath": "./nope.sol",
}
at assertIsHardhatError (D:\a\hardhat\hardhat\v-next\hardhat-test-utils\src\hardhat-error.ts:33:10)
at assertRejectsWithHardhatError (D:\a\hardhat\hardhat\v-next\hardhat-test-utils\src\hardhat-error.ts:87:5)
at async TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:201:15)
|
Run tests:
v-next\hardhat\src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts#L1026
HardhatError: HHE1002: The import "contracts/File.sol from "contracts\File.sol" doesn't exist.
at ResolverImplementation.#validateExistanceAndCasingOfImport (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1026:13)
at async ResolverImplementation.#resolveImportToProjectFile (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:703:5)
at async AsyncMutex.exclusiveRun (src\internal\core\async-mutex.ts:25:14)
at async TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:224:17)
[cause]: FileNotFoundError: File D:\a\hardhat\hardhat\v-next\hardhat\test\internal\builtin-plugins\solidity\build-system\resolver\test-fixtures\monorepo\packages\hardhat-project\contracts\File.sol not found
at getFileTrueCase (D:\a\hardhat\hardhat\v-next\hardhat-utils\src\fs.ts:107:9)
at async ResolverImplementation.#validateExistanceAndCasingOfImport (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1019:22)
at async ResolverImplementation.#resolveImportToProjectFile (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:703:5)
at async AsyncMutex.exclusiveRun (src\internal\core\async-mutex.ts:25:14)
at async TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:224:17)
|
Run tests:
v-next\hardhat-test-utils\src\hardhat-error.ts#L33
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
{
+ from: 'contracts\\File.sol',
- from: 'contracts/File.sol',
importPath: 'contracts/nope.sol'
}
- Expected
+ Received
Object {
- "from": "contracts/File.sol",
+ "from": "contracts\\File.sol",
"importPath": "contracts/nope.sol",
}
at assertIsHardhatError (D:\a\hardhat\hardhat\v-next\hardhat-test-utils\src\hardhat-error.ts:33:10)
at assertRejectsWithHardhatError (D:\a\hardhat\hardhat\v-next\hardhat-test-utils\src\hardhat-error.ts:87:5)
at async TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:256:15)
|
Run tests:
v-next\hardhat\test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts#L45
AssertionError: Expected values to be strictly equal:
+ actual - expected
+ 'monorepo/packages/hardhat-project/File.sol\n'
- 'monorepo\\packages\\hardhat-project\\File.sol\n'
- Expected
+ Received
- monorepo\packages\hardhat-project\File.sol
+ monorepo/packages/hardhat-project/File.sol
at assertResolvedProjectFile (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:45:10)
at TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:279:15)
|
Run tests:
v-next\hardhat\src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts#L1026
HardhatError: HHE1002: The import "hardhat/File.sol from "contracts\File.sol" doesn't exist.
at ResolverImplementation.#validateExistanceAndCasingOfImport (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1026:13)
at async ResolverImplementation.#resolveImportToProjectFile (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:703:5)
at async AsyncMutex.exclusiveRun (src\internal\core\async-mutex.ts:25:14)
at async TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:298:17)
[cause]: FileNotFoundError: File D:\a\hardhat\hardhat\v-next\hardhat\test\internal\builtin-plugins\solidity\build-system\resolver\test-fixtures\monorepo\packages\hardhat-project\hardhat\File.sol not found
at getFileTrueCase (D:\a\hardhat\hardhat\v-next\hardhat-utils\src\fs.ts:107:9)
at async ResolverImplementation.#validateExistanceAndCasingOfImport (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1019:22)
at async ResolverImplementation.#resolveImportToProjectFile (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:703:5)
at async AsyncMutex.exclusiveRun (src\internal\core\async-mutex.ts:25:14)
at async TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:298:17)
|
Run tests:
v-next\hardhat\test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts#L82
AssertionError: Expected values to be strictly equal:
+ actual - expected
+ 'monorepo/node_modules/hardhat/console.sol\n'
- 'monorepo\\node_modules\\hardhat\\console.sol\n'
- Expected
+ Received
- monorepo\node_modules\hardhat\console.sol
+ monorepo/node_modules/hardhat/console.sol
at assertNpmPackageResolvedFile (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:82:10)
at TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:326:13)
|
Run tests:
v-next\hardhat-test-utils\src\hardhat-error.ts#L33
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
{
+ from: 'contracts\\File.sol',
- from: 'contracts/File.sol',
importPath: 'uninstalled-package/File.sol'
}
- Expected
+ Received
Object {
- "from": "contracts/File.sol",
+ "from": "contracts\\File.sol",
"importPath": "uninstalled-package/File.sol",
}
at assertIsHardhatError (D:\a\hardhat\hardhat\v-next\hardhat-test-utils\src\hardhat-error.ts:33:10)
at assertRejectsWithHardhatError (D:\a\hardhat\hardhat\v-next\hardhat-test-utils\src\hardhat-error.ts:87:5)
at async TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:354:13)
|
Run tests:
v-next\hardhat-test-utils\src\hardhat-error.ts#L33
AssertionError: Expected values to be strictly deep-equal:
+ actual - expected
{
+ from: 'contracts\\File.sol',
- from: 'contracts/File.sol',
importPath: 'exports/File.sol'
}
- Expected
+ Received
Object {
- "from": "contracts/File.sol",
+ "from": "contracts\\File.sol",
"importPath": "exports/File.sol",
}
at assertIsHardhatError (D:\a\hardhat\hardhat\v-next\hardhat-test-utils\src\hardhat-error.ts:33:10)
at assertRejectsWithHardhatError (D:\a\hardhat\hardhat\v-next\hardhat-test-utils\src\hardhat-error.ts:87:5)
at async TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:369:13)
|
Loading