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
Hello, I will get the stack trace printed below if I try running any HH task with your plugin imported in HH config import "@openzeppelin/hardhat-upgrades".
bun run compile
$ hardhat compile
An unexpected error occurred:
Error: Unsupported language version '0.8.27'.
at tryRemoveNonStructNatSpec (/home/node_modules/@openzeppelin/upgrades-core/src/utils/make-namespaced.ts:183:22)
at makeNamespacedInput (/home/node_modules/@openzeppelin/upgrades-core/src/utils/make-namespaced.ts:158:28)
at OverriddenTaskDefinition._action (/home/node_modules/@openzeppelin/hardhat-upgrades/src/index.ts:102:31)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Environment._runTaskDefinition (/home/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14)
at async Environment.run (/home/node_modules/hardhat/src/internal/core/runtime-environment.ts:184:14)
at async SimpleTaskDefinition.action (/home/node_modules/hardhat/src/builtin-tasks/compile.ts:1024:37)
at async Environment._runTaskDefinition (/home/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14)
at async Environment.run (/home/node_modules/hardhat/src/internal/core/runtime-environment.ts:184:14)
at async /home/node_modules/hardhat/src/builtin-tasks/compile.ts:464:28 {
code: 'GenericFailure'
}
For me, this is mitigated by manually providing the latest @nomicfoundation/slang commit in package.json, deleting node_modules with package-lock.json, and doing npm i.
@majinbot im not able to replicate the error with the sample hardhat project and the configs you shared. slang released support for v0.8.27 (and also 0.8.28) so i think it should be working ok. can you let me know if the issue persists?
Hello, I will get the stack trace printed below if I try running any HH task with your plugin imported in HH config
import "@openzeppelin/hardhat-upgrades"
.We ruled any HH fault with @alcuadrado, whom just released support for latest solc: NomicFoundation/hardhat#5723
💻 Environment
interpreter: Bun 1.1.28
deps:
📝 Details
HH config
The text was updated successfully, but these errors were encountered: