Skip to content

Commit 2760685

Browse files
authored
fhevm/hardhat-plugin v0.3.0-1 (#15)
* chore: fhevm v0.9.1 * 0.3.0-0 * 0.3.0-1
1 parent 9ad8645 commit 2760685

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

contracts/FHECounter.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
pragma solidity ^0.8.24;
33

44
import {FHE, euint32, externalEuint32} from "@fhevm/solidity/lib/FHE.sol";
5-
import {EthereumConfig} from "@fhevm/solidity/config/ZamaConfig.sol";
5+
import {ZamaEthereumConfig} from "@fhevm/solidity/config/ZamaConfig.sol";
66

77
/// @title A simple FHE counter contract
88
/// @author fhevm-hardhat-template
99
/// @notice A very basic example contract showing how to work with encrypted data using FHEVM.
10-
contract FHECounter is EthereumConfig {
10+
contract FHECounter is ZamaEthereumConfig {
1111
euint32 private _count;
1212

1313
/// @notice Returns the current count

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "fhevm-hardhat-template",
33
"description": "Hardhat-based template for developing FHEVM Solidity smart contracts",
4-
"version": "0.2.0",
4+
"version": "0.3.0-1",
55
"engines": {
66
"node": ">=20",
77
"npm": ">=7.0.0"
@@ -25,10 +25,10 @@
2525
],
2626
"dependencies": {
2727
"encrypted-types": "^0.0.4",
28-
"@fhevm/solidity": "^0.9.0"
28+
"@fhevm/solidity": "^0.9.1"
2929
},
3030
"devDependencies": {
31-
"@fhevm/hardhat-plugin": "^0.3.0-0",
31+
"@fhevm/hardhat-plugin": "^0.3.0-1",
3232
"@nomicfoundation/hardhat-chai-matchers": "^2.1.0",
3333
"@nomicfoundation/hardhat-ethers": "^3.1.0",
3434
"@nomicfoundation/hardhat-network-helpers": "^1.1.0",

0 commit comments

Comments
 (0)