Skip to content

Commit d71fe37

Browse files
committed
fix tests
1 parent 86d3e73 commit d71fe37

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/lang/mod.rs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ mod tests {
185185
"uses_private".to_string(),
186186
expected_statements,
187187
1, // args_len (A)
188-
names(&["A"]),
188+
names(&["A", "Temp"]),
189189
)?;
190190
let expected_batch =
191191
CustomPredicateBatch::new(&params, "PodlogBatch".to_string(), vec![expected_predicate]);
@@ -523,7 +523,7 @@ mod tests {
523523
eth_friend(?intermed_key, ?dst_key)
524524
)
525525
526-
eth_dos_distance(src_key, dst_key, distance_key, private: intermed_key, shorter_distance_key) = OR(
526+
eth_dos_distance(src_key, dst_key, distance_key) = OR(
527527
eth_dos_distance_base(?src_key, ?dst_key, ?distance_key)
528528
eth_dos_distance_ind(?src_key, ?dst_key, ?distance_key)
529529
)
@@ -573,7 +573,7 @@ mod tests {
573573
true, // AND
574574
expected_friend_stmts,
575575
2, // public_args_len: src_key, dst_key
576-
names(&["src_key", "dst_key"]),
576+
names(&["src_key", "dst_key", "attestation_pod"]),
577577
)?;
578578

579579
// eth_dos_distance_base (Index 1)
@@ -639,7 +639,14 @@ mod tests {
639639
true, // AND
640640
expected_ind_stmts,
641641
3, // public_args_len
642-
names(&["src_key", "dst_key", "distance_key"]),
642+
names(&[
643+
"src_key",
644+
"dst_key",
645+
"distance_key",
646+
"one_key",
647+
"shorter_distance_key",
648+
"intermed_key",
649+
]),
643650
)?;
644651

645652
// eth_dos_distance (Index 3)

0 commit comments

Comments
 (0)