mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-20 07:29:02 +00:00
a fix according to @protolambda comments
This commit is contained in:
parent
17c86177d9
commit
9dc43957e2
@ -253,7 +253,7 @@ class BeaconBlockBody(Container):
|
|||||||
voluntary_exits: List[SignedVoluntaryExit, MAX_VOLUNTARY_EXITS]
|
voluntary_exits: List[SignedVoluntaryExit, MAX_VOLUNTARY_EXITS]
|
||||||
# Custody game
|
# Custody game
|
||||||
chunk_challenges: List[CustodyChunkChallenge, MAX_CUSTODY_CHUNK_CHALLENGES]
|
chunk_challenges: List[CustodyChunkChallenge, MAX_CUSTODY_CHUNK_CHALLENGES]
|
||||||
chunk_challenge_responses: List[CustodyChunkChallenge, MAX_CUSTODY_CHUNK_CHALLENGE_RESPONSES]
|
chunk_challenge_responses: List[CustodyChunkResponse, MAX_CUSTODY_CHUNK_CHALLENGE_RESPONSES]
|
||||||
custody_key_reveals: List[CustodyKeyReveal, MAX_CUSTODY_KEY_REVEALS]
|
custody_key_reveals: List[CustodyKeyReveal, MAX_CUSTODY_KEY_REVEALS]
|
||||||
early_derived_secret_reveals: List[EarlyDerivedSecretReveal, MAX_EARLY_DERIVED_SECRET_REVEALS]
|
early_derived_secret_reveals: List[EarlyDerivedSecretReveal, MAX_EARLY_DERIVED_SECRET_REVEALS]
|
||||||
custody_slashings: List[SignedCustodySlashing, MAX_CUSTODY_SLASHINGS]
|
custody_slashings: List[SignedCustodySlashing, MAX_CUSTODY_SLASHINGS]
|
||||||
|
@ -302,7 +302,7 @@ def process_custody_game_operations(state: BeaconState, body: BeaconBlockBody) -
|
|||||||
fn(state, operation)
|
fn(state, operation)
|
||||||
|
|
||||||
for_ops(body.chunk_challenges, process_chunk_challenge)
|
for_ops(body.chunk_challenges, process_chunk_challenge)
|
||||||
for_ops(body.chunk_challenge_responses, process_chunk_challenge)
|
for_ops(body.chunk_challenge_responses, process_chunk_challenge_response)
|
||||||
for_ops(body.custody_key_reveals, process_custody_key_reveal)
|
for_ops(body.custody_key_reveals, process_custody_key_reveal)
|
||||||
for_ops(body.early_derived_secret_reveals, process_early_derived_secret_reveal)
|
for_ops(body.early_derived_secret_reveals, process_early_derived_secret_reveal)
|
||||||
for_ops(body.custody_slashings, process_custody_slashing)
|
for_ops(body.custody_slashings, process_custody_slashing)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user