Skip to content

Commit

Permalink
chore: update generated test data
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed Jul 31, 2024
1 parent 421f2e9 commit d1701b5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ fn empty_hash() {
let hash = item.hash();

// Value from private_call_stack_item.test.ts "computes empty item hash" test
let test_data_empty_hash = 0x22a93cff4c51d8d7eb0df339350343ff113a4db028a8c3b6f8fee8a586a51c2e;
let test_data_empty_hash = 0x2418613f5080d6d2aa82928b92acbb84f738d69c93635837e379f88fdcc19688;
assert_eq(hash, test_data_empty_hash);
}
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,6 @@ fn empty_hash() {
let hash = inputs.hash();

// Value from private_circuit_public_inputs.test.ts "computes empty item hash" test
let test_data_empty_hash = 0x2f5d0ff52163d6b688be54324d50d173d9433658bb40e7c5140876df4eb95406;
let test_data_empty_hash = 0x0104a7f82b1f6346a5ba95eafd44f2f851097d8abd793d8b16e8744d11a76d03;
assert_eq(hash, test_data_empty_hash);
}
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,6 @@ fn empty_hash() {
let hash = inputs.hash();

// Value from public_circuit_public_inputs.test.ts "computes empty item hash" test
let test_data_empty_hash = 0x090d3b90d0aba84f6ffc2feb1c069728f803515054e328e410aeaca2a664adc6;
let test_data_empty_hash = 0x21be4398b9e455b4afd91304dcc40210c2f94477d5f58b32f79fd21bf9008618;
assert_eq(hash, test_data_empty_hash);
}
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ fn empty_hash_is_zero() {
let hash = header.hash();

// Value from new_contract_data.test.ts "computes empty hash" test
let test_data_empty_hash = 0x124e8c40a6eca2e3ad10c04050b01a3fad00df3cea47b13592c7571b6914c7a7;
let test_data_empty_hash = 0x2080fad33d703007c3c08f3c0b17cda1550e9d706cb4fdb031f2312d8a50fa8b;
assert_eq(hash, test_data_empty_hash);
}

0 comments on commit d1701b5

Please sign in to comment.