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
The hardhat tests currently fail due to your package not supporting the Solidity version 0.8.27: npx hardhat test:
An unexpected error occurred:Error: Unsupported language version '0.8.27'. at tryRemoveNonStructNatSpec (/home/runner/work/hardhat-project-template-ts/hardhat-project-template-ts/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/upgrades-core/src/utils/make-namespaced.ts:[18](https://github.com/blokk-studio/hardhat-project-template-ts/actions/runs/10752994779/job/29821936631#step:10:19)3:22) at makeNamespacedInput (/home/runner/work/hardhat-project-template-ts/hardhat-project-template-ts/node_modules/.pnpm/@[email protected]/node_modules/@openzeppelin/upgrades-core/src/utils/make-namespaced.ts:158:28) at OverriddenTaskDefinition._action (/home/runner/work/hardhat-project-template-ts/hardhat-project-template-ts/node_modules/.pnpm/@[email protected]_@[email protected][email protected]_buff_b6fk7igjaxyvtwxdu22yysbakm/node_modules/@openzeppelin/hardhat-upgrades/src/index.ts:102:31) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async Environment._runTaskDefinition (/home/runner/work/hardhat-project-template-ts/hardhat-project-template-ts/node_modules/.pnpm/[email protected][email protected][email protected]_@[email protected][email protected]__typescri_7iajnuxsvogcbxkb6ol3j2urla/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14) at async Environment.run (/home/runner/work/hardhat-project-template-ts/hardhat-project-template-ts/node_modules/.pnpm/hardhat@2.[22](https://github.com/blokk-studio/hardhat-project-template-ts/actions/runs/10752994779/job/29821936631#step:10:23)[email protected][email protected]_@[email protected][email protected]__typescri_7iajnuxsvogcbxkb6ol3j2urla/node_modules/hardhat/src/internal/core/runtime-environment.ts:184:14) at async SimpleTaskDefinition.action (/home/runner/work/hardhat-project-template-ts/hardhat-project-template-ts/node_modules/.pnpm/[email protected][email protected][email protected]_@[email protected][email protected]__typescri_7iajnuxsvogcbxkb6ol3j2urla/node_modules/hardhat/src/builtin-tasks/compile.ts:1024:37) at async Environment._runTaskDefinition (/home/runner/work/hardhat-project-template-ts/hardhat-project-template-ts/node_modules/.pnpm/[email protected][email protected][email protected]_@[email protected][email protected]__typescri_7iajnuxsvogcbxkb6ol3j2urla/node_modules/hardhat/src/internal/core/runtime-environment.ts:351:14) at async Environment.run (/home/runner/work/hardhat-project-template-ts/hardhat-project-template-ts/node_modules/.pnpm/[email protected][email protected][email protected]_@[email protected][email protected]__typescri_7iajnuxsvogcbxkb6ol3j2urla/node_modules/hardhat/src/internal/core/runtime-environment.ts:184:14) at async /home/runner/work/hardhat-project-template-ts/hardhat-project-template-ts/node_modules/.pnpm/[email protected][email protected][email protected]_@[email protected][email protected]__typescri_7iajnuxsvogcbxkb6ol3j2urla/node_modules/hardhat/src/builtin-tasks/compile.ts:464:28 { code: 'GenericFailure'} ELIFECYCLE Command failed with exit code 1.Error: Process completed with exit code 1.
I don't use your package at all, but it's required by the @tenderly/hardhat-tenderly package unfortunately. I haven't debugged what is triggering exactly this issue, but would appreciate a patch :)
The text was updated successfully, but these errors were encountered:
pcaversaccio
changed the title
Error: Unsupported language version 0.8.27`Error: Unsupported language version '0.8.27'Sep 7, 2024
Thanks for reporting. This occurs because the Slang dependency introduced in #1051 (in release @openzeppelin/[email protected]) doesn't yet support 0.8.27. We will fix this to avoid this code path for versions that Slang does not recognize.
For repro use my repo here: https://github.com/pcaversaccio/hardhat-project-template-ts
I updated the Solidity version to
0.8.27
via pcaversaccio/hardhat-project-template-ts@f44a035.The hardhat tests currently fail due to your package not supporting the Solidity version
0.8.27
:npx hardhat test
:I don't use your package at all, but it's required by the
@tenderly/hardhat-tenderly
package unfortunately. I haven't debugged what is triggering exactly this issue, but would appreciate a patch :)The text was updated successfully, but these errors were encountered: