5 使用hardhat框架和hardhat-vyper插件编译Vyper合约,报错Error in plugin hardhat-vyper: Compiler download failed

使用hardhat框架和hardhat-vyper插件编译Vyper合约时, 执行npx hardhat compile 后报错

Downloading compiler 0.2.8
Error in plugin hardhat-vyper: Compiler download failed

本机环境 OS:MacOs v12.0.1 Node:v16.15.1 npm:8.11.0 hardhat:2.9.3 hardhat-vyper:3.0.0 hardhat.config.js部分代码

vyper: {
        version: "0.2.8",
},
solidity: {
        compilers: [{
            version: '0.6.12',
            settings: {
                optimizer: {
                    details: {
                        yul: false,
                    },
                    enabled: true,
                    runs: 200
                },
            },

        },
            {
                version: '0.8.3',
                settings: {
                    optimizer: {
                        details: {
                            yul: true,
                        },
                        enabled: true,
                        runs: 200
                    },
                },
            },
        ],
    },
请先 登录 后评论

1 个回答

Tiny熊
  擅长:智能合约,以太坊
请先 登录 后评论
  • 1 关注
  • 0 收藏,1725 浏览
  • Ethereal 提出于 2023-01-15 15:49