What's Changed
- Protocol version
14
upgrade- Reduce gas charges to align with the usage of PTBs. PTBs increase the amount of code that can be run within a single request with no significant impact on the execution time and use of resources. As such it did not seem consistent to penalize PTBs for a usage pattern that should be “rewarded” instead. Of course, there are still limits in execution in order to protect against DOS attacks.
As a consequence, gas charges have been reduced across the following 2 axes:- “after execution” coarse buckets have been replaced by rounding (up by 1000 computation units). That makes the charges more linear than before and avoids the steep increase in medium size transactions.
- Non-linear increases in computation and memory usage while executing have been reduced to a more gentle curve, particularly on the low and medium consumption. The increase in charges is still very steep on the higher end in order to avoid DOS attacks.
- Reduce gas charges to align with the usage of PTBs. PTBs increase the amount of code that can be run within a single request with no significant impact on the execution time and use of resources. As such it did not seem consistent to penalize PTBs for a usage pattern that should be “rewarded” instead. Of course, there are still limits in execution in order to protect against DOS attacks.
Full Changelog: https://github.com/MystenLabs/sui/commits/mainnet-v1.3.1