Allow sending Altair blocks to /eth/v1/beacon/blocks (#9685)

* Allow sending Altar blocks to `/eth/v1/beacon/blocks`

* tests

* add documentation

* fix ineffectual assignment

* change type of sync committee bits

* remove unused import

* fix Altair epoch calculation

* compare slot against slot

* do not publicly export E2E constant

* tests for setInitialPublishBlockPostRequest

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
Radosław Kapka
2021-09-28 21:07:32 +02:00
committed by GitHub
parent 57f965df50
commit c32090aae5
23 changed files with 743 additions and 417 deletions

View File

@@ -33,6 +33,7 @@ const (
cpuProfileFileName = "node_cpu_profile_%d.pb.gz"
fileBufferSize = 64 * 1024
maxFileBufferSize = 1024 * 1024
AltairE2EForkEpoch = 6
)
// Graffiti is a list of sample graffiti strings.