aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/src/compiler.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-09 22:31:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-12 10:37:28 +0800
commitad4f60764361881f1406c16baed1f8b0d2e14c9b (patch)
tree768e2f6606a4a8d65cde2318b080460305e6239d /packages/deployer/src/compiler.ts
parentc7d340e82222e090b275085cea3fffd30c7fe954 (diff)
downloaddexon-sol-tools-ad4f60764361881f1406c16baed1f8b0d2e14c9b.tar
dexon-sol-tools-ad4f60764361881f1406c16baed1f8b0d2e14c9b.tar.gz
dexon-sol-tools-ad4f60764361881f1406c16baed1f8b0d2e14c9b.tar.bz2
dexon-sol-tools-ad4f60764361881f1406c16baed1f8b0d2e14c9b.tar.lz
dexon-sol-tools-ad4f60764361881f1406c16baed1f8b0d2e14c9b.tar.xz
dexon-sol-tools-ad4f60764361881f1406c16baed1f8b0d2e14c9b.tar.zst
dexon-sol-tools-ad4f60764361881f1406c16baed1f8b0d2e14c9b.zip
Move compiler URL to constants
Diffstat (limited to 'packages/deployer/src/compiler.ts')
-rw-r--r--packages/deployer/src/compiler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/deployer/src/compiler.ts b/packages/deployer/src/compiler.ts
index b7919e254..080188f91 100644
--- a/packages/deployer/src/compiler.ts
+++ b/packages/deployer/src/compiler.ts
@@ -196,7 +196,7 @@ export class Compiler {
solcjs = fs.readFileSync(compilerBinFilename).toString();
} else {
utils.consoleLog(`Downloading ${fullSolcVersion}...`);
- const url = `https://ethereum.github.io/solc-bin/bin/${fullSolcVersion}`;
+ const url = `${constants.BASE_COMPILER_URL}${fullSolcVersion}`;
const response = await fetch(url);
if (response.status !== 200) {
throw new Error(`Failed to load ${fullSolcVersion}`);