Skip to content

Commit

Permalink
Merge pull request #634 from zama-ai/fixConfig
Browse files Browse the repository at this point in the history
Fix config
  • Loading branch information
jatZama authored Dec 3, 2024
2 parents e020312 + e93b212 commit 0f7dd42
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions config/ZamaFHEVMConfig.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.24;

import {FHEVMConfig, TFHE} from "../lib/TFHE.sol";
import {TFHE} from "../lib/TFHE.sol";
import {FHEVMConfigStruct} from "../lib/Impl.sol";

/**
* @title ZamaFHEVMConfig.
Expand All @@ -11,17 +12,17 @@ import {FHEVMConfig, TFHE} from "../lib/TFHE.sol";
* which are deployed & maintained by Zama.
*/
library ZamaFHEVMConfig {
function getSepoliaConfig() internal pure returns (FHEVMConfig.FHEVMConfigStruct memory) {
function getSepoliaConfig() internal pure returns (FHEVMConfigStruct memory) {
return
FHEVMConfig.FHEVMConfigStruct({
FHEVMConfigStruct({
ACLAddress: 0xFee8407e2f5e3Ee68ad77cAE98c434e637f516e5,
TFHEExecutorAddress: 0x687408aB54661ba0b4aeF3a44156c616c6955E07,
FHEPaymentAddress: 0xFb03BE574d14C256D56F09a198B586bdfc0A9de2,
KMSVerifierAddress: 0x9D6891A6240D6130c54ae243d8005063D05fE14b
});
}

function getEthereumConfig() internal pure returns (FHEVMConfig.FHEVMConfigStruct memory) {
function getEthereumConfig() internal pure returns (FHEVMConfigStruct memory) {
/// TODO
}
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fhevm",
"description": "A Solidity library for interacting with the Zama Blockchain",
"version": "0.6.0-7",
"version": "0.6.0-8",
"engines": {
"node": ">=20.0.0"
},
Expand Down

0 comments on commit 0f7dd42

Please sign in to comment.