-
Notifications
You must be signed in to change notification settings - Fork 56
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
solidity nomic foundation not work #672
Comments
We had an issue for 2 days where the extension may have been failing on arm64 processors. Can you check what extension version you are running now and see if there's anything in the logs? |
On Mon, 7 Apr 2025 at 00:01, Armando Andini ***@***.***> wrote:
Can you check the logs by opening the console and then going to the Output
tab, then selecting Solidity on the dropdown? like this:
imagen.png (view on web)
<https://github.com/user-attachments/assets/fc39680c-7f22-4b17-a3b5-6eee5eddba0b>
—
Reply to this email directly, view it on GitHub
<#672 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSDTXTY4E6RFXOT35XNF2L2YGIZJAVCNFSM6AAAAAB2SBUT4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBRGY3DKNRZGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[image: antico5]*antico5* left a comment
(NomicFoundation/hardhat-vscode#672)
<#672 (comment)>
Can you check the logs by opening the console and then going to the Output
tab, then selecting Solidity on the dropdown? like this:
imagen.png (view on web)
<https://github.com/user-attachments/assets/fc39680c-7f22-4b17-a3b5-6eee5eddba0b>
—
Reply to this email directly, view it on GitHub
<#672 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSDTXTY4E6RFXOT35XNF2L2YGIZJAVCNFSM6AAAAAB2SBUT4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBRGY3DKNRZGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[Info - 12:03:25 AM] Solidity by Nomic Foundation Starting ...
[Info - 12:03:25 AM] env: production
[Info - 12:03:26 AM] Client starting
[Trace - 12:03:26 AM] Sending request 'initialize - (0)'.
Params: {
"processId": 18348,
"clientInfo": {
"name": "Visual Studio Code",
"version": "1.99.0"
},
"locale": "en",
"rootPath": "d:\\softuni-blockchain-advanced",
"rootUri": "file:///d%3A/softuni-blockchain-advanced",
"capabilities": {
"workspace": {
"applyEdit": true,
"workspaceEdit": {
"documentChanges": true,
"resourceOperations": [
"create",
"rename",
"delete"
],
"failureHandling": "textOnlyTransactional",
"normalizesLineEndings": true,
"changeAnnotationSupport": {
"groupsOnLabel": true
}
},
"configuration": true,
"didChangeWatchedFiles": {
"dynamicRegistration": true,
"relativePatternSupport": true
},
"symbol": {
"dynamicRegistration": true,
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
},
"tagSupport": {
"valueSet": [
1
]
},
"resolveSupport": {
"properties": [
"location.range"
]
}
},
"codeLens": {
"refreshSupport": true
},
"executeCommand": {
"dynamicRegistration": true
},
"didChangeConfiguration": {
"dynamicRegistration": true
},
"workspaceFolders": true,
"foldingRange": {
"refreshSupport": true
},
"semanticTokens": {
"refreshSupport": true
},
"fileOperations": {
"dynamicRegistration": true,
"didCreate": true,
"didRename": true,
"didDelete": true,
"willCreate": true,
"willRename": true,
"willDelete": true
},
"inlineValue": {
"refreshSupport": true
},
"inlayHint": {
"refreshSupport": true
},
"diagnostics": {
"refreshSupport": true
}
},
"textDocument": {
"publishDiagnostics": {
"relatedInformation": true,
"versionSupport": false,
"tagSupport": {
"valueSet": [
1,
2
]
},
"codeDescriptionSupport": true,
"dataSupport": true
},
"synchronization": {
"dynamicRegistration": true,
"willSave": true,
"willSaveWaitUntil": true,
"didSave": true
},
"completion": {
"dynamicRegistration": true,
"contextSupport": true,
"completionItem": {
"snippetSupport": true,
"commitCharactersSupport": true,
"documentationFormat": [
"markdown",
"plaintext"
],
"deprecatedSupport": true,
"preselectSupport": true,
"tagSupport": {
"valueSet": [
1
]
},
"insertReplaceSupport": true,
"resolveSupport": {
"properties": [
"documentation",
"detail",
"additionalTextEdits"
]
},
"insertTextModeSupport": {
"valueSet": [
1,
2
]
},
"labelDetailsSupport": true
},
"insertTextMode": 2,
"completionItemKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25
]
},
"completionList": {
"itemDefaults": [
"commitCharacters",
"editRange",
"insertTextFormat",
"insertTextMode",
"data"
]
}
},
"hover": {
"dynamicRegistration": true,
"contentFormat": [
"markdown",
"plaintext"
]
},
"signatureHelp": {
"dynamicRegistration": true,
"signatureInformation": {
"documentationFormat": [
"markdown",
"plaintext"
],
"parameterInformation": {
"labelOffsetSupport": true
},
"activeParameterSupport": true
},
"contextSupport": true
},
"definition": {
"dynamicRegistration": true,
"linkSupport": true
},
"references": {
"dynamicRegistration": true
},
"documentHighlight": {
"dynamicRegistration": true
},
"documentSymbol": {
"dynamicRegistration": true,
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
},
"hierarchicalDocumentSymbolSupport": true,
"tagSupport": {
"valueSet": [
1
]
},
"labelSupport": true
},
"codeAction": {
"dynamicRegistration": true,
"isPreferredSupport": true,
"disabledSupport": true,
"dataSupport": true,
"resolveSupport": {
"properties": [
"edit"
]
},
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"",
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
},
"honorsChangeAnnotations": true
},
"codeLens": {
"dynamicRegistration": true
},
"formatting": {
"dynamicRegistration": true
},
"rangeFormatting": {
"dynamicRegistration": true,
"rangesSupport": true
},
"onTypeFormatting": {
"dynamicRegistration": true
},
"rename": {
"dynamicRegistration": true,
"prepareSupport": true,
"prepareSupportDefaultBehavior": 1,
"honorsChangeAnnotations": true
},
"documentLink": {
"dynamicRegistration": true,
"tooltipSupport": true
},
"typeDefinition": {
"dynamicRegistration": true,
"linkSupport": true
},
"implementation": {
"dynamicRegistration": true,
"linkSupport": true
},
"colorProvider": {
"dynamicRegistration": true
},
"foldingRange": {
"dynamicRegistration": true,
"rangeLimit": 5000,
"lineFoldingOnly": true,
"foldingRangeKind": {
"valueSet": [
"comment",
"imports",
"region"
]
},
"foldingRange": {
"collapsedText": false
}
},
"declaration": {
"dynamicRegistration": true,
"linkSupport": true
},
"selectionRange": {
"dynamicRegistration": true
},
"callHierarchy": {
"dynamicRegistration": true
},
"semanticTokens": {
"dynamicRegistration": true,
"tokenTypes": [
"namespace",
"type",
"class",
"enum",
"interface",
"struct",
"typeParameter",
"parameter",
"variable",
"property",
"enumMember",
"event",
"function",
"method",
"macro",
"keyword",
"modifier",
"comment",
"string",
"number",
"regexp",
"operator",
"decorator"
],
"tokenModifiers": [
"declaration",
"definition",
"readonly",
"static",
"deprecated",
"abstract",
"async",
"modification",
"documentation",
"defaultLibrary"
],
"formats": [
"relative"
],
"requests": {
"range": true,
"full": {
"delta": true
}
},
"multilineTokenSupport": false,
"overlappingTokenSupport": false,
"serverCancelSupport": true,
"augmentsSyntaxTokens": true
},
"linkedEditingRange": {
"dynamicRegistration": true
},
"typeHierarchy": {
"dynamicRegistration": true
},
"inlineValue": {
"dynamicRegistration": true
},
"inlayHint": {
"dynamicRegistration": true,
"resolveSupport": {
"properties": [
"tooltip",
"textEdits",
"label.tooltip",
"label.location",
"label.command"
]
}
},
"diagnostic": {
"dynamicRegistration": true,
"relatedDocumentSupport": false
}
},
"window": {
"showMessage": {
"messageActionItem": {
"additionalPropertiesSupport": true
}
},
"showDocument": {
"support": true
},
"workDoneProgress": true
},
"general": {
"staleRequestSupport": {
"cancel": true,
"retryOnContentModified": [
"textDocument/semanticTokens/full",
"textDocument/semanticTokens/range",
"textDocument/semanticTokens/full/delta"
]
},
"regularExpressions": {
"engine": "ECMAScript",
"version": "ES2020"
},
"markdown": {
"parser": "marked",
"version": "1.1.0"
},
"positionEncodings": [
"utf-16"
]
},
"notebookDocument": {
"synchronization": {
"dynamicRegistration": true,
"executionSummarySupport": true
}
}
},
"initializationOptions": {
"extensionName": "hardhat-solidity",
"extensionVersion": "0.8.17",
"env": "production",
"telemetryEnabled": true,
"machineId": "3e8b2aaaf35fa7a2a49a8813596bb830ae721c9b8f647174cc51425d419351f2",
"extensionConfig": {
"telemetry": true,
"formatter": "prettier"
}
},
"trace": "verbose",
"workspaceFolders": [
{
"uri": "file:///d%3A/softuni-blockchain-advanced",
"name": "softuni-blockchain-advanced"
}
]
}
[Trace - 12:03:28 AM] onInitialize
[Trace - 12:03:28 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Language server starting"
}
[Info - 12:03:28 AM] Language server starting
[Trace - 12:03:28 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": " Release: ***@***.***"
}
[Info - 12:03:28 AM] Release: ***@***.***
[Trace - 12:03:28 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": " Environment: production"
}
[Info - 12:03:28 AM] Environment: production
[Trace - 12:03:28 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": " Telemetry Enabled: true"
}
[Info - 12:03:28 AM] Telemetry Enabled: true
[Trace - 12:03:28 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": " Telemetry Tracking Id: 3e8b2aaaf3..."
}
[Info - 12:03:28 AM] Telemetry Tracking Id: 3e8b2aaaf3...
[Trace - 12:03:28 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": " Workspace Folders:"
}
[Info - 12:03:28 AM] Workspace Folders:
[Trace - 12:03:28 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": " softuni-blockchain-advanced (file:///d%3A/softuni-blockchain-advanced)"
}
[Info - 12:03:28 AM] softuni-blockchain-advanced (file:///d%3A/softuni-blockchain-advanced)
[Trace - 12:03:28 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Fetching latest solidity versions"
}
[Info - 12:03:28 AM] Fetching latest solidity versions
[Trace - 12:03:28 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Language server ready"
}
[Info - 12:03:28 AM] Language server ready
[Trace - 12:03:28 AM] [indexing] Indexing projects: Start
[Trace - 12:03:28 AM] [indexing] Indexing projects: End (22ms)
[Trace - 12:03:29 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] Found projects:"
}
[Info - 12:03:29 AM] [indexing] Found projects:
[Trace - 12:03:29 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] - Type: Hardhat"
}
[Info - 12:03:29 AM] [indexing] - Type: Hardhat
[Trace - 12:03:29 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] Base path: d:/softuni-blockchain-advanced/hardhat"
}
[Info - 12:03:29 AM] [indexing] Base path: d:/softuni-blockchain-advanced/hardhat
[Trace - 12:03:29 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] Config file: d:/softuni-blockchain-advanced/hardhat/hardhat.config.js"
}
[Info - 12:03:29 AM] [indexing] Config file: d:/softuni-blockchain-advanced/hardhat/hardhat.config.js
[Trace - 12:03:29 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] - Type: Foundry"
}
[Info - 12:03:29 AM] [indexing] - Type: Foundry
[Trace - 12:03:29 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] Base path: d:/softuni-blockchain-advanced"
}
[Info - 12:03:29 AM] [indexing] Base path: d:/softuni-blockchain-advanced
[Trace - 12:03:29 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] Config file: d:/softuni-blockchain-advanced/foundry.toml"
}
[Info - 12:03:29 AM] [indexing] Config file: d:/softuni-blockchain-advanced/foundry.toml
[Trace - 12:03:29 AM] [indexing] Initializing projects: Start
[Trace - 12:03:29 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] Initializing d:/softuni-blockchain-advanced/hardhat/hardhat.config.js"
}
[Info - 12:03:29 AM] [indexing] Initializing d:/softuni-blockchain-advanced/hardhat/hardhat.config.js
[Trace - 12:03:29 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[hardhat] Error loading HRE: Error: Cannot find module 'hardhat'\nRequire stack:\n- c:\\Users\\ПОЖАРПРОТЕКТ\\.vscode\\extensions\\nomicfoundation.hardhat-solidity-0.8.17\\server\\out\\worker\\WorkerProcess.js"
}
[Info - 12:03:29 AM] [hardhat] Error loading HRE: Error: Cannot find module 'hardhat'
Require stack:
- c:\Users\ПОЖАРПРОТЕКТ\.vscode\extensions\nomicfoundation.hardhat-solidity-0.8.17\server\out\worker\WorkerProcess.js
[Trace - 12:03:29 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[hardhat] Child process exited: 1"
}
[Info - 12:03:29 AM] [hardhat] Child process exited: 1
[Trace - 12:03:29 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] Done d:/softuni-blockchain-advanced/hardhat/hardhat.config.js"
}
[Info - 12:03:29 AM] [indexing] Done d:/softuni-blockchain-advanced/hardhat/hardhat.config.js
[Trace - 12:03:29 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] Initializing d:/softuni-blockchain-advanced/foundry.toml"
}
[Info - 12:03:29 AM] [indexing] Initializing d:/softuni-blockchain-advanced/foundry.toml
[Trace - 12:03:32 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] Done d:/softuni-blockchain-advanced/foundry.toml"
}
[Info - 12:03:32 AM] [indexing] Done d:/softuni-blockchain-advanced/foundry.toml
[Trace - 12:03:32 AM] [indexing] Initializing projects: End (4004ms)
[Trace - 12:03:32 AM] [indexing] Indexing solidity files: Start
[Trace - 12:03:32 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] Scanning workspace folders for sol files"
}
[Info - 12:03:32 AM] [indexing] Scanning workspace folders for sol files
[Trace - 12:03:33 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] Scan complete, 22 sol files found"
}
[Info - 12:03:33 AM] [indexing] Scan complete, 22 sol files found
[Trace - 12:03:33 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/script/Counter.s.sol. Local: false
[Trace - 12:03:33 AM] Associating d:/softuni-blockchain-advanced/hardhat/hardhat.config.js to d:/softuni-blockchain-advanced/hardhat/contracts/EIP191.sol. Local: false
[Trace - 12:03:33 AM] Associating d:/softuni-blockchain-advanced/hardhat/hardhat.config.js to d:/softuni-blockchain-advanced/hardhat/contracts/EIP712.sol. Local: false
[Trace - 12:03:33 AM] Associating d:/softuni-blockchain-advanced/hardhat/hardhat.config.js to d:/softuni-blockchain-advanced/hardhat/contracts/ERC2612.sol. Local: false
[Trace - 12:03:33 AM] Associating d:/softuni-blockchain-advanced/hardhat/hardhat.config.js to d:/softuni-blockchain-advanced/hardhat/contracts/Lock.sol. Local: false
[Trace - 12:03:34 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/src/01_foundry/Counter.sol. Local: true
[Trace - 12:03:35 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/src/01_foundry/StakeX.sol. Local: true
[Trace - 12:03:35 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/src/01_foundry/Staking.sol. Local: true
[Trace - 12:03:35 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/src/02_security/DoS.sol. Local: true
[Trace - 12:03:36 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/src/02_security/ForceFeed.sol. Local: true
[Trace - 12:03:36 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/src/02_security/Reentrancy.sol. Local: true
[Trace - 12:03:36 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/src/03_gas_optimization/GasOptimizationExamples.sol. Local: true
[Trace - 12:03:36 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/src/04_exercise/ERC1155Example.sol. Local: true
[Trace - 12:03:36 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/src/05_signatures/EIP191V0.sol. Local: true
[Trace - 12:03:36 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/src/05_signatures/SimpleSignature.sol. Local: true
[Trace - 12:03:36 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/test/01_foundry/Counter.t.sol. Local: false
[Trace - 12:03:37 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/test/01_foundry/Staking.t.sol. Local: false
[Trace - 12:03:37 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/test/02_security/DoS.t.sol. Local: false
[Trace - 12:03:37 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/test/02_security/ForceFeed.t.sol. Local: false
[Trace - 12:03:37 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/test/02_security/Reentrancy.t.sol. Local: false
[Trace - 12:03:37 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/test/05_signatures/EIP191V0Test.sol. Local: false
[Trace - 12:03:37 AM] Associating d:/softuni-blockchain-advanced/foundry.toml to d:/softuni-blockchain-advanced/test/05_signatures/SimpleSignatureTest.sol. Local: false
[Trace - 12:03:37 AM] [indexing] Indexing solidity files: End (17ms)
[Trace - 12:03:37 AM] [indexing] Analyzing solidity files: Start
[Trace - 12:03:37 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "[indexing] Analyzing 10 solidity files"
}
[Info - 12:03:37 AM] [indexing] Analyzing 10 solidity files
[Trace - 12:03:37 AM] [indexing] Analyzing file 0/10
[Trace - 12:03:37 AM] [indexing] Analyzing file 1/10
|
yes, here it is
On Mon, 7 Apr 2025 at 00:43, Armando Andini ***@***.***> wrote:
Can you lower the verbosity level? otherwise the logs may be too big to
paste. You can do that in the settings like this:
imagen.png (view on web)
<https://github.com/user-attachments/assets/81c5482d-9c63-46f6-8dd8-21abdbe20d2f>
That will only show info level logs and above. I want to see where the
logging stops, because it seems that the problem is that the indexing stage
never finishes
—
Reply to this email directly, view it on GitHub
<#672 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSDTXV5MGDTDCEF6YVASRD2YGNYHAVCNFSM6AAAAAB2SBUT4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBRGY4DMOBXGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[image: antico5]*antico5* left a comment
(NomicFoundation/hardhat-vscode#672)
<#672 (comment)>
Can you lower the verbosity level? otherwise the logs may be too big to
paste. You can do that in the settings like this:
imagen.png (view on web)
<https://github.com/user-attachments/assets/81c5482d-9c63-46f6-8dd8-21abdbe20d2f>
That will only show info level logs and above. I want to see where the
logging stops, because it seems that the problem is that the indexing stage
never finishes
—
Reply to this email directly, view it on GitHub
<#672 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSDTXV5MGDTDCEF6YVASRD2YGNYHAVCNFSM6AAAAAB2SBUT4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBRGY4DMOBXGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[Info - 10:24:01 AM] Solidity by Nomic Foundation Starting ...
[Info - 10:24:01 AM] env: production
[Info - 10:24:02 AM] Client starting
[Info - 10:24:03 AM] Language server starting
[Info - 10:24:03 AM] Release: ***@***.***
[Info - 10:24:03 AM] Environment: production
[Info - 10:24:03 AM] Telemetry Enabled: true
[Info - 10:24:03 AM] Telemetry Tracking Id: 3e8b2aaaf3...
[Info - 10:24:03 AM] Workspace Folders:
[Info - 10:24:03 AM] softuni-blockchain-advanced (file:///d%3A/softuni-blockchain-advanced)
[Info - 10:24:03 AM] Fetching latest solidity versions
[Info - 10:24:03 AM] Language server ready
[Info - 10:24:03 AM] [indexing] Found projects:
[Info - 10:24:03 AM] [indexing] - Type: Hardhat
[Info - 10:24:03 AM] [indexing] Base path: d:/softuni-blockchain-advanced/hardhat
[Info - 10:24:03 AM] [indexing] Config file: d:/softuni-blockchain-advanced/hardhat/hardhat.config.js
[Info - 10:24:03 AM] [indexing] - Type: Foundry
[Info - 10:24:03 AM] [indexing] Base path: d:/softuni-blockchain-advanced
[Info - 10:24:03 AM] [indexing] Config file: d:/softuni-blockchain-advanced/foundry.toml
[Info - 10:24:03 AM] [indexing] Initializing d:/softuni-blockchain-advanced/hardhat/hardhat.config.js
[Info - 10:24:03 AM] [hardhat] Error loading HRE: Error: Cannot find module 'hardhat'
Require stack:
- c:\Users\ПОЖАРПРОТЕКТ\.vscode\extensions\nomicfoundation.hardhat-solidity-0.8.17\server\out\worker\WorkerProcess.js
[Info - 10:24:04 AM] [hardhat] Child process exited: 1
[Info - 10:24:04 AM] [indexing] Done d:/softuni-blockchain-advanced/hardhat/hardhat.config.js
[Info - 10:24:04 AM] [indexing] Initializing d:/softuni-blockchain-advanced/foundry.toml
[Info - 10:24:05 AM] [indexing] Done d:/softuni-blockchain-advanced/foundry.toml
[Info - 10:24:05 AM] [indexing] Scanning workspace folders for sol files
[Info - 10:24:05 AM] [indexing] Scan complete, 22 sol files found
[Info - 10:24:05 AM] [indexing] Analyzing 10 solidity files
|
@antico5 is this potentially a timing issue with the changes on @mittko does this happen across all your Solidity repos, or is it specific to only this one? Is it open source - so we can clone it locally to help reproduce? |
it's look like specific for this project, link https://github.com/R-Santev/softuni-blockchain-advanced.git |
Thanks! We will try and reproduce the issue. |
I was able to use the latest vscode extension in https://github.com/R-Santev/softuni-blockchain-advanced.git in codespaces, once I had installed forge and done a local build. |
@kanej I'm able to use the extension normally on windows on this repo. @mittko can we set the Verbosity option back to |
here it is the link https://pastebin.com/PRjph2ED , strange but after i was disabled extension for some hours and enable it now spinner is Not stuck on 'Scanning for solc files' |
@mittko I noticed that you enabled the verbose logging midway through the initialization, it would be more helpful if you can restart so the full logs are captured with high verbosity (e.g. we lost the part where it finishes initialization). Now that it's not stuck anymore, do you get validation on your contracts? (the red/yellow lines on syntax errors). Keep in mind that for hardhat projects you need to run npm install on it first so it has the packages. You should be getting validation on the foundry project contracts though |
https://pastebin.com/PuHJaHGu, 'do you get validation on your contracts? (the red/yellow lines on syntax errors)' - yes I have validation for now |
after some time validation gone again, sad. |
Is it possible that you are running on a computer with low specs? I can see on the logs that actions that should take ~100ms normally, are taking 2000ms+. Maybe there's a performance issue due to computer specs or some other extension using too many resources. Maybe you are not getting validation sometimes because it's just taking too long and gets cancelled |
anything is possible, it is possible that it is related to another extension, the fact is that as soon as I activate solidity nomic foundation the processor is heavily loaded, as soon as I deactivate it the processor calms down, the computer is an Assus TUF Gaming FX504 SERIES with 32GB Ram and for comparison programs like Android Studio run smoothly |
That hardware is very powerful, it should not be the issue. I'll discuss with @kanej what options are there to troubleshoot this |
strange but today extension works well, i have a validation and no more cpu burn out. |
Glad to hear that, let us know if you have any more troubles. May we suggest you rate our extension on the vscode marketplace? That's very significant for us. |
ok, i will post new rate |
It doesn't work at all, it doesn't highlight errors in red even though I've been trying to get it to work for two days, and my computer sounds like it's overloading the processor, but it doesn't actually work, very disappointing.
The text was updated successfully, but these errors were encountered: