mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 21:16:52 +00:00
Update specs/core/1_new_shards.md
This commit is contained in:
parent
8a6bd201f9
commit
41be60ee6e
@ -428,7 +428,7 @@ def process_attestations(state: BeaconState, block: BeaconBlock, attestations: S
|
||||
and success is False
|
||||
):
|
||||
assert shard_transition_root == hash_tree_root(block.shard_transition)
|
||||
process_crosslink(state, shard, block.shard_transition)
|
||||
apply_shard_transition(state, shard, block.shard_transition)
|
||||
# Apply proposer reward and cost
|
||||
estimated_attester_reward = sum([get_base_reward(state, attester) for attester in all_participants])
|
||||
increase_balance(state, proposer, estimated_attester_reward // PROPOSER_REWARD_COEFFICIENT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user