You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes it is nice to have a fixup commit and be able to
run the tests without having to pass clippy or other repo rules
passing before running the e2e tests.
In other works clippy is a final touch check from the code
prospective, so probably make sense move to the end.
Signed-off-by: Vincenzo Palazzo <[email protected]>
println!("First difference at position {}: Rust='{}', TypeScript='{}'", i, r, t);
114
+
break;
115
+
}
116
+
}
117
+
}
118
+
119
+
#[test]
120
+
#[ignore]// Run manually when you have TypeScript vectors
121
+
fnmanual_script_comparison(){
122
+
// This test can be manually enabled with specific hex values for debugging
123
+
let rust_claim_hex = "a9144d487dd3753a89bc9fe98401d1196523058251fc8769201e1bb85455fe3f5aed60d101aa4dbdb9e7714f6226769a97a17a5331dadcd53bad20aad52d58162e9eefeafc7ad8a1cdca8060b5f01df1e7583362d052e266208f88ac";
124
+
let ts_claim_hex = "";// Paste TypeScript output here
125
+
126
+
if !ts_claim_hex.is_empty(){
127
+
println!("Comparing claim scripts:");
128
+
println!("Rust: {}", rust_claim_hex);
129
+
println!("TS: {}", ts_claim_hex);
130
+
assert_eq!(rust_claim_hex, ts_claim_hex,"Claim scripts should match");
131
+
}else{
132
+
println!("Please provide TypeScript SDK hex output for comparison");
0 commit comments