Skip to content

Commit 81ed9e8

Browse files
committed
chore(scheduler): align pattern docs and oversize test naming
1 parent f968c0f commit 81ed9e8

File tree

1 file changed

+3
-3
lines changed
  • coprocessor/fhevm-engine/scheduler/src/dfg

1 file changed

+3
-3
lines changed

coprocessor/fhevm-engine/scheduler/src/dfg/pattern.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,8 @@ const V1_MAX_INTERNAL_REF: usize = 127;
444444
/// (byte 0x00).
445445
///
446446
/// Returns `None` if the group exceeds the v1 encoding limits (\>255 nodes,
447-
/// \>7 inputs per node, or \>127 internal-ref position). Callers should treat
448-
/// `None` as "not attributable" for this group (no pattern attribution).
447+
/// \>7 inputs per node, or \>127 internal-ref position). Callers can fall back
448+
/// to wide-format hashing so oversized groups are still attributable via hash.
449449
///
450450
/// ## Binary layout (version 1)
451451
///
@@ -1949,7 +1949,7 @@ mod tests {
19491949
// -----------------------------------------------------------------------
19501950

19511951
#[test]
1952-
fn oversize_group_returns_no_pattern() {
1952+
fn oversize_group_hashes_for_transaction_pattern() {
19531953
// Build a group with > 255 nodes (V1_MAX_NODES).
19541954
// All are independent allowed FheAdd ops with external inputs.
19551955
let n = 256;

0 commit comments

Comments
 (0)