Skip to content

Commit

Permalink
added G2 pubkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
Soubhik Deb committed Jul 28, 2023
1 parent f72f104 commit e0bd243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/contracts/interfaces/IBLSPublicKeyCompendium.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/middleware/BLSPublicKeyCompendium.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e0bd243

Please sign in to comment.