per-chain configurable trim_depth