Allow validators registration batching on Builder API /eth/v1/builder/validators (#13178)

* builder `NewClient`: Simplify + fix some typos.

* Validator client: Implement `validator-registration-batch-size` option

* Address Potuz comments

* Address Potuz's comments

---------

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
Manu NALEPA
2023-11-28 01:23:48 +01:00
committed by GitHub
parent 7cc05401ca
commit da2212f6cc
12 changed files with 260 additions and 50 deletions

View File

@@ -136,7 +136,7 @@ func PadTo(b []byte, size int) []byte {
}
// ReverseByteOrder Switch the endianness of a byte slice by reversing its order.
// this function does not modify the actual input bytes.
// This function does not modify the actual input bytes.
func ReverseByteOrder(input []byte) []byte {
b := make([]byte, len(input))
copy(b, input)