Skip to content

Commit e039d02

Browse files
committed
Partially-revert "incorporate gas feedback from victor"
This reverts commit 865c61e.
1 parent c0dcb16 commit e039d02

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

aptos-move/aptos-gas-meter/src/meter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ where
625625
}
626626

627627
fn charge_slh_dsa_sha2_128s(&mut self) -> VMResult<()> {
628-
if self.feature_version() < RELEASE_V1_40 {
628+
if self.feature_version() < RELEASE_V1_41 {
629629
return Ok(());
630630
}
631631

aptos-move/aptos-gas-schedule/src/gas_schedule/transaction.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::{
88
gas_schedule::VMGasParameters,
99
ver::gas_feature_versions::{
1010
RELEASE_V1_10, RELEASE_V1_11, RELEASE_V1_12, RELEASE_V1_13, RELEASE_V1_15, RELEASE_V1_26,
11-
RELEASE_V1_40,
11+
RELEASE_V1_41,
1212
},
1313
};
1414
use aptos_gas_algebra::{
@@ -279,7 +279,7 @@ crate::gas_schedule::macros::define_gas_parameters!(
279279
],
280280
[
281281
slh_dsa_sha2_128s_base_cost: InternalGas,
282-
{ RELEASE_V1_40.. => "slh_dsa_sha2_128s.base" },
282+
{ RELEASE_V1_41.. => "slh_dsa_sha2_128s.base" },
283283
13_800_000,
284284
],
285285
]

aptos-move/aptos-gas-schedule/src/ver.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/// - Changing how gas is calculated in any way
99
///
1010
/// Change log:
11-
/// - V40:
11+
/// - V41:
1212
/// - Gas charging for SLH-DSA-SHA2-128s signature verification
1313
/// - V31:
1414
/// - Gas charging for modules used in type tags
@@ -73,7 +73,7 @@
7373
/// global operations.
7474
/// - V1
7575
/// - TBA
76-
pub const LATEST_GAS_FEATURE_VERSION: u64 = gas_feature_versions::RELEASE_V1_40;
76+
pub const LATEST_GAS_FEATURE_VERSION: u64 = gas_feature_versions::RELEASE_V1_41;
7777

7878
pub mod gas_feature_versions {
7979
pub const RELEASE_V1_8: u64 = 11;
@@ -108,4 +108,5 @@ pub mod gas_feature_versions {
108108
pub const RELEASE_V1_38: u64 = 42;
109109
pub const RELEASE_V1_39: u64 = 43;
110110
pub const RELEASE_V1_40: u64 = 44;
111+
pub const RELEASE_V1_41: u64 = 45;
111112
}

0 commit comments

Comments
 (0)