Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
refactor: make validate_rounding_consts public (#1720)
Browse files Browse the repository at this point in the history
  • Loading branch information
OriStarkware authored Mar 26, 2024
1 parent 35db24a commit 59150ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/blockifier/src/versioned_constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ pub struct GasCosts {
#[serde(try_from = "OsConstantsRawJson")]
pub struct OsConstants {
pub gas_costs: GasCosts,
validate_rounding_consts: ValidateRoundingConsts,
pub validate_rounding_consts: ValidateRoundingConsts,
}

impl OsConstants {
Expand Down Expand Up @@ -662,7 +662,7 @@ impl TryFrom<ResourceParamsRaw> for ResourcesParams {
}

#[derive(Clone, Debug, Deserialize)]
struct ValidateRoundingConsts {
pub struct ValidateRoundingConsts {
// Flooring factor for block number in validate mode.
pub validate_block_number_rounding: u64,
// Flooring factor for timestamp in validate mode.
Expand Down

0 comments on commit 59150ce

Please sign in to comment.