From 5a0bff465d4384189cf284cbeafef05c013e98c8 Mon Sep 17 00:00:00 2001 From: Hadrien Croubois Date: Mon, 13 Jun 2022 17:16:37 +0200 Subject: [PATCH] Enable the YUL IR pipeline when building with optimisations (#3279) --- hardhat.config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hardhat.config.js b/hardhat.config.js index 1fbf856b2..4a0676fd5 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -30,10 +30,15 @@ const argv = require('yargs/yargs')() choices: [ 'production', 'development' ], default: 'development', }, + ir: { + alias: 'enableIR', + type: 'boolean', + default: false, + }, compiler: { alias: 'compileVersion', type: 'string', - default: '0.8.9', + default: '0.8.13', }, coinmarketcap: { alias: 'coinmarketcapApiKey', @@ -65,6 +70,7 @@ module.exports = { enabled: withOptimizations, runs: 200, }, + viaIR: withOptimizations && argv.ir, }, }, networks: {