pub fn resolve_duration(
flag: Option<Duration>,
ctx_field: Option<Duration>,
default: Duration,
) -> DurationExpand description
Resolve a duration with the CLI precedence: flag > Ctx (config) > default.
Pulled out so the receipt_timeout resolvers (escrow / bond / cast) share
one pinning path — and tests exercise the precedence once, not per command.