使用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
},
},
},
],
},