mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-12 19:54:34 +00:00
update data fee payment, todo
This commit is contained in:
parent
9e10f58299
commit
b3d5858cc9
@ -770,8 +770,11 @@ def process_shard_header(state: BeaconState, signed_block_header: SignedShardBlo
|
||||
)
|
||||
|
||||
# Charge builder, with hard balance requirement
|
||||
fee = Gwei(123) # TODO
|
||||
fee = Gwei(123) # TODO EIP 1559 like fee? Burn some of it?
|
||||
charge_builder(state, builder_index, fee)
|
||||
# TODO: proposer is charged for confirmed headers (see charge_confirmed_shard_fees).
|
||||
# Need to align incentive, so proposer does not gain from including unconfirmed headers
|
||||
increase_balance(state, block_header.proposer_index, fee)
|
||||
|
||||
# Initialize the pending header
|
||||
index = compute_committee_index_from_shard(state, slot, shard)
|
||||
|
Loading…
x
Reference in New Issue
Block a user