Finish renaming from derive_decryption_share to produce_decryption_share.

pull/3554/head
derekpierre 2024-06-28 16:40:56 -04:00
parent 7f746bf022
commit ad04e6efa1
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View File

@ -184,7 +184,7 @@ class DKGOmniscientDecryptionClient(ThresholdDecryptionClient):
self._learner._dkg_insight.validator_keypairs,
):
# get decryption fragments/shares
decryption_share = dkg.derive_decryption_share(
decryption_share = dkg.produce_decryption_share(
ritual_id=ritual_id,
me=validator,
shares=self._learner._dkg_insight.shares_num,

View File

@ -74,7 +74,7 @@ def verify_aggregate(
pvss_aggregated.verify(shares, transcripts)
def derive_decryption_share(
def produce_decryption_share(
nodes: List[Validator],
aggregated_transcript: AggregatedTranscript,
keypair: Keypair,

View File

@ -265,7 +265,7 @@ class RitualisticPower(KeyPairBasedPower):
not_found_error = NoRitualisticPower
provides = ("derive_decryption_share", "generate_transcript")
def derive_decryption_share(
def produce_decryption_share(
self,
checksum_address: ChecksumAddress,
ritual_id: int,
@ -277,7 +277,7 @@ class RitualisticPower(KeyPairBasedPower):
aad: bytes,
variant: FerveoVariant,
) -> Union[DecryptionShareSimple, DecryptionSharePrecomputed]:
decryption_share = dkg.derive_decryption_share(
decryption_share = dkg.produce_decryption_share(
ritual_id=ritual_id,
me=Validator(address=checksum_address, public_key=self.keypair.pubkey),
shares=shares,