Automatically merged updates to draft EIP(s) 3374 (#3394)

Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft, Review, or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
This commit is contained in:
query0x 2021-03-15 12:29:56 -04:00 committed by GitHub
parent 556b2b236e
commit c10770ba75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,9 @@ This proposal:
```py
if block.number >= TRANSITION_END_BLOCK_NUMBER:
block_reward = ENDING_REWARD
elif block.number >= TRANSITION_START_BLOCK_NUMBER:
elif block.number == TRANSITION_START_BLOCK_NUMBER:
block_reward = STARTING_REWARD
elif block.number > TRANSITION_START_BLOCK_NUMBER:
block_reward = STARTING_REWARD - REWARD_DELTA * TRANSITION_DURATION / (block.number - TRANSITION_START_BLOCK_NUMBER)
```