Skip to content

Commit 64e5c1e

Browse files
committed
Compile transparent proxy to create artifact
1 parent df06547 commit 64e5c1e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/sharing-smart-contract/hardhat.config.cjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ require('@nomicfoundation/hardhat-toolbox');
33
require('@openzeppelin/hardhat-upgrades');
44
require('hardhat-contract-sizer');
55
require('@openzeppelin/hardhat-upgrades');
6+
require('hardhat-dependency-compiler');
67
require('dotenv').config();
78

9+
// TODO format
10+
811
const { WALLET_PRIVATE_KEY } = process.env;
912

1013
const bellecourBase = {
@@ -87,4 +90,9 @@ module.exports = {
8790
},
8891
},
8992
},
93+
dependencyCompiler: {
94+
paths: [
95+
'@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol',
96+
],
97+
},
9098
};

0 commit comments

Comments
 (0)