Skip to content

Commit

Permalink
[gas] bump gas feature version to 1.20 (#14668)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgao1996 authored Sep 18, 2024
1 parent 0a9d654 commit 20335bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions aptos-move/aptos-gas-schedule/src/gas_schedule/instr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ crate::gas_schedule::macros::define_gas_parameters!(
[mut_borrow_variant_field: InternalGas,
{ RELEASE_V1_18.. => "mut_borrow_variant_field" }, 835],
[imm_borrow_variant_field_generic: InternalGas,
{ RELEASE_V1_18 => "imm_borrow_variant_field_generic" }, 835],
{ RELEASE_V1_18.. => "imm_borrow_variant_field_generic" }, 835],
[mut_borrow_variant_field_generic: InternalGas,
{ RELEASE_V1_18 => "mut_borrow_variant_field_generic" }, 835],
{ RELEASE_V1_18.. => "mut_borrow_variant_field_generic" }, 835],

// variant testing
[test_variant: InternalGas,
{ RELEASE_V1_18 => "test_variant" }, 535],
{ RELEASE_V1_18.. => "test_variant" }, 535],
[test_variant_generic: InternalGas,
{ RELEASE_V1_18 => "test_variant_generic" }, 535],
{ RELEASE_V1_18.. => "test_variant_generic" }, 535],

// locals
[copy_loc_base: InternalGas, "copy_loc.base", 294],
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/aptos-gas-schedule/src/ver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
/// global operations.
/// - V1
/// - TBA
pub const LATEST_GAS_FEATURE_VERSION: u64 = gas_feature_versions::RELEASE_V1_18;
pub const LATEST_GAS_FEATURE_VERSION: u64 = gas_feature_versions::RELEASE_V1_20;

pub mod gas_feature_versions {
pub const RELEASE_V1_8: u64 = 11;
Expand Down

0 comments on commit 20335bb

Please sign in to comment.