📢 Exclusive on Gate Square — #PROVE Creative Contest# is Now Live!
CandyDrop × Succinct (PROVE) — Trade to share 200,000 PROVE 👉 https://www.gate.com/announcements/article/46469
Futures Lucky Draw Challenge: Guaranteed 1 PROVE Airdrop per User 👉 https://www.gate.com/announcements/article/46491
🎁 Endless creativity · Rewards keep coming — Post to share 300 PROVE!
📅 Event PeriodAugust 12, 2025, 04:00 – August 17, 2025, 16:00 UTC
📌 How to Participate
1.Publish original content on Gate Square related to PROVE or the above activities (minimum 100 words; any format: analysis, tutorial, creativ
Analysis of the GAS fee calculation mechanism of the Aptos chain: The innovative design of the MOVE language
The First GAS Design of MOVE Language: Detailed Explanation of GAS Fee Calculation on Aptos
The MOVE language was not initially prepared for the GAS program, so the GAS program established by Aptos is seen as an innovative attempt. Aptos's GAS program clarifies the principles, processes, calculation methods, and later adjustment mechanisms for formulating GAS, while also welcoming community suggestions.
GAS measurement is a fundamental concept in Aptos and many blockchains, used to abstract the amount of computational and storage resources required for executing and storing on-chain transactions. The GAS plan determines the cost of all executions on-chain, used to calculate the GAS expenditure during transaction execution.
implementation process
The implementation process on the Aptos chain includes:
Core Principles
GAS calculation method
When users submit a transaction, they need to specify two quantities:
A fee will be charged during the transaction execution process:
Final transaction fee = Total amount of GAS consumed × GAS unit price. For example, if the transaction consumes 670 units of GAS and the user specifies the GAS unit price as 100 Octa per unit, then the final transaction fee is 670 × 100 = 67000 Octa = 0.00067 APT.
If the transaction runs out of GAS during execution, the sender will be charged the maximum GAS amount, and all changes will be reverted.
GAS plan construction
Basic configuration: including trade size and maximum GAS units.
Transaction size: Currently set at 64KB, balancing the demand for large-scale transactions and network performance.
Maximum GAS Unit: Defines the maximum amount of operations that can be executed in a single transaction, currently set to 1,000,000.
Execution Costs: Evaluate the relative costs of MOVE instructions and native functions using a benchmark framework and Valgrind analysis tools.
Storage costs: Consider data access and permanent storage costs, and design a storage GAS plan. Storage GAS fee = project fee + ( byte fee × number of bytes )
read, create, and write operations
stable GAS unit cost
The fixed GAS unit cost helps maintain stability in the GAS program, decoupling it from the market value of APT. The Aptos team represents GAS units with an accuracy of about three digits, for example, the cost of a transfer transaction is approximately 700 GAS units.
Community Participation
Aptos encourages community members:
GAS cost adjustment mechanism
The GAS plan is designed as on-chain configurable storage and can be modified through Aptos governance proposals. It is designed to be scalable, allowing upgrades via governance proposals. Complex changes to the GAS formula require updates to node software and a significant amount of adoption, ultimately approved through governance proposals.
Future Outlook
As the first viable GAS framework for MOVE, the Aptos team plans: