MCPcopy Create free account
hub / github.com/base/base / validity_max_predicates_rejects_zero

Function validity_max_predicates_rejects_zero

crates/execution/cli/src/standard_node.rs:1204–1213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1202
1203 #[test]
1204 fn validity_max_predicates_rejects_zero() {
1205 let error = CommandParser::<StandardNodeArgs>::try_parse_from([
1206 "base-reth",
1207 "--validity-max-predicates",
1208 "0",
1209 ])
1210 .expect_err("a maximum of zero should be rejected");
1211
1212 assert!(error.to_string().contains("--validity-max-predicates"));
1213 }
1214
1215 #[test]
1216 fn inline_simulation_requires_forwarding() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected