diff --git a/crates/builder/src/sender/mod.rs b/crates/builder/src/sender/mod.rs index 66b85e721..7801297d1 100644 --- a/crates/builder/src/sender/mod.rs +++ b/crates/builder/src/sender/mod.rs @@ -258,7 +258,7 @@ impl From for TxSenderError { // Reth: https://github.com/paradigmxyz/reth/blob/8e4a917ec1aa70b3779083454ff2d5ecf6b44168/crates/rpc/rpc-eth-types/src/error/mod.rs#L624 // Erigon: https://github.com/erigontech/erigon/blob/96fabf3fd1a4ddce26b845ffe2b6cfb50d5b4b2d/txnprovider/txpool/txpoolcfg/txpoolcfg.go#L124 fn parse_known_call_execution_failed(message: &str, code: &i64) -> Option { - // The error code is -32003 or -32005 when condition is not met, we check this first before checking the message + // The error code is -32003 or -32005 when condition is not met, we check error codes before checking the message // https://eips.ethereum.org/EIPS/eip-7796 if *code == -32003 || *code == -32005 { return Some(TxSenderError::ConditionNotMet);