diff --git a/beacon_chain/spec/crypto.nim b/beacon_chain/spec/crypto.nim index 9866aecaf..80a9b8897 100644 --- a/beacon_chain/spec/crypto.nim +++ b/beacon_chain/spec/crypto.nim @@ -84,7 +84,7 @@ template `==`*[N, T](a: T, b: BlsValue[N, T]): bool = # API # ---------------------------------------------------------------------- -# https://github.com/ethereum/eth2.0-specs/blob/v0.10.1/specs/phase0/beacon-chain.md#bls-signatures +# https://github.com/ethereum/eth2.0-specs/blob/v0.11.1/specs/phase0/beacon-chain.md#bls-signatures func toPubKey*(privkey: ValidatorPrivKey): ValidatorPubKey = ## Create a private key from a public key @@ -112,7 +112,7 @@ func aggregate*(x: var ValidatorSig, other: ValidatorSig) = ## This assumes that they are real signatures x.blsValue.aggregate(other.blsValue) -# https://github.com/ethereum/eth2.0-specs/blob/v0.10.1/specs/phase0/beacon-chain.md#bls-signatures +# https://github.com/ethereum/eth2.0-specs/blob/v0.11.1/specs/phase0/beacon-chain.md#bls-signatures func blsVerify*( pubkey: ValidatorPubKey, message: openArray[byte], signature: ValidatorSig): bool = diff --git a/benchmarks/bench_bls_sig_agggregation.nim b/benchmarks/bench_bls_sig_agggregation.nim index faefbcd63..1687536fc 100644 --- a/benchmarks/bench_bls_sig_agggregation.nim +++ b/benchmarks/bench_bls_sig_agggregation.nim @@ -138,7 +138,7 @@ proc main(nb_samples: Natural) = for i in 0 ..< proof_of_possessions.len: pop_valid = pop_valid and proof_of_possessions[i].verifyPoP(pubkeys[i]) - # TODO: update with IETF API (Eth2 v0.10.1) + # TODO: update with IETF API (Eth2 v0.11.1) # func fastAggregateVerify*[T: byte|char]( # publicKeys: openarray[PublicKey], # message: openarray[T],