0

Unknown key "viaIR" Error HH600: Compilation failed

I'm encountering the above error when I try to compile.

Here is my hardhat.config.ts

import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";

const config: HardhatUserConfig = {
  solidity: {
    version: "0.6.12",
    settings: {
      viaIR: true,
    },
  },
};

export default config;

1 Answer 1

2

viaIR: true may require version 0.8.13 and higher.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.