I would like to propose adjustment in tokenomics params to reduce impact of gap between real and target block time.
Target time on parachains is 12s.
Those are our avg block times calculated based on onchain data.
Average block time in last 1 day 16.4 s Average block time in last 1 week 15.7 s Average block time in last 2 weeks 15.5 s Average block time in last 1 month 16.1 s Average block time in last 2 month 15.7 s
As you can see we have long term 30% gap. It impacts all features which base on block number (not timestamp).
For example mining rewards are block based - which directly impact APR of owners and stakers. It is worth noting that in app.phala.network all values you see are also block based.
If you calculate your APR time based you will see it differs for 30%
Worth noting (mentioned by team):
This issue occurs because substrate has limited (obvious) throughput in processing blocks and simultaneously Phala extremely utilize onchain actions.
Compare Moonriver and Khala below (at most it is even 100x more transactions).
Btw. Moonriver is second most used chain ;)
As you can see lot of things happens on Khala and it is probably not possible to improve throughput in short term.
However this proposal is to reduce impact of that issue.
IMO block time in any contract calculations should not be fixed to target 12s value.
I think we should periodically adjust that value to reflect real block time.
Depending how much it will vary we should adjust it monthly based on last month average block time.