Skip to content

Commit deb3f58

Browse files
apollo_consensus_orchestrator_config: rename validate_price_per_height to validate_dynamic_config
1 parent d75b26e commit deb3f58

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/apollo_consensus_orchestrator_config/src

crates/apollo_consensus_orchestrator_config/src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ impl Default for ContextStaticConfig {
271271

272272
/// Dynamic configuration for the Context struct.
273273
#[derive(Debug, Deserialize, Serialize, Clone, PartialEq, Validate)]
274-
#[validate(schema(function = "validate_price_per_height"))]
274+
#[validate(schema(function = "validate_dynamic_config"))]
275275
pub struct ContextDynamicConfig {
276276
/// The minimum L1 gas price in wei.
277277
pub min_l1_gas_price_wei: u128,
@@ -442,7 +442,7 @@ where
442442
serializer.serialize_str(&s)
443443
}
444444

445-
fn validate_price_per_height(
445+
fn validate_dynamic_config(
446446
config: &ContextDynamicConfig,
447447
) -> Result<(), validator::ValidationError> {
448448
// Check that heights are in strictly ascending order using windows

0 commit comments

Comments
 (0)