diff --git a/.github/workflows/v-next-ci.yml b/.github/workflows/v-next-ci.yml index 4942f097a5..27f5690f40 100644 --- a/.github/workflows/v-next-ci.yml +++ b/.github/workflows/v-next-ci.yml @@ -5,6 +5,7 @@ on: push: branches: - v-next + - robust-compiler-downloader-debug pull_request: workflow_dispatch: diff --git a/v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts b/v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts index ae00a74084..8d5c3c2498 100644 --- a/v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts +++ b/v-next/hardhat/test/internal/builtin-plugins/solidity/build-system/compiler/downloader.ts @@ -435,6 +435,8 @@ describe( await mockDownloader.updateCompilerListIfNeeded(new Set(["0.4.12"])); + await mockDownloader.downloadCompiler("0.4.12"); + assertRejectsWithHardhatError( () => mockDownloader.downloadCompiler("0.4.12"), HardhatError.ERRORS.SOLIDITY.INVALID_DOWNLOAD,