23d3aeebba
* EIP4844: bytes_to_bls_field() must not accept values >= BLS_MODULUS bytes_to_bls_field() will be used in the precompile and hence it should error out when provided with malicious inputs. * EIP4844: Add hash_to_bls_field() for use in compute_challenges() The previous commit made bytes_to_bls_field() be strict about its inputs. However in compute_challenges() we are dealing with Fiat-Shamir and hash outputs that could be innocuously higher than the modulus. For this reason we add the hash_to_bls_field() helper for use in compute_challenges(). * EIP4844: Further use of bytes_to_bls_field() // Fix executable spec Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com> |
||
---|---|---|
.. | ||
beacon-chain.md | ||
fork.md | ||
p2p-interface.md | ||
polynomial-commitments.md | ||
validator.md |