diff --git a/src/contracts/interfaces/IBLSPublicKeyCompendium.sol b/src/contracts/interfaces/IBLSPublicKeyCompendium.sol index e7fab622b..0238fdfb7 100644 --- a/src/contracts/interfaces/IBLSPublicKeyCompendium.sol +++ b/src/contracts/interfaces/IBLSPublicKeyCompendium.sol @@ -15,7 +15,7 @@ interface IBLSPublicKeyCompendium { // G1 public key over BN254 curve for the operator BN254.G1Point pubkeyG1; // G2 public key over BN254 curve for the operator - // BN254.G2Point pubkeyG2; + BN254.G2Point pubkeyG2; } /** diff --git a/src/contracts/middleware/BLSPublicKeyCompendium.sol b/src/contracts/middleware/BLSPublicKeyCompendium.sol index 4c0e6f35e..b38c7c8b2 100644 --- a/src/contracts/middleware/BLSPublicKeyCompendium.sol +++ b/src/contracts/middleware/BLSPublicKeyCompendium.sol @@ -77,7 +77,7 @@ contract BLSPublicKeyCompendium is IBLSPublicKeyCompendium { operatorToPubkeyHash[msg.sender] = pubkeyHash; pubkeyHashToOperator[pubkeyHash] = msg.sender; _operatorIDToBN254Pubkeys[pubkeyHash].pubkeyG1 = pubkeyG1; - // _operatorIDToBN254Pubkeys[pubkeyHash].pubkeyG2 = pubkeyG2; + _operatorIDToBN254Pubkeys[pubkeyHash].pubkeyG2 = pubkeyG2; emit NewPubkeyRegistration(msg.sender, pubkeyG1, pubkeyG2); }