From 4d9cd1e7649b61b61fd22ed5fadd886685b063db Mon Sep 17 00:00:00 2001 From: tbro Date: Wed, 5 Jun 2024 10:22:53 -0400 Subject: [PATCH] fix error doc comments --- sequencer/src/state.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sequencer/src/state.rs b/sequencer/src/state.rs index 458d2d4d40..24bfe5e743 100644 --- a/sequencer/src/state.rs +++ b/sequencer/src/state.rs @@ -218,7 +218,7 @@ impl ValidatedState { } } -/// Error type to cover possible proposal validation failures +/// Possible proposal validation failures #[derive(Error, Debug, Eq, PartialEq)] pub enum ProposalValidationError { #[error("Invalid ChainConfig: expected={expected}, proposal={proposal}")] @@ -320,7 +320,7 @@ pub fn validate_proposal( Ok(()) } -/// Error type to cover possible charge fee errors +/// Possible charge fee failures #[derive(Error, Debug, Eq, PartialEq)] pub enum FeeError { #[error("Insuficcient Funds: have {balance:?}, required {amount:?}")] @@ -349,7 +349,7 @@ fn charge_fee( Ok(()) } -/// Error type to cover possible builder validation failures +/// Possible builder validation failures #[derive(Error, Debug, Eq, PartialEq)] pub enum BuilderValidationError { #[error("Builder signature not found")]