Skip to content

Commit

Permalink
[#160] Increased max_execution_gas.gov from 4B to 5B to enable framew…
Browse files Browse the repository at this point in the history
…ork upgrades. Incremented the gas schedule version accordingly. (#161)
  • Loading branch information
isaacdoidge authored Jan 2, 2025
1 parent 406396f commit fa8fa66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ crate::gas_schedule::macros::define_gas_parameters!(
[
max_execution_gas_gov: InternalGas,
{ RELEASE_V1_13.. => "max_execution_gas.gov" },
4_000_000_000,
5_000_000_000,
],
[
max_io_gas: InternalGas,
Expand Down
7 changes: 6 additions & 1 deletion aptos-move/aptos-gas-schedule/src/ver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
/// - Changing how gas is calculated in any way
///
/// Change log:
/// - V22
/// - Increased governance transaction execution limit from 4B to 5B to enable framework upgrades without changing
/// the gas schedule.
/// - Updated the `pbo_delegation_pool.move` and `vesting_without_staking.move` smart contracts (not gas-related).
/// - V21
/// - Fix type to type tag conversion in MoveVM
/// - V20
Expand Down Expand Up @@ -66,7 +70,7 @@
/// global operations.
/// - V1
/// - TBA
pub const LATEST_GAS_FEATURE_VERSION: u64 = gas_feature_versions::RELEASE_V1_16;
pub const LATEST_GAS_FEATURE_VERSION: u64 = gas_feature_versions::RELEASE_V1_16_SUPRA_V1_5_1;

pub mod gas_feature_versions {
pub const RELEASE_V1_8: u64 = 11;
Expand All @@ -79,4 +83,5 @@ pub mod gas_feature_versions {
pub const RELEASE_V1_14: u64 = 19;
pub const RELEASE_V1_15: u64 = 20;
pub const RELEASE_V1_16: u64 = 21;
pub const RELEASE_V1_16_SUPRA_V1_5_1: u64 = 22;
}

0 comments on commit fa8fa66

Please sign in to comment.