Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanity Check: Block reward #294

Open
SeanMcOwen opened this issue May 13, 2024 · 2 comments
Open

Sanity Check: Block reward #294

SeanMcOwen opened this issue May 13, 2024 · 2 comments
Labels

Comments

@SeanMcOwen
Copy link
Contributor

I think it is fine, but something feels off about this for the block reward:

- total_phase_duration = p['phase_duration_proposal_max_blocks'] + p['phase_duration_reveal_max_blocks'] + p['phase_duration_commit_bond_max_blocks'] + p['phase_duration_rollup_max_blocks'])
- expected_l2_blocks_per_day = params['l1_blocks_per_day'] / total_phase_duration
- reward = params['daily_block_reward'] / expected_l2_blocks_per_day
@SeanMcOwen SeanMcOwen added Tier3 question Further information is requested labels May 13, 2024
@jackhack00
Copy link
Contributor

context: since we set block_reward "statically" in params, we had to find a way to represent a constant inflation (aka the daily inflation stays the same), while not paying weird rewards when we change phase duration.
Setting a per_block reward alone would have paid out double for 50% duration blocks.

@SeanMcOwen
Copy link
Contributor Author

@jackhack00 Gotcha, seems fine then? I guess they probably would care only about daily inflation, not block by block inflation?

@SeanMcOwen SeanMcOwen added Tier5 and removed question Further information is requested Tier3 labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants