eth2.0-specs/specs
George Kadianakis 23d3aeebba
EIP4844 precompile: Be strict when parsing field elements from network (#3138)
* 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>
2022-12-01 14:59:00 +02:00
..
altair Further clarify light client slot checks 2022-11-11 22:09:33 +11:00
bellatrix Update p2p-interface.md 2022-11-04 15:54:30 -06:00
capella Clarify that full withdrawals only apply to exited validators 2022-11-30 16:21:06 -08:00
custody_game `doctoc` on `custody_game` specs 2022-01-17 12:56:51 +01:00
das Fix typos 2022-11-12 23:36:34 -08:00
eip4844 EIP4844 precompile: Be strict when parsing field elements from network (#3138) 2022-12-01 14:59:00 +02:00
phase0 deprecate phase 0-only versions of beacon_blocks_by_{range,root} 2022-09-26 15:01:45 +00:00
sharding Fix typos 2022-11-12 23:36:34 -08:00