SIMD-0306

Increase writeable account limit to 20M CUs

Author: Brennan Watt (Anza) · Category: Core Protocol GitHub →

TL;DR

Increase the per account CU limit from a static 12M to 40% of the block CU limit.

Summary

Increase the per account CU limit from a static 12M to 40% of the block CU limit.

Motivation

This will allow more activity to target a single hot account in each block and take advantage of the performance improvements that have been made. We are consistently hitting the current 12M CU cap, so this will unlock more economic activity.

Key Changes

  • Max Block Units - The maximum number of CUs that can be included in a block.
  • Max Writable Account Units - The maximum number of CUs that can be used to write any given account in a block.
  • Max Vote Units - The maximum number of CUs that can be used by simple votes in a block.
  • Max Block Accounts Data Size Delta - The maximum size of the accounts data size delta in a block.

Impact

This will allow for more serialized account access, making it easier for more updates to some hot state to occur. It may increase block execution times, which could impact slot times for some unforeseen cases.

Backwards Compatibility

*(Optional)* - All previously valid blocks are still valid, since limits are only increasing. - Blocks produced after the change may be rejected by previous versions that do not support the new limits.

Security Considerations

Blocks may take longer to execute, slowing down network progress and catchup times.