Skip to content

Add staking v5 inflation for year 2 - #1661

Open
stefangutica wants to merge 2 commits into
developmentfrom
staking-v5-inflation-year-2
Open

stefangutica wants to merge 2 commits into
developmentfrom
staking-v5-inflation-year-2

Conversation

@stefangutica

@stefangutica stefangutica commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Adds the second year value to stakingV5Inflation. Without it, getApr() throws once yearIndex becomes 1.

Values = 50% * inflation rate * projected supply at the start of year 2:

  • mainnet: epoch 2316, supply 31_337_853, 1_371_031
  • devnet: epoch 7007, supply 26_553_172, 1_162_631
  • testnet: epoch 6899, supply 23_137_281, 1_012_256

Can be refined with the real supply once each network reaches that epoch.

@stefangutica stefangutica changed the title Add staking v5 inflation for year 2 on mainnet Add staking v5 inflation for year 2 Nov 9, 2026
@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

k6 load testing comparison.
Base Commit Hash: 64d59cb
Target Commit Hash: 0fe3983

Metric Base Target Diff
AvgMax9095AvgMax9095AvgMax9095
Mex36.83443.5252.0457.1037.32200.4052.4455.44+1.31% 🔴-54.82% ✅+0.75% 🔴-2.90% ✅
Transactions68.6416606.1659.1986.5557.118460.3458.0370.23-16.79% ✅-49.05% ✅-1.95% ✅-18.86% ✅
Blocks47.03949.6157.2466.7347.19760.9855.3959.47+0.35% 🔴-19.86% ✅-3.23% ✅-10.89% ✅
Nodes65.9215675.8684.9296.8457.0615101.3455.3959.08-13.44% ✅-3.67% ✅-34.77% ✅-38.99% ✅
Tokens36.96448.0652.4357.0837.39244.0752.5155.61+1.19% 🔴-45.53% ✅+0.17% 🔴-2.56% ✅
Accounts36.89443.4952.0657.0642.591118.6055.8461.81+15.45% 🔴+152.23% 🔴+7.27% 🔴+8.33% 🔴
Pool36.82443.5051.8757.0437.33216.7452.4755.56+1.38% 🔴-51.13% ✅+1.17% 🔴-2.59% ✅
Test Run Duration60002.1860002.57

Legend: Avg - Average Response Time, Max - Maximum Response Time, 90 - 90th Percentile, 95 - 95th Percentile
All times are in milliseconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants