Skip to content

Commit 6358659

Browse files
committed
chore(protocol-contracts): update to fhevm/solidity 0.10 for wrappers
1 parent 78e15e4 commit 6358659

File tree

4 files changed

+35
-27
lines changed

4 files changed

+35
-27
lines changed

protocol-contracts/confidential-wrapper-upgradeable/hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const config: HardhatUserConfig = {
9696
},
9797
gasReporter: {
9898
currency: 'USD',
99-
enabled: !!process.env.REPORT_GAS,
99+
enabled: process.env.REPORT_GAS === 'true',
100100
showMethodSig: true,
101101
includeBytecodeInJSON: true,
102102
},

protocol-contracts/confidential-wrapper-upgradeable/package-lock.json

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protocol-contracts/confidential-wrapper-upgradeable/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
"hardhat"
2020
],
2121
"dependencies": {
22-
"@fhevm/solidity": "^0.9.1",
22+
"@fhevm/solidity": "^0.10.0",
2323
"@openzeppelin/contracts": "^5.1.0",
2424
"@openzeppelin/contracts-upgradeable": "^5.1.0",
2525
"@openzeppelin/confidential-contracts": "^0.3.0"
2626
},
2727
"devDependencies": {
28-
"@fhevm/hardhat-plugin": "^0.3.0-1",
29-
"@zama-fhe/relayer-sdk": "0.3.0-6",
28+
"@fhevm/hardhat-plugin": "^0.3.0-4",
29+
"@zama-fhe/relayer-sdk": "0.3.0-8",
3030
"rimraf": "^6.0.1",
3131
"@nomicfoundation/hardhat-chai-matchers": "^2.1.0",
3232
"@nomicfoundation/hardhat-ethers": "^3.1.0",
@@ -66,5 +66,8 @@
6666
"prettier:write": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"",
6767
"test": "hardhat test",
6868
"test:sepolia": "hardhat test --network sepolia"
69+
},
70+
"overrides": {
71+
"@fhevm/solidity": "^0.10.0"
6972
}
7073
}

protocol-contracts/confidential-wrapper-upgradeable/tasks/deploy.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ async function deployConfidentialWrapper(
4646
[
4747
`✅ Deployed ${name} ConfidentialWrapper:`,
4848
` - Confidential wrapper proxy address: ${proxyAddress}`,
49+
` - name: ${name}`,
50+
` - symbol: ${symbol}`,
51+
` - contract URI: ${contractUri}`,
52+
` - underlying: ${underlying}`,
53+
` - owner: ${owner}`,
4954
` - Deployed by deployer account: ${deployer}`,
5055
` - Network: ${hre.network.name}`,
5156
'',

0 commit comments

Comments
 (0)