You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(genesis,protocol): add IIP-59 era params + IsEraBoundary helper
Additive scaffolding for the era-based voter reward distribution
described in the design doc (IIP-59 §8):
- blockchain/genesis: three new Rewarding fields
- EpochsPerRewardEra (default 24): epochs per voter-reward era
- VoterBudgetPerBlock (default 2000): max voters credited per block
during the era-boundary chunked credit path
- CompoundBatchSize (default 500): max voters swept per block by the
background compound sweep
Not part of the genesis Hash proto — no consensus impact until a
subsequent PR wires them into a fork-gated code path.
- action/protocol: IsEraBoundary(epochNum, epochsPerEra) helper.
Epoch 0 is never a boundary; epochsPerEra=0 disables the cadence
entirely so existing tests are undisturbed.
Follow-up PRs (B/C/D) consume these; no behavioral change here.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments