From 1698263621c476850e2eccd012b9ebf3812c84a0 Mon Sep 17 00:00:00 2001 From: Justin Drake Date: Mon, 1 Jul 2019 00:36:19 +0100 Subject: [PATCH] BLS domain => domain --- specs/core/0_beacon-chain.md | 2 +- specs/test_formats/bls/msg_hash_g2_compressed.md | 4 ++-- specs/test_formats/bls/msg_hash_g2_uncompressed.md | 6 +++--- specs/test_formats/bls/sign_msg.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 9415814ac..bf7aa4dd5 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -776,7 +776,7 @@ def compute_activation_exit_epoch(epoch: Epoch) -> Epoch: ```python def compute_domain(domain_type: uint64, fork_version: bytes=b'\x00' * 4) -> int: """ - Return the BLS domain for the ``domain_type`` and ``fork_version``. + Return the domain for the ``domain_type`` and ``fork_version``. """ return bytes_to_int(int_to_bytes(domain_type, length=4) + fork_version) ``` diff --git a/specs/test_formats/bls/msg_hash_g2_compressed.md b/specs/test_formats/bls/msg_hash_g2_compressed.md index 44ea8ded7..d82041633 100644 --- a/specs/test_formats/bls/msg_hash_g2_compressed.md +++ b/specs/test_formats/bls/msg_hash_g2_compressed.md @@ -5,9 +5,9 @@ A BLS compressed-hash to G2. ## Test case format ```yaml -input: +input: message: bytes32, - domain: uint64 -- the BLS domain + domain: uint64 -- the domain output: List[bytes48] -- length of two ``` diff --git a/specs/test_formats/bls/msg_hash_g2_uncompressed.md b/specs/test_formats/bls/msg_hash_g2_uncompressed.md index 847b5f61d..873c767d7 100644 --- a/specs/test_formats/bls/msg_hash_g2_uncompressed.md +++ b/specs/test_formats/bls/msg_hash_g2_uncompressed.md @@ -1,13 +1,13 @@ # Test format: BLS hash-uncompressed -A BLS uncompressed-hash to G2. +A BLS uncompressed-hash to G2. ## Test case format ```yaml -input: +input: message: bytes32 - domain: uint64 -- the BLS domain + domain: uint64 -- the domain output: List[List[bytes48]] -- 3 lists, each a length of two ``` diff --git a/specs/test_formats/bls/sign_msg.md b/specs/test_formats/bls/sign_msg.md index b17e6246d..94346edaa 100644 --- a/specs/test_formats/bls/sign_msg.md +++ b/specs/test_formats/bls/sign_msg.md @@ -1,6 +1,6 @@ # Test format: BLS sign message -Message signing with BLS should produce a signature. +Message signing with BLS should produce a signature. ## Test case format @@ -8,7 +8,7 @@ Message signing with BLS should produce a signature. input: privkey: bytes32 -- the private key used for signing message: bytes32 -- input message to sign (a hash) - domain: uint64 -- the BLS domain + domain: uint64 -- the domain output: bytes96 -- expected signature ```