forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gas] Do not charge for loading Sui Framework or Move stdlib
- The code for the Sui Framework and Move stdlib will live directly in the validator binary, so using these won't actually trigger an on-chain read. No need to charge users for this. - For Sui Framework developers, it's quite cumbersome to change the gas snapshot tests every time code in the Sui Framework changes (since it tweaks the loading cost). This is a pain for us today, but in the future it will also be a pain for third-party devs--a change in the size of the Sui Framework due to a framework upgrade will change the gas cost for a dependent package `P` even if the actual functions called by `P` are unchanged by the upgrade.
- Loading branch information
1 parent
0e50053
commit faab3b6
Showing
4 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters