diff --git a/query-engine/core/src/interactive_transactions/mod.rs b/query-engine/core/src/interactive_transactions/mod.rs index 1f99c1f6f0cb..d3c73f705123 100644 --- a/query-engine/core/src/interactive_transactions/mod.rs +++ b/query-engine/core/src/interactive_transactions/mod.rs @@ -57,6 +57,8 @@ where { fn from(s: T) -> Self { let contents = s.into(); + // This postcondition is to ensure that the TxId is long enough as to be able to derive + // a TraceId from it. assert!( contents.len() >= MINIMUM_TX_ID_LENGTH, "minimum length for a TxId ({}) is {}, but was {}",