diff --git a/hardhat.config.js b/hardhat.config.js index 49296ec8..3702a912 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -42,10 +42,12 @@ module.exports = { solidity: { compilers: [compilerSettings], // Fix the Proxy bytecodes - overrides: { - 'contracts/proxies/Proxy.sol': compilerSettings, - 'contracts/proxies/TokenManagerProxy.sol': compilerSettings, - }, + overrides: process.env.NO_OVERRIDES + ? {} + : { + 'contracts/proxies/Proxy.sol': compilerSettings, + 'contracts/proxies/TokenManagerProxy.sol': compilerSettings, + }, }, defaultNetwork: 'hardhat', networks,