Solidity build system #1072
Annotations
10 errors
Run tests:
v-next\resolver\test\dependency-resolver.ts#L33
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\dependency-resolver.ts:33:10)
at TestContext.<anonymous> (test\dependency-resolver.ts:126:7)
|
Run tests:
v-next\resolver\test\dependency-resolver.ts#L33
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\dependency-resolver.ts:33:10)
at TestContext.<anonymous> (test\dependency-resolver.ts:186: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\dependency-resolver.ts:200:15)
|
Run tests:
v-next\resolver\src\dependency-resolver.ts#L967
HardhatError: HHE1002: The import "contracts/File.sol from "contracts\File.sol" doesn't exist.
at ResolverImplementation.#validateExistanceAndCasingOfImport (src\dependency-resolver.ts:967:13)
at async ResolverImplementation.#resolveImportToProjectFile (src\dependency-resolver.ts:644:5)
at async TestContext.<anonymous> (test\dependency-resolver.ts:223:17)
[cause]: FileNotFoundError: File D:\a\hardhat\hardhat\v-next\resolver\test\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\dependency-resolver.ts:960:22)
at async ResolverImplementation.#resolveImportToProjectFile (src\dependency-resolver.ts:644:5)
at async TestContext.<anonymous> (test\dependency-resolver.ts:223: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\dependency-resolver.ts:255:15)
|
Run tests:
v-next\resolver\test\dependency-resolver.ts#L44
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\dependency-resolver.ts:44:10)
at TestContext.<anonymous> (test\dependency-resolver.ts:278:15)
|
Run tests:
v-next\resolver\src\dependency-resolver.ts#L967
HardhatError: HHE1002: The import "hardhat/File.sol from "contracts\File.sol" doesn't exist.
at ResolverImplementation.#validateExistanceAndCasingOfImport (src\dependency-resolver.ts:967:13)
at async ResolverImplementation.#resolveImportToProjectFile (src\dependency-resolver.ts:644:5)
at async TestContext.<anonymous> (test\dependency-resolver.ts:297:17)
[cause]: FileNotFoundError: File D:\a\hardhat\hardhat\v-next\resolver\test\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\dependency-resolver.ts:960:22)
at async ResolverImplementation.#resolveImportToProjectFile (src\dependency-resolver.ts:644:5)
at async TestContext.<anonymous> (test\dependency-resolver.ts:297:17)
|
Run tests:
v-next\resolver\test\dependency-resolver.ts#L81
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\dependency-resolver.ts:81:10)
at TestContext.<anonymous> (test\dependency-resolver.ts:325: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\dependency-resolver.ts:353: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\dependency-resolver.ts:368:13)
|
Loading