Skip to content

Commit

Permalink
feat: correct FHEVMConfig initialization for proxy dApp (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
jatZama authored Dec 20, 2024
1 parent 3fc99a1 commit 11ad3d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hardhat/contracts/fheWordle/FHEWordle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ contract FHEWordle is SepoliaZamaFHEVMConfig, SepoliaZamaGatewayConfig, GatewayC
constructor() Ownable(msg.sender) {}

function initialize(address _playerAddr, address _relayerAddr, uint16 _testFlag) external initializer {
TFHE.setFHEVM(ZamaFHEVMConfig.getSepoliaConfig());
relayerAddr = _relayerAddr;
playerAddr = _playerAddr;
testFlag = _testFlag;
Expand Down

0 comments on commit 11ad3d6

Please sign in to comment.