Reduce ZetaChain Blocktime
We want to reduce the ZetaChain blocktime down to 2 or 3 seconds. This will make it easier for developer and users to submit data on-chain and reduces the wait time after submitting a transaction. It also makes are more competitive with other L1s when comparing specs side to side.
Describe the solution you'd like Ultimately we want 3 seconds or faster block times. I think 2 seconds is achievable with minimal changes.
These are the subtasks I know about but there are probably more I am not thinking of.
- Remove any hardcoded references to the 6 second block time
- Ensure emissions calculations are updated
- Force all nodes to update their
timeout_commitand other values in config.toml at upgrade time.
I think this one (https://github.com/zeta-chain/node/issues/350) is a blocker as well...
Most of the state growth concerns external modules, so this part would not be trivial if it is a concern. We would need to investigate EVM module investigation in our fork.
Though I'm not sure if the block time would influence the state growth this much, EVM would be mainly influence by the number of txs. Staking module state growth might be influence by block time.
The distributions module might be the most impacted since we create new allocations every block.
But I don't think there is anything we can do since it's an external module. Any changes would be non-trivial .